{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"],"owasp":"A02:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX2","name":"Stateful singletons","shortDescription":{"text":"Stateful singletons"},"helpUri":"https://codehealth.canine.dev/dimensions/AX2"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"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":"AXB1","name":"Runtime evidence locked \u2014 no reproducible boot","shortDescription":{"text":"Runtime evidence locked \u2014 no reproducible boot"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB1"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"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":"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":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"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":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"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":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"Manager.Prepare (cyclomatic 93): Manager.Prepare has cyclomatic complexity 93 (threshold 15). Of this number, 86 points are the body\u0027s own statements and 7 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":"internal/provision/provision.go"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"45c6215bba2b92e4c54c8454fd0035219b59346ff76aa78bd84f3f41d0f0252a"}},{"ruleId":"D1","level":"warning","message":{"text":"Handler.serveAPI (cyclomatic 76): Handler.serveAPI has cyclomatic complexity 76 (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":"internal/admin/handler.go"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e93d27b25ccff74d3a307ef55ae9aa82d85538a2ff5c665e723dd1b3d8e8dc4"}},{"ruleId":"D1","level":"warning","message":{"text":"NativeRunner.setupAndroid (cyclomatic 64): NativeRunner.setupAndroid has cyclomatic complexity 64 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/control/android_setup.go"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"820d2d6bfd5ce247b6b0e011b93856cf0799161a8435732d714ab1567f680adf"}},{"ruleId":"D1","level":"warning","message":{"text":"Catalog.load (cyclomatic 48): Catalog.load has cyclomatic complexity 48 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/catalog/catalog.go"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c6f34b9d2fd3a5e42e6c11b137318a8a4dd3beeeeff87103b806ee53b32500e"}},{"ruleId":"D1","level":"warning","message":{"text":"Handler.ServeHTTP (cyclomatic 42): Handler.ServeHTTP has cyclomatic complexity 42 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/control/handler.go"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eb56ca3fa3a9cc7b1769de93e85399641a5199957deb66e989261a30a98a72e"}},{"ruleId":"D1","level":"warning","message":{"text":"Catalog.loadTutorialDefinitions (cyclomatic 41): Catalog.loadTutorialDefinitions has cyclomatic complexity 41 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/catalog/catalog.go"},"region":{"startLine":1082}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4a4955bdba682ab04e1f89b9c36b67e2c09a8d55806651f0a2b33e76fcd3629"}},{"ruleId":"D1","level":"warning","message":{"text":"PacksPage::render (cyclomatic 39): PacksPage::render has cyclomatic complexity 39 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/ui/pages/packs.rs"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ce9ae751ecb8ff98cbecfb1f39406a0932da44378dec9dd31af204d09ef7816"}},{"ruleId":"D1","level":"warning","message":{"text":"Store.CommitPackOpening (cyclomatic 38): Store.CommitPackOpening 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":"internal/store/packs.go"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"40f42a1d71392ff12a5a5632e6374d0e167169a68f362ec2ae57af0ca4f6c435"}},{"ruleId":"D1","level":"warning","message":{"text":"controlcli.Run (cyclomatic 37): controlcli.Run has cyclomatic complexity 37 (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":"internal/controlcli/run.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ee34a3217624f47e26fcefc61f30184e71da62b20f579263e0ca7ee8c875bc8"}},{"ruleId":"D1","level":"warning","message":{"text":"android.Inspect (cyclomatic 34): android.Inspect has cyclomatic complexity 34 (threshold 15). Of this number, 33 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":"internal/android/source.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2d653fa13ac47cb3d8c62526260186527858a198a4ffd9021063903f28453a8"}},{"ruleId":"D1","level":"warning","message":{"text":"Store.Snapshot (cyclomatic 33): Store.Snapshot has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/store/snapshot.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"331169a8f4b7a6e21a58f40de5d45f1acd859a67334d5a1a3ea912de46721faa"}},{"ruleId":"D1","level":"warning","message":{"text":"main.runPanel (cyclomatic 29): main.runPanel has cyclomatic complexity 29 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 10 belong to 6 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":"cmd/ptcgp-server/main.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"426ad76ca4503382d81bd70dd4d32e536cb6ac3c2eef18c090ee3033af82a825"}},{"ruleId":"D1","level":"warning","message":{"text":"Manager.Apply (cyclomatic 29): Manager.Apply 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":"internal/player/manager.go"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"77cb6c407feae04122145575c78cbd31f56ff61a4374330cbbced32e2f79655a"}},{"ruleId":"D1","level":"warning","message":{"text":"Store.ExchangeCardCosmetics (cyclomatic 29): Store.ExchangeCardCosmetics 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":"internal/store/card_exchange.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bb6d4d8d7e25f9616b42553c61c033d3dfd743f260f9989ec667082d843fd6f"}},{"ruleId":"D1","level":"warning","message":{"text":"AccountsPage::render_profile (cyclomatic 29): AccountsPage::render_profile 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":"desktop/src/ui/pages/accounts.rs"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a704d25055bad8b10c97576eff8e6634cb9d9d98c3d90bf1a8875959dff84e5"}},{"ruleId":"D1","level":"warning","message":{"text":"NativeRunner.fullStatus (cyclomatic 28): NativeRunner.fullStatus 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":"internal/control/native.go"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"4221e5dc0a5c64c003dcad124eae9ef1488f05474162c9d2fb2eb20ced0f4d03"}},{"ruleId":"D1","level":"warning","message":{"text":"localtls.EnsureFiles (cyclomatic 28): localtls.EnsureFiles 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":"internal/localtls/ensure.go"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"27b80cf7f1bfe46ed490d25965ca5d125c987cddc7e64f785ed462388db561a0"}},{"ruleId":"D1","level":"warning","message":{"text":"Engine.validateRule (cyclomatic 28): Engine.validateRule 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":"internal/packlab/engine.go"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c092bcc891fc8569b68dfd6688e54373a2119924c37c597627f0fb913ba2faf"}},{"ruleId":"D1","level":"warning","message":{"text":"specialPackServer.PurchaseV1 (cyclomatic 28): specialPackServer.PurchaseV1 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":"internal/playerapi/special_pack_handlers.go"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b9ebdc8fe00cd85b7d21b8b4214e86e3179af28ac1c4e90a87f8c9d80846bd7"}},{"ruleId":"D1","level":"warning","message":{"text":"AppView::start_polling (cyclomatic 28): AppView::start_polling 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":"desktop/src/ui/app.rs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"108bae154688b81e341f77633b3c7c9982e23d776b7fb27a3695da2ba53d3913"}},{"ruleId":"D1","level":"warning","message":{"text":"TrafficPage::render (cyclomatic 28): TrafficPage::render 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":"desktop/src/ui/pages/traffic.rs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"543cbe66c9fa97fadccd93422cf7871282647d02913afcc5f7a13b6b8bf2a1a8"}},{"ruleId":"D1","level":"warning","message":{"text":"ptcgp_reader::run (cyclomatic 28): ptcgp_reader::run 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":"native/reader/src/main.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4c118877a4d1095e5ed7d355de9e5cf15bb2b09e03389b4da0e4b6062ed6b3d"}},{"ruleId":"D1","level":"warning","message":{"text":"android.discoverDevices (cyclomatic 27): android.discoverDevices has cyclomatic complexity 27 (threshold 15). Of this number, 26 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":"internal/android/discovery.go"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"93085a8a8f3b4222a1a40e9c3e93894b50bc184c05619ac760d2843b8d080cd5"}},{"ruleId":"D1","level":"warning","message":{"text":"Catalog.loadCardExchanges (cyclomatic 27): Catalog.loadCardExchanges has cyclomatic complexity 27 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"internal/catalog/catalog.go"},"region":{"startLine":1214}}}],"partialFingerprints":{"codehealthFindingId/v1":"69d39c56ba9fca71f22c80f45290c90591c05c10519385d517a8e64d766b06b0"}},{"ruleId":"D1","level":"warning","message":{"text":"Handler.ServeHTTP (cyclomatic 27): Handler.ServeHTTP has cyclomatic complexity 27 (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":"internal/restapi/handler.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"439f0a4c12314c86ee93fb86002d294af582b4add908ce57f8d81f4586ee5cd3"}},{"ruleId":"D1","level":"warning","message":{"text":"AppView::render_topbar (cyclomatic 27): AppView::render_topbar has cyclomatic complexity 27 (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":"desktop/src/ui/app.rs"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d2b208de89fe0c8cce316aef490246c2f66cfa7fc097059ae43772a088d9e14"}},{"ruleId":"D1","level":"warning","message":{"text":"Palette::new (cyclomatic 26): Palette::new 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":"desktop/src/theme.rs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"aff0e066ebe65f4d820be91bb4ca660bdf8e9a45f44d9f97a3aaf981a4a30a4b"}},{"ruleId":"D1","level":"warning","message":{"text":"android.listDevices (cyclomatic 25): android.listDevices 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":"internal/android/devices.go"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c81c20c1362620d54827f324481c6d743c45418a7a64138ba6998c4174846df"}},{"ruleId":"D1","level":"warning","message":{"text":"MultiRunner.Status (cyclomatic 25): MultiRunner.Status 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":"internal/control/emulators.go"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"0de2f900768d657fb18d2d985020e1dba229ddd6dc10f0c545763bb361a34950"}},{"ruleId":"D1","level":"warning","message":{"text":"NativeRunner.Action (cyclomatic 25): NativeRunner.Action 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":"internal/control/native.go"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f3e88cbb45b1bf12c0968bb6648baec6184be3505726e6bcd8be79fcae5b154"}},{"ruleId":"D1","level":"warning","message":{"text":"Config.Validate (cyclomatic 24): Config.Validate 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":"internal/configuration/config.go"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7965350ad1a2bd149c3ce6e4b2a9ca71d5d53eea9e07f6c104152d1263af6d3"}},{"ruleId":"D1","level":"warning","message":{"text":"Store.CommitTutorialGrant (cyclomatic 24): Store.CommitTutorialGrant 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":"internal/store/tutorial.go"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"8218564ab33869532e771b79169fa1b062369b4b6d79dd341eed59257a28f727"}},{"ruleId":"D1","level":"warning","message":{"text":"PacksPage::render_preview (cyclomatic 24): PacksPage::render_preview 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":"desktop/src/ui/pages/packs.rs"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f10d812c90a097c4964e30d2c581f8e2491b0f262a788b9b08bbe84ca37926f"}},{"ruleId":"D1","level":"warning","message":{"text":"Handler.profileInventory (cyclomatic 23): Handler.profileInventory 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":"internal/admin/handler.go"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e7c4dea6380d076030effb5fefcd90e500d5e3618b519f8914bb4864e10826c"}},{"ruleId":"D1","level":"warning","message":{"text":"Catalog.loadGameplayDefinitions (cyclomatic 23): Catalog.loadGameplayDefinitions 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":"internal/catalog/catalog.go"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"3734ece92cf99205b14b9918b360318971b33131fec7b23d733a6124a099632e"}},{"ruleId":"D1","level":"warning","message":{"text":"Manager.Profile (cyclomatic 23): Manager.Profile 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":"internal/player/manager.go"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddcf5e7839def5bc33798a416c460926d83fbf56442c4dba098a2319ca69d9c4"}},{"ruleId":"D1","level":"warning","message":{"text":"packShopServer.PurchaseV2 (cyclomatic 23): packShopServer.PurchaseV2 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":"internal/playerapi/pack_handlers.go"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f773f92642e9656e1411f8bb7586cd5c2377e9eff63eec3234d5223d1575560"}},{"ruleId":"D1","level":"warning","message":{"text":"store.seedInventory (cyclomatic 23): store.seedInventory 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":"internal/store/profile_lifecycle.go"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"df2c5582518beb6a6af4cf2f97aea1a9c248cc722671664c119bef6b77200a1b"}},{"ruleId":"D1","level":"warning","message":{"text":"Handler.login (cyclomatic 22): Handler.login 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":"internal/restapi/handler.go"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"15f54ffb76da5f97cd7841b898eb56fe6db785f9a504c1dbc62745165b55374a"}},{"ruleId":"D1","level":"warning","message":{"text":"Store.migrate (cyclomatic 22): Store.migrate 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":"internal/store/migrate.go"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"a22a094758e790f48e131b7ddde1da5c7c275fc0741de6f3ebd4f6b6bb4eba3d"}},{"ruleId":"D1","level":"warning","message":{"text":"AppView::render_preparation (cyclomatic 22): AppView::render_preparation 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":"desktop/src/ui/app.rs"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"042a052907c52ee20362917404bd419e44d87fc74212f1af01b9bdb61c3d200d"}},{"ruleId":"D1","level":"warning","message":{"text":"android.describeDevice (cyclomatic 21): android.describeDevice has cyclomatic complexity 21 (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":"internal/android/devices.go"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0b28f78eabe3acb99ba90222bd778b6819a944d8bf46c7e759c38e45cbeb692"}},{"ruleId":"D1","level":"warning","message":{"text":"android.parseIdentity (cyclomatic 20): android.parseIdentity has cyclomatic complexity 20 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/android/devices.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"85d8d710c120e6952b66a5821cd5e04e00757f1615ee5223340d5026fa259c04"}},{"ruleId":"D1","level":"warning","message":{"text":"server.Run (cyclomatic 20): server.Run has cyclomatic complexity 20 (threshold 15). Of this number, 18 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":"internal/server/server.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"94b1e809662021b4e2a85be6f95c68e3e7695b0d0c605f1c4df66a46e7712d37"}},{"ruleId":"D1","level":"warning","message":{"text":"Store.migrateLegacy (cyclomatic 20): Store.migrateLegacy 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":"internal/store/migrate.go"},"region":{"startLine":845}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8df64e4008d48a3b191c7b4773eb1dd4244abf5e3a03c158da9f8e528c825e6"}},{"ruleId":"D1","level":"warning","message":{"text":"Store.SetCardLanguage (cyclomatic 20): Store.SetCardLanguage 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":"internal/store/store.go"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"f076e2ad5265e942d15e5f2b1d193eefe6e6fcd2bd628529a5b39dba64cf45c5"}},{"ruleId":"D1","level":"warning","message":{"text":"Catalog.loadCosmetics (cyclomatic 19): Catalog.loadCosmetics 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":"internal/catalog/catalog.go"},"region":{"startLine":1482}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a18b4a6990904f038ae50e181fe81c9a24adac35721de0dcbfa849d09bf5030"}},{"ruleId":"D1","level":"warning","message":{"text":"Engine.draw (cyclomatic 19): Engine.draw has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/packlab/engine.go"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d12091d34b20f788fa41ee6c5fa88561a026ce17034e53e2517878e1e0cef85"}},{"ruleId":"D1","level":"warning","message":{"text":"Manager.PurchaseShopProduct (cyclomatic 19): Manager.PurchaseShopProduct has cyclomatic complexity 19 (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":"internal/player/manager.go"},"region":{"startLine":938}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3ee0c5b35e35546c2b7d6e556634f0d6de25423b80258a3fca614434dca2b59"}},{"ruleId":"D1","level":"warning","message":{"text":"AppView::render_update (cyclomatic 19): AppView::render_update 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":"desktop/src/ui/app.rs"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5d37ac004e8e596bd2f1c60bd233297453774c32520738cbdd854d609dfb7aa"}},{"ruleId":"D1","level":"warning","message":{"text":"Catalog.loadPackTables (cyclomatic 18): Catalog.loadPackTables 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":"internal/catalog/catalog.go"},"region":{"startLine":1261}}}],"partialFingerprints":{"codehealthFindingId/v1":"06eabe95242eb37c29c4bcddbbdc7bd02957cdcb282587511d6e9862f7b04160"}},{"ruleId":"D1","level":"warning","message":{"text":"control.NewMultiRunner (cyclomatic 18): control.NewMultiRunner 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":"internal/control/emulators.go"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"2856e616d52fe25d1558a4fe14a9691570f3603f82c4bfe8e50da87986110d29"}},{"ruleId":"D1","level":"warning","message":{"text":"playerapi.appendInventoryChange (cyclomatic 18): playerapi.appendInventoryChange 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":"internal/playerapi/acquisition_helpers.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1dd4c96cdd8959d9141ddea8f3161b85a62db3229007a9db7621ab091955f15"}},{"ruleId":"D1","level":"warning","message":{"text":"playerapi.toProtoResources (cyclomatic 18): playerapi.toProtoResources has cyclomatic complexity 18 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/playerapi/stateful_reads.go"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"d615043a71daac0876b2f646018c24a0ae4aa43b7a3a94925a091df87950309e"}},{"ruleId":"D1","level":"warning","message":{"text":"Store.GiveCard (cyclomatic 18): Store.GiveCard 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":"internal/store/card_social.go"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"328b32f945e1260dda520a0297b10707d564aa301b3e1f19c364abd09c6b499e"}},{"ruleId":"D1","level":"warning","message":{"text":"Store.CommitFeedChallenge (cyclomatic 18): Store.CommitFeedChallenge 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":"internal/store/feed.go"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"757c32e273549ba71e306c62e8afb8974e2fcac70a9e0c4866e3e961417e52f1"}},{"ruleId":"D1","level":"warning","message":{"text":"Store.CommitShopPurchase (cyclomatic 18): Store.CommitShopPurchase 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":"internal/store/item_shop.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f07654274369cc2f31481ba885eecec002b4cab2df1f4983f68053d2aff0ba1"}},{"ruleId":"D1","level":"warning","message":{"text":"Store.ExchangePackPoints (cyclomatic 18): Store.ExchangePackPoints 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":"internal/store/packs.go"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d83d2f59b05aac605b7dce266473342152b484a55666b5367669cb1338643c3"}},{"ruleId":"D1","level":"warning","message":{"text":"Store.DeletePlayer (cyclomatic 18): Store.DeletePlayer 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":"internal/store/profile_lifecycle.go"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e7ab88acc76490794e62c8924069a32fe4183b50f2267378246d6747d8e5ea4"}},{"ruleId":"D1","level":"warning","message":{"text":"Store.HealTradePower (cyclomatic 18): Store.HealTradePower 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":"internal/store/trade.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a0058bd4fb2918898fc3498da775c8d0656ec8c21b5ce76b6ab4502e2f3d3f8"}},{"ruleId":"D1","level":"warning","message":{"text":"Store.SubmitTrade (cyclomatic 18): Store.SubmitTrade 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":"internal/store/trade_sessions.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d1e61538c616f54225c62a660a6c4442d99dd885a6c26b61449a9e4dd81e568"}},{"ruleId":"D1","level":"warning","message":{"text":"LogsPage::render (cyclomatic 18): LogsPage::render 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":"desktop/src/ui/pages/logs.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"993dc4b88924b8345ba5f9149c1f9916d3d2f1b606cb56a8cf2ba70914419e08"}},{"ruleId":"D1","level":"warning","message":{"text":"SettingsPage::render_interface (cyclomatic 18): SettingsPage::render_interface 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":"desktop/src/ui/pages/settings.rs"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"98cb2f2891d93caf00677bb9af29fdc2eb6ec4d14b17a33a63ff60eb98d3769c"}},{"ruleId":"D1","level":"warning","message":{"text":"ptcgp_importer::masterdata::locales::bootstrap_from_releases (cyclomatic 18): ptcgp_importer::masterdata::locales::bootstrap_from_releases 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":"native/importer/src/masterdata/locales.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1d9a363603eefadfce7332cad5aa01d048ac7164b218a0c3b5b9c7524d85ae0"}},{"ruleId":"D1","level":"warning","message":{"text":"Handler.cardBrowser (cyclomatic 17): Handler.cardBrowser has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/admin/handler.go"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f3afbabfcbe97b0cfec10ec240efc522a86660c568b9163252411d9f2db5d23"}},{"ruleId":"D1","level":"warning","message":{"text":"NativeRunner.configureTunnel (cyclomatic 17): NativeRunner.configureTunnel 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":"internal/control/tunnel.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca03c67e5fc2f53201d9034e630b2fd2ad6efa692429cde98aab46f60b91423f"}},{"ruleId":"D1","level":"warning","message":{"text":"startupCardServer.GetUsageV1 (cyclomatic 17): startupCardServer.GetUsageV1 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":"internal/playerapi/card_handlers.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb0ba1cb164893e660adfad8baed5e8df855598b027b4d960318f8221f4e31fd"}},{"ruleId":"D1","level":"warning","message":{"text":"servercmd.run (cyclomatic 17): servercmd.run 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":"internal/servercmd/servercmd.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec68185a2d6653248a0d9b1c43fdd736bc6b87289566c635107a98938d44503e"}},{"ruleId":"D1","level":"warning","message":{"text":"store.changeShopInventory (cyclomatic 17): store.changeShopInventory 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":"internal/store/item_shop.go"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce3d7604bd243ece5719d7396b29d721f3b8556fff4729edeec83211916bbd3f"}},{"ruleId":"D1","level":"warning","message":{"text":"Store.HealEventPower (cyclomatic 17): Store.HealEventPower 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":"internal/store/activities.go"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"96743dad27daf799bd153bed8a2049c2f5bff0c64dd6c64b7745d79bc61359fa"}},{"ruleId":"D1","level":"warning","message":{"text":"Store.HealChallengePower (cyclomatic 17): Store.HealChallengePower 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":"internal/store/feed.go"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"65e5645f6d969872a6ba502c7c0f3c2bec513c6aa8853db22da1b6bbb181e464"}},{"ruleId":"D1","level":"warning","message":{"text":"Handler.trafficStream (cyclomatic 16): Handler.trafficStream has cyclomatic complexity 16 (threshold 15). Of this number, 12 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":"internal/admin/handler.go"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"f288857f2063a87187b4ec4b518100cea0196ba956badf1365185b41f3deabfa"}},{"ruleId":"D1","level":"warning","message":{"text":"configuration.Load (cyclomatic 16): configuration.Load 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":"internal/configuration/config.go"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6449843bace33af941734dd3b67904a2f89459dffac543cbcd8ea1782840ccc"}},{"ruleId":"D1","level":"warning","message":{"text":"localtls.GenerateFiles (cyclomatic 16): localtls.GenerateFiles 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":"internal/localtls/certificates.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3b17dce35f87ced5aa03dc02d628e141e5dadc478f0e04729457837fb6119e7"}},{"ruleId":"D1","level":"warning","message":{"text":"collectionServer.collectionShowcases (cyclomatic 16): collectionServer.collectionShowcases has cyclomatic complexity 16 (threshold 15). 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/playerapi/collection_handlers.go"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ef6d70b31f0cc0abee25e4d77d314fa6d3479208dce761df53766014097626c"}},{"ruleId":"D1","level":"warning","message":{"text":"Store.AuthorizeEmulator (cyclomatic 16): Store.AuthorizeEmulator 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":"internal/store/emulators.go"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"4236bc108d578da8ad525b36423ceb388bb9c61ab7eeaa26e0a2d2e8967a2e12"}},{"ruleId":"D1","level":"warning","message":{"text":"Store.BeginFeedSnoop (cyclomatic 16): Store.BeginFeedSnoop 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":"internal/store/feed.go"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"091bd7f7ce0686862c9bb9cd4c3517fcc9fa8ba3380e5c301a24362b3ab9df76"}},{"ruleId":"D1","level":"warning","message":{"text":"Store.AcceptTrade (cyclomatic 16): Store.AcceptTrade 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":"internal/store/trade_sessions.go"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"04e51195f602d87563fd1ce53a4d6e3c42ba9e88befc206a6bec0b7145698de4"}},{"ruleId":"D1","level":"warning","message":{"text":"AppView::render_route (cyclomatic 16): AppView::render_route has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/ui/app.rs"},"region":{"startLine":830}}}],"partialFingerprints":{"codehealthFindingId/v1":"004002455c7aaf0a6c213caed083fe856e9b7533c39634f583be7200d9485a31"}},{"ruleId":"D1","level":"warning","message":{"text":"PacksPage::render_illegal (cyclomatic 16): PacksPage::render_illegal 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":"desktop/src/ui/pages/packs.rs"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"43073d9eb8a685a6b8cd60149a9ee1326f50edb033832363d8720e226f2f83b7"}},{"ruleId":"D1","level":"warning","message":{"text":"ptcgp_private_server::ui::pages::traffic::indent_json (cyclomatic 16): ptcgp_private_server::ui::pages::traffic::indent_json 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":"desktop/src/ui/pages/traffic.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d3cc00cf6cc5fced100406d12ee45bfc30e8c8dfc8e252bc7b4a32cb9c48897"}},{"ruleId":"D1","level":"warning","message":{"text":"ptcgp_importer::fast_pipeline::stream (cyclomatic 16): ptcgp_importer::fast_pipeline::stream 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":"native/importer/src/fast_pipeline.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a4f1d414463c1f24ac47ee3197719c6a12f9e324d244961a4eafea111c8ba98"}},{"ruleId":"D2","level":"warning","message":{"text":"Manager.Prepare (cognitive 183): Manager.Prepare has cognitive complexity 183 (threshold 15). Drivers by points: if/else 75 (161 pts), loops 10 (14 pts), boolean chains 8 (nesting depth added 90). Of this number, 170 points are the body\u0027s own statements and 13 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":"internal/provision/provision.go"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea3f3cde6962b25c2bf7c2b32736423c3705121b9455a56dc36eaced6a6cddb7"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeRunner.setupAndroid (cognitive 99): NativeRunner.setupAndroid has cognitive complexity 99 (threshold 15). Drivers by points: if/else 53 (90 pts), boolean chains 6, loops 2 (3 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":"internal/control/android_setup.go"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb00b04b51cbeb881ea276353b6d07979d19e24cc2bba9c316c6d94a19955a2d"}},{"ruleId":"D2","level":"warning","message":{"text":"PacksPage::render (cognitive 76): PacksPage::render has cognitive complexity 76 (threshold 15). Drivers by points: if/else 51 (71 pts), match/switch 2 (3 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":"desktop/src/ui/pages/packs.rs"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"04ff524299836ac44960ed33215d27fa5891fd293ddeba1829ee6e72fa2bb461"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiRunner.Status (cognitive 67): MultiRunner.Status has cognitive complexity 67 (threshold 15). Drivers by points: if/else 19 (61 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 44). 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":"internal/control/emulators.go"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d156bc5bcb82d0a0a89f963f580d83328a8119caa40404c31261fad611f3a65"}},{"ruleId":"D2","level":"warning","message":{"text":"Catalog.load (cognitive 65): Catalog.load has cognitive complexity 65 (threshold 15). Drivers by points: if/else 33 (46 pts), loops 13 (18 pts), boolean chains 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/catalog/catalog.go"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"94ea17e86aa26ff85876dce13a0c44568ab454a06dab4d5833b764b1d8a69488"}},{"ruleId":"D2","level":"warning","message":{"text":"ptcgp_reader::run (cognitive 64): ptcgp_reader::run has cognitive complexity 64 (threshold 15). Drivers by points: if/else 20 (45 pts), loops 7 (14 pts), match/switch 2 (5 pts) (nesting depth added 35). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"native/reader/src/main.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c7f63655f2787b3a1f8983c37de3cbb3b4d7eb1892dccda8064cc72e2f75b12"}},{"ruleId":"D2","level":"warning","message":{"text":"TrafficPage::render (cognitive 57): TrafficPage::render has cognitive complexity 57 (threshold 15). Drivers by points: if/else 40 (52 pts), boolean chains 4, match/switch 1 (nesting depth added 12). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/ui/pages/traffic.rs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f57157301ef32525c9c28d402bd4b5279a839febe195515004447495971b2b2"}},{"ruleId":"D2","level":"warning","message":{"text":"Store.CommitPackOpening (cognitive 56): Store.CommitPackOpening has cognitive complexity 56 (threshold 15). Drivers by points: if/else 30 (48 pts), loops 4 (5 pts), boolean chains 3 (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":"internal/store/packs.go"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"71f91e5d89d92e47c7f8ec82b76f6156d3037520820835e3e478636113786804"}},{"ruleId":"D2","level":"warning","message":{"text":"Engine.validateRule (cognitive 54): Engine.validateRule has cognitive complexity 54 (threshold 15). Drivers by points: if/else 17 (42 pts), loops 3 (6 pts), boolean chains 5, match/switch 1 (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/packlab/engine.go"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e85a5bb27e7e5f2e3fec493b538458880df2bc8ae8a74805ac0e9b3d51e1256"}},{"ruleId":"D2","level":"warning","message":{"text":"android.listDevices (cognitive 50): android.listDevices has cognitive complexity 50 (threshold 15). Drivers by points: if/else 15 (43 pts), loops 5, boolean chains 2 (nesting depth added 28). 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":"internal/android/devices.go"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc8ab73a957be014d53e0d62e47186dd8dadb9369cef23fe06a52d69906761ba"}},{"ruleId":"D2","level":"warning","message":{"text":"Handler.ServeHTTP (cognitive 50): Handler.ServeHTTP has cognitive complexity 50 (threshold 15). Drivers by points: if/else 17 (32 pts), boolean chains 14, loops 1 (3 pts), match/switch 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":"internal/control/handler.go"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bc366aa64a36713eaa177d9a6d9941ed0cf7df899738095998bfc2c9a3f52ad"}},{"ruleId":"D2","level":"warning","message":{"text":"Catalog.loadTutorialDefinitions (cognitive 48): Catalog.loadTutorialDefinitions has cognitive complexity 48 (threshold 15). Drivers by points: if/else 18 (30 pts), loops 9 (12 pts), boolean chains 6 (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":"internal/catalog/catalog.go"},"region":{"startLine":1082}}}],"partialFingerprints":{"codehealthFindingId/v1":"24db09739a25b44b476e84ae9325d857d1b30bf939f9200e69e24b94874ae591"}},{"ruleId":"D2","level":"warning","message":{"text":"AppView::start_polling (cognitive 48): AppView::start_polling has cognitive complexity 48 (threshold 15). Drivers by points: if/else 15 (33 pts), boolean chains 11, loops 2, match/switch 1 (2 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":"desktop/src/ui/app.rs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a644f1cb2f97eab9392f0c5110917dd916567ea70bb1268b602765e2ecbbfd7"}},{"ruleId":"D2","level":"warning","message":{"text":"Store.Snapshot (cognitive 47): Store.Snapshot has cognitive complexity 47 (threshold 15). Drivers by points: if/else 23 (36 pts), loops 9 (11 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":"internal/store/snapshot.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba8517a04c51b12a94cc010f45c282490f3dda4e0ade9b7348e8c9fe3909aa2d"}},{"ruleId":"D2","level":"warning","message":{"text":"Palette::new (cognitive 47): Palette::new has cognitive complexity 47 (threshold 15). Drivers by points: if/else 46, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/theme.rs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4d6c18d97377b8353fd52a5d0bf3727467bce65f3efa29b49c8457e8db1dac8"}},{"ruleId":"D2","level":"warning","message":{"text":"AccountsPage::render_profile (cognitive 47): AccountsPage::render_profile has cognitive complexity 47 (threshold 15). Drivers by points: if/else 36 (44 pts), match/switch 3 (nesting depth added 8). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"desktop/src/ui/pages/accounts.rs"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"c47a5bf6c282ad112f1e69d8300d12b8d91bcdecbfef09cd93c75c418f9d8823"}},{"ruleId":"D2","level":"warning","message":{"text":"android.Inspect (cognitive 46): android.Inspect has cognitive complexity 46 (threshold 15). Drivers by points: if/else 24 (36 pts), loops 4 (5 pts), boolean chains 4, match/switch 1 (nesting depth added 13). Of this number, 45 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":"internal/android/source.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"449f347fd557d7c9af23356d5a6ff0474e34a37e8e7877f9088babad535b8709"}},{"ruleId":"D2","level":"warning","message":{"text":"Handler.serveAPI (cognitive 45): Handler.serveAPI has cognitive complexity 45 (threshold 15). Drivers by points: boolean chains 24, if/else 10 (20 pts), match/switch 1 (nesting depth added 10). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/admin/handler.go"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c142bb2bbc48db3058abb4de993528f876e89f3cd818edb67c83e031a979df8"}},{"ruleId":"D2","level":"warning","message":{"text":"Store.ExchangeCardCosmetics (cognitive 44): Store.ExchangeCardCosmetics has cognitive complexity 44 (threshold 15). Drivers by points: if/else 18 (37 pts), boolean chains 4, 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":"internal/store/card_exchange.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"89b2fe76b0945bbbdb8af39872460cb9c6a1cb665e5f51665c2972db304cbf16"}},{"ruleId":"D2","level":"warning","message":{"text":"AppView::render_topbar (cognitive 42): AppView::render_topbar has cognitive complexity 42 (threshold 15). Drivers by points: if/else 34 (35 pts), boolean chains 6, 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":"desktop/src/ui/app.rs"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"af4a728b6866f4865ad10d4e9c0d437426e4be45699ba520048975c57cd053ad"}},{"ruleId":"D2","level":"warning","message":{"text":"Manager.Apply (cognitive 41): Manager.Apply has cognitive complexity 41 (threshold 15). Drivers by points: if/else 19 (33 pts), boolean chains 5, loops 3 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/player/manager.go"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee5b2f2e1f1f43a39df3a35bf5159279c2fa994a5037aefc2a15daca0b206cbc"}},{"ruleId":"D2","level":"warning","message":{"text":"PacksPage::render_preview (cognitive 41): PacksPage::render_preview has cognitive complexity 41 (threshold 15). Drivers by points: if/else 26 (32 pts), match/switch 3 (6 pts), boolean chains 3 (nesting depth added 9). 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":"desktop/src/ui/pages/packs.rs"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"05862851ca8582038d64a4dbf8f701bd5a94d6c1146d5e36677e09560f57af13"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeRunner.Action (cognitive 40): NativeRunner.Action has cognitive complexity 40 (threshold 15). Drivers by points: if/else 22 (37 pts), boolean chains 3 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/control/native.go"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba178008b52a0ad976edd964011373d6f35b80f9915568aa1c5130a40b8cb4db"}},{"ruleId":"D2","level":"warning","message":{"text":"store.seedInventory (cognitive 40): store.seedInventory has cognitive complexity 40 (threshold 15). Drivers by points: if/else 14 (29 pts), loops 9 (11 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":"internal/store/profile_lifecycle.go"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"00e564f49aaf012c7adc50b90cc51cf188e1a485f3501dce1525fea364e6d9e7"}},{"ruleId":"D2","level":"warning","message":{"text":"CardRenderPlan::prepare_filter (cognitive 40): CardRenderPlan::prepare_filter has cognitive complexity 40 (threshold 15). Drivers by points: if/else 5 (21 pts), loops 6 (19 pts) (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"native/importer/src/card_mesh.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae715bba90ab11087a4ec27527df5978d840548c061ac0e535b9334876cb90fb"}},{"ruleId":"D2","level":"warning","message":{"text":"android.discoverDevices (cognitive 39): android.discoverDevices has cognitive complexity 39 (threshold 15). Drivers by points: if/else 13 (24 pts), loops 7 (10 pts), boolean chains 5 (nesting depth added 14). Of this number, 38 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":"internal/android/discovery.go"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"db3e946d61fa14aa1377c12c96cb84e6d132846985f849e5b3d9c6b6b1e69230"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeRunner.fullStatus (cognitive 39): NativeRunner.fullStatus has cognitive complexity 39 (threshold 15). Drivers by points: if/else 18 (27 pts), match/switch 3 (7 pts), boolean chains 5 (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":"internal/control/native.go"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"df26678099af592f47bf56a782ca3a32c58679002410f8fb7137daf0a2cb6ef5"}},{"ruleId":"D2","level":"warning","message":{"text":"Handler.profileInventory (cognitive 36): Handler.profileInventory has cognitive complexity 36 (threshold 15). Drivers by points: if/else 7 (18 pts), loops 6 (13 pts), boolean chains 4, match/switch 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/admin/handler.go"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"370dcaf410093e723fee85a2f6f10206b2241054c9464df2569e8d8c1d873643"}},{"ruleId":"D2","level":"warning","message":{"text":"controlcli.Run (cognitive 34): controlcli.Run has cognitive complexity 34 (threshold 15). Drivers by points: if/else 24 (28 pts), boolean chains 5, 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":"internal/controlcli/run.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"08dd2d94cc981af3eb4a842bcfdba733a6e5c680ec27e586aadcb8ce6cafb421"}},{"ruleId":"D2","level":"warning","message":{"text":"Manager.Profile (cognitive 33): Manager.Profile has cognitive complexity 33 (threshold 15). Drivers by points: if/else 13 (23 pts), loops 6 (7 pts), boolean chains 3 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/player/manager.go"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed383e5d6b3372d77e897fb286e6ad5f32fba821bbfda68d0dd1f88fccfbf1aa"}},{"ruleId":"D2","level":"warning","message":{"text":"packShopServer.PurchaseV2 (cognitive 32): packShopServer.PurchaseV2 has cognitive complexity 32 (threshold 15). Drivers by points: if/else 12 (16 pts), loops 6 (12 pts), boolean chains 2, match/switch 1 (2 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":"internal/playerapi/pack_handlers.go"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbed26d165c3133770bfe100ca51547eb72d5309877bc1c9efad506b984a144b"}},{"ruleId":"D2","level":"warning","message":{"text":"specialPackServer.PurchaseV1 (cognitive 32): specialPackServer.PurchaseV1 has cognitive complexity 32 (threshold 15). Drivers by points: if/else 17 (22 pts), loops 4 (6 pts), boolean chains 3, match/switch 1 (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/playerapi/special_pack_handlers.go"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"08d4d206f60e470ce79ae3fc6214026e23988210a9a08b27d61ede9c1db99c7d"}},{"ruleId":"D2","level":"warning","message":{"text":"AppView::render_preparation (cognitive 32): AppView::render_preparation has cognitive complexity 32 (threshold 15). Drivers by points: if/else 25 (28 pts), boolean chains 3, 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, 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":"desktop/src/ui/app.rs"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc3751d2fb6ba27da508c6664446306dbf3a2bb576ee5351c8ad9b619275c057"}},{"ruleId":"D2","level":"warning","message":{"text":"ptcgp_importer::masterdata::locales::parse_kvrf_bytes (cognitive 32): ptcgp_importer::masterdata::locales::parse_kvrf_bytes has cognitive complexity 32 (threshold 15). Drivers by points: if/else 8 (27 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 20). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"native/importer/src/masterdata/locales.rs"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"edb44ae5f6d0efe3d3a0d609e2ca6cd9a8453a9e80144b0557dfd9f4e4d8dc29"}},{"ruleId":"D2","level":"warning","message":{"text":"main.runPanel (cognitive 31): main.runPanel has cognitive complexity 31 (threshold 15). Drivers by points: if/else 24 (27 pts), boolean chains 2, match/switch 2 (nesting depth added 3). Of this number, 21 points are the body\u0027s own statements and 10 belong to 6 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":"cmd/ptcgp-server/main.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"30d0e23b04c3705d4d741f86b94730734ced91d359f12d88f59eb3cca29d0af2"}},{"ruleId":"D2","level":"warning","message":{"text":"Catalog.loadGameplayDefinitions (cognitive 31): Catalog.loadGameplayDefinitions has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (19 pts), loops 7 (9 pts), boolean chains 3 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/catalog/catalog.go"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"db692156db17cf4ad8a24d8a30586419122b3fc19b592b2dd5279d06f3559077"}},{"ruleId":"D2","level":"warning","message":{"text":"Store.SetCardLanguage (cognitive 31): Store.SetCardLanguage has cognitive complexity 31 (threshold 15). Drivers by points: if/else 18 (27 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":"internal/store/store.go"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b63d5f90453f3bed9d82b3bd599431f5fa7c2f5b54cdd362cd899dbb96a43c6"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsPage::render_interface (cognitive 31): SettingsPage::render_interface has cognitive complexity 31 (threshold 15). Drivers by points: if/else 28 (29 pts), boolean chains 1, 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":"desktop/src/ui/pages/settings.rs"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f1de8d83dac2d8c48398109da7f6a2ac2a755987e845b73c2e845c94f9546cf"}},{"ruleId":"D2","level":"warning","message":{"text":"AppView::render_update (cognitive 29): AppView::render_update has cognitive complexity 29 (threshold 15). Drivers by points: if/else 19 (24 pts), boolean chains 5 (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":"desktop/src/ui/app.rs"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"f189ab81879c374dba87946b25d8c19b9e787fa271c91bb7c44d94bd4c4e6c7d"}},{"ruleId":"D2","level":"warning","message":{"text":"Catalog.loadPackTables (cognitive 28): Catalog.loadPackTables has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (19 pts), loops 6 (9 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":"internal/catalog/catalog.go"},"region":{"startLine":1261}}}],"partialFingerprints":{"codehealthFindingId/v1":"2acb73624c7d801a2b8de8396e371497039833f24a404b31bc3df96780b98068"}},{"ruleId":"D2","level":"warning","message":{"text":"Store.migrate (cognitive 28): Store.migrate has cognitive complexity 28 (threshold 15). Drivers by points: if/else 16 (22 pts), loops 5 (6 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":"internal/store/migrate.go"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a58e25b458e2aa7439b4c8e35f1bfb6b9498be1e7e2fe5055b8dad659cb7656"}},{"ruleId":"D2","level":"warning","message":{"text":"AccountsPage::set_card_quantity (cognitive 28): AccountsPage::set_card_quantity has cognitive complexity 28 (threshold 15). Drivers by points: if/else 13 (27 pts), match/switch 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":"desktop/src/ui/pages/accounts.rs"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc07d86ac1fc827f44e18e2adbee79e168fbe94ad26c4a10a220975b544c2ba3"}},{"ruleId":"D2","level":"warning","message":{"text":"ptcgp_importer::masterdata::locales::bootstrap_from_releases (cognitive 28): ptcgp_importer::masterdata::locales::bootstrap_from_releases has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (20 pts), boolean chains 4, 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":"native/importer/src/masterdata/locales.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0504271404e1530fcedab113c2d1c332fedd8718fcf2ac7f8afd8a26e3af0ce"}},{"ruleId":"D2","level":"warning","message":{"text":"localtls.EnsureFiles (cognitive 27): localtls.EnsureFiles has cognitive complexity 27 (threshold 15). Drivers by points: if/else 19 (21 pts), boolean chains 4, 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":"internal/localtls/ensure.go"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d795ce8b50f2687b59c51596815a7c83ea20e532595887019fa5d6a59980cab"}},{"ruleId":"D2","level":"warning","message":{"text":"Store.CommitTutorialGrant (cognitive 27): Store.CommitTutorialGrant has cognitive complexity 27 (threshold 15). Drivers by points: if/else 16 (21 pts), boolean chains 4, loops 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":"internal/store/tutorial.go"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cad5170ab0da938fac328068b75a2c7b4883f24d395b505621d8603d61af10e"}},{"ruleId":"D2","level":"warning","message":{"text":"main.backupBeforeUpgrade (cognitive 26): main.backupBeforeUpgrade has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (18 pts), loops 2 (6 pts), boolean chains 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":"cmd/ptcgp-server/main.go"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"d66583975a439926154bcf7065add8d211c30ac7f033e0e9531ee176b4b44462"}},{"ruleId":"D2","level":"warning","message":{"text":"Config.Validate (cognitive 26): Config.Validate has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13 (18 pts), loops 5, 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":"internal/configuration/config.go"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"1beded87d854391135d4712b092a9ff61ed8868be33e79e028b8cbd60663764a"}},{"ruleId":"D2","level":"warning","message":{"text":"packlab.catalogRarityCodes (cognitive 26): packlab.catalogRarityCodes has cognitive complexity 26 (threshold 15). Drivers by points: loops 5 (15 pts), if/else 2 (11 pts) (nesting depth added 19). 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":"internal/packlab/engine.go"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"354f7510623fcc29134befd38f1a3ba51ab4e5ec2de7fb8483ac7af94a545c45"}},{"ruleId":"D2","level":"warning","message":{"text":"Store.migrateLegacy (cognitive 26): Store.migrateLegacy has cognitive complexity 26 (threshold 15). Drivers by points: if/else 15 (22 pts), loops 4 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/store/migrate.go"},"region":{"startLine":845}}}],"partialFingerprints":{"codehealthFindingId/v1":"9455bbfdb9682cfa5f65260264fe91fcc90220545c499dbcb19cdf44203ddd8a"}},{"ruleId":"D2","level":"warning","message":{"text":"PacksPage::new (cognitive 26): PacksPage::new has cognitive complexity 26 (threshold 15). Drivers by points: if/else 15 (24 pts), boolean chains 1, match/switch 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/ui/pages/packs.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"fef84e3b8c703bef3301f9cfd5111193ed06d07fd6ed1867ba6815299359a8c2"}},{"ruleId":"D2","level":"warning","message":{"text":"Catalog.loadItems (cognitive 25): Catalog.loadItems has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (19 pts), loops 4 (6 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":"internal/catalog/catalog.go"},"region":{"startLine":1420}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c3b1a9db32b38ed3ac01a2aae7be1ca556d1c8eb229c7e12befe3d52b96ee42"}},{"ruleId":"D2","level":"warning","message":{"text":"Catalog.loadCosmetics (cognitive 25): Catalog.loadCosmetics has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (18 pts), loops 5, 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":"internal/catalog/catalog.go"},"region":{"startLine":1482}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d12c1d881d723f12b263c27ce65cf546cbffa118ab1d69093868938f51fc539"}},{"ruleId":"D2","level":"warning","message":{"text":"ptcgp_importer::fast_pipeline::stream (cognitive 25): ptcgp_importer::fast_pipeline::stream has cognitive complexity 25 (threshold 15). Drivers by points: loops 6 (11 pts), if/else 7 (9 pts), match/switch 3 (5 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":"native/importer/src/fast_pipeline.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"742da9b6bc1e5b591f4f1d69bbce72e72e1a8370b8be338d8105a13def47c9d6"}},{"ruleId":"D2","level":"warning","message":{"text":"android.describeDevice (cognitive 24): android.describeDevice has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 4, loops 3 (4 pts), match/switch 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/android/devices.go"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fdcdadd6c4e3b3c59a75143078cc684f9a0c83418634791f28dd236d1b5a8c7"}},{"ruleId":"D2","level":"warning","message":{"text":"control.NewMultiRunner (cognitive 24): control.NewMultiRunner has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (19 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":"internal/control/emulators.go"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"f986a9b2bf9e0215434dd96be67d0b906afc7463e1c7265ead060c6af4facdad"}},{"ruleId":"D2","level":"warning","message":{"text":"packServer.GetDetailV2 (cognitive 24): packServer.GetDetailV2 has cognitive complexity 24 (threshold 15). Drivers by points: loops 7 (18 pts), if/else 3 (6 pts) (nesting depth added 14). 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":"internal/playerapi/pack_handlers.go"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"92147b27f3e2c9dff01797fca752a52092af15e1d260cad72c118d7ae4f28cfc"}},{"ruleId":"D2","level":"warning","message":{"text":"startupCardServer.GetUsageV1 (cognitive 24): startupCardServer.GetUsageV1 has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 7 (10 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":"internal/playerapi/card_handlers.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"17a92ee95de99dcf0d9c095a41d2e3316eb20e7b52a9b7ea91ac490d727999ea"}},{"ruleId":"D2","level":"warning","message":{"text":"collectionServer.collectionShowcases (cognitive 24): collectionServer.collectionShowcases has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 3 (5 pts), boolean chains 2 (nesting depth added 10). Of this number, 22 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":"internal/playerapi/collection_handlers.go"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"63d6dd69f99c4c466e458f9cbca4bcf5208880432c1b1e6a7f062f597979f1ab"}},{"ruleId":"D2","level":"warning","message":{"text":"Handler.login (cognitive 24): Handler.login has cognitive complexity 24 (threshold 15). Drivers by points: if/else 16 (20 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":"internal/restapi/handler.go"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"9850d4af0a2bc3322f2e43d22d63c63b57c299711bb806825e44e8f8685c2668"}},{"ruleId":"D2","level":"warning","message":{"text":"Store.SendFriendRequests (cognitive 24): Store.SendFriendRequests has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (22 pts), boolean chains 1, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/store/social.go"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dca74e024ee5d224b2c119e38554b321e4687e2ee4f68bfbacce0defa9fd44e"}},{"ruleId":"D2","level":"warning","message":{"text":"AccountsPage::render_rail (cognitive 24): AccountsPage::render_rail has cognitive complexity 24 (threshold 15). Drivers by points: if/else 14 (20 pts), boolean chains 3, 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":"desktop/src/ui/pages/accounts.rs"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"12c7b83791ae4f0a4cdf4fd23e0f522cfad2dfb601a586448bccd5659da0cdbf"}},{"ruleId":"D2","level":"warning","message":{"text":"CardRenderPlan::render (cognitive 24): CardRenderPlan::render has cognitive complexity 24 (threshold 15). Drivers by points: loops 5 (15 pts), if/else 3 (9 pts) (nesting depth added 16). 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":"native/importer/src/card_mesh.rs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b4c8f59a9287dba4311a14659cc140a1948e80e7404da3f0df220ba532994b7"}},{"ruleId":"D2","level":"warning","message":{"text":"ptcgp_importer::live_source::stream_reader (cognitive 24): ptcgp_importer::live_source::stream_reader has cognitive complexity 24 (threshold 15). Drivers by points: if/else 4 (13 pts), loops 4 (8 pts), match/switch 1 (2 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":"native/importer/src/live_source.rs"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"9caaef3d69948470df668447a1f4ff58587033703f3a54fe8431a2bde0f81934"}},{"ruleId":"D2","level":"warning","message":{"text":"Catalog.loadCardExchanges (cognitive 23): Catalog.loadCardExchanges has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 8, loops 4, match/switch 1 (2 pts) (nesting depth added 5). Of this number, 21 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":"internal/catalog/catalog.go"},"region":{"startLine":1214}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9aafb5186e406d7c72dc5790143ce779469686b3589819d8bddaf316587470f"}},{"ruleId":"D2","level":"warning","message":{"text":"cardSkinServer.ExchangeV2 (cognitive 23): cardSkinServer.ExchangeV2 has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (19 pts), loops 3 (4 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/playerapi/card_skin_handlers.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"afd7fca39201832a36cda4f2f223efb46dcfa5edcfd4407f5b37e76fa5321efe"}},{"ruleId":"D2","level":"warning","message":{"text":"collectionServer.deriveBestCollection (cognitive 23): collectionServer.deriveBestCollection has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 2 (4 pts), match/switch 1 (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":"internal/playerapi/collection_handlers.go"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"09f002412ced2f3ed5c18a7feb146863df319a31b0645038a76d97ef3606a234"}},{"ruleId":"D2","level":"warning","message":{"text":"Store.DeletePlayer (cognitive 23): Store.DeletePlayer has cognitive complexity 23 (threshold 15). Drivers by points: if/else 15 (21 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":"internal/store/profile_lifecycle.go"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1d50c43a3ef73f059ec163800dd6873bab54062829f0fabd8abf81188054adc"}},{"ruleId":"D2","level":"warning","message":{"text":"Store.EnsurePlayer (cognitive 23): Store.EnsurePlayer has cognitive complexity 23 (threshold 15). Drivers by points: if/else 14 (23 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":"internal/store/store.go"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef38253f3a12112082f8677ffbb4b77a67078342bdbfb28e0607020d63fb0b91"}},{"ruleId":"D2","level":"warning","message":{"text":"PacksPage::render_illegal (cognitive 23): PacksPage::render_illegal has cognitive complexity 23 (threshold 15). Drivers by points: if/else 18 (20 pts), boolean chains 2, match/switch 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/ui/pages/packs.rs"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"c29cf1d3098cb58e3126864b9c540b15b47ccb9e5eb20973e7aee7a03bd54383"}},{"ruleId":"D2","level":"warning","message":{"text":"configuration.Load (cognitive 22): configuration.Load has cognitive complexity 22 (threshold 15). Drivers by points: if/else 13 (20 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":"internal/configuration/config.go"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"29a03bda86cf18c8978df99848b9a36cec99f79ba2b017eace8166666108ab32"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiRunner.device (cognitive 22): MultiRunner.device has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (18 pts), loops 1 (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":"internal/control/emulators.go"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"e240c31f37084315759c3974a9d01135e744cf8618090bf997197c3ff01ef352"}},{"ruleId":"D2","level":"warning","message":{"text":"ptcgp_private_server::ui::pages::traffic::indent_json (cognitive 22): ptcgp_private_server::ui::pages::traffic::indent_json has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 3 (5 pts), 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":"desktop/src/ui/pages/traffic.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fbcdaa5b90617ee954f1a2307019fd95a43b9c90577c48d9441769b8d77a6da"}},{"ruleId":"D2","level":"warning","message":{"text":"ptcgp_importer::masterdata::export (cognitive 22): ptcgp_importer::masterdata::export has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 4 (8 pts), match/switch 1 (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":"native/importer/src/masterdata/mod.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"adeba705f076468cd349d96df5f7a7dd60147ab678637bb0eeabf11956d7f09d"}},{"ruleId":"D2","level":"warning","message":{"text":"playerapi.appendInventoryChange (cognitive 21): playerapi.appendInventoryChange has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 3 (6 pts), boolean chains 2, 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":"internal/playerapi/acquisition_helpers.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"60c9da4bbe3ce3f1966fd351424da9ee96e8557a2f9b294b97c1d8640e958c8c"}},{"ruleId":"D2","level":"warning","message":{"text":"startupFeedServer.feedTimeline (cognitive 21): startupFeedServer.feedTimeline has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/playerapi/feed_handlers.go"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"52cb6a1bfe69025257ed3069b07d4fce3056c31947a0496c1fda63d79e4619e7"}},{"ruleId":"D2","level":"warning","message":{"text":"AppView::connect (cognitive 21): AppView::connect has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (18 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":"desktop/src/ui/app.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"61eee2eef5c7f0ecdf6d94fe60be1587121826352c0b9646de7d0f261e6851dc"}},{"ruleId":"D2","level":"warning","message":{"text":"AccountsPage::render_cards (cognitive 21): AccountsPage::render_cards has cognitive complexity 21 (threshold 15). Drivers by points: if/else 17 (18 pts), boolean chains 3 (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":"desktop/src/ui/pages/accounts.rs"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd7297fa57bf9c6c72a4b318a316ea8ef058fe8962df4d59c4b114bbf5fe0996"}},{"ruleId":"D2","level":"warning","message":{"text":"LogsPage::render (cognitive 21): LogsPage::render has cognitive complexity 21 (threshold 15). Drivers by points: if/else 15, boolean chains 4, 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":"desktop/src/ui/pages/logs.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"97d1cb0d21b800ca9590ae73556444f1680604874b78aff9954308249ec907aa"}},{"ruleId":"D2","level":"warning","message":{"text":"Handler.trafficStream (cognitive 20): Handler.trafficStream has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (15 pts), loops 2, match/switch 1 (2 pts), boolean chains 1 (nesting depth added 7). Of this number, 14 points are the body\u0027s own statements and 6 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":"internal/admin/handler.go"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd5a4d22871965f8261b4beb83764d94e85fd66a0bd3684351526ac0943cc201"}},{"ruleId":"D2","level":"warning","message":{"text":"Handler.cardBrowser (cognitive 20): Handler.cardBrowser has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (8 pts), loops 7 (8 pts), boolean chains 4 (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":"internal/admin/handler.go"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c2eaae1ed2276dd5f23d0df3e26be042d9ca5d53e2a600e23f5f781ce2d7d81"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeRunner.configureTunnel (cognitive 20): NativeRunner.configureTunnel has cognitive complexity 20 (threshold 15). Drivers by points: if/else 15 (19 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/control/tunnel.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"4de0942d7f65e113e62f19bf21e4f6309e21fcf98187d99bc0100255fc8f41b3"}},{"ruleId":"D2","level":"warning","message":{"text":"Manager.ExchangeCardCosmetics (cognitive 20): Manager.ExchangeCardCosmetics has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (14 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":"internal/player/manager.go"},"region":{"startLine":1510}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a3070ee89709ed83b3e8558ae0380577ecab4a180dc0d27b293196c54b73a51"}},{"ruleId":"D2","level":"warning","message":{"text":"collectionServer.GetSomeonesV1 (cognitive 20): collectionServer.GetSomeonesV1 has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 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":"internal/playerapi/collection_handlers.go"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"27bfb2706e9ae89b3b799a5fbe7469b3d8f93cd574f1e2da1d33ab589bc8cdfa"}},{"ruleId":"D2","level":"warning","message":{"text":"Store.FeedEntries (cognitive 20): Store.FeedEntries has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 4 (5 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":"internal/store/feed.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc92ccb929a2910244e13b747743b6521bf72687d68e49dc77ba6d3609c74a0a"}},{"ruleId":"D2","level":"warning","message":{"text":"Api::traffic_stream (cognitive 20): Api::traffic_stream 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":"desktop/src/api.rs"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"b07321a0923421d027c8791f388c68bb5f2af559ab4eb58d27bfa87e2624ab31"}},{"ruleId":"D2","level":"warning","message":{"text":"ptcgp_private_server::ui::device::label (cognitive 20): ptcgp_private_server::ui::device::label has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (17 pts), match/switch 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":"desktop/src/ui/device.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a399d4dc1212fb223006183af688b49c80b17bfe17227fb6cd3effc92e68ab3"}},{"ruleId":"D2","level":"warning","message":{"text":"localtls.GenerateFiles (cognitive 19): localtls.GenerateFiles has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (16 pts), loops 2, 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":"internal/localtls/certificates.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c079b6182996a7fac8e03ca2640e1a8aaf4b79d214bf2e10bda390abffca160"}},{"ruleId":"D2","level":"warning","message":{"text":"Engine.draw (cognitive 19): Engine.draw has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 3, 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":"internal/packlab/engine.go"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fbc2aa73714cfcd7f6d43c9d276b26c97108eab97f4517857bd4c18f3254f3e"}},{"ruleId":"D2","level":"warning","message":{"text":"Store.ClaimMissions (cognitive 19): Store.ClaimMissions 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":"internal/store/progression.go"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"40d7a71d59870bb644343dda23132380bff2b0827e170a51a6a03758ee34d230"}},{"ruleId":"D2","level":"warning","message":{"text":"Store.HealTradePower (cognitive 19): Store.HealTradePower has cognitive complexity 19 (threshold 15). Drivers by points: if/else 14 (18 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/store/trade.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"e085774b1051d6cceab13a7e524bf5eeca80dbf88073fd4b276512933871c1e5"}},{"ruleId":"D2","level":"warning","message":{"text":"Handler.packStudio (cognitive 18): Handler.packStudio has cognitive complexity 18 (threshold 15). Drivers by points: loops 7 (14 pts), if/else 3 (4 pts) (nesting depth added 8). 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":"internal/admin/handler.go"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"36360d00cd0b513bcb2bb742a0693fca98b711146808d7301560fc06b3709445"}},{"ruleId":"D2","level":"warning","message":{"text":"server.Run (cognitive 18): server.Run has cognitive complexity 18 (threshold 15). Drivers by points: if/else 13 (14 pts), boolean chains 2, match/switch 2 (nesting depth added 1). 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, 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":"internal/server/server.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a20ab1de2a928d1e0cb5911de2d6f58dcffca24388e250cbe590be00521cd53"}},{"ruleId":"D2","level":"warning","message":{"text":"Store.HealEventPower (cognitive 18): Store.HealEventPower has cognitive complexity 18 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/store/activities.go"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"5044a604afb4647045fb1ed7b6a1fd7b2e5619493895777120d747476150f2c6"}},{"ruleId":"D2","level":"warning","message":{"text":"Store.HealChallengePower (cognitive 18): Store.HealChallengePower has cognitive complexity 18 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/store/feed.go"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"184fa46686a63c48f5cc505a05f9848a2fb41d0107177849f7684988e856c9cf"}},{"ruleId":"D2","level":"warning","message":{"text":"Store.SubmitTrade (cognitive 18): Store.SubmitTrade 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/store/trade_sessions.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc8286993c645a277d738aafb70b2552f0144f8eb95dfcdaf5879dd458a89ea7"}},{"ruleId":"D2","level":"warning","message":{"text":"binarypatch.Apply (cognitive 17): binarypatch.Apply 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":"internal/binarypatch/patch.go"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f45918c1f95fa596b8b28277734a634f3700a199786fb75a7c96c7dd6d68e0d"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiRunner.SelectDevice (cognitive 17): MultiRunner.SelectDevice has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (12 pts), loops 1 (3 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/control/emulators.go"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"c56453c8ea7ef80f687d6e7aa360e14ec12915b92c5e023fb8b293d59dc55aa4"}},{"ruleId":"D2","level":"warning","message":{"text":"Store.CommitShopPurchase (cognitive 17): Store.CommitShopPurchase has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (13 pts), 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/store/item_shop.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"037f00a61e705b58c44e752fd44aa1ee0e52c455226263ecfead72b07f7368fd"}},{"ruleId":"D2","level":"warning","message":{"text":"Store.SocialSnapshot (cognitive 17): Store.SocialSnapshot 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":"internal/store/social.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"c30f8398ee7bbb642bcb773f8316a03859d35c3615203386bd95aa2ce1da0b3f"}},{"ruleId":"D2","level":"warning","message":{"text":"Store.ReceiveTradeDeposit (cognitive 17): Store.ReceiveTradeDeposit has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 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":"internal/store/trade_sessions.go"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdfc255fd689054a2c8f7465b0ce0a93ab57bfc465ddc35fc77cc18f409fcdf7"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsPage::render_devices (cognitive 17): SettingsPage::render_devices has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12, boolean chains 3, 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":"desktop/src/ui/pages/settings.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"9adffc91d1c44c72c1a4d000d3b945fbceacdf3b1b4551344c5c4739ec5db792"}},{"ruleId":"D2","level":"warning","message":{"text":"android.parseIdentity (cognitive 16): android.parseIdentity has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 6, if/else 4 (6 pts), 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":"internal/android/devices.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"97c82cb3ab4a6fa6a038d983fdd0eaae1e66382fa17d7e896a96ffe4b9a30fc3"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiRunner.stopAll (cognitive 16): MultiRunner.stopAll has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 3 (4 pts) (nesting depth added 6). Of this number, 14 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":"internal/control/emulators.go"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"f23602be83f69b0e6942f7222d822b026530fe0f52fa524516dc5df204e64e57"}},{"ruleId":"D2","level":"warning","message":{"text":"Manager.PurchaseShopProduct (cognitive 16): Manager.PurchaseShopProduct has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 3, match/switch 1 (2 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":"internal/player/manager.go"},"region":{"startLine":938}}}],"partialFingerprints":{"codehealthFindingId/v1":"0689ab87874cc1f7a0c6566538f3d3ff1b5df02d7859362f3a46eef6081bf30d"}},{"ruleId":"D2","level":"warning","message":{"text":"Manager.ClaimMissions (cognitive 16): Manager.ClaimMissions has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (12 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":"internal/player/manager.go"},"region":{"startLine":1050}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dd26e03edbcc920c2de20c310d7b23f76badc62d1f8e62b6659ecd81943276d"}},{"ruleId":"D2","level":"warning","message":{"text":"Store.GiveCard (cognitive 16): Store.GiveCard has cognitive complexity 16 (threshold 15). Drivers by points: if/else 15, 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":"internal/store/card_social.go"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"d58fdca4b3d8cd5c16ac63b7e4694f49230804cc5dfd1343a699a1380b7ef7db"}},{"ruleId":"D2","level":"warning","message":{"text":"Store.Decks (cognitive 16): Store.Decks has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 3 (4 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":"internal/store/decks.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"adc8ce7e48fea130a36f015623db2132bb11bbbac03525db88dd23b9ed77d85e"}},{"ruleId":"D2","level":"warning","message":{"text":"Store.CommitFeedChallenge (cognitive 16): Store.CommitFeedChallenge has cognitive complexity 16 (threshold 15). Drivers by points: if/else 15, 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":"internal/store/feed.go"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5d28ea6de055a464a41c8dd53791b3f7e1afee03c6110a7af1a621824f5f15d"}},{"ruleId":"D2","level":"warning","message":{"text":"Store.SavePackRule (cognitive 16): Store.SavePackRule has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (13 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":"internal/store/packs.go"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"e44055bb5eb6147709b73195c20d7ebc80aca58c551baeba19d8084baeca9c68"}},{"ruleId":"D2","level":"warning","message":{"text":"Store.CompleteTrophies (cognitive 16): Store.CompleteTrophies has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 2 (3 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":"internal/store/trophies.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c3395fee058a7e60359071bd29cbe0f9bd5562e8b02b7f45f85be6404c10dc1"}},{"ruleId":"D2","level":"warning","message":{"text":"AccountsPage::render_peripherals (cognitive 16): AccountsPage::render_peripherals has cognitive complexity 16 (threshold 15). Drivers by points: if/else 14, 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":"desktop/src/ui/pages/accounts.rs"},"region":{"startLine":874}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b3ff393097f846b5167fafcddd4834492caf193c85b082737b010419f6d8304"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Store: TooManyMethods \u2014 159 methods, declared across 28 files: store/store.go (31), store/packs.go (10), store/migrate.go (9), store/trade_sessions.go (9), \u002B24 more file(s). The bar is 30 methods; this is 129 over it, 5.30\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":"internal/store/store.go"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"08099c73f9c7072a8b467e4d576ed6b25c40ac28ae92f4c37cc747de20f16650"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Manager: TooManyMethods \u2014 130 methods, declared across 2 files: player/manager.go (129), player/action_projection.go (1). The bar is 30 methods; this is 100 over it, 4.33\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":"internal/player/manager.go"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"128d150eb8ae4adbca355ac2dc1d3a8efd77729e26cd5df87669b02c4443a549"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Manager.Prepare: MethodTooLong \u2014 Prepare runs 266 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 166 over it, 2.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":"internal/provision/provision.go"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"56d30ce8c451691b66ca27f4b02e2d180b6ac5f5a739807e1f59887e90619a23"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Manager: ClassTooLong \u2014 909 significant lines (blank, comment-only and punctuation-only lines excluded), 130 methods, 127 blocks, lines 199-1658. The bar is 400 significant lines; this is 509 over it, 2.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/player/manager.go"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fd5860bc23958b60e9b16b80ce259af700d37788175fc2ff2d81c6574ccb4f7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: catalog/catalog.go: FileTooLong \u2014 1130 significant lines (blank, comment-only and punctuation-only lines excluded), about 65% of them inside a single declaration: Catalog (56 blocks, 255-1573). The bar is 500 significant lines; this is 630 over it, 2.26\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/catalog/catalog.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"02f7e0aad864216516bbcc57c304d920bd3fc331432ad959d17c57a9a555d423"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: player/manager.go: FileTooLong \u2014 1102 significant lines (blank, comment-only and punctuation-only lines excluded), about 82% of them inside a single declaration: Manager (127 blocks, 199-1658). The bar is 500 significant lines; this is 602 over it, 2.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":"internal/player/manager.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26c1294154ab165f3c5b87eb126a61786af2fe7fdeacdbb2db1a6c1455ca01fc"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NativeRunner: TooManyMethods \u2014 60 methods, declared across 8 files: control/native.go (29), control/android_setup.go (14), control/action_cache.go (4), control/hosted.go (4), \u002B4 more file(s). The bar is 30 methods; this is 30 over it, 2.00\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":"internal/control/native.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bdbfb9e69f0de645fdf9539448064f23f16867d18452bd65d259ba4e7a83afe"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Catalog: 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":"internal/catalog/catalog.go"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"a64c347775ace8a45bbad4cd1a6753774a0673fe795ce43d7c572d9ed7c9b030"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Catalog: ClassTooLong \u2014 733 significant lines (blank, comment-only and punctuation-only lines excluded), 57 methods, 56 blocks, lines 255-1573. The bar is 400 significant lines; this is 333 over it, 1.83\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/catalog/catalog.go"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"54e7cf3b705c13ac0e9c04e728936b7ac28388c1d7dbabeafef2df4308335106"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/card_mesh.rs: FileTooLong \u2014 889 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 389 over it, 1.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":"native/importer/src/card_mesh.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"70956ee533791642a319b8efd8160f5deb7187ebeb41ed0ace14458b07792954"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AppView: ClassTooLong \u2014 701 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 38 methods, 3 blocks, lines 49-970. The bar is 400 significant lines; this is 301 over it, 1.75\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/ui/app.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"699803417d9fc7f2e3d77d33871d2b514e20992b548350da0299b8003fc61f14"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AccountsPage: ClassTooLong \u2014 674 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 33 methods, 4 blocks, lines 123-966. The bar is 400 significant lines; this is 274 over it, 1.69\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":"desktop/src/ui/pages/accounts.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f5102815a4ff9770e41a63b438da514a86796dbaa632f9f028bcc305cef3141"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/accounts.rs: FileTooLong \u2014 786 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 86% of them inside a single declaration: AccountsPage (4 blocks, 123-966). The bar is 500 significant lines; this is 286 over it, 1.57\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/ui/pages/accounts.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4e5544f187c6e589a18a2cdb665e7cdb995fa4603608ca9438ca7064ae7b19b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ui/app.rs: FileTooLong \u2014 766 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 92% of them inside a single declaration: AppView (3 blocks, 49-970). The bar is 500 significant lines; this is 266 over it, 1.53\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/ui/app.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e44f9a934f92c5b85f846060e015c448e98dbc708c9de6e9fcdd9a902e06e8a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ptcgp_reader::run: FunctionTooLong \u2014 ptcgp_reader::run runs 149 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"native/reader/src/main.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"62e530ae7b17cdaf3908d27b2c83db6e9b7315b6c5a86ed7f53f93659f943e15"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ptcgp_importer::live_source::stream_run: FunctionTooLong \u2014 ptcgp_importer::live_source::stream_run runs 147 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 47 over it, 1.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":"native/importer/src/live_source.rs"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"49bebefefafb77be4c3cc5495fa8c4cc174e8e427e1f5e76abe2a46f4c341a00"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: admin/handler.go: FileTooLong \u2014 721 significant lines (blank, comment-only and punctuation-only lines excluded), about 79% of them inside a single declaration: Handler (34 blocks, 32-964). The bar is 500 significant lines; this is 221 over it, 1.44\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":"internal/admin/handler.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1d19ae3d9d00f26eb65e0581bdf13a280873700efa9b47880fa058ed62db0d1"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Handler: ClassTooLong \u2014 571 significant lines (blank, comment-only and punctuation-only lines excluded), 33 methods, 34 blocks, lines 32-964. The bar is 400 significant lines; this is 171 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":"internal/admin/handler.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"4984b171dbf8738944fa3d2d8798f82bf365ff9bea926ef682159dc32c4b94db"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: store/store.go: FileTooLong \u2014 699 significant lines (blank, comment-only and punctuation-only lines excluded), about 62% of them inside a single declaration: Store (31 blocks, 122-947). The bar is 500 significant lines; this is 199 over it, 1.40\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/store/store.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9dfcae8917d7a01d39ca109ee304dde3120cbd371fdc32275b057b5e8475939"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PacksPage.render: MethodTooLong \u2014 render runs 133 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 33 over it, 1.33\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/ui/pages/packs.rs"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"51330201ddfa3a4e11562eb6da84bf2e99abff29b0db05afdf9df427c26666a6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/live_source.rs: FileTooLong \u2014 661 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 161 over it, 1.32\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":"native/importer/src/live_source.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76c41b7f13dcbe2e1702911d2c515e3a7b3b215fb300c96647982cce179dfe01"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NativeRunner.setupAndroid: MethodTooLong \u2014 setupAndroid 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":"internal/control/android_setup.go"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab5ffc6aa8fa10c70d96d6bdb101a974fad87738993422b3f2d27facf52030d6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AppView: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/ui/app.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd962d1e0fe7c5e4ff3614091941b85cfb7e57a0af6b2b379073bb88dd4e619d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: provision/provision.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":"internal/provision/provision.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4e0ccbde7297a288a956d96cc8c562fc8bc27f124177965c8348b6671dcffb9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Catalog.load: MethodTooLong \u2014 load runs 123 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/catalog/catalog.go"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"a88949fddcf6d9372faa723276f74e1c9395837ccd5bf23d0ff3a132a4f054cc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ptcgp_importer::live_source::master_run: FunctionTooLong \u2014 ptcgp_importer::live_source::master_run runs 123 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"native/importer/src/live_source.rs"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ea5698337f63ffa28e8f2c367f94801f15da0c5090150ccf039f2add9be42b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PacksPage: ClassTooLong \u2014 485 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 25 methods, 6 blocks, lines 25-657. 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":"desktop/src/ui/pages/packs.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fea626eb9e769bbd37601640742ae8f71a7c6927abfc699b623afb12570cb18"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: main.runPanel: FunctionTooLong \u2014 runPanel runs 120 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 20 over it, 1.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/ptcgp-server/main.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb892e5ce0a708a882f43f32b3da001cdff12b9ef30e9c0dd0e61d26a8c206cd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Handler.login: MethodTooLong \u2014 login 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":"internal/restapi/handler.go"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7b67c532db229107e90c9f119e0031d5ec939a3e14292be424f17a0d49508f8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Api: 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":"desktop/src/api.rs"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"c65118a0d1a52ce63dbeead4fca42ccf97c8da5da60e10a6d2b758c4196d490c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: testfixture.masterDataTables: FunctionTooLong \u2014 masterDataTables 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":"internal/testfixture/master_data.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd166781cfb028b93ab85f5a2b4caab7f93354d366e6a333d79a897740a64d29"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: Catalog: TooManyFields \u2014 34 stored fields beside 57 methods. The bar is 30 stored fields; this is 4 over it, 1.13\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":"internal/catalog/catalog.go"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbaa1a2d081ffe713dfb0462fc77c838744f16bc3b2aa355a0127d99010c56ec"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Handler: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/admin/handler.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"b91ba495cfe9500503e7591649988d1b44ac05f1e98d9b4694cde9091c5fb3c7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AccountsPage: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/ui/pages/accounts.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"96098153c524f1a19efa943bf503afe02d5e9ec61df613feea9c63bac71787aa"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: Palette: TooManyFields \u2014 33 stored fields beside 1 method. 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":"desktop/src/theme.rs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"504e59ff1baf3129621a9f0ccec93ed3cdb4fbad289efbdc961f930ec6d60fa4"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Store: ClassTooLong \u2014 433 significant lines (blank, comment-only and punctuation-only lines excluded), 159 methods, 31 blocks, lines 122-947. The bar is 400 significant lines; this is 33 over it, 1.08\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/store/store.go"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"48592a31c78934bb131c7b7e342fdc4cd006cb3b005ac641611e9ac312be969a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ptcgp_importer::live_source::stream_reader: FunctionTooLong \u2014 ptcgp_importer::live_source::stream_reader runs 107 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"native/importer/src/live_source.rs"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"d300ed331c1ea1337acb71b93138149259b802d4f905c15a7c22f688df0da6eb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/packs.rs: FileTooLong \u2014 534 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 91% of them inside a single declaration: PacksPage (6 blocks, 25-657). The bar is 500 significant lines; this is 34 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":"desktop/src/ui/pages/packs.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"90274a420f2dffd151ee401b0ffe08ba14f2cc538223b82003099809b5f591ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): internal/store/packs.go:101-150 | internal/store/packs.go:186-235 \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":"internal/store/packs.go"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"610add416255c8099f091d4972f8893073d31427c60097a94661125e8d874f8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 48\u002B corresponding lines): internal/store/activities.go:148-198 | internal/store/feed.go:247-294 | internal/store/trade.go:26-78 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 48 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":"internal/store/activities.go"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"29324bd5c982bdcb189021e2347c52bbbd7336d669970461f2ffbd165a2653e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (47 corresponding lines): internal/store/trade_sessions.go:176-222 | internal/store/trade_sessions.go:224-273 \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":"internal/store/trade_sessions.go"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f755f9554985d12ad8d167e1f73c3103e6742a9854f57a756597924b42f3436"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): internal/store/item_shop.go:28-76 | internal/store/packs.go:298-343 \u2014 These two members are one piece of code written twice and then edited apart: 46 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/store/item_shop.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b86ec0074d995bbd11b6d6e1f7f82ca689a6b253e7d38f98639f01803c78bdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): internal/playerapi/showcase_handlers.go:49-76 | internal/playerapi/showcase_handlers.go:166-193 \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":"internal/playerapi/showcase_handlers.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f6b0fadd92809d3b339c2aebcbffb5e193e741f8421d62a4b3f43f811b76775"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): internal/store/packs.go:153-184 | internal/store/packs.go:237-271 \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":"internal/store/packs.go"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1746c35fceb3417473eedd2a0ad82f6cfc61d2e46db7e98661547f5ee318011"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): internal/playerapi/trade_lifecycle.go:39-74 | internal/playerapi/trade_lifecycle.go:76-106 \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":"internal/playerapi/trade_lifecycle.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce07762852a950c55b8ed48ff6e9b48a93651f0f565031dd1b78453a5f320e8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): internal/store/profile_lifecycle.go:38-67 | internal/store/profile_lifecycle.go:128-188 \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":"internal/store/profile_lifecycle.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"89f0bc429c2fe6225e5fa76450aca3d3f176170873d0307b7666860aa32a6d6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): internal/playerapi/feed_handlers.go:62-85 | internal/playerapi/trade_reads.go:99-125 \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":"internal/playerapi/feed_handlers.go"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c0f4767f87660bc07d81673321d03a4ee7acdde6a0f8d4cc9954b0ae8492d3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): desktop/src/ui/pages/logs.rs:37-51 | desktop/src/ui/pages/traffic.rs:138-150 \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":"desktop/src/ui/pages/logs.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c27b5fb479452998ae2304f108ef542e47d7f5b34e458c6186738723fd14bbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): internal/store/progression.go:130-166 | internal/store/progression.go:180-209 \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":"internal/store/progression.go"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"af3be0469604987af3917d8e384b99219149403c5c221f347b87537c8ff9c69d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): internal/playerapi/present_handlers.go:32-61 | internal/playerapi/present_handlers.go:63-89 \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":"internal/playerapi/present_handlers.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"1714bd7dba708aa1494f683ccc87f33d18fd0b791ce66246ac702ef757027b29"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 22\u002B corresponding lines): internal/playerapi/solo_battle_handlers.go:59-80 | internal/playerapi/solo_battle_handlers.go:104-125 | internal/playerapi/startup_servers.gen.go:123-144 | internal/playerapi/startup_servers.gen.go:146-169 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 22 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/playerapi/solo_battle_handlers.go"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"67fdf5cbe8c2e5a9b17fdf40bfbee55a63e1a381f249c6a994c73f0022b9c697"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): internal/store/activities.go:89-109 | internal/store/feed.go:158-175 \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":"internal/store/activities.go"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"c70f5360f40884a3b564f46d5c5eb993e40dcfd0cf5f3f56dcfda60865d2b893"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): internal/store/migrate.go:641-664 | internal/store/migrate.go:678-702 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/store/migrate.go"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfe98f0da0a19a93168613df86de62ea1ff52c8845a9fdf8c1c6ceb4fe682e4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): internal/playerapi/startup_servers.gen.go:171-189 | internal/playerapi/startup_servers.gen.go:191-209 | internal/playerapi/startup_servers.gen.go:211-229 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/playerapi/startup_servers.gen.go"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0310bf72256227065317e5250a1a00b057b3da1ab98b09ea98d28242a7dcdf8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): internal/playerapi/showcase_handlers.go:94-111 | internal/playerapi/showcase_handlers.go:211-228 \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":"internal/playerapi/showcase_handlers.go"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"733f121f10f5f1fe37d2cbd51daf92dd9883b14698ece7aa3468e49b4742be65"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): internal/store/migrate.go:745-770 | internal/store/snapshot.go:173-191 \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":"internal/store/migrate.go"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c3df64cebf8b204efd2a5106dfcd3c13726cfe635804c475d6815a8bb559692"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): internal/playerapi/simple_handlers.go:104-124 | internal/playerapi/simple_handlers.go:138-159 \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":"internal/playerapi/simple_handlers.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"18e70435bf3863e32702a2893286bd7ec1194ad719e996b3a0df6ab95f425ba5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): internal/playerapi/friend_handlers.go:62-78 | internal/playerapi/give_card_handlers.go:213-225 \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":"internal/playerapi/friend_handlers.go"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"45f0a6f97a088c004d49024cf6b0d8c4d6f029e5635d8d6c9fd6ca5e0cd40fa1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): internal/store/profile_emblems.go:25-47 | internal/store/social.go:150-168 | internal/store/store.go:461-478 \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":"internal/store/profile_emblems.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"109f6cd149d0f118db0d0d4eef9cef0ffd85cfb4f1c69dcbd5155cd433bbef11"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): internal/traffic/recorder.go:291-311 | internal/traffic/recorder.go:315-336 \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":"internal/traffic/recorder.go"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"50bd776a58836fb7be2d7d8864e5e740d4f71570e833c4520b3d762a05ef6d9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): internal/playerapi/friend_handlers.go:137-151 | internal/playerapi/stateful_reads.go:208-222 | internal/playerapi/stateful_reads.go:223-237 \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":"internal/playerapi/friend_handlers.go"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"1db2f2e09fcbf5f7078ff58f226734d5b162113d63e147ec7f0d9d278b0b6f59"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 18\u002B corresponding lines): internal/store/card_exchange.go:102-119 | internal/store/card_social.go:124-141 | internal/store/card_stocks.go:10-28 | internal/store/level_history.go:13-30 | internal/store/progression.go:17-34 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/store/card_exchange.go"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"871d975b3622fc4b4f095e31f8638dca2b38a3b4daf245b75087e70f083285cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): internal/admin/handler.go:731-740 | internal/admin/handler.go:742-751 \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":"internal/admin/handler.go"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"a415f1a53b93ccb677ad2d21101a75ec9cb37c18b818565b862d3d6cc98c95e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): internal/store/trade_sessions.go:152-162 | internal/store/trade_sessions.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":"internal/store/trade_sessions.go"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"b452750073c2071aa976a8130452e9056cf73bad422d27c8bb7ed8c114340332"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 14\u002B corresponding lines): internal/playerapi/deck_handlers.go:104-117 | internal/playerapi/showcase_handlers.go:113-128 | internal/playerapi/showcase_handlers.go:230-245 | internal/playerapi/simple_handlers.go:21-34 \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":"internal/playerapi/deck_handlers.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d60da2a89259c98470aa5b71be61ba80c85c2f3cdbfbc92f485073f5351f8fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): desktop/src/ui/tasks.rs:12-23 | desktop/src/ui/tasks.rs:32-43 \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":"desktop/src/ui/tasks.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1187472f774f5a68ffd5c43629c44588662a75ee26c9396ce79751ef82148da"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): internal/player/manager.go:908-919 | internal/player/manager.go:1313-1324 | internal/player/manager.go:1614-1625 \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":"internal/player/manager.go"},"region":{"startLine":908}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e4e63a80a2a4a5df5f27e1d89ea6168746c4e092efdbe6ec44272648c383bf0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): internal/playerapi/showcase_handlers.go:78-92 | internal/playerapi/showcase_handlers.go:195-209 \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":"internal/playerapi/showcase_handlers.go"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"11de75a5713e80a5ecc41dbb4286cf9d0401f7ec5a42698ad51e099d5ebff94b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): internal/playerapi/item_shop_handlers.go:21-38 | internal/playerapi/solo_battle_handlers.go:16-30 \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":"internal/playerapi/item_shop_handlers.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"532211412ddec6063618e6783420f188fc661ac37ab6b2428a4f5425b100794e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 14\u002B corresponding lines): internal/playerapi/friend_handlers.go:46-60 | internal/playerapi/friend_handlers.go:80-93 | internal/playerapi/friend_handlers.go:95-108 | internal/playerapi/friend_handlers.go:110-123 \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":"internal/playerapi/friend_handlers.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bd4fd1f0bb967a5f1a92ddf1b3fbb19409382658ed046521f53ce6a09524af7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): internal/restapi/handler.go:346-354 | internal/store/store.go:963-968 | internal/store/store.go:991-999 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/restapi/handler.go"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6116e30f8feb3b9025a1b8376789760133d0fa64466f91db1501a16eea1f4be"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): internal/store/store.go:313-321 | internal/store/store.go:428-439 \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":"internal/store/store.go"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"a93d902d2ad4522eca9cf0355a44171d0243c618d91b95ffc3dac9dad739dcfc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): internal/playerapi/item_shop_handlers.go:40-46 | internal/playerapi/item_shop_handlers.go:48-54 | internal/playerapi/item_shop_handlers.go:56-62 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/playerapi/item_shop_handlers.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e9b98fd2ee4ed3b4a647719c97665e9cec50666dba56e5452cbb4b780319b26"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 16\u002B corresponding lines): internal/store/action_states.go:93-108 | internal/store/card_social.go:35-50 | internal/store/profile_emblems.go:8-23 | internal/store/showcases.go:53-68 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/store/action_states.go"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb4a9ef535b2919077f6bc24509a49927b2050b6d4d1cfa1a74e5e2afd304b57"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): internal/store/emulators.go:64-79 | internal/store/store.go:559-577 \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":"internal/store/emulators.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a3c19750cb4c3d87d393cee74cf228b737a632b50c2e02c968b00206e6b4377"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): internal/store/emulators.go:120-133 | internal/store/social.go:191-207 | internal/store/store.go:672-686 \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":"internal/store/emulators.go"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"29088748ef3ae4c0fd959e97c5331d7418f96034ae6f08d20cb8a79b927fef93"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): internal/store/activities.go:60-76 | internal/store/progression.go:168-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":"internal/store/activities.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bfe3136e8f3aa6304295b6bc89fd40e930d94a5dd52dc76e711f3e96dc9ec67"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): internal/playerapi/collection_handlers.go:297-305 | internal/playerapi/showcase_handlers.go:311-319 \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":"internal/playerapi/collection_handlers.go"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"cddbbe35ef6133f9bbc4cbc612f45b09f26c19defef9f4b555ed972d36437bef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): internal/admin/handler.go:506-517 | internal/admin/handler.go:582-592 \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":"internal/admin/handler.go"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b42c89d575778646f349f99403677fed57439b1e26d5272bafb5a2325564b51"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): internal/playerapi/trade_lifecycle.go:108-118 | internal/playerapi/trade_lifecycle.go:120-130 \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":"internal/playerapi/trade_lifecycle.go"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ec79a52cd0f668c1da536b709bb796a3a21d2f36b8158ded5175dc6c290a486"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): internal/playerapi/trade_reads.go:60-70 | internal/playerapi/trade_reads.go:87-97 \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":"internal/playerapi/trade_reads.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a07c5e4083bd69812dba6221c02cdb798368196968466777ec35d594f5aaac2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): internal/player/manager.go:1395-1405 | internal/player/manager.go:1408-1418 \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":"internal/player/manager.go"},"region":{"startLine":1395}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9a9cbf52963371114ce0301511c6329aa4a60e66782135e5393fc144e4d40e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): internal/playerapi/pvp_casual_handlers.go:82-92 | internal/playerapi/pvp_casual_handlers.go:96-106 \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":"internal/playerapi/pvp_casual_handlers.go"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"099a33b3955bf465a4e0b774160d726ddf721d7d5d30ef6745647ec49e7d0532"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): internal/store/snapshot.go:239-249 | internal/store/store.go:389-398 \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":"internal/store/snapshot.go"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ecf2a53d61b1ebf469dd6e1e78d6d115a06d18a8c95b1129a95b43eb4835f84"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): internal/catalog/catalog.go:584-591 | internal/control/emulators.go:120-127 \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":"internal/catalog/catalog.go"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"a70a01297341b6645d475ce9c5303c9e0b567283492338d14931a46b76f20db8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): internal/playerapi/showcase_handlers.go:130-139 | internal/playerapi/showcase_handlers.go:247-256 \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":"internal/playerapi/showcase_handlers.go"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcb5db00b7dd56c0785815d763ebde52f92280459110ad62209407a5dade403f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): internal/playerapi/showcase_handlers.go:275-282 | internal/playerapi/showcase_handlers.go:284-291 \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":"internal/playerapi/showcase_handlers.go"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"352a9265fb0a3e058e3066ccbde5da00f38448c570ff0d7a11921ff061ad8ca8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): internal/playerapi/player_handlers.go:17-26 | internal/playerapi/player_handlers.go:28-37 \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":"internal/playerapi/player_handlers.go"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"050d61a67bbb56f183a34e65a53ed9e8f5d4504060176a27b3e4b023dc6641b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): internal/playerapi/card_handlers.go:125-131 | internal/playerapi/solo_battle_handlers.go:200-206 \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":"internal/playerapi/card_handlers.go"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dd67d3dcaa2e07b50b6e394ef6128b257adebb5259b0db3a4a80b72d38cbfda"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): internal/admin/handler.go:1019-1025 | internal/restapi/handler.go:330-336 | internal/store/store.go:1000-1006 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/admin/handler.go"},"region":{"startLine":1019}}}],"partialFingerprints":{"codehealthFindingId/v1":"e46b19ffc15162b400d4d511e657c5b53b898260d2120fe95344dd85a88cd2cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): internal/store/decks.go:98-107 | internal/store/preferences.go:91-100 | internal/store/showcases.go:79-88 \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":"internal/store/decks.go"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"515d0509abff4ae4c2b130079b6dbd25212dc31a1834b515946ce5795f3e532a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): internal/playerapi/feed_handlers.go:182-184 | internal/playerapi/solo_battle_handlers.go:208-210 \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":"internal/playerapi/feed_handlers.go"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcf355f3131e27e4cf4a887a479eb07f2ce0abf3e2774f210381015783ce52d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): internal/admin/handler.go:962-964 | internal/control/handler.go:475-477 \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":"internal/admin/handler.go"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"06b6dda6baafc8db44833920a84274877c31772dceb5f756884e846a34663a03"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): desktop/src/ui/pages/logs.rs:172-176 | desktop/src/ui/pages/traffic.rs:133-135 \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":"desktop/src/ui/pages/logs.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e2260a1c8e2d82356d63eff016e9c1fa9ef511454d9fc283a5535f50e61cdc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): internal/playerapi/give_card_handlers.go:204-206 | internal/playerapi/trade_lifecycle.go:274-279 \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":"internal/playerapi/give_card_handlers.go"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"07be8d69f91d6a5323b77843c034a077164561bf9bb0e1096fdc0f22945e3e9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): internal/store/packs.go:130-150 | internal/store/packs.go:215-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 \u0060internal/store/packs.go:130\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. 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":"internal/store/packs.go"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"980a62bb97d48da760304ed992b624386cf65b6396a733a23d8f4d6d57751307"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): internal/playerapi/trade_lifecycle.go:40-55 | internal/playerapi/trade_lifecycle.go:77-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. 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":"internal/playerapi/trade_lifecycle.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"652d66dd5f022d46296452f06bd9466fe43a65c8bb9f0d68c25ce6053499d672"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): internal/store/progression.go:153-166 | internal/store/progression.go:196-209 \u2014 both copies are in the same file, so extract the block 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 \u0060internal/store/progression.go:153\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"internal/store/progression.go"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"3641d1149c62153896bef06437624faf21420d35f342990224b209661f9f5fe9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): internal/player/manager.go:679-691 | internal/store/store.go:762-774 \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":"internal/player/manager.go"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"3870131519e01d4bb5bb415c74e2d5d6668d288520c7e800c1c9f8f9accaa729"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/control/device_action.go:40-50 | internal/control/handler.go:299-309 \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 \u0060internal/control/device_action.go:40\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":"internal/control/device_action.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"f056a1c3b4bea533c016033389c830622cffbe9fc089e42b64ecda3b9400256e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/playerapi/trade_lifecycle.go:62-72 | internal/playerapi/trade_lifecycle.go:94-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. 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":"internal/playerapi/trade_lifecycle.go"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c5ecf202ad66f90df0b65f757155936affb922db83930b9786c8bcfea5569d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): internal/control/hosted.go:53-61 | internal/control/process.go:84-93 \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 \u0060internal/control/hosted.go:53\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":"internal/control/hosted.go"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"91f593b7a0ecd33153d9a5da2100326893babfc53db543e9ed561438adcbc126"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/playerapi/showcase_handlers.go:62-71 | internal/playerapi/showcase_handlers.go:179-188 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/playerapi/showcase_handlers.go"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a7c8318da9e7f3a2ecc57fa9a490e32ec9aaaebb1b780dba127f4a861ed6812"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): internal/store/feed.go:83-92 | internal/store/feed.go:181-189 \u2014 both copies are in the same file, so extract the block 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060string\u0060 to \u0060feedID\u0060 in one and \u0060cardID\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":"internal/store/feed.go"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"9355a65ec21de6105f4602b702dc38649b4b82775f26ff29c7216059e5d714ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): internal/playerapi/solo_battle_handlers.go:60-76 | internal/playerapi/solo_battle_handlers.go:128-144 | internal/playerapi/startup_servers.gen.go:147-163 \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":"internal/playerapi/solo_battle_handlers.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"71b8f5c708c58e624ddf94f3773a501377daf813f8e7b8c43790f89bbda0fd22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/playerapi/solo_battle_handlers.go:70-77 | internal/playerapi/solo_battle_handlers.go:138-145 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/playerapi/solo_battle_handlers.go:70\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/playerapi/solo_battle_handlers.go"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e73fbe4bcd9eab5e6e9ed890a6f32082b08829332dcb6eb3d694e5f0e943204"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/playerapi/supplemental_handlers.go:104-111 | internal/playerapi/supplemental_handlers.go:173-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. 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":"internal/playerapi/supplemental_handlers.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"032b3d204d5576a7871a30545d423410266ea70d0ab34b47b9eca562e4fe7123"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/provision/provision.go:464-471 | internal/provision/provision.go:507-514 \u2014 both copies are in the same file, so extract the block 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":"internal/provision/provision.go"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"85ade71bb7aa39359062d30fb6affe60e7169275bbb0a931d81cf939826da31e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): internal/store/profile_lifecycle.go:43-57 | internal/store/store.go:329-343 \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 \u0060internal/store/profile_lifecycle.go:43\u0060 it does not close everything it opens, so those exact 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":"internal/store/profile_lifecycle.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"52d4f30a1739aeddc16f97b752dbfcc1904a8b7df0938a384865cda77da28b52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): internal/playerapi/present_handlers.go:46-52 | internal/playerapi/present_handlers.go:77-83 \u2014 both copies are in the same file, so extract the block 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 \u0060internal/playerapi/present_handlers.go: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":"internal/playerapi/present_handlers.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7d442552a2b2dacc64459bafa7b5eb77eea1defb60816e98bb04124105f9b11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): internal/playerapi/showcase_handlers.go:114-120 | internal/playerapi/showcase_handlers.go:231-237 \u2014 both copies are in the same file, so extract the block 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 \u0060internal/playerapi/showcase_handlers.go:114\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/playerapi/showcase_handlers.go"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ec86812b7c27218dba25810fdb98abb302635e9cd06e989e0d4d2949272cb68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): internal/store/feed.go:117-125 | internal/store/feed.go:209-217 \u2014 both copies are in the same file, so extract the block 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 \u0060internal/store/feed.go: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. 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":"internal/store/feed.go"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7374a967a444b4e9b48b4962397d2d1976578d138bb7744671ff79bcda8a362"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): internal/playerapi/solo_battle_handlers.go:46-51 | internal/playerapi/solo_battle_handlers.go:114-119 | internal/playerapi/startup_servers.gen.go:133-138 \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 \u0060internal/playerapi/solo_battle_handlers.go:46\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"internal/playerapi/solo_battle_handlers.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"45d871fdb2d8cb285cea7bd7abc93d3915ff695db57e897630cf322eb369e42e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): internal/admin/handler.go:720-725 | internal/admin/handler.go:758-763 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/admin/handler.go:720\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":"internal/admin/handler.go"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ef47751f31512cbdf6e27e4e2235a3d6f56ab6cc0df88ed58fb7b7ff527bb5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): internal/playerapi/card_skin_handlers.go:75-80 | internal/playerapi/trade_reads.go:116-121 \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 \u0060internal/playerapi/card_skin_handlers.go:75\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":"internal/playerapi/card_skin_handlers.go"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d3cafaf45e43617e2811348aa11ff95bfdde05a859c5cfc3ba3541cad1653f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): internal/playerapi/collection_handlers.go:298-303 | internal/playerapi/showcase_handlers.go:312-317 \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":"internal/playerapi/collection_handlers.go"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"a73c80cffebc686a6ab6406bfa20841562769243bb6e730f0a41f7d2783575ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20136 lines \u00D7 3): internal/restapi/handler.go:347-352 | internal/store/store.go:965-966 | internal/store/store.go:992-997 \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":"internal/restapi/handler.go"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"f913c386dacec87f4dab154249f6fb8a6a0322162c377b178f27c567558e4372"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): internal/admin/handler.go:732-736 | internal/admin/handler.go:743-747 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/admin/handler.go:732\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"internal/admin/handler.go"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"df2dac6618effe613e76add15cf9f2876c7d18e9aa2c6010a9123389c87e93bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): internal/playerapi/feed_handlers.go:77-82 | internal/playerapi/trade_reads.go:114-119 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. 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":"internal/playerapi/feed_handlers.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"c801e9f400af3d8d17808949c8e1486cae0f7b133856855b2c2da393e25dbef3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): internal/playerapi/pack_handlers.go:183-188 | internal/playerapi/special_pack_handlers.go:138-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 \u0060internal/playerapi/pack_handlers.go:183\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":"internal/playerapi/pack_handlers.go"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6346d9653e04199f164e16d492add1500964718d22f482fb4d77bac7e5fd077"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): internal/store/packs.go:108-125 | internal/store/packs.go:193-210 \u2014 both copies are in the same file, so extract the block 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 \u0060internal/store/packs.go:108\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":"internal/store/packs.go"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"6107e62ae80bcc7663fbaf109564a558aa566576473761a7249f8039be56e6fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): internal/playerapi/friend_handlers.go:221-227 | internal/playerapi/stateful_reads.go:328-334 \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":"internal/playerapi/friend_handlers.go"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c61d062e05d24c3dc7e55c33d43fbe7fa44a61e2858ee65c73878d0fd67fdca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/store/store.go:640-647 | internal/store/store.go:708-715 \u2014 both copies are in the same file, so extract the block 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 \u0060internal/store/store.go:640\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/store/store.go"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"72d63cc53f774526668355126a80b655003c5849a7181e534fc990378244c2a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/store/snapshot.go:112-119 | internal/store/snapshot.go:129-136 \u2014 both copies are in the same file, so extract the block 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 \u0060internal/store/snapshot.go:112\u0060 it does not close everything it opens, so those exact 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, \u0060internal/store/snapshot.go:126\u0060 calls \u0060Unix\u0060, \u0060UTC\u0060 and \u0060internal/store/snapshot.go:109\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":"internal/store/snapshot.go"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ccc3c242d70f46ce17be4570bf87ff52d1364dc29ecfb77ca5cee71624f567f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/playerapi/feed_handlers.go:64-71 | internal/playerapi/solo_battle_handlers.go:84-91 \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 \u0060internal/playerapi/feed_handlers.go: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":"internal/playerapi/feed_handlers.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"1595ca54b19856bae3e73efb24c525a836dd24e6c1bcae74299590817dceb0b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): internal/playerapi/collection_handlers.go:217-223 | internal/playerapi/collection_handlers.go:235-241 \u2014 both copies are in the same file, so extract the block 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":"internal/playerapi/collection_handlers.go"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b3a417acb03c911867e0f24f57e6d818943e72e4e4d562ddd2fb9e08d6de61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): internal/android/installs_windows.go:34-40 | internal/android/installs_windows.go:58-64 \u2014 both copies are in the same file, so extract the block 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":"internal/android/installs_windows.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"632ffb4ad44ccf472c8b2fe3a8d940860d0ff3c30493b58d49dc0a6be91ada85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): internal/playerapi/stateful_reads.go:214-220 | internal/playerapi/stateful_reads.go:229-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. 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":"internal/playerapi/stateful_reads.go"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1bbed497ef120103af28a6b8c3e4e5baec56960b20e470343f6828acec24c5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): internal/store/packs.go:158-163 | internal/store/packs.go:242-247 \u2014 both copies are in the same file, so extract the block 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":"internal/store/packs.go"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"686c08a831f591aa8be80f45a19be35355a644cb76baa6c282c753f6cbf38a49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): internal/store/packs.go:158-163 | internal/store/packs.go:242-247 | internal/store/store.go:802-807 \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 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":"internal/store/packs.go"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"103863c4a6f14a3ddf0976b5edd15aa5e80489d7e176f5e0226ab526257180a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): internal/store/profile_lifecycle.go:49-53 | internal/store/profile_lifecycle.go:139-143 | internal/store/store.go:335-339 \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 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":"internal/store/profile_lifecycle.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"03a69a40fdf7592a83fca3227814de7ae025a9bdac07eca81c38ed30fbb2e5a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): native/importer/src/live_source.rs:72-82 | native/importer/src/live_source.rs:630-640 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"native/importer/src/live_source.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"01d178ef142014b4dc57b53a6a524b8edddec80be5408e7f477c345d724ab935"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): native/importer/src/unity_fast.rs:239-245 | native/importer/src/unity_fast.rs:303-309 \u2014 both copies are in the same file, so extract the block 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 \u0060native/importer/src/unity_fast.rs:239\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"native/importer/src/unity_fast.rs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"a02ea81ac7d11ca31c94cee2d08a8bc3302b2f1d9f9441a60a2079c3b1ac335c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): native/importer/src/crypto.rs:144-155 | native/importer/src/crypto.rs:156-167 \u2014 both copies are in the same file, so extract the block 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":"native/importer/src/crypto.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e1a6fb733f31efd7d0f2e39cad6c4c35ca36b623cbb94aedd929b0217fe3644"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): native/importer/src/live_source.rs:89-93 | native/importer/src/live_source.rs:642-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 \u0060native/importer/src/live_source.rs:89\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"native/importer/src/live_source.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"f948be36b2e9fe57e53b818c5c446aeda274e8232fa480e1c3b75f8f9cf2fba8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): native/importer/src/live_source.rs:459-468 | native/importer/src/live_source.rs:674-683 \u2014 both copies are in the same file, so extract the block 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, \u0060native/importer/src/live_source.rs:469\u0060 calls \u0060apks\u0060, \u0060clone\u0060 and \u0060native/importer/src/live_source.rs: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":"native/importer/src/live_source.rs"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed9703b72a1c401764d77d1b3b1eff36a0a7329aca7acf11be482d0f53dc793a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): native/importer/src/live_source.rs:534-539 | native/importer/src/live_source.rs:565-570 \u2014 both copies are in the same file, so extract the block 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":"native/importer/src/live_source.rs"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"f987d56d7aae44ff0c984bcc7ed6017387b4349df968dbfec4a1047479f509b7"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: ptcgp-importer: ptcgp-importer: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"57f71e26b88340642f569a53116e71e256219b021388f7af5933282223fc82bf"}},{"ruleId":"D12","level":"warning","message":{"text":"Dependency pinned to a stale untagged commit: github.com/srwiley/oksvg: Direct dependency \u0060github.com/srwiley/oksvg\u0060 is required at \u0060v0.0.0-20221011165216-be6e8873101c\u0060 in go.mod \u2014 a pseudo-version, which pins an UNTAGGED commit from 2022-10-11, 4.1 years ago. The pin itself is exact, so this is not a reproducibility defect, and it is not a claim that the module is unmaintained. What it says is that this repository tracks no RELEASE of \u0060github.com/srwiley/oksvg\u0060 and has not moved this requirement in 4.1 years: every fix the module has published since that commit \u2014 including any security fix \u2014 is absent from this build, whether the module went quiet or moved on without you. Check whether \u0060github.com/srwiley/oksvg\u0060 now publishes tagged releases and move the requirement to one; if it publishes none, re-pin to a current commit."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b577b438d131948b6e47043758eea2931d8ba82599a69fe44c702aad37346469"}},{"ruleId":"D12","level":"warning","message":{"text":"Dependency pinned to a stale untagged commit: github.com/srwiley/rasterx: Direct dependency \u0060github.com/srwiley/rasterx\u0060 is required at \u0060v0.0.0-20220730225603-2ab79fcdd4ef\u0060 in go.mod \u2014 a pseudo-version, which pins an UNTAGGED commit from 2022-07-30, 4.3 years ago. The pin itself is exact, so this is not a reproducibility defect, and it is not a claim that the module is unmaintained. What it says is that this repository tracks no RELEASE of \u0060github.com/srwiley/rasterx\u0060 and has not moved this requirement in 4.3 years: every fix the module has published since that commit \u2014 including any security fix \u2014 is absent from this build, whether the module went quiet or moved on without you. Check whether \u0060github.com/srwiley/rasterx\u0060 now publishes tagged releases and move the requirement to one; if it publishes none, re-pin to a current commit."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"031d7cf108a202ed1fdb7db8671c2bd35ecb24ddfd3c7a568bbd9936ee8bcb65"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/provision/provision.go: internal/provision/provision.go changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 93 in Manager.Prepare at line 363. 1 of those changes was a fix/bug commit, and the other 7 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 12:01:38 \u002B01:00\u0027 --until=\u00272026-11-15 12:01:38 \u002B01:00\u0027 --full-history --no-merges -- internal/provision/provision.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":"internal/provision/provision.go"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"46920b30de0f94b1398509d837026ba1a752ef4efd5d7d0b39a0cba9ca549061"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/control/handler.go: internal/control/handler.go changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 42 in Handler.ServeHTTP at line 171. 2 of those changes were fix/bug commits, and the other 5 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 12:01:38 \u002B01:00\u0027 --until=\u00272026-11-15 12:01:38 \u002B01:00\u0027 --full-history --no-merges -- internal/control/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":"internal/control/handler.go"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecc5c2b12a1dafabd82db7ce582eccc2d7d78836fcdb03629d2068e9f58a0c41"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/control/android_setup.go: internal/control/android_setup.go changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 64 in NativeRunner.setupAndroid at line 293. 1 of those changes was a fix/bug commit, and the other 3 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 12:01:38 \u002B01:00\u0027 --until=\u00272026-11-15 12:01:38 \u002B01:00\u0027 --full-history --no-merges -- internal/control/android_setup.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":"internal/control/android_setup.go"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"03a9fc5439e0003b6da7c8a2c465f7abf45945760e2c3accd1dbfc97bb298420"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/control/native.go: internal/control/native.go changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in NativeRunner.fullStatus at line 135. 1 of those changes was a fix/bug commit, and the other 8 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 12:01:38 \u002B01:00\u0027 --until=\u00272026-11-15 12:01:38 \u002B01:00\u0027 --full-history --no-merges -- internal/control/native.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":"internal/control/native.go"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5e2b9cd64f524d9d321e59b4a744feb59cc4d2e8316c05135ef75e2aad68f07"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/src/ui/app.rs: desktop/src/ui/app.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in AppView::start_polling at line 215. 1 of those changes was a fix/bug commit, and the other 6 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 12:01:38 \u002B01:00\u0027 --until=\u00272026-11-15 12:01:38 \u002B01:00\u0027 --full-history --no-merges -- desktop/src/ui/app.rs\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":"desktop/src/ui/app.rs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"68e02e047a973ef15a83ca19d4fae6fd1fae14f16a52e578539f50669675ed58"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/controlcli/run.go: internal/controlcli/run.go changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in controlcli.Run 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-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 12:01:38 \u002B01:00\u0027 --until=\u00272026-11-15 12:01:38 \u002B01:00\u0027 --full-history --no-merges -- internal/controlcli/run.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":"internal/controlcli/run.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9edcd0f1c733399e6989bef2f026c7dcab19a4a8edf3abe0811fc91aa3cd510"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/catalog/catalog.go: internal/catalog/catalog.go changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 48 in Catalog.load at line 806. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 12:01:38 \u002B01:00\u0027 --until=\u00272026-11-15 12:01:38 \u002B01:00\u0027 --full-history --no-merges -- internal/catalog/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":"internal/catalog/catalog.go"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"49ab08f26a1ea053742555f2dca5d00b241a57a3aa6ef44646bc8417dddb49e7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: cmd/ptcgp-server/main.go: cmd/ptcgp-server/main.go changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in main.runPanel 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-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 12:01:38 \u002B01:00\u0027 --until=\u00272026-11-15 12:01:38 \u002B01:00\u0027 --full-history --no-merges -- cmd/ptcgp-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":"cmd/ptcgp-server/main.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"250347b0306ed6336d14cf36dc000677a74fda36ee51ad2be31a16f5b28e07b7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/configuration/config.go: internal/configuration/config.go changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in configuration.Load at line 175. 1 of those changes was a fix/bug commit, and the other 5 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 12:01:38 \u002B01:00\u0027 --until=\u00272026-11-15 12:01:38 \u002B01:00\u0027 --full-history --no-merges -- internal/configuration/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":"internal/configuration/config.go"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"add2fda63acfdc2f538f1b989db66540553d5b8b429c9f743bd511132ba11832"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/android/discovery.go: internal/android/discovery.go changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in android.discoverDevices at line 264. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 12:01:38 \u002B01:00\u0027 --until=\u00272026-11-15 12:01:38 \u002B01:00\u0027 --full-history --no-merges -- internal/android/discovery.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":"internal/android/discovery.go"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ab9b3865248d7432cc0e99ce112c260d110c2fca79f9453ece814e5f19b9812"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/store/packs.go: internal/store/packs.go changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in Store.CommitPackOpening at line 345. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 12:01:38 \u002B01:00\u0027 --until=\u00272026-11-15 12:01:38 \u002B01:00\u0027 --full-history --no-merges -- internal/store/packs.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":"internal/store/packs.go"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"30400c996d3362d0b7495cc5a341015dcb9131de4aab01e4e4a513a45267a294"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/android/devices.go: internal/android/devices.go changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in android.listDevices at line 131. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 12:01:38 \u002B01:00\u0027 --until=\u00272026-11-15 12:01:38 \u002B01:00\u0027 --full-history --no-merges -- internal/android/devices.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":"internal/android/devices.go"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4a56a2e075db2475548ff7db50b61799309c01f70e4dfc2823f8f3254888bc1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/control/emulators.go: internal/control/emulators.go changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in MultiRunner.Status at line 314. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 12:01:38 \u002B01:00\u0027 --until=\u00272026-11-15 12:01:38 \u002B01:00\u0027 --full-history --no-merges -- internal/control/emulators.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":"internal/control/emulators.go"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"958f3893866ac23b10145539eeff2cffe3675dde69d3d3b3db8787d5c5c40520"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: desktop/src/ui/pages/settings.rs: desktop/src/ui/pages/settings.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in SettingsPage::render_interface at line 323. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 12:01:38 \u002B01:00\u0027 --until=\u00272026-11-15 12:01:38 \u002B01:00\u0027 --full-history --no-merges -- desktop/src/ui/pages/settings.rs\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":"desktop/src/ui/pages/settings.rs"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"377b23f2c12773cae831bee357c1e6a640962c4e9ec9a80d7a87d1b23d2708e5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/server/server.go: internal/server/server.go changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in server.Run at line 50. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 12:01:38 \u002B01:00\u0027 --until=\u00272026-11-15 12:01:38 \u002B01:00\u0027 --full-history --no-merges -- internal/server/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":"internal/server/server.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"0df03e9297aa0e183aee841e5a3809273ba426b144d7715b7acd0baf6467bc87"}},{"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 \u0060native/reader/src/main.rs\u0060 makes this repository a deployable product (line 1)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"native/reader/src/main.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3a3aad22cec283b66cec07b44c8adb207f39a51a1eca5aea366c039fd3217e3"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060(repository root)\u0060 (25166 LoC, 189 module-visible types across 27 directories) overshoots its size bounds. 1 of 4 build unit(s) (Cargo, Go) overshoot their size bounds, lowering Project Cohesion to 5.0/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go.mod"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d39784e8a78933b908507d20b4610b78a7f819ed418525c8adae26ae57410589"}},{"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":"2b50d6185f231a28fa9959e31861b0be76667502f1a2f794cc5c60d4fa797cb7"},"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":"6a625529fec143b61b963159a72a1575d391b9b7f2ea71219fcefce2ab5a1d43"},"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":"693249723480b7d3690fbc9002e4acaa2fd5c4f5277d52948268b51530c89d1e"},"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":"07132a4fdf3794e7c2fe91432546624d5c70f19374e6fdd0d64f349a37cfb72f"},"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":"9a14cf923c4a58d49b33c4e4719da40d573ad8546ffa4d97cc524cb2256d7e32"},"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":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1c74aafd43ad4653967f9ab98e6c55cdf4f3b9a6db7e5f2ae06452da63f58b01"},"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":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d24a2bfe4a9609722da32abd031131c0be3e757414ed6f7ce4225188a4a5fb82"},"taxa":[{"id":"CWE-116","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"63778fa624412affc09bbae17ed4e235deee47c1e8fbbd49594e08c2f223c987"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-552","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c481234df7af621f293b5628b4bc8f8af191a95bf7daa56199f26e5a81b4df07"},"taxa":[{"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":"83f5ecd1e1a4c6aa8db31fe0077b28186d7c351058bc7107a266dcd6690c612e"},"taxa":[{"id":"CWE-328","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":"4f94a7cc60129cab1057ee807119f267164f7ff40985ace29f09966164f3e733"},"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":"8f0f7e43c9673c83987b926332025456d4f9633553d9b67edf88fd2cc9b30117"},"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":"488385e1ec736b0ac11b21e5af94bafa1ae05b67beabea0fab8463abc060d54e"},"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":"5599ca08c2896eefaa2263ca6bdf79d8eb7bcb1de963eb90a48cdfc25dc4abc2"},"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":"7447f81f5e8e2ece21a46143503dceb8620e8fd67dc966ff88a6ca714234fb88"},"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":"48d0120a2ce2d2c56de6187d134726b6757890a7c44c9b472ee783e7c03c969f"},"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":"7cf0897cc9b040167a23b001fe721ad2848c4c05533858a1cd01682cc5d5bb31"},"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":"59aa5cb7b34eba4bc1ca72a0e6f61503797e64587dfed5b4d58ee43c46fd6d1f"},"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":"f8c3f033c5268794291486e6a165644026a676823c6451e23f524bbd22e52bcb"},"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":"23892007a1c0150194779bb5854dd78fc38d13f2787870da2b9a4c6eef6e5c76"},"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":"002dda3fb72ecc1852ed938fd706d6d0dc22621b13ef92892b16766fcde05739"},"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":"05552a2ea7e8ed03fc7fe70241cb4010e8574dde2bbf5cc3ae29e03c5ddc3359"},"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":"98a3678a0c73616879742b408d5c0a730a7bb31172c7687cee5fbbb11420057f"},"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":"9d8dc1e42a89133b9e2414c0189c63c8608f44433bba60f4eeb953a23cd958c2"},"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":"770a55d163b04cf0931ba712a2ea32ef6e33be17d15fa47b57727ce1fd11d481"},"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":"ecf4ee8fa77aec01304483947a9e62d2f892ef988d151fbeb209d85aa0f06d77"},"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":"8d6a4e7c77c218a0f02117e56e79bd52eb50c9e0116b60e453d6a3ab29a36295"},"taxa":[{"id":"CWE-614","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":"3bf1c0d72c332034fc8485adbe58e11988336370af86062f2c74cb6ee35b52df"},"taxa":[{"id":"CWE-614","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":"e649e686af707462254cf2b78266219c589747d78dfc48050d736a6dea8ac121"},"taxa":[{"id":"CWE-242","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":"d05940ec39db0c7bc142b201d8f53a9e1789b6f81e3ef1603107efd7fcb30b8c"},"properties":{"dependency":{"package":"zip","version":"8.6.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0367","RUSTSEC-2026-0368","RUSTSEC-2026-0369","RUSTSEC-2026-0429"],"severity":"critical","fixedVersion":"9.0.5","relation":"transitive","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":"42948efd382add18aa236e9a020916678f12a31a1f266d7dd5d2be18eb9d259f"},"properties":{"dependency":{"package":"zip","version":"5.1.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0367","RUSTSEC-2026-0368","RUSTSEC-2026-0369","RUSTSEC-2026-0429"],"severity":"critical","fixedVersion":"9.0.5","relation":"direct","declaredRange":"5.1.1","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":"10d0d3e5420da08b82b9645b3f31111a2e4d986ec47f3979d6122587dbdf750e"},"properties":{"dependency":{"package":"google.golang.org/grpc","version":"1.82.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","GO-2026-6348","GO-2026-6441","GO-2026-6443"],"severity":"high","fixedVersion":"1.82.2","relation":"direct","declaredRange":"1.82.1","reachability":{"kind":"production","file":"internal/playerapi/card_handlers.go","line":9}}}},{"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":"6149a36cd7be23268db9921487675803e09ab1bcde83b8d64193509e58282e24"},"properties":{"dependency":{"package":"golang.org/x/image","version":"0.0.0-20211028202545-6944b10bf410","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]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","GO-2023-1572","GO-2023-1989","GO-2023-1990","GO-2024-2937","GO-2026-4815","GO-2026-4961","GO-2026-4962","GO-2026-5031","GO-2026-5032","GO-2026-5061","GO-2026-5062","GO-2026-5066","GO-2026-6222"],"severity":"high","fixedVersion":"0.18.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":"97a2937e2ec918c28d2a5a6734c9ae0812701d4ee16877c804650b48d40ecaf5"},"properties":{"dependency":{"package":"derivative","version":"2.2.0","advisory":"RUSTSEC-2024-0388","severity":"medium","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4dead17a24b34dace9d9d9eb515fc02c7544832736dd5c6459e0cb8b2c1ec769"},"properties":{"dependency":{"package":"instant","version":"0.1.13","advisory":"RUSTSEC-2024-0384","severity":"medium","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9ca71f678d641b03ad85a0d10ed570eaa0d87173124a5e9371f7ebaffb2a4a8a"},"properties":{"dependency":{"package":"paste","version":"1.0.15","advisory":"RUSTSEC-2024-0436","severity":"medium","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a56c4473f2f2c5b7babc42fa5c06d35ac80957d7d73eb3a3cde3fde004b94c68"},"properties":{"dependency":{"package":"rustls-pemfile","version":"2.2.0","advisory":"RUSTSEC-2025-0134","severity":"medium","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"431a97f54ff2d60b87ce537266ea4e12f58feb49995620d0b75a3185e9da45db"},"properties":{"dependency":{"package":"rustybuzz","version":"0.20.1","advisory":"RUSTSEC-2026-0206","severity":"medium","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4e9720dabd6d1810e14c2bbc80e46f23807706d60d2a63f28881c213b93c2e6d"},"properties":{"dependency":{"package":"ttf-parser","version":"0.25.1","advisory":"RUSTSEC-2026-0192","severity":"medium","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"66e36ced3b202f746e3584957f5e36dc3e583ad693108382d097175cb22dcb91"},"properties":{"dependency":{"package":"zbus_names","version":"4.3.5","advisory":"RUSTSEC-2026-0371","severity":"medium","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"93feb540ee2db545c5ed018ad7a54c4ef97fd60551a2d943ff5ba628ab19da8c"},"properties":{"dependency":{"package":"zvariant","version":"5.15.1","advisory":"RUSTSEC-2026-0370","severity":"medium","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b4078c4fe03316f40e3a6bafd37a4ef2c910937bc7d142c1593f0a2364ac0281"},"properties":{"dependency":{"package":"zvariant_derive","version":"5.15.1","advisory":"RUSTSEC-2026-0372","severity":"medium","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c51162cc3c10c0826b05b4662766298e5497b7c36f94f5a05c450d9737aa1c18"},"properties":{"dependency":{"package":"stdlib","version":"1.25.5","advisory":"GO-2026-4337","aliases":["BIT-golang-2025-61726","BIT-golang-2025-61728","BIT-golang-2025-61730","BIT-golang-2025-68121","BIT-golang-2026-111943","BIT-golang-2026-25679","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-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-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-4340","GO-2026-4341","GO-2026-4342","GO-2026-4601","GO-2026-4602","GO-2026-4603","GO-2026-4864","GO-2026-4865","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-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.25.7","relation":"direct","declaredRange":"1.25.5","reachability":{"kind":"production","file":"cmd/ptcgp-server/main.go","line":141,"symbol":"net.Listen"}}}},{"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":"0bdf6e35fb4ce52ab3acda8c9d66343766f932e0b638e368be42c0e8b4377b74"},"properties":{"dependency":{"package":"golang.org/x/net","version":"0.53.0","advisory":"[GHSA redacted]","aliases":["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]","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.53.0","reachability":{"kind":"production","file":"internal/server/server.go","line":104,"symbol":"http2.ConfigureServer"}}}},{"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":"362d19fbc20680c130f6d3f829465778e97203407075f4ceb76a4cf0cc41a027"},"properties":{"dependency":{"package":"golang.org/x/sys","version":"0.43.0","advisory":"GO-2026-5024","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"0.44.0","relation":"direct","declaredRange":"0.43.0","reachability":{"kind":"production","file":"cmd/ptcgp-server/tray_windows.go","line":16}}}},{"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":"76d999f7f0da1c7805a61d7a77ca6e9d78cdf7e7d953cafe7b73d81759ae1a99"},"properties":{"dependency":{"package":"golang.org/x/text","version":"0.36.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":"079ba0e5a7a05f87303f2eb138b57bb5b1113aa2af47e682f8f0a8c9eb9eb970"},"properties":{"dependency":{"package":"anyhow","version":"1.0.102","advisory":"RUSTSEC-2026-0190","severity":"medium","fixedVersion":"1.0.103","relation":"direct","declaredRange":"1","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7a582edbae153a936a08e5ef26951ae49895ce7ca1d8262b08e0763ab5419917"},"properties":{"dependency":{"package":"paste","version":"1.0.15","advisory":"RUSTSEC-2024-0436","severity":"medium","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e9aeda296947018a2b50dae3b0aadb52481db1ee876b679189a0253d1c44d4ab"},"properties":{"dependency":{"package":"rustix","version":"1.1.4","advisory":"RUSTSEC-2026-0486","aliases":["[GHSA redacted]"],"severity":"medium","fixedVersion":"1.1.6","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c4891538a8f488de6417e7cef3885c48ba79ba3461aacbb32bae10dda0d2fab0"},"properties":{"dependency":{"package":"anyhow","version":"1.0.102","advisory":"RUSTSEC-2026-0190","severity":"medium","fixedVersion":"1.0.103","relation":"direct","declaredRange":"1","reachability":{"kind":"unknown"}}}},{"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":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"},"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":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 1/3 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060desktop\u0060, \u0060native/reader\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add gosec / govulncheck (or golangci-lint) (or \u0060semgrep --config=auto\u0060, which runs on any language) as a CI step. What was searched, so you can tell an absence from a miss: the 2 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/ci.yml"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060go.mod\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go.mod"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4a2e1d4ec30322a872affe28883b4491a6c0e2043ba24bdb2e79623c819f5b0"}},{"ruleId":"P4","level":"warning","message":{"text":"No deployment automation: No release automation was found in CI \u2014 neither a deploy stage (Helm/Kubernetes/compose manifests, an orchestrated rollout) nor a publish job that ships the built artifact. Releases appear to be run by hand, which is slower, less repeatable and harder to reverse."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7a7f38718309412c2d2c2c0663260a3d160de9a5a60f3915755be16386d3f1e8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060chargerAmount \u003C 0 || pokeGoldAmount \u003C 0 || chargerAmount\u002BpokeGoldAmount == 0 || pokeGoldAmount \u003E 8\u0060 appears character-identically in 2 files \u2014 internal/store/activities.go, internal/store/trade.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":"internal/store/activities.go"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4d03a92b0be0031d7349b2fb2d83a03ffa6be2545b6e069101e8a40f9f0dbf7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060err != nil \u0026\u0026 !errors.Is(err, sql.ErrNoRows)\u0060 appears character-identically in 3 files \u2014 internal/store/collections.go, internal/store/progression.go, internal/store/tutorial.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":"internal/store/collections.go"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"218377627acfa0d0e151d72aa123073bc924054b7755b24acb15f89986e18e5e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060err != nil \u0026\u0026 err != http.ErrServerClosed\u0060 appears character-identically in 2 files \u2014 cmd/ptcgp-server/main.go, internal/server/server.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":"cmd/ptcgp-server/main.go"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"03032c9420287791dee053edabf81166770b9de9d14f45ec181c888a632b53d6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060errors.Is(err, store.ErrInsufficientInventory) || errors.Is(err, store.ErrRuleViolation)\u0060 appears character-identically in 3 files \u2014 internal/playerapi/feed_handlers.go, internal/playerapi/item_shop_handlers.go, internal/playerapi/trade_reads.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":"internal/playerapi/feed_handlers.go"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"9142e0bf4893ba9af8331d6d32616a6c50cb5fbedeaeebe30e1ac11b38d25eca"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value.Completed \u0026\u0026 value.Step \u003E completed[value.TutorialID]\u0060 appears character-identically in 2 files \u2014 internal/player/manager.go, internal/store/store.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":"internal/player/manager.go"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd36478507dd4d3edf26eacc02e6b0763e6e4910e5006839a1055dbaa3fe12cb"}},{"ruleId":"X2","level":"note","message":{"text":"Not all functions that make a request accept a context.Context: Only 4/5 functions that make a cancellable request (net/http, net.Dial) accept a context.Context or pass one on, so a request keeps running after whatever wanted it has given up \u2014 a cancelled request, a shutdown, an expired deadline. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it (\u0060http.NewRequestWithContext\u0060, \u0060DialContext\u0060); 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":"faab330444baf00d50193f250b5c9b514f84cdca16c24014ef3776329847910c"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: runAssetProbe: \u0060runAssetProbe\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":"internal/servercmd/probe.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"18198e2ae1716296ff109d53ec198b9602ccc0f96f619f337edd5d8298f7ba91"}},{"ruleId":"X28","level":"warning","message":{"text":"Index access outside its own emptiness guard: \u0060sum\u0060 holds what \u0060Sum256\u0060 returns, and \u0060sum[6]\u0060 takes element 6 of it without checking its length \u2014 while this file tests that same result elsewhere before indexing it, because it can be nil or shorter. Here a short result panics with \u0060index out of range\u0060. Test \u0060len(sum)\u0060 (or nil) first, as the other call site does."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/store/store.go"},"region":{"startLine":965}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd066e18cd21bf466c88b7feaf8a76505f5ceb94abd121ed6fff86e50c630542"}},{"ruleId":"X28","level":"warning","message":{"text":"Index access outside its own emptiness guard: \u0060sum\u0060 holds what \u0060Sum256\u0060 returns, and \u0060sum[8]\u0060 takes element 8 of it without checking its length \u2014 while this file tests that same result elsewhere before indexing it, because it can be nil or shorter. Here a short result panics with \u0060index out of range\u0060. Test \u0060len(sum)\u0060 (or nil) first, as the other call site does."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/store/store.go"},"region":{"startLine":966}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7081b3ce1f6861297cf77b36c7b52a13f35aa1d6a36a4182da0967b6f297cce"}},{"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":"internal/traffic/recorder.go"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b1ee8c9fa8a53a9f0a5298503182f3d355247079dfc0257ef2d214eb75fdb67"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if rotateErr := r.rotateLocked(); rotateErr != 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":"internal/traffic/recorder.go"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa56c4cdebe2d154dbfa3a899b3b369225f0633e9ce48cd4ea1f199d0e006533"}},{"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":"internal/traffic/recorder.go"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"c54f8cead5d855ac2ec26efa69177e7f36b455aff4d07673d9e00c078bb8c3b8"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060changed, _ := result.RowsAffected()\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060changed\u0060 as if the call succeeded. When \u0060result.RowsAffected\u0060 fails, \u0060changed\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 \u0060changed\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":"internal/store/activities.go"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"216a02f8619d1a88611d3e459b83fc0a704d3bbc037700046785af395fa588af"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060changed, _ := result.RowsAffected()\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060changed\u0060 as if the call succeeded. When \u0060result.RowsAffected\u0060 fails, \u0060changed\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 \u0060changed\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":"internal/store/activities.go"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ba27aa4dd5edb34f84f6c56f170ce66028be869f0f2049bc6411ecfd1f93d9"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060changed, _ := result.RowsAffected()\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060changed\u0060 as if the call succeeded. When \u0060result.RowsAffected\u0060 fails, \u0060changed\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 \u0060changed\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":"internal/store/card_exchange.go"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"73d4bbdb718d26f3a3424174bfbeab8908a1a62a3b496cdda18d2a398887baf3"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060changed, _ := result.RowsAffected()\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060changed\u0060 as if the call succeeded. When \u0060result.RowsAffected\u0060 fails, \u0060changed\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 \u0060changed\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":"internal/store/card_exchange.go"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9c443881775fefb887882423ae8fe35501f081e2f4c0b45be9b0f7e051e7087"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060count, _ := result.RowsAffected()\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060count\u0060 as if the call succeeded. When \u0060result.RowsAffected\u0060 fails, \u0060count\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 \u0060count\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":"internal/store/decks.go"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4c422d846fb2ddb278eae8b43304f5096de6eb73f9c2f04289b4c7c2716d83d"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060changed, _ := result.RowsAffected()\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060changed\u0060 as if the call succeeded. When \u0060result.RowsAffected\u0060 fails, \u0060changed\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 \u0060changed\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":"internal/store/feed.go"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ca3eb3489db6201076c4b974c8856fd4b53f0ecc36a3b06c36f7db3dbcd9ac3"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060changed, _ := result.RowsAffected()\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060changed\u0060 as if the call succeeded. When \u0060result.RowsAffected\u0060 fails, \u0060changed\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 \u0060changed\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":"internal/store/feed.go"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0d66b1d84efc28d7902be4bdc88c50c85d548c8ba1f48daf2aa317601635dd8"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060changed, _ := result.RowsAffected()\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060changed\u0060 as if the call succeeded. When \u0060result.RowsAffected\u0060 fails, \u0060changed\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 \u0060changed\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":"internal/store/item_shop.go"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"562a3b69bde12b475dab39a4dd1f5d84ecc0eb5dda249eeba380797295611ff8"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060count, _ := result.RowsAffected()\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060count\u0060 as if the call succeeded. When \u0060result.RowsAffected\u0060 fails, \u0060count\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 \u0060count\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":"internal/store/packs.go"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e042cb851d84c705b4c6bec63984928f2f95ba803e55a13163859c21d73560b"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060changed, _ := result.RowsAffected()\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060changed\u0060 as if the call succeeded. When \u0060result.RowsAffected\u0060 fails, \u0060changed\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 \u0060changed\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":"internal/store/packs.go"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f0a1a215654a3436663d2a3129ddf9c8fd6bb4eb9b6e4c55fa405b6f45c9d9e"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060changed, _ := result.RowsAffected()\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060changed\u0060 as if the call succeeded. When \u0060result.RowsAffected\u0060 fails, \u0060changed\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 \u0060changed\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":"internal/store/packs.go"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"0838cea99a3b49ae9af0422973df1d79110ee099d70e0b1c79ee3205014e8d88"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060changed, _ := result.RowsAffected()\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060changed\u0060 as if the call succeeded. When \u0060result.RowsAffected\u0060 fails, \u0060changed\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 \u0060changed\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":"internal/store/preferences.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a997ab66a26bac226919680c191d448902f864d7bd536c0f7122b7e56f91d93"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060changed, _ := result.RowsAffected()\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060changed\u0060 as if the call succeeded. When \u0060result.RowsAffected\u0060 fails, \u0060changed\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 \u0060changed\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":"internal/store/preferences.go"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"f22f3935fe7a3cfad82a1d9032371bbed9eb750fe290e98e32d5bc2b9b5467c2"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060changed, _ := result.RowsAffected()\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060changed\u0060 as if the call succeeded. When \u0060result.RowsAffected\u0060 fails, \u0060changed\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 \u0060changed\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":"internal/store/presents.go"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"4379cb1f17ea7e8336420b6fa33f0a96469f120595c18a083a39278662f550aa"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060changed, _ := result.RowsAffected()\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060changed\u0060 as if the call succeeded. When \u0060result.RowsAffected\u0060 fails, \u0060changed\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 \u0060changed\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":"internal/store/profile_emblems.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"d87ad53d111e53dcacf2efa5efc366347fe210fb4cfea2a3fd51eb919df45b7e"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060changed, _ := result.RowsAffected()\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060changed\u0060 as if the call succeeded. When \u0060result.RowsAffected\u0060 fails, \u0060changed\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 \u0060changed\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":"internal/store/profile_lifecycle.go"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"71bbf8dfc8928f219da5b8e3fb93b3b12fd961182324026bf8b5ac3c237ec6bf"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060changed, _ := result.RowsAffected()\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060changed\u0060 as if the call succeeded. When \u0060result.RowsAffected\u0060 fails, \u0060changed\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 \u0060changed\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":"internal/store/progression.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f9e0b60f7ebb4b93afe1cdf4954a6a5b7916ccee11a8c6420af1085dc8b18ee"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060changed, _ := result.RowsAffected()\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060changed\u0060 as if the call succeeded. When \u0060result.RowsAffected\u0060 fails, \u0060changed\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 \u0060changed\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":"internal/store/progression.go"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"429521ced4ec184ead952216386ad1dea698503bd9cc58e3f4d993a5169f7dcc"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060changed, _ := result.RowsAffected()\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060changed\u0060 as if the call succeeded. When \u0060result.RowsAffected\u0060 fails, \u0060changed\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 \u0060changed\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":"internal/store/showcases.go"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfd3d0e8014eb19315e5e7989ae97c15e0c901a282311ff5f5fc9ace09d35b9b"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060changed, _ := result.RowsAffected()\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060changed\u0060 as if the call succeeded. When \u0060result.RowsAffected\u0060 fails, \u0060changed\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 \u0060changed\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":"internal/store/showcases.go"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"2648f333beb7b3f81a461bb89d76a22e4bc9d2ec3efd55039ea56b7b827bcd51"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060count, _ := result.RowsAffected()\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060count\u0060 as if the call succeeded. When \u0060result.RowsAffected\u0060 fails, \u0060count\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 \u0060count\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":"internal/store/social.go"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b68f06dae61bcf1970336c17496fea1f0f7d9468b66b46f850e8daf24aa8912"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060n, _ := result.RowsAffected()\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060n\u0060 as if the call succeeded. When \u0060result.RowsAffected\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":"internal/store/store.go"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"33ba393816c2f52f4edcccb767961cc13a2cd1c242b40c7ff7758d90cb475404"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060n, _ := result.RowsAffected()\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060n\u0060 as if the call succeeded. When \u0060result.RowsAffected\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":"internal/store/store.go"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"d016900ee802764b37cd45d1b73e76e422929457b59850171948032c6481f45f"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060changed, _ := result.RowsAffected()\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060changed\u0060 as if the call succeeded. When \u0060result.RowsAffected\u0060 fails, \u0060changed\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 \u0060changed\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":"internal/store/store.go"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0dcf405769eca8b33d252136d8955c4923785c0e6e53bf04bd372597ed8ff5a"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060n, _ := result.RowsAffected()\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060n\u0060 as if the call succeeded. When \u0060result.RowsAffected\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":"internal/store/store.go"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9c3cfc6c75efda18c28b144339b8e611df95d89495972589cfacc8867a6dddc"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060rows, _ := result.RowsAffected()\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060rows\u0060 as if the call succeeded. When \u0060result.RowsAffected\u0060 fails, \u0060rows\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 \u0060rows\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":"internal/store/store.go"},"region":{"startLine":938}}}],"partialFingerprints":{"codehealthFindingId/v1":"7148e0c53451ee33635bff3324f013a1b5e5eb1f7fbe6166bc93db68e9255182"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060changed, _ := result.RowsAffected()\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060changed\u0060 as if the call succeeded. When \u0060result.RowsAffected\u0060 fails, \u0060changed\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 \u0060changed\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":"internal/store/trade.go"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"a49e63b411d5619dd002732b14822cc3a4fe2f82ae5b4d9c24bceb2b59c83e8b"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060changed, _ := result.RowsAffected()\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060changed\u0060 as if the call succeeded. When \u0060result.RowsAffected\u0060 fails, \u0060changed\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 \u0060changed\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":"internal/store/trade.go"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7a794fb8c21987c486ea27cd0014016ed8feb11293ec98fc3061b2dd53269bf"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060changed, _ := result.RowsAffected()\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060changed\u0060 as if the call succeeded. When \u0060result.RowsAffected\u0060 fails, \u0060changed\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 \u0060changed\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":"internal/store/trade_sessions.go"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ef1b9931139c2abf9b64f7e8b4b6eb6622aa48186df7345dea4f7b5ada88378"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060changed, _ := result.RowsAffected()\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060changed\u0060 as if the call succeeded. When \u0060result.RowsAffected\u0060 fails, \u0060changed\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 \u0060changed\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":"internal/store/trade_sessions.go"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"e81b8a74103681d300adfc714f052689eb5f3e4db59d98ea83a59067959b7c43"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060changed, _ := result.RowsAffected()\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060changed\u0060 as if the call succeeded. When \u0060result.RowsAffected\u0060 fails, \u0060changed\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 \u0060changed\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":"internal/store/trade_sessions.go"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"7770bb12e5104f0781f92cf29d59af356988a18870af4212609d74c9b8a55cc8"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060changed, _ := result.RowsAffected()\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060changed\u0060 as if the call succeeded. When \u0060result.RowsAffected\u0060 fails, \u0060changed\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 \u0060changed\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":"internal/store/tutorial.go"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d50dcfeea3a72b3810c21ce265dad35e0b6d4bd9798d28c5c698bdf0e37e7fe"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.NewEncoder(w).Encode(value); 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":"internal/restapi/handler.go"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"669f924eeee2fd75502965293548d763a889521db34174f7041b6db1f32568e3"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060identity, _ := json.Marshal(struct { Client any Contract any Converter string }{cfg.Client, cfg.Contracts, converter})\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060identity\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060identity\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 \u0060identity\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":"internal/provision/provision.go"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f7dc0a3b8cefa3108a2ebddfdf25023e74f23ee0093930f43ed0ad9aaf55f01"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060old, _ := loadReceipt(root, previous.Key)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060old\u0060 as if the call succeeded. When \u0060loadReceipt\u0060 fails, \u0060old\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 \u0060old\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":"internal/provision/provision.go"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cdcdbbd11a4033479f80d210dfa81168527748ea5a719799313f396dbd787d4"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060apks, _ := json.Marshal(source.APKs)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060apks\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060apks\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 \u0060apks\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":"internal/provision/provision.go"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"059fb2df485b5d02eab23ab48355567a0cc0d4dd8925cc4bb5e3573b16c52478"}},{"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":"internal/playerapi/card_handlers.go"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"688ef6f3ea36d2c4c467599672bf2e1630ff33fc177eb951bce54673db0e0a22"}},{"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":"internal/playerapi/card_handlers.go"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b4d0b102446268b356d9338de84424b018ed96ee8d4096731ada4dea921a533"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if lookupErr != 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":"internal/playerapi/card_skin_handlers.go"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d3a491e3ee7754d52f4496ec302a11caf5cf2ba3146fdd264b7842fd738bab"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if currencyErr != 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":"internal/playerapi/card_skin_handlers.go"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6816876815ed4599e10fb3c3903f991d746941a6dffcc88cd10c3d90fe28df9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := proto.Unmarshal(payload, result); 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":"internal/playerapi/collection_handlers.go"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"79cb83f4035299ce55411875c905fd3f7b0f7c66057564669f49db2a0396b991"}},{"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":"internal/playerapi/deck_handlers.go"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dc2fff2ee2e04a03fff733c001b23363eebdda90b9b7648d54b697722d0c703"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060profile, _ := s.players.Profile(ctx, current.ID)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060profile\u0060 as if the call succeeded. When \u0060s.players.Profile\u0060 fails, \u0060profile\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 \u0060profile\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":"internal/playerapi/feed_handlers.go"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3dd19c849e13ccef2b8c19503b7978349ee696b29610c46dc0b20dedfda9ee1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if profileErr != 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":"internal/playerapi/feed_handlers.go"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"96f359a31cb2265cae25c87a52527044f601606e430f38cad7781528d8a3dc4e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if definitionErr != 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":"internal/playerapi/feed_handlers.go"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"d930d406d0d5868d1db9ca320a1ebe4f27f01c5d2e9fa43eb515923bbe3ee62d"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060social, _ := s.players.SocialSnapshot(ctx, current.ID)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060social\u0060 as if the call succeeded. When \u0060s.players.SocialSnapshot\u0060 fails, \u0060social\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 \u0060social\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":"internal/playerapi/friend_handlers.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"26861602d62a81818b577d660ec4ef6846cb4188008616917cee9bd6afb08696"}},{"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":"internal/playerapi/friend_handlers.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"ded8014b59d83f2a6ae277bcbcb8bfbb07c0165772e6225ad03e23aca370db74"}},{"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":"internal/playerapi/friend_handlers.go"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"c06fb5e4067061ebacf8567e6a89805f69cae2c9ed0e64272d9440bd616f24e0"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060myHistory, _ := s.players.GiveCardHistories(ctx, current.ID, dayStart)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060myHistory\u0060 as if the call succeeded. When \u0060s.players.GiveCardHistories\u0060 fails, \u0060myHistory\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 \u0060myHistory\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":"internal/playerapi/give_card_handlers.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"89a13649934086d85707dd47610d3be3f97f004f8c4e2346e71656fe1d4995d4"}},{"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":"internal/playerapi/give_card_handlers.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"0558219ea1c98c07d1a31d0e95af1d4a6551f00c00aa292518228990d69e6002"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060desired, _ := s.players.DesiredCards(ctx, friend.PlayerID)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060desired\u0060 as if the call succeeded. When \u0060s.players.DesiredCards\u0060 fails, \u0060desired\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 \u0060desired\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":"internal/playerapi/give_card_handlers.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"61f7d46b29839f13961e5057b4f822992ae6d967cd46dd7e7c6ddeae2988a715"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060friendHistory, _ := s.players.GiveCardHistories(ctx, friend.PlayerID, dayStart)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060friendHistory\u0060 as if the call succeeded. When \u0060s.players.GiveCardHistories\u0060 fails, \u0060friendHistory\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 \u0060friendHistory\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":"internal/playerapi/give_card_handlers.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"64350255fe5332989ab5a93917b2d3c6f85bb7c3b7844f91e775e96051fc4f7b"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060desired, _ := s.players.DesiredCards(ctx, profile.Player.ID)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060desired\u0060 as if the call succeeded. When \u0060s.players.DesiredCards\u0060 fails, \u0060desired\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 \u0060desired\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":"internal/playerapi/give_card_handlers.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aac7b9a0739ed08ed123ddfbe0610f590bce4967509d49b33bb9e6ab42c0a4a"}},{"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":"internal/playerapi/give_card_handlers.go"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"d85ab8aac5e9f62ba591bc9504a28960f204fbc44bb2b1804a25216f0d4f4c65"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060profile, _ := s.players.Profile(ctx, current.ID)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060profile\u0060 as if the call succeeded. When \u0060s.players.Profile\u0060 fails, \u0060profile\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 \u0060profile\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":"internal/playerapi/pack_shop_exchange.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"3427972cc1dbab9060d4634351c8be88cbe85cbe26179682880f32023a60001d"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060definition, _ := s.players.CardDefinition(request.GetCardId())\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060definition\u0060 as if the call succeeded. When \u0060s.players.CardDefinition\u0060 fails, \u0060definition\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 \u0060definition\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":"internal/playerapi/pack_shop_exchange.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"f02c66849e0fb2caae4b08196c8202bdf48128ad18b7c3c2bb17048621d5311d"}},{"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":"internal/playerapi/server.go"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdc1eecb86ca6ae46d7873568d9cad17b73c67994b6696dc5ed6aad64bb12872"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060payload, _ := proto.Marshal(album)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060payload\u0060 as if the call succeeded. When \u0060proto.Marshal\u0060 fails, \u0060payload\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 \u0060payload\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":"internal/playerapi/showcase_handlers.go"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"659ac44dcf2d6ca6f039bbc91a75564e41c5ccf8ce1afe16b5ef603efd8b6331"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060payload, _ := proto.Marshal(mount)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060payload\u0060 as if the call succeeded. When \u0060proto.Marshal\u0060 fails, \u0060payload\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 \u0060payload\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":"internal/playerapi/showcase_handlers.go"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b00936bd6606e0d9366bd00233ce30eeed0d72d12838653aabbcaf47d68f31c"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060flags, _ := s.players.Flags(ctx, current.ID, \u0022settings\u0022, nil)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060flags\u0060 as if the call succeeded. When \u0060s.players.Flags\u0060 fails, \u0060flags\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 \u0060flags\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":"internal/playerapi/simple_handlers.go"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"644d4da5352a772d48f8eb5c8207b7d003a42ac2a3f3c478e376059bdbc348ac"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060profile, _ := s.players.Profile(ctx, current.ID)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060profile\u0060 as if the call succeeded. When \u0060s.players.Profile\u0060 fails, \u0060profile\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 \u0060profile\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":"internal/playerapi/solo_battle_handlers.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6666652e3966885226350ad6460f78f55741a0100b73cd7f27fb50b4c5bbb39"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060state, _ := s.players.EventPower(ctx, current.ID, request.GetBattleId())\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060state\u0060 as if the call succeeded. When \u0060s.players.EventPower\u0060 fails, \u0060state\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 \u0060state\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":"internal/playerapi/solo_battle_handlers.go"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"95cc9b3116c84aadd32df9ec7ea5791d734c6cf8bf27276d96635104a81e19ba"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060profile, _ := s.players.Profile(ctx, current.ID)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060profile\u0060 as if the call succeeded. When \u0060s.players.Profile\u0060 fails, \u0060profile\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 \u0060profile\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":"internal/playerapi/solo_battle_handlers.go"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"01b86bd0fde9fd785ffd8d94a9a5167064fd1c9adc3244dbe4ff864446b360c5"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060profile, _ := s.players.Profile(ctx, current.ID)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060profile\u0060 as if the call succeeded. When \u0060s.players.Profile\u0060 fails, \u0060profile\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 \u0060profile\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":"internal/playerapi/solo_battle_handlers.go"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f4bd19d680c64d98ea9d816a11acf93ddffeece187b13b27851f37b754bf63a"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060flags, _ := s.players.Flags(ctx, p.Player.ID, \u0022settings\u0022, nil)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060flags\u0060 as if the call succeeded. When \u0060s.players.Flags\u0060 fails, \u0060flags\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 \u0060flags\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":"internal/playerapi/stateful_reads.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a7c285517234337ddbf2a7d532b567d4fbc1d5ec79e530e24df1c24b652be4e"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060social, _ := s.players.SocialSnapshot(ctx, resolved.ID)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060social\u0060 as if the call succeeded. When \u0060s.players.SocialSnapshot\u0060 fails, \u0060social\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 \u0060social\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":"internal/playerapi/stateful_reads.go"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ab6d25520e65e5996d104f95c07f9feb8998aa907a7d2d0b4e61c3d63015871"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060definition, _ := players.CardDefinition(cardID)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060definition\u0060 as if the call succeeded. When \u0060players.CardDefinition\u0060 fails, \u0060definition\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 \u0060definition\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":"internal/playerapi/supplemental_handlers.go"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d15db444f317dfa9991b86a8bb8b7ee6b30ce239fc553ba6ffc6b9687d4b4a3"}},{"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":"internal/playerapi/trade_lifecycle.go"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c208fedd2862c487b76b9106baef6932b962ea6bdb9ce90539a93ee751372e1"}},{"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":"internal/playerapi/trade_reads.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"2570cad1979716f1f81bcc9000578c65696bc5c44ef43416dc007a4f1b69147e"}},{"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":"internal/playerapi/trade_reads.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"2218247ea10710dc24ef7ae123419d8d5a55bab0e202480b0611ad7e1aaa0b32"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060desired, _ := s.players.DesiredCards(ctx, friend.PlayerID)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060desired\u0060 as if the call succeeded. When \u0060s.players.DesiredCards\u0060 fails, \u0060desired\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 \u0060desired\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":"internal/playerapi/trade_reads.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"faf2d958e76900cf072a1c4497b77d60cfbab95312e4f5f375827bf056b1a2ed"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060profile, _ := s.players.Profile(ctx, current.ID)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060profile\u0060 as if the call succeeded. When \u0060s.players.Profile\u0060 fails, \u0060profile\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 \u0060profile\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":"internal/playerapi/trophy_handlers.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"db0725f7df43c01eb440f469c79b14aea818df2c3ee4ae92dbd04a1dde8acfbb"}},{"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":"internal/player/action_projection.go"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cd33aca8a80d7df9a70ebf148f95c32ba043aacc722e54f8a41b485b2ac5d33"}},{"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":"internal/controlcli/panel.go"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc794ca260ae7d029137f3065e255faf9e6cc46713309808c2a7ba9f24806934"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if _, err := r.shell(ctx, serial, \u0022 \u0022\u002BshellQuote(apk)\u002B\u0022 \u0022\u002BshellQuote(entry)\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":"internal/control/android_setup.go"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"d265401e79f7a52718392484e411870759aa3b88d81c9bc22be11f819dabc41e"}},{"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":"internal/control/android_setup.go"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb9a50143677dbc6ba43a0c0d9a34baf5c79e96914271d6df342d21952ca2da3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if _, err := r.shell(ctx, serial, \u0022 \u0022\u002BshellQuote(certificate)); 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":"internal/control/android_setup.go"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"631aec8cd699674b836dad7ba5d99377d46b94b153a932906b4163225588ba2c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if _, err := r.shell(ctx, serial, verify); 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":"internal/control/android_setup.go"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"488ba577c1313e978cd8dac90af5edc5619fd2aa2ddb8f8cbd6752ed0025851e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if _, err := r.shell(ctx, serial, \u0022 \u0022\u002BshellQuote(backup)); 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":"internal/control/android_setup.go"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"857e3ca2958f6cda93a5022e74f94130264da05059e72cfc0ed9144ee6df9514"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if _, pendingErr := os.Stat(pending); pendingErr != 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":"internal/control/emulators.go"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"962fce7c87882e18ef76462407caddf35a9ff84c67d574f5b7fa7c220984bb94"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060data, _ := os.ReadFile(errLogPath)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060data\u0060 as if the call succeeded. When \u0060os.ReadFile\u0060 fails, \u0060data\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 \u0060data\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":"internal/control/hosted.go"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f03c2dbc8cb6c7b3bf819722705e8f7d64fb4a9e6125eddaf53720f493025f7"}},{"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":"internal/control/native.go"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"da6cde8b4aab8875d25fb12fefc8ca1466e5c95f174b0df682f89664e8ce0af3"}},{"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":"internal/control/native.go"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"a694ff34ae21d7ee62bad8c46d6614779158e23e7f3774b0f63b7a2609961063"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if _, err := os.Stat(r.installedPatch()); 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":"internal/control/native.go"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"84c7c0287c59e5b9318b54d0c3243e009c55ccfcba65965c7ec88e6975d31e20"}},{"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":"internal/control/native.go"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5d64617e088fddfb76dac43be6b09299a2ba3b30004bf15bd1a7d11ad8843e5"}},{"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":"internal/control/native.go"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab2281360db0651f69cd346193594192e22bb7d2089a126c4898dadb780d991f"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060_, port, _ := net.SplitHostPort(address)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060port\u0060 as if the call succeeded. When \u0060net.SplitHostPort\u0060 fails, \u0060port\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 \u0060port\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":"internal/control/native.go"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"daf9dcd670116b2de415e26ee0481fbfeb9f4ef028985624ddf33cca99c3310a"}},{"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":"internal/control/process.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"80ab05a1d62962409f2a85184c4574c3055638499dbd9e9a292ec5e8d9fabf02"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060data, _ := os.ReadFile(errLogPath)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060data\u0060 as if the call succeeded. When \u0060os.ReadFile\u0060 fails, \u0060data\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 \u0060data\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":"internal/control/process.go"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"3be6b56df9f482a20784e2240ceb46e421769c71c57923082532f09fa6240710"}},{"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":"internal/control/process_other.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"d31db6964d258612357365394b45d02e1a072aa083e025855e648d389948414f"}},{"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":"internal/control/process_windows.go"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d04a8f50349295e1b2f24f4b6c206d9cd35be3b0a90a66f639e141e1e309138"}},{"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":"internal/control/process_windows.go"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"b542930bee0a2ba17e73477d6dd3b95d6aa980270209fd04afcf289db6af62ef"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060host, _, _ := net.SplitHostPort(address)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060host\u0060 as if the call succeeded. When \u0060net.SplitHostPort\u0060 fails, \u0060host\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 \u0060host\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":"internal/configuration/config.go"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ee8ffbc5008d1ade494e2b920a3c808c9fadd7d3234f960daef86222ba437c6"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060expected, _ := hex.DecodeString(manifest.ExpectedHex)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060expected\u0060 as if the call succeeded. When \u0060hex.DecodeString\u0060 fails, \u0060expected\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 \u0060expected\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":"internal/binarypatch/patch.go"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"db27a6e5716fbd9f403065902286f987f22e2b1618816c2808d4c1ef8fad669e"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060replacement, _ := hex.DecodeString(manifest.ReplacementHex)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060replacement\u0060 as if the call succeeded. When \u0060hex.DecodeString\u0060 fails, \u0060replacement\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 \u0060replacement\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":"internal/binarypatch/patch.go"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc608efb91b65c4f2f54031d313bff85cea36727e34174421be833cd2ee1cbcd"}},{"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":"internal/android/discovery.go"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b9dad39799d7327f50551b9b9172782eec134d76e623482dc883d068b4acb4d"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060extra, _ := os.ReadFile(filepath.Join(configs, \u0022extra_config.json\u0022))\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060extra\u0060 as if the call succeeded. When \u0060os.ReadFile\u0060 fails, \u0060extra\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 \u0060extra\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":"internal/android/discovery.go"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b65237a9d39ab34f3be3290ea5b223e2f07942be044d9bfd0977039a53203c"}},{"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":"internal/android/discovery.go"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"3746ecef126135b396c462ed0bfd304a58ccd0c173054c08ca0c7083242d24d1"}},{"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":"internal/android/discovery.go"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e4e72e35c7342d6550e7313d3d9699bb5fd110532e417141e3647559b6a68da"}},{"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":"internal/android/discovery.go"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a57b8854cb80fea9130a9851f737677f3b100f309e7a6fab5667a7944a75d4d"}},{"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":"internal/android/discovery.go"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"872ea42c0a57f791a6601c2c6a473a1602f9c47c06b674aaaba6c089cef5c408"}},{"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":"internal/android/discovery.go"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce265303d55d9bee67aa785eefe9f3caa32197bc1aa50b297171b8ddab5a7a35"}},{"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":"internal/android/installs_windows.go"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"07006f3d293dd4b0ece8100c1e136d9fb5c37e353f30c5f0c6fadb5c473e3fbf"}},{"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":"internal/android/installs_windows.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac92bfbff6ecdeaeb30f0e35f02c0a0a1a577ecf860d368ce8496cae09168c66"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if _, entryErr := call(\u0022 \u0022 \u002B ShellQuote(apk) \u002B \u0022 \u0022 \u002B ShellQuote(entry) \u002B \u0022 \u0022); entryErr != 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":"internal/android/source.go"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ba3d836aa49af32ffe6aee6f749b46adff6ce5ce5aeaf3eacf0172224096115"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060external, _ := call(\u0022printf %s \\\u0022$EXTERNAL_STORAGE\\\u0022\u0022)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060external\u0060 as if the call succeeded. When \u0060call\u0060 fails, \u0060external\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 \u0060external\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":"internal/android/source.go"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c63de70b26f3588d99cb58f0f06e753eb7685594b0a0c7c9cef279532a35493"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060host, _, _ := net.SplitHostPort(address)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060host\u0060 as if the call succeeded. When \u0060net.SplitHostPort\u0060 fails, \u0060host\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 \u0060host\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":"internal/android/wireless.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e2b5e792845c2b143af5f7de88b5ad6e43504e5edf4647cb4364594eaa4d389"}},{"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":"internal/android/wireless.go"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"933a50134c59cef8932866329c14ac085b945ecef8a695e8c485cf3cabd1d65f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := sendAvailable(); 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":"internal/admin/handler.go"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b88efa9fff444a2fb94a2eba9032fb6f203f58921c709a3c29ba3ce298372fb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if _, err := io.WriteString(w, \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":"internal/admin/handler.go"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"57af87df409e76b4938af84462d704199fbf3e14e78894e1f0a5a20530b7bf37"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060cardLanguage, _ := strconv.Atoi(r.URL.Query().Get(\u0022language\u0022))\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060cardLanguage\u0060 as if the call succeeded. When \u0060strconv.Atoi\u0060 fails, \u0060cardLanguage\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 \u0060cardLanguage\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":"internal/admin/handler.go"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"674166debc47b7a18edca0b01b490bef781e17b86cd69cdf1a5bfbfce6bfdf30"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060rarity, _ := strconv.Atoi(r.URL.Query().Get(\u0022rarity\u0022))\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060rarity\u0060 as if the call succeeded. When \u0060strconv.Atoi\u0060 fails, \u0060rarity\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 \u0060rarity\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":"internal/admin/handler.go"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"1177af803eb67d01647b6e1d7503351604dd302c076355f3238366cbe085e537"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060page, _ := strconv.Atoi(r.URL.Query().Get(\u0022page\u0022))\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060page\u0060 as if the call succeeded. When \u0060strconv.Atoi\u0060 fails, \u0060page\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 \u0060page\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":"internal/admin/handler.go"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fda3efe12f7a7f3460b1e0fa9c44f13e32817256809ccd2cb6537cd3eed4eca"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if restoreErr != 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":"cmd/ptcgp-server/main.go"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"3805e9bbe2bab90f562c7b4aaa6fd87cf04f985c421304b70076f437981ff444"}},{"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":"cmd/ptcgp-server/main.go"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4178ed81218a7667a0a6def959e78b6adce4b60378fe842c20ffb8329712010"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060previous, _ := os.ReadFile(marker)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060previous\u0060 as if the call succeeded. When \u0060os.ReadFile\u0060 fails, \u0060previous\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 \u0060previous\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":"cmd/ptcgp-server/main.go"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c05d7f75474c1c3995870416a33aa7262b18fa89cb36c8fab94d58d41f2f334"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060body, _ := io.ReadAll(io.LimitReader(actionResponse.Body, 1\u003C\u003C16))\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060body\u0060 as if the call succeeded. When \u0060io.ReadAll\u0060 fails, \u0060body\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 \u0060body\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":"cmd/ptcgp-server/tray.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcbcd4ea94fff627bd2f98bd772e67c6dd02b1915eb553ac84c6ba6596a10550"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060instance, _, _ := procGetModuleHandleW.Call(0)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060instance\u0060 as if the call succeeded. When \u0060procGetModuleHandleW.Call\u0060 fails, \u0060instance\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 \u0060instance\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":"cmd/ptcgp-server/tray_windows.go"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"046fe6b5c7db16005d8accd5ece6689673a50c2abe03d1d6e4ad04e8e1acd95f"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060result, _, _ := procDefWindowProcW.Call(hwnd, uintptr(message), wParam, lParam)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060result\u0060 as if the call succeeded. When \u0060procDefWindowProcW.Call\u0060 fails, \u0060result\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 \u0060result\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":"cmd/ptcgp-server/tray_windows.go"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"607809fb99ea181dac7c992ed2906e921879acb2687dc95dd61203abc2a1f05d"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060atom, _, _ := procRegisterClassExW.Call(uintptr(unsafe.Pointer(\u0026class)))\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060atom\u0060 as if the call succeeded. When \u0060procRegisterClassExW.Call\u0060 fails, \u0060atom\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 \u0060atom\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":"cmd/ptcgp-server/tray_windows.go"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea1815f6036d1eb970647a75c60273196f442e8256200ad3e346ce1bb6839215"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060window, _, _ = procCreateWindowExW.Call(0, uintptr(unsafe.Pointer(className)), uintptr(unsafe.Pointer(windowName)), 0, 0, 0, 0, 0, 0, 0, instance, 0)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060window\u0060 as if the call succeeded. When \u0060procCreateWindowExW.Call\u0060 fails, \u0060window\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 \u0060window\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":"cmd/ptcgp-server/tray_windows.go"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"e401401a7d1a6a00beba3fcc2e4769b0facc1893501e818848eeaf3cde0b79e3"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060result, _, _ := procGetMessageW.Call(uintptr(unsafe.Pointer(\u0026message)), 0, 0, 0)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060result\u0060 as if the call succeeded. When \u0060procGetMessageW.Call\u0060 fails, \u0060result\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 \u0060result\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":"cmd/ptcgp-server/tray_windows.go"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"d39a827bd2c838f30f98105edc54d90e1cd4d748e624e42ca6c9ff99cc042ad9"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060icon, _, _ := procLoadIconW.Call(0, imageApplicationIcon)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060icon\u0060 as if the call succeeded. When \u0060procLoadIconW.Call\u0060 fails, \u0060icon\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 \u0060icon\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":"cmd/ptcgp-server/tray_windows.go"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"74acafa530598e6b2b3650ec7fb4f6f2c59c7ca7cbfc587031447ecdca8240d3"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060menu, _, _ := procCreatePopupMenu.Call()\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060menu\u0060 as if the call succeeded. When \u0060procCreatePopupMenu.Call\u0060 fails, \u0060menu\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 \u0060menu\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":"cmd/ptcgp-server/tray_windows.go"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"31d8ad898e2e456abc556e5c5da80f2bf99dc773bc1d86d4ac13163cec270c11"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060ok, _, _ := procGetCursorPos.Call(uintptr(unsafe.Pointer(\u0026point)))\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060ok\u0060 as if the call succeeded. When \u0060procGetCursorPos.Call\u0060 fails, \u0060ok\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 \u0060ok\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":"cmd/ptcgp-server/tray_windows.go"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd2eb20d082e0a0b4669725c9abcde3e88cec2ad3ca9a68f5126f538fcd30acc"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060command, _, _ := procTrackPopupMenu.Call(menu, tpmRightButton|tpmNonotify|tpmReturnCmd, uintptr(point.X), uintptr(point.Y), 0, window, 0)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060command\u0060 as if the call succeeded. When \u0060procTrackPopupMenu.Call\u0060 fails, \u0060command\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 \u0060command\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":"cmd/ptcgp-server/tray_windows.go"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"7deca0ebb562ead238d26860ea3930ae58ee3e4c02d87958b4506b22d23b536f"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060weights[start..].iter().enumerate().max_by_key(|(_,w)|w.weight)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.unwrap()\u0060 in \u0060prepare_filter\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"native/importer/src/card_mesh.rs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"a291c3861ccfe52ac3902bf9a58b6873a834c82fda911683940438b4d4f7a884"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060RgbaImage::from_raw(self.width,self.height,output)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.unwrap()\u0060 in \u0060render\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"native/importer/src/card_mesh.rs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"897f153b65170a7fb914ddb331c119314ed0c696ae6fe3309fb61fa659fc0d43"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060data[off..off\u002B4].try_into()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.unwrap()\u0060 in \u0060word\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"native/importer/src/crypto.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"2681566f4a4bbb9bd46b055c9f602e87b6d44c64861ff920831a77c0149f16c2"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060std::fs::read(path)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.unwrap()\u0060 in \u0060decrypt\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"native/importer/src/crypto.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"594ad9ec83d6c3ec3f8ccf626e488c6bb12e1947da8eb5b8fdb889e962b1c16e"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060std::fs::read(path).unwrap().try_into()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.unwrap()\u0060 in \u0060decrypt\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"native/importer/src/crypto.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d6c8c28d5eeb55db64854f75edca4c72b3b0cd12c7fbec38dd86d94dba13d95"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060data[offset..offset\u002B4].try_into()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.unwrap()\u0060 in \u0060transform_avx2\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"native/importer/src/crypto.rs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"24902b8c78b8316fd5f2813f0a3b7c5a727cec572a9f70bcb0d2904b42ad232e"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060output.join(\u0022images\u0022).join(\u0026i.output).parent()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.unwrap()\u0060 in \u0060stream\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"native/importer/src/fast_pipeline.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aa2e7900a40f38d021ca78e6d33e5d203317f9dd3efe49ed9d0c30b64a924cb"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060textures.pop()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.unwrap()\u0060 in \u0060stream\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"native/importer/src/fast_pipeline.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"16a0c66559b310ef629d7d2504912ea8c816627e18407f71377f0bb27f71c938"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060textures.pop()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.unwrap()\u0060 in \u0060stream\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"native/importer/src/fast_pipeline.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae096d0556f2f2feed3c31714ef67bf375fb95c0fedd05a7dcc659230f0e73db"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060std::env::var(\u0022PTCGP_SOURCE_ROOT\u0022)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060remote\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"native/importer/src/live_source.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe15c655c74116d3b0fee371ef2c78ff51f0b6daee3f88c00b958bbbd314137c"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060std::env::var(\u0022PTCGP_ADB_SERIAL\u0022)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060serial\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"native/importer/src/live_source.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"55020c4c4a1bac843ddb81bd06798d7c60d8a7d68b52456fca599050c0c21923"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060std::env::var(\u0022PTCGP_APKS\u0022)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060apks\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"native/importer/src/live_source.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"b07ff886b64594029459fdfd5c408d026f42ede1d13a8815c618f8e92db1de3c"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060serde_json::from_str(\u0026std::env::var(\u0022PTCGP_APKS\u0022).expect(\u0022APKs required\u0022))\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060apks\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"native/importer/src/live_source.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"3da94b19b313197f38b776c789599ae8ceb57802b3565cd0e9db5c29d93a3f22"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060pending.remove(\u0026item)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.unwrap()\u0060 in \u0060stream_reader\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"native/importer/src/live_source.rs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"953ffda7a5c6216419b31987e91d20f75f7e658bf1520a5be90089e8ddbffec6"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060child.into_inner()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.unwrap()\u0060 in \u0060stream_reader\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"native/importer/src/live_source.rs"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cf35115c589743005a3d636aaade90568320b97520423716938fdcfe8622c76"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060weights.iter().enumerate().min_by_key(|(_,w)|**w)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.unwrap()\u0060 in \u0060stream_run\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"native/importer/src/live_source.rs"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"a333fa0499bddfe2636fbca9ae905f77c2aefafee1d1de80db89e3a84f7da11c"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060j.join()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.unwrap()\u0060 in \u0060stream_run\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"native/importer/src/live_source.rs"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a1614583b8dfb985eb6365ebbdc915a5a6836e63a0b3a7aa782c60f611f0a9b"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060a.join()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.unwrap()\u0060 in \u0060master_run\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"native/importer/src/live_source.rs"},"region":{"startLine":703}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf5645cb5bcda0c92b08e0133049941ca27c6fe26fb03d03de8276f038784329"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060b.join()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.unwrap()\u0060 in \u0060master_run\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"native/importer/src/live_source.rs"},"region":{"startLine":703}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cf40b1b3072bd1eca56f7c57241a48e6c626fd00c73cdb92438eb3e60db0947"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060path.rsplit(\u0027/\u0027).next()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.unwrap()\u0060 in \u0060texture\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"native/importer/src/unity_fast.rs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"15b2182b3ccacd50f240c8346427b9f9b3231730ef9a819001850e4650b17814"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060std::env::var(\u0022OUT_DIR\u0022)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.unwrap()\u0060 in \u0060main\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/build.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"f887084f49a155ac823de4f0692b8290a00d31f0524b2031f9ee6233db08b4a7"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060std::fs::write(\u0026target,bytes)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.unwrap()\u0060 in \u0060main\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/build.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"862b468e2dd93ce0acf9f300dbc02b9fbebbc335d371be720a5d5b16ff648746"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060std::fs::write(out.join(\u0022readers.rs\u0022),code)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.unwrap()\u0060 in \u0060main\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/build.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"c29c942204cbb5210d13939c6fa63ff8af420eadf30d8e9d34c9748e188a2b7e"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060resource.compile()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060main\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/build.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"c880fc2589ac710a29a9314aa8bf8e8de51b23f2493d1499cfcb345892b5a4c3"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060std::thread::Builder::new().name(\u0022image-fetch\u0022.into()).spawn(move||loop{let job=receiver.lock().unwrap().recv();let Ok((url,reply))=job else{return};let result=(||-\u003Eanyhow::Result\u003C(u16,Vec\u003Cu8\u003E)\u003E{let response=match agent.get(\u0026url).call(){Ok(response)=\u003Eresponse,Err(ureq::Error::Status(_,response))=\u003Eresponse,Err(error)=\u003Ereturn Err(error.into()),};let status=response.status();let mut bytes=Vec::new();std::io::Read::read_to_end(\u0026mut response.into_reader(),\u0026mut bytes)?;Ok((status,bytes))})();let _=reply.send(result);})\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060new\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/http.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"11bbd4f170b0064d805a0526c0a1031d96acf15f5b28302d8a4772181183c193"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060gpui_kit::open_window(options,cx,move|window,cx|cx.new(|cx|AppView::new(inst,prefs,window,cx)))\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060main\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/main.rs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"802180504ecb2e3a59f1bccf514a743faa15214e3cf5480fa5c4577116d0b2fe"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060result\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.unwrap()\u0060 in \u0060change_mode\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/ui/app.rs"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"d069548d636d532feb18023c0dfd29e0e23bc33d6ab02199c9e79fa15e93c7be"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060self.packs.clone()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.unwrap()\u0060 in \u0060render_route\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/ui/app.rs"},"region":{"startLine":849}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae314122926e884918050a7339cefeeeda56a0b610688ca01ca41d5c62a19a93"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060self.traffic.as_ref()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.unwrap()\u0060 in \u0060render_route\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/ui/app.rs"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"467453f929203d62e5ed9cbf404dbdc33479525eebd4f114d1badf0d4d29285c"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060self.logs.clone()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.unwrap()\u0060 in \u0060render_route\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/ui/app.rs"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"124241dfab35aaa8107f0096bf43252cbe1db8d8e3c3807cbc70fb74d604fbda"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060self.settings.clone()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.unwrap()\u0060 in \u0060render_route\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/ui/app.rs"},"region":{"startLine":880}}}],"partialFingerprints":{"codehealthFindingId/v1":"198a69b50cfe7a238b270f5b8b76eadb7f33ff55b2d69466eab7b46067c2544c"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060self.accounts.as_ref()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.unwrap()\u0060 in \u0060render_accounts\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/ui/app.rs"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdb2f49d63eae3dd673401c1a4cba4402ac309d50bf531677203d87fe1878de0"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060std::thread::Builder::new().name(\u0022traffic-stream\u0022.into()).spawn(move||{let history=api.traffic(500,\u0026after);let mut latest=history.as_ref().ok().and_then(|events|events.first().map(|e|e.id.clone())).unwrap_or(after);if sender.unbounded_send(Feed::History(history)).is_err()||!follow{return}while!stop.load(Ordering::Relaxed){let _=sender.unbounded_send(Feed::Live(true));let from=latest.clone();let result=api.traffic_stream(\u0026from,\u0026stop,|event|{latest=event.id.clone();let _=sender.unbounded_send(Feed::Event(event));});if stop.load(Ordering::Relaxed){break}let _=sender.unbounded_send(Feed::Live(false));if let Err(error)=result{let _=sender.unbounded_send(Feed::Error(error.to_string()));}std::thread::sleep(Duration::from_secs(1));}})\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060start\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"desktop/src/ui/pages/traffic.rs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf24fe4fa06a6db37515371211a8f855f2c5da884ff31007855b462e483f7f0c"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060announcedEndpoint\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":"internal/android/wireless.go"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"5587fbf874b2d69bf70ebf2b762dca0424f66def5c5cce525ea9e19a53dd4d4b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060savedMode\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":"internal/control/native.go"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3b5c17ff2a3df101d89f1bf73ebb39b46ad40d88def155527786c72cb7f6cd5"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060processPID\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":"internal/control/process.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"161ae198c3f304ee5d90a11884fe8d3d7fc528c6d97746f3e7d95d841bb4ec59"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060trafficPlayerID\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":"internal/playerapi/server.go"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bc203fad93bcb48a78992b53eb0690f65a07cdc4e033ff7629de9669d137298"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-116","guid":"c0134ca8-adc7-6959-bd17-5253a265d101","name":"Improper Encoding or Escaping of Output","shortDescription":{"text":"Improper Encoding or Escaping of Output"},"helpUri":"https://cwe.mitre.org/data/definitions/116.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-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-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-328","guid":"f0ffc869-97c3-dc5c-8825-be1159f1fc5f","name":"Reversible One-Way Hash","shortDescription":{"text":"Reversible One-Way Hash"},"helpUri":"https://cwe.mitre.org/data/definitions/328.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-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-552","guid":"3492436b-eca2-9c54-9ba3-5dade427c903","name":"Files or Directories Accessible to External Parties","shortDescription":{"text":"Files or Directories Accessible to External Parties"},"helpUri":"https://cwe.mitre.org/data/definitions/552.html"},{"id":"CWE-614","guid":"faa8a6a5-7e9d-5d5e-afc9-020ff49d250a","name":"Sensitive Cookie in HTTPS Session Without \u0027Secure\u0027 Attribute","shortDescription":{"text":"Sensitive Cookie in HTTPS Session Without \u0027Secure\u0027 Attribute"},"helpUri":"https://cwe.mitre.org/data/definitions/614.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"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":"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-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-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":55,"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."]}]}