{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D22","name":"Internal API Consistency","shortDescription":{"text":"Internal API Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D22"},{"id":"D23","name":"Boundary Type-Coupling","shortDescription":{"text":"Boundary Type-Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D23"},{"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":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"],"owasp":"A02:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"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":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"P8","name":"Schema migrations","shortDescription":{"text":"Schema migrations"},"helpUri":"https://codehealth.canine.dev/dimensions/P8"},{"id":"PF1","name":"Benchmark discipline","shortDescription":{"text":"Benchmark discipline"},"helpUri":"https://codehealth.canine.dev/dimensions/PF1"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"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":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"subscriptionManager.parseSubscriptionDef (cyclomatic 37): subscriptionManager.parseSubscriptionDef has cyclomatic complexity 37 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/events/subscription_manager.go"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"06088a40504e35577e07a3e5b0dc1ecadc39eb9333cc824abdd1be427f6b0732"}},{"ruleId":"D1","level":"warning","message":{"text":"namespaceManager.loadNamespace (cyclomatic 30): namespaceManager.loadNamespace has cyclomatic complexity 30 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/namespace/manager.go"},"region":{"startLine":801}}}],"partialFingerprints":{"codehealthFindingId/v1":"36850d806421ee1670f414b732c972f2862799e615a0659dc8ad3ca38fb40bf3"}},{"ruleId":"D1","level":"warning","message":{"text":"definitionHandler.handleIdentityClaim (cyclomatic 29): definitionHandler.handleIdentityClaim has cyclomatic complexity 29 (threshold 15). Of this number, 28 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/definitions/handler_identity_claim.go"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b6b77ae98bf94280a0d836d2667f2a466dbb0d5d28209f7a0afd8f924825f6a"}},{"ruleId":"D1","level":"warning","message":{"text":"orchestrator.initManagers (cyclomatic 29): orchestrator.initManagers 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/orchestrator/orchestrator.go"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"f46fe1b02886c51570a92b6468276ac90099b050ebb3f22ca2d1d259ddb319d3"}},{"ruleId":"D1","level":"warning","message":{"text":"orchestrator.GetTransactionStatus (cyclomatic 29): orchestrator.GetTransactionStatus has cyclomatic complexity 29 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. 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/orchestrator/txn_status.go"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"c291b035d0fecdf7d475bf15afbac7c8ca318bd7301674403b26241d96781cf2"}},{"ruleId":"D1","level":"warning","message":{"text":"contractManager.verifyContractListener (cyclomatic 28): contractManager.verifyContractListener has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 13 of the 28 points are its own statements and the rest belongs to one function literal inside it that branches (line 1067). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/contracts/manager.go"},"region":{"startLine":1031}}}],"partialFingerprints":{"codehealthFindingId/v1":"992c77c17bd1f3ca4d91b3b87aea3d7d4a5e9421edee8eaa1f6ba86910a0d40c"}},{"ruleId":"D1","level":"warning","message":{"text":"aggregator.processMessage (cyclomatic 27): aggregator.processMessage has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/events/aggregator.go"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"516e1c939d8de1c992ce61644f616faa8e1ef22762e3892a33b68dae1ca7a3bd"}},{"ruleId":"D1","level":"warning","message":{"text":"subscription.MatchesEvent (cyclomatic 25): subscription.MatchesEvent 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/events/subscription_manager.go"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"6af899829289cab5154fa3da510a11bcccd74558f50b2de6ac7b4c94d95e82df"}},{"ruleId":"D1","level":"warning","message":{"text":"tezos.processSchemaEntry (cyclomatic 24): tezos.processSchemaEntry 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/blockchain/tezos/ffi2michelson.go"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d4cd9acd57b9dbd2885f77175cbb3ee8cabe4d879b72d24104e9b779cb3131a"}},{"ruleId":"D1","level":"warning","message":{"text":"eventEnricher.enrichEvent (cyclomatic 23): eventEnricher.enrichEvent 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/events/event_enrich.go"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ee5f772a4bd19d4224b2627422146db208b3990c0c71c1c1d010ba7f7b955d2"}},{"ruleId":"D1","level":"warning","message":{"text":"WebHooks.ValidateOptions (cyclomatic 23): WebHooks.ValidateOptions 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/events/webhooks/webhooks.go"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"798fdddc048e1a796a51a9a832cedf442bf6f5c272284fbf13780c89a85ae6ac"}},{"ruleId":"D1","level":"warning","message":{"text":"contractManager.parseContractListenerFilters (cyclomatic 22): contractManager.parseContractListenerFilters 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/contracts/manager.go"},"region":{"startLine":903}}}],"partialFingerprints":{"codehealthFindingId/v1":"00f155ab262272314887588175a29d8fea18fce507c52879caf1a6b41f4af75b"}},{"ruleId":"D1","level":"warning","message":{"text":"assetManager.OnOperationUpdate (cyclomatic 20): assetManager.OnOperationUpdate 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/assets/operations.go"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"52160456333514b23c354ae014ad2aad81841372abf5318e285aa2af0288ad11"}},{"ruleId":"D1","level":"warning","message":{"text":"eventManager.persistBatchContent (cyclomatic 20): eventManager.persistBatchContent has cyclomatic complexity 20 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 4 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/events/persist_batch.go"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"2973d3731f2d80bdb0846bc0a81a8a280b6a579109897f9782980b839c5cba2a"}},{"ruleId":"D1","level":"warning","message":{"text":"reference.writeStructFields (cyclomatic 20): reference.writeStructFields 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/reference/reference.go"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b96535ceeb3cf6d408e89ba7ceddcabd9f6890137536529d9b5838a9ef19e11"}},{"ruleId":"D1","level":"warning","message":{"text":"WebHooks.buildRequest (cyclomatic 19): WebHooks.buildRequest 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/events/webhooks/webhooks.go"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"af782423c9e7591df60e6677c47a3a45f13b74047061fdf1ab30b879f61b100d"}},{"ruleId":"D1","level":"warning","message":{"text":"broadcastManager.PrepareOperation (cyclomatic 18): broadcastManager.PrepareOperation 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/broadcast/operations.go"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"4efafce81dd16486190cb1c0fe8ce3161dd87e66649c564a1a8dae9d23025e25"}},{"ruleId":"D1","level":"warning","message":{"text":"contractManager.InvokeContract (cyclomatic 17): contractManager.InvokeContract 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/contracts/manager.go"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"17a4d0db94afd7c4e95df98c2796907911978c0ee3fb3882ea9dc3ecfd30cac8"}},{"ruleId":"D1","level":"warning","message":{"text":"batchState.flushPins (cyclomatic 17): batchState.flushPins 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/events/aggregator_batch_state.go"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"42424a630e9a53a6b24535bc1d9a6693433dad41b5e1956616c16d0cb197ac63"}},{"ruleId":"D1","level":"warning","message":{"text":"eventDispatcher.bufferedDelivery (cyclomatic 17): eventDispatcher.bufferedDelivery 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/events/event_dispatcher.go"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf9e5728b90c7250335dce3fc6c9b275cf9549fbdd8c40feeca72c16e2856e14"}},{"ruleId":"D1","level":"warning","message":{"text":"eventDispatcher.deliverEvents (cyclomatic 17): eventDispatcher.deliverEvents 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/events/event_dispatcher.go"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"32c24b91040b1f59943a1971d757512bfa1c507140c87ff8c2f131bc67854f57"}},{"ruleId":"D1","level":"warning","message":{"text":"identityManager.ResolveInputSigningIdentity (cyclomatic 17): identityManager.ResolveInputSigningIdentity 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/identity/identitymanager.go"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cb1353842149e5855c9c1c950c9ec667e67108a03e0f2eac367927d167d5cf6"}},{"ruleId":"D1","level":"warning","message":{"text":"namespaceManager.initPlugins (cyclomatic 17): namespaceManager.initPlugins 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/namespace/manager.go"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfb3d8761089209d455dc01ff8fc94b1bdefd318946fc49c982bf0602c92cf48"}},{"ruleId":"D1","level":"warning","message":{"text":"operationUpdater.doUpdate (cyclomatic 17): operationUpdater.doUpdate 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/operations/operation_updater.go"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef5ad320b83013d7efc21b1ebcc299869f5da18963476e8e842d2de6fde81cef"}},{"ruleId":"D1","level":"warning","message":{"text":"privateMessaging.PrepareOperation (cyclomatic 17): privateMessaging.PrepareOperation 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/privatemessaging/operations.go"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"22584e24e121548f78e1c41b9ea6ab1094d19c11b441c176cd21605c060f66ff"}},{"ruleId":"D1","level":"warning","message":{"text":"batchProcessor.assemblyLoop (cyclomatic 16): batchProcessor.assemblyLoop 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/batch/batch_processor.go"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c5c207b92ca4dc327c225521e90f3fcf0ede0880b7ba93b21664f94af79e1c6"}},{"ruleId":"D1","level":"warning","message":{"text":"SQLCommon.UpsertMessage (cyclomatic 16): SQLCommon.UpsertMessage 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/database/sqlcommon/message_sql.go"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a3bc4e1ac080067b0b755951b5a20e61e923a4c5226e3e2db149d8c9a4850fe"}},{"ruleId":"D1","level":"warning","message":{"text":"definitionHandler.handleIdentityVerificationBroadcast (cyclomatic 16): definitionHandler.handleIdentityVerificationBroadcast 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/definitions/handler_identity_verification.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"64dcb2d9e6b995cd2106031dcf4183588ace8d2c58e8b0a9ca8e177f2ec2f44a"}},{"ruleId":"D1","level":"warning","message":{"text":"aggregator.readyForDispatch (cyclomatic 16): aggregator.readyForDispatch 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/events/aggregator.go"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"d25159580bd2b508062ebe1491f7af40a5b54346e1ef89a87ad5b4db6ab7a187"}},{"ruleId":"D1","level":"warning","message":{"text":"namespaceManager.validateNSPlugins (cyclomatic 16): namespaceManager.validateNSPlugins 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/namespace/manager.go"},"region":{"startLine":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"723ee3da3c8119b319e1028c0f01f1d170b95f3424c51f15b1ee611198e431c1"}},{"ruleId":"D1","level":"warning","message":{"text":"orchestrator.GetMultipartyStatus (cyclomatic 16): orchestrator.GetMultipartyStatus 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/orchestrator/status.go"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c0020d461f663edc3e6da9aedf263a129d71f702331e1cf9ab2b2b97c81b7be"}},{"ruleId":"D1","level":"warning","message":{"text":"reference.generateObjectReferenceMarkdown (cyclomatic 16): reference.generateObjectReferenceMarkdown 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/reference/reference.go"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"e57d5d0a415ee4faa383b55bb1da598b86f159324cb8796c9e08336353df8a76"}},{"ruleId":"D1","level":"warning","message":{"text":"FFTokens.handleMessage (cyclomatic 16): FFTokens.handleMessage 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":"internal/tokens/fftokens/fftokens.go"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dc56386ddb78a7523d0c952ae5ea9e548fb5d1bcc6d6f8f6187b419cea59b45"}},{"ruleId":"D1","level":"warning","message":{"text":"transactionHelper.SubmitNewTransactionBatch (cyclomatic 16): transactionHelper.SubmitNewTransactionBatch 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/txcommon/txcommon.go"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"706fe79310c8d482b2c7b4796b9e0173376b88b6a5d792b617ad4fea429550a0"}},{"ruleId":"D1","level":"warning","message":{"text":"Data.Seal (cyclomatic 16): Data.Seal 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":"pkg/core/data.go"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc24979f5f68c374abf937f734581fb3d560486b3f49d20e169e80e43376d88"}},{"ruleId":"D2","level":"warning","message":{"text":"tezos.processSchemaEntry (cognitive 61): tezos.processSchemaEntry has cognitive complexity 61 (threshold 15). Drivers by points: if/else 11 (42 pts), loops 7 (17 pts), boolean chains 1, match/switch 1 (nesting depth added 41). 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/blockchain/tezos/ffi2michelson.go"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdd20c62faa31d29cfbe06c0ef102d6508eb0a0a42056e9e2783e9dca859b5cf"}},{"ruleId":"D2","level":"warning","message":{"text":"subscriptionManager.parseSubscriptionDef (cognitive 56): subscriptionManager.parseSubscriptionDef has cognitive complexity 56 (threshold 15). Drivers by points: if/else 32 (52 pts), boolean chains 4 (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/events/subscription_manager.go"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd77b186ca0294b16125c6cac971855108669c161d2076e14cf287827bc8c7b1"}},{"ruleId":"D2","level":"warning","message":{"text":"eventManager.persistBatchContent (cognitive 55): eventManager.persistBatchContent has cognitive complexity 55 (threshold 15). Drivers by points: if/else 13 (36 pts), loops 6 (19 pts) (nesting depth added 36). Of this number, 39 points are the body\u0027s own statements and 16 belong to 2 function literals inside it that branch. 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/events/persist_batch.go"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"f000a8c3467ebab7b2181166acad92e69700b8ad871f88d5c43412c9a37de0b4"}},{"ruleId":"D2","level":"warning","message":{"text":"eventDispatcher.deliverEvents (cognitive 50): eventDispatcher.deliverEvents has cognitive complexity 50 (threshold 15). Drivers by points: if/else 9 (37 pts), loops 3 (9 pts), boolean chains 2, match/switch 1 (2 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":"internal/events/event_dispatcher.go"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"549836c2480222634cf15ab820706c304715f31fdd1fbfeef91f6b2d8c8d892a"}},{"ruleId":"D2","level":"warning","message":{"text":"orchestrator.initManagers (cognitive 48): orchestrator.initManagers has cognitive complexity 48 (threshold 15). Drivers by points: if/else 27 (47 pts), boolean chains 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/orchestrator/orchestrator.go"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcd9f6d6039ca19164b3afd765d58c59e6a43bc2eddee289745f35ce8254a2d0"}},{"ruleId":"D2","level":"warning","message":{"text":"aggregator.processMessage (cognitive 47): aggregator.processMessage has cognitive complexity 47 (threshold 15). Drivers by points: if/else 15 (32 pts), loops 4 (9 pts), boolean chains 5, match/switch 1 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/events/aggregator.go"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"20f58d0a198fe885fd61889d4488ec0a652c311091e11b86d9e7e5e207bb2e94"}},{"ruleId":"D2","level":"warning","message":{"text":"Ethereum.eventLoop (cognitive 44): Ethereum.eventLoop has cognitive complexity 44 (threshold 15). Drivers by points: if/else 10 (38 pts), match/switch 2 (5 pts), loops 1 (nesting depth added 31). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/blockchain/ethereum/ethereum.go"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"bad3d64c99516f6372c5ffdb6ab10611738d3addfa82a812275db23051dc175c"}},{"ruleId":"D2","level":"warning","message":{"text":"contractManager.parseContractListenerFilters (cognitive 42): contractManager.parseContractListenerFilters has cognitive complexity 42 (threshold 15). Drivers by points: if/else 17 (37 pts), boolean chains 3, loops 2 (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/contracts/manager.go"},"region":{"startLine":903}}}],"partialFingerprints":{"codehealthFindingId/v1":"230fadfccf4fe7d1d2c1a44f9d56322d519fe916508f01e3d4e397b643a8db1a"}},{"ruleId":"D2","level":"warning","message":{"text":"definitionHandler.handleIdentityClaim (cognitive 39): definitionHandler.handleIdentityClaim has cognitive complexity 39 (threshold 15). Drivers by points: if/else 22 (34 pts), boolean chains 5 (nesting depth added 12). Of this number, 36 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/definitions/handler_identity_claim.go"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e0398e367f043fe3ac43d4f98570fca5295d35d066feaf77bd63f3ee17c28ff"}},{"ruleId":"D2","level":"warning","message":{"text":"WebHooks.buildRequest (cognitive 38): WebHooks.buildRequest has cognitive complexity 38 (threshold 15). Drivers by points: if/else 13 (26 pts), loops 5 (12 pts) (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/events/webhooks/webhooks.go"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"405ab95e3b75affd110b51916e069101b87954f25140413e7fd3b515496300d4"}},{"ruleId":"D2","level":"warning","message":{"text":"contractManager.verifyContractListener (cognitive 37): contractManager.verifyContractListener has cognitive complexity 37 (threshold 15). Drivers by points: if/else 22 (30 pts), boolean chains 4, loops 1 (3 pts) (nesting depth added 10). Most of this is not in the body itself: 14 of the 37 points are its own statements and the rest belongs to one function literal inside it that branches (line 1067). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/contracts/manager.go"},"region":{"startLine":1031}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dfa7edc0b2d919e89d02b209f6b1861bb19ae0a6226e244e837df0ad42d0a4a"}},{"ruleId":"D2","level":"warning","message":{"text":"orchestrator.GetMultipartyStatus (cognitive 37): orchestrator.GetMultipartyStatus has cognitive complexity 37 (threshold 15). Drivers by points: if/else 18 (36 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/orchestrator/status.go"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"c642a89c59ba4b5a2ef0801212d9ee69cecbc01fb3476eb7d97b8482e69bb141"}},{"ruleId":"D2","level":"warning","message":{"text":"namespaceManager.loadNamespace (cognitive 36): namespaceManager.loadNamespace has cognitive complexity 36 (threshold 15). Drivers by points: if/else 22 (25 pts), loops 3 (5 pts), boolean chains 3, match/switch 1 (3 pts) (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/namespace/manager.go"},"region":{"startLine":801}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2b6aac5dde63460f4bf9bdbccaf5df78dc8d6e20710563070dab15356bd7984"}},{"ruleId":"D2","level":"warning","message":{"text":"transactionHelper.SubmitNewTransactionBatch (cognitive 36): transactionHelper.SubmitNewTransactionBatch has cognitive complexity 36 (threshold 15). Drivers by points: if/else 13 (28 pts), loops 4 (8 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":"internal/txcommon/txcommon.go"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"d89c16b3d53064f677f1e3daefb22c4e3966ce1f75bd3764ab58838bf0734cc7"}},{"ruleId":"D2","level":"warning","message":{"text":"batchState.flushPins (cognitive 34): batchState.flushPins has cognitive complexity 34 (threshold 15). Drivers by points: if/else 11 (25 pts), loops 6 (9 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/events/aggregator_batch_state.go"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"7484ad5ba591dc44d7618d57d549a8162c9530a7203b6deebe8054f37e9f6161"}},{"ruleId":"D2","level":"warning","message":{"text":"WebHooks.ValidateOptions (cognitive 34): WebHooks.ValidateOptions has cognitive complexity 34 (threshold 15). Drivers by points: if/else 22 (34 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":"internal/events/webhooks/webhooks.go"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dc02151b8ed8bac8630c5ff0b96491888540c4b5787db8191b89f750254c7f9"}},{"ruleId":"D2","level":"warning","message":{"text":"websocketConnection.checkAck (cognitive 34): websocketConnection.checkAck has cognitive complexity 34 (threshold 15). Drivers by points: if/else 13 (29 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 17). 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/events/websockets/websocket_connection.go"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"1512ea2a8bfb5baadcfe4d526956d71a3160ddb663e53e1158a2dc17a49e4abd"}},{"ruleId":"D2","level":"warning","message":{"text":"subscription.MatchesEvent (cognitive 33): subscription.MatchesEvent has cognitive complexity 33 (threshold 15). Drivers by points: if/else 17 (26 pts), boolean chains 7 (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/events/subscription_manager.go"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3ef383aece7d00309425d0a5566322bd7eaf51d2a6c151d9420597b4a494ad2"}},{"ruleId":"D2","level":"warning","message":{"text":"identityManager.cachedIdentityLookup (cognitive 32): identityManager.cachedIdentityLookup has cognitive complexity 32 (threshold 15). Drivers by points: if/else 13 (30 pts), boolean chains 2 (nesting depth added 17). Of this number, 31 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, 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/identity/identitymanager.go"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"72271e00ade5b37a80a355b320dbd15fcfe0e7994c8de8a0e992cb19de832597"}},{"ruleId":"D2","level":"warning","message":{"text":"assetManager.OnOperationUpdate (cognitive 30): assetManager.OnOperationUpdate has cognitive complexity 30 (threshold 15). Drivers by points: if/else 15 (24 pts), boolean chains 6 (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/assets/operations.go"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"53f07e74326e330f63319b60850a510b240165580d2ea4779767019b94594a48"}},{"ruleId":"D2","level":"warning","message":{"text":"websocketConnection.receiveLoop (cognitive 30): websocketConnection.receiveLoop has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (27 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/events/websockets/websocket_connection.go"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b54a154f522b8c13362064908599b72a2ade27ed33bdda5f12af69a1062af7d"}},{"ruleId":"D2","level":"warning","message":{"text":"batchProcessor.assemblyLoop (cognitive 29): batchProcessor.assemblyLoop has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (23 pts), boolean chains 3, match/switch 1 (2 pts), loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/batch/batch_processor.go"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a3466183b61af761a2d64af96c976b41271e065a926e343c2b2c9a9ee139e18"}},{"ruleId":"D2","level":"warning","message":{"text":"orchestrator.GetTransactionStatus (cognitive 29): orchestrator.GetTransactionStatus has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (17 pts), match/switch 6 (10 pts), loops 2 (nesting depth added 11). Of this number, 28 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/orchestrator/txn_status.go"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"790f3dfdb82c5c756a70d67f54dcaf465bb8f34abc06483d839f0b573604c954"}},{"ruleId":"D2","level":"warning","message":{"text":"contractManager.verifyListeners (cognitive 28): contractManager.verifyListeners has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (22 pts), loops 3 (6 pts) (nesting depth added 17). Of this number, 21 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/contracts/manager.go"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c7e17dc293f7587643516b7d57b8137a6f977fea280dbf52daf52f533b76197"}},{"ruleId":"D2","level":"warning","message":{"text":"contractManager.PrepareOperation (cognitive 27): contractManager.PrepareOperation has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (25 pts), boolean chains 1, match/switch 1 (nesting depth added 14). 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/contracts/operations.go"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"905388f985ef46c4fac20438e3f5abab55eb9fb1f1c54e995882bd04ccbe7d36"}},{"ruleId":"D2","level":"warning","message":{"text":"SQLCommon.UpsertMessage (cognitive 26): SQLCommon.UpsertMessage has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13 (23 pts), boolean chains 2, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/database/sqlcommon/message_sql.go"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b2c39f989ff6496daa32c1e005e7e3e38c5b21f05eac26b26c88228e68a3a71"}},{"ruleId":"D2","level":"warning","message":{"text":"SQLCommon.InsertMessages (cognitive 26): SQLCommon.InsertMessages has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 5 (10 pts) (nesting depth added 13). Of this number, 24 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/database/sqlcommon/message_sql.go"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"1980a3545e3cbbb89f9e19ca5a2a25f99cf6b1081300a06e094b5d7753e6b59a"}},{"ruleId":"D2","level":"warning","message":{"text":"namespaceManager.initPlugins (cognitive 26): namespaceManager.initPlugins has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (23 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/namespace/manager.go"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a21c6a24b427c2167badf5e0661c18eea69621fe04095995b7e44b41e28962f"}},{"ruleId":"D2","level":"warning","message":{"text":"messageWriter.removeIdempotencyDuplicates (cognitive 25): messageWriter.removeIdempotencyDuplicates has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (17 pts), loops 3 (8 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/data/message_writer.go"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c42744ed1c9c97c4982d9d07598ebed17b4e69052ecffa4241b6b5c4112ab2c"}},{"ruleId":"D2","level":"warning","message":{"text":"definitionHandler.persistFFI (cognitive 25): definitionHandler.persistFFI has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (20 pts), loops 4, boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/definitions/handler_contracts.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbcbf639fe1b49db5098a273fee82ff2d3da03a5b7ebd1e1183ac15846973950"}},{"ruleId":"D2","level":"warning","message":{"text":"operationUpdater.doUpdate (cognitive 25): operationUpdater.doUpdate has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (21 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/operations/operation_updater.go"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fbf9bee443c3c2128027f34c624a9621ea373fe9ba73c4f6964722cbac0db65"}},{"ruleId":"D2","level":"warning","message":{"text":"batchProcessor.markPayloadDispatched (cognitive 24): batchProcessor.markPayloadDispatched has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 4 (10 pts) (nesting depth added 15). None of this is in the body itself: all 24 points belong to one function literal inside it that branches (line 706). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/batch/batch_processor.go"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dc7faacdb50c3b1b19e5c2fa55e0ab30568c77e9762056e4e68e727cf70dcf0"}},{"ruleId":"D2","level":"warning","message":{"text":"Fabric.eventLoop (cognitive 24): Fabric.eventLoop has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (18 pts), match/switch 2 (5 pts), loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/blockchain/fabric/fabric.go"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"36dd8b39df8bc1e404b5156b36def8c9cd3391cafd1fb81f3f01eb6cdf010c15"}},{"ruleId":"D2","level":"warning","message":{"text":"eventDispatcher.bufferedDelivery (cognitive 24): eventDispatcher.bufferedDelivery has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (17 pts), loops 2 (3 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/events/event_dispatcher.go"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba8524bc880e4b03b57ee37efc5ca48f7c8098e7788c9e6385429f2f05ad8f8c"}},{"ruleId":"D2","level":"warning","message":{"text":"reference.writeStructFields (cognitive 24): reference.writeStructFields has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (19 pts), boolean chains 2, match/switch 1 (2 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/reference/reference.go"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7e53bf36505485416d52dada600e04380190f52f9ba3588857e188534db5561"}},{"ruleId":"D2","level":"warning","message":{"text":"Tezos.eventLoop (cognitive 23): Tezos.eventLoop has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (17 pts), match/switch 2 (5 pts), loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/blockchain/tezos/tezos.go"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aa01ef664148f24d94b039529fde4f52bf2d98ca254833f4cb7a744ac694f73"}},{"ruleId":"D2","level":"warning","message":{"text":"broadcastManager.PrepareOperation (cognitive 23): broadcastManager.PrepareOperation has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (20 pts), boolean chains 2, match/switch 1 (nesting depth added 8). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/broadcast/operations.go"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a0aaf4afaa86512c461c89be26203c74f199edd88f1323875f56e33c3630fa0"}},{"ruleId":"D2","level":"warning","message":{"text":"contractManager.InvokeContract (cognitive 23): contractManager.InvokeContract has cognitive complexity 23 (threshold 15). Drivers by points: if/else 14 (22 pts), match/switch 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/contracts/manager.go"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca1efa6fa31535a7bf8cd49e946fa06eb43eed3692ddfebb4b1e518c88b50e81"}},{"ruleId":"D2","level":"warning","message":{"text":"SQLCommon.UpsertContractListener (cognitive 23): SQLCommon.UpsertContractListener has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (23 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/database/sqlcommon/contractlisteners_sql.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbeecac66fd8549a84874b3c2d051c488bb3b160c2658b158d5bf67ab339eac0"}},{"ruleId":"D2","level":"warning","message":{"text":"eventEnricher.enrichEvent (cognitive 23): eventEnricher.enrichEvent has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (22 pts), match/switch 1 (nesting depth added 11). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/events/event_enrich.go"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"04decea54a7b37e63eb1e1b650a95f44c4e8871fbb2e03a74e8cbd7602acf479"}},{"ruleId":"D2","level":"warning","message":{"text":"identityManager.ResolveInputSigningIdentity (cognitive 23): identityManager.ResolveInputSigningIdentity has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (18 pts), match/switch 2 (3 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/identity/identitymanager.go"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"903d5ec51ef5d09db309c9a111ff88a05b2ae27d64ca84f961e18113f9666b11"}},{"ruleId":"D2","level":"warning","message":{"text":"namespaceManager.validateNSPlugins (cognitive 23): namespaceManager.validateNSPlugins has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (20 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/namespace/manager.go"},"region":{"startLine":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4dd17ef2c8c885f91b242e0d0fe0648dee40d526e088a88642f8e395a625160"}},{"ruleId":"D2","level":"warning","message":{"text":"privateMessaging.PrepareOperation (cognitive 23): privateMessaging.PrepareOperation has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (21 pts), boolean chains 1, match/switch 1 (nesting depth added 8). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/privatemessaging/operations.go"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3678b280fd04417195997983a10b8c6770a738f3e75ea252de174b7fa4ec6dd"}},{"ruleId":"D2","level":"warning","message":{"text":"Data.Seal (cognitive 23): Data.Seal has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (20 pts), boolean chains 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/core/data.go"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"07e7838bdee2369d1d17f3a887fe8d96f0f664872067cb3236da501f29a57090"}},{"ruleId":"D2","level":"warning","message":{"text":"SQLCommon.UpsertGroup (cognitive 22): SQLCommon.UpsertGroup has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 4 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/database/sqlcommon/group_sql.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e2a5a8fec7d7011c9279e031c23f627880d23d4bf8f210a53ca17a1dba923e7"}},{"ruleId":"D2","level":"warning","message":{"text":"networkMap.RegisterIdentity (cognitive 22): networkMap.RegisterIdentity has cognitive complexity 22 (threshold 15). Drivers by points: if/else 13 (22 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/networkmap/register_identity.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4bcb47cfa00fc2a4ccfa3c05b084c398ca67799fdbf014c1d2573c6551c4c24"}},{"ruleId":"D2","level":"warning","message":{"text":"orchestrator.GetSubscriptionEventsHistorical (cognitive 22): orchestrator.GetSubscriptionEventsHistorical has cognitive complexity 22 (threshold 15). Drivers by points: if/else 14 (20 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/orchestrator/subscriptions.go"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab846250a7bc4e858431e44f204c60b612c99c59233f7e7c419a7d398c5d8ecd"}},{"ruleId":"D2","level":"warning","message":{"text":"batchManager.messageSequencer (cognitive 21): batchManager.messageSequencer has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (17 pts), loops 2 (4 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/batch/batch_manager.go"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"6349ffbcacb092bb6a8a0ee219978423e66d9fe46826ebbce485113dfd9d90aa"}},{"ruleId":"D2","level":"warning","message":{"text":"streamManager.ensureFireFlySubscription (cognitive 21): streamManager.ensureFireFlySubscription has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (19 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":"internal/blockchain/ethereum/eventstream.go"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"7699897d54822107f2417c11d833ae5e9146faeca1cff85d8d45e5d44e174d8d"}},{"ruleId":"D2","level":"warning","message":{"text":"contractManager.OnOperationUpdate (cognitive 21): contractManager.OnOperationUpdate has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (20 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/contracts/operations.go"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f1573cd03470040ae96ceffe957d5d67100ab5eba3fc388a08d9624788e91d4"}},{"ruleId":"D2","level":"warning","message":{"text":"SQLCommon.UpsertData (cognitive 21): SQLCommon.UpsertData has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (20 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/database/sqlcommon/data_sql.go"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"7588665f84a178fc024c9e528662445bd4f94c6fb48513f71c999b44330e9c15"}},{"ruleId":"D2","level":"warning","message":{"text":"SQLCommon.UpsertSubscription (cognitive 21): SQLCommon.UpsertSubscription has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (21 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":"internal/database/sqlcommon/subscription_sql.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3d886090fdb8cad3f11acb3bb98740b51797a1ba8137e2a43ec31483f0d71e4"}},{"ruleId":"D2","level":"warning","message":{"text":"SQLCommon.InsertTransactions (cognitive 21): SQLCommon.InsertTransactions has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 3 (6 pts) (nesting depth added 10). Of this number, 19 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/database/sqlcommon/transaction_sql.go"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e659cf4d03ae3aaaf19f3b95540a945caf0520ff4578d009be9ccdcd7135bb2"}},{"ruleId":"D2","level":"warning","message":{"text":"eventManager.TokenPoolCreated (cognitive 21): eventManager.TokenPoolCreated has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (20 pts), boolean chains 1 (nesting depth added 8). Of this number, 13 points are the body\u0027s own statements and 8 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/events/token_pool_created.go"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"43190af01e346a2aedf75c8e7e5d36c8ea8b456912f7878e1d98059edb9cd43c"}},{"ruleId":"D2","level":"warning","message":{"text":"namespaceManager.stopDefunctNamespaces (cognitive 21): namespaceManager.stopDefunctNamespaces has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 3 (5 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/namespace/configreload.go"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d888b66450b8eb1da3d420d164e030e22a8d826af5985f74c678bea670c56ca"}},{"ruleId":"D2","level":"warning","message":{"text":"orchestrator.GetStatus (cognitive 21): orchestrator.GetStatus has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 1 (3 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/orchestrator/status.go"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"177bd1be50fe3b7292ba882fefabba631b789a3e32606d5f00a7711fac260030"}},{"ruleId":"D2","level":"warning","message":{"text":"batchProcessor.sealBatch (cognitive 20): batchProcessor.sealBatch has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 7). Most of this is not in the body itself: 8 of the 20 points are its own statements and the rest belongs to one function literal inside it that branches (line 554). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/batch/batch_processor.go"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c7ee1da537cc821d39790fa26b5d454d776d9859459012dce5c6d2aefe0c10"}},{"ruleId":"D2","level":"warning","message":{"text":"definitionHandler.handleIdentityUpdate (cognitive 20): definitionHandler.handleIdentityUpdate has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 2 (nesting depth added 6). Of this number, 17 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into 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/definitions/handler_identity_update.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d47626cfab4728645b39dedf33744a3b5476146bc6352b2160a43aacbdffa59"}},{"ruleId":"D2","level":"warning","message":{"text":"aggregator.readyForDispatch (cognitive 20): aggregator.readyForDispatch has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (19 pts), match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/events/aggregator.go"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"85d002fc852002f7ad930e58dd11f6b80cc90e14f163e81f32bdb205f5b6edbb"}},{"ruleId":"D2","level":"warning","message":{"text":"blobReceiver.insertNewBlobs (cognitive 20): blobReceiver.insertNewBlobs has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 4 (6 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/events/blob_receiver.go"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b39bacfc53987f86545fa4b01d6278911313c63350eb42ef62a7199f9634908"}},{"ruleId":"D2","level":"warning","message":{"text":"reference.generateObjectReferenceMarkdown (cognitive 20): reference.generateObjectReferenceMarkdown has cognitive complexity 20 (threshold 15). Drivers by points: if/else 16 (20 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/reference/reference.go"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"da1d40205cf8b61fa7b02f0c7a0e9780d933d55e7c99e5137fb5633b2637b263"}},{"ruleId":"D2","level":"warning","message":{"text":"streamManager.ensureFireFlySubscription (cognitive 19): streamManager.ensureFireFlySubscription has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/blockchain/fabric/eventstream.go"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"d362d4b17bb6200131af069990ec5ee0407cc0b3693711806cd3353e4160ba27"}},{"ruleId":"D2","level":"warning","message":{"text":"contractManager.validateInvokeContractRequest (cognitive 19): contractManager.validateInvokeContractRequest has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (16 pts), loops 2, 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/contracts/manager.go"},"region":{"startLine":793}}}],"partialFingerprints":{"codehealthFindingId/v1":"45af991d3fed18714d24ec136efd8c7858630f9ef31127ed038e08f526ac2299"}},{"ruleId":"D2","level":"warning","message":{"text":"WebHooks.doDelivery (cognitive 19): WebHooks.doDelivery has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 4, 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/events/webhooks/webhooks.go"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"9557fa35ae42133e2a0ee1f0f5e8cd3c5391fd6cb03db6e2777f8a315ae24d23"}},{"ruleId":"D2","level":"warning","message":{"text":"groupManager.groupInit (cognitive 19): groupManager.groupInit has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (18 pts), loops 1 (nesting depth added 7). Of this number, 15 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/privatemessaging/groupmanager.go"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"13df22b83feb68a930093e8bd5fe116ed976e6ac2941fb2c6c4c480de46014ed"}},{"ruleId":"D2","level":"warning","message":{"text":"assetManager.PrepareOperation (cognitive 18): assetManager.PrepareOperation has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (17 pts), match/switch 1 (nesting depth added 7). 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/assets/operations.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fd91e652d76d5c1d21dc7996a6374edc2faa6ae27177447d8cb656f21a82677"}},{"ruleId":"D2","level":"warning","message":{"text":"Ethereum.handleMessageBatch (cognitive 18): Ethereum.handleMessageBatch has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (14 pts), match/switch 1 (3 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/blockchain/ethereum/ethereum.go"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"6903b7a1f832f994c05e8198462a87930a99047597e4217cf366baf9cf38fb48"}},{"ruleId":"D2","level":"warning","message":{"text":"dataManager.queryMessageCache (cognitive 18): dataManager.queryMessageCache has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 2 (4 pts), match/switch 1 (2 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/data/data_manager.go"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6da13d82e9dae0d6568b3e8640149b857f2c28e3cf704c29eb8661e651aa2a0"}},{"ruleId":"D2","level":"warning","message":{"text":"dataManager.checkValidation (cognitive 18): dataManager.checkValidation has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/data/data_manager.go"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"8544ec2a59e8a91693c256362e566994b35905f41626634a618a8657e0bafc45"}},{"ruleId":"D2","level":"warning","message":{"text":"dataManager.DeleteData (cognitive 18): dataManager.DeleteData has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/data/data_manager.go"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"af3023ef245059bd491875ecc1c020f4dcffecf3e677af91479486852b23b3f1"}},{"ruleId":"D2","level":"warning","message":{"text":"eventManager.BlockchainEventBatch (cognitive 18): eventManager.BlockchainEventBatch has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 2, match/switch 1 (2 pts) (nesting depth added 9). None of this is in the body itself: all 18 points belong to one function literal inside it that branches (line 141). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/events/blockchain_event.go"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3dfe1474decfc01210a0c72b54334721e0fcaade5b38f2affcf5843c96e7e1b"}},{"ruleId":"D2","level":"warning","message":{"text":"eventManager.privateBatchReceived (cognitive 18): eventManager.privateBatchReceived has cognitive complexity 18 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 1 (nesting depth added 4). Most of this is not in the body itself: 4 of the 18 points are its own statements and the rest belongs to one function literal inside it that branches (line 84). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/events/dx_callbacks.go"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff35dd352bc477b2f5eae6cba099cf9ce184746334929bf283f26af38cf7e52b"}},{"ruleId":"D2","level":"warning","message":{"text":"eventPoller.eventLoop (cognitive 18): eventPoller.eventLoop has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (16 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":"internal/events/event_poller.go"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"43c706122b172ca8a436560eb1e31cfc43b6355b950025f5409c5fa167b1eabd"}},{"ruleId":"D2","level":"warning","message":{"text":"WebHooks.BatchDeliveryRequest (cognitive 18): WebHooks.BatchDeliveryRequest has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/events/webhooks/webhooks.go"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"22ed272f27c66f8a8e9e9ccbea7f1ebc2ae165994e55dbfaba768e3c6df48ab4"}},{"ruleId":"D2","level":"warning","message":{"text":"assetManager.createTokenPoolInternal (cognitive 17): assetManager.createTokenPoolInternal has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (17 pts) (nesting depth added 6). Most of this is not in the body itself: 4 of the 17 points are its own statements and the rest belongs to one function literal inside it that branches (line 84). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/assets/token_pool.go"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"cde430011e2a735245e030685a02611e607a72233345d5f4f0a67db98312df7b"}},{"ruleId":"D2","level":"warning","message":{"text":"approveSender.resolve (cognitive 17): approveSender.resolve has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (17 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/assets/token_approval.go"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0e95c2d605e8dbb5723b7f9bc2381d35eb7c351a53c8f675c9cd3aa5df0a5c9"}},{"ruleId":"D2","level":"warning","message":{"text":"transferSender.resolve (cognitive 17): transferSender.resolve has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (17 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/assets/token_transfer.go"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b9dcaa71810075bacd00a32fded5ab373942cc336d2ec3c5b0efad8cf67142a"}},{"ruleId":"D2","level":"warning","message":{"text":"batchProcessor.addWork (cognitive 17): batchProcessor.addWork has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 5, loops 1 (2 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/batch/batch_processor.go"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"7389898b8568f400880085d1fb0a144f75404e900add0e804e5371266b56a5cc"}},{"ruleId":"D2","level":"warning","message":{"text":"batchProcessor.calculateContexts (cognitive 17): batchProcessor.calculateContexts has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/batch/batch_processor.go"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"89562467f25a714b8b78c73058dad94621c08c4dfdc860362dfe6e452dd1e2e5"}},{"ruleId":"D2","level":"warning","message":{"text":"batchProcessor.dispatchBatch (cognitive 17): batchProcessor.dispatchBatch has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 1 (nesting depth added 8). None of this is in the body itself: all 17 points belong to one function literal inside it that branches (line 621). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/batch/batch_processor.go"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"686f83d54097f4fdb4c6caf93eaf231f2e51113a3fe15da16491e2323a35cbbc"}},{"ruleId":"D2","level":"warning","message":{"text":"dataManager.ResolveInlineData (cognitive 17): dataManager.ResolveInlineData has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (13 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/data/data_manager.go"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8347cc940b1a91df9df74b4abbc6dc5dc23c18449b97c455c8d48d18899b4ab"}},{"ruleId":"D2","level":"warning","message":{"text":"eventsPCA.PreCommit (cognitive 17): eventsPCA.PreCommit has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 5 (8 pts) (nesting depth added 7). Of this number, 15 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into 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/database/sqlcommon/event_sql.go"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"9949661a848df11c1c306f467dd708cd774854dfbad767c516f77e101ad81fc7"}},{"ruleId":"D2","level":"warning","message":{"text":"definitionHandler.confirmVerificationForClaim (cognitive 17): definitionHandler.confirmVerificationForClaim has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 2, loops 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/definitions/handler_identity_claim.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"facef55d7362f43b768c98c8d74f9aeb45d7ac180f7038e7a903436b5b0872c0"}},{"ruleId":"D2","level":"warning","message":{"text":"eventManager.validateAndPersistBatchContent (cognitive 17): eventManager.validateAndPersistBatchContent has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 4 (5 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/events/persist_batch.go"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"280e1988d51407f7e94b7560401cafc95ddcd007b98c14d3abf71756182f9c2f"}},{"ruleId":"D2","level":"warning","message":{"text":"WebHooks.attemptRequest (cognitive 17): WebHooks.attemptRequest has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/events/webhooks/webhooks.go"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbeac120a515bd5874893dda92baf07d405e58af9b046f2312ede53d2695b56d"}},{"ruleId":"D2","level":"warning","message":{"text":"identityManager.VerifyIdentityChain (cognitive 17): identityManager.VerifyIdentityChain has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (15 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/identity/identitymanager.go"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"01e29f3774bc6d8bce860af40cd3f5c333de3de5e7eac23bd8052b2fdabd79b2"}},{"ruleId":"D2","level":"warning","message":{"text":"operationUpdater.doBatchUpdate (cognitive 17): operationUpdater.doBatchUpdate has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/operations/operation_updater.go"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9fa6accc997d44e68ad48fdb3dedb454ce147a2a713bf0c829963613998a30a"}},{"ruleId":"D2","level":"warning","message":{"text":"orchestrator.createUpdateSubscription (cognitive 17): orchestrator.createUpdateSubscription has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 3 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/orchestrator/subscriptions.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"0264b3411f9ee4dec7c9d031ddd548394c2d6fa9a2eaa046a90701c6be12c3db"}},{"ruleId":"D2","level":"warning","message":{"text":"privateMessaging.prepareBlobTransfers (cognitive 17): privateMessaging.prepareBlobTransfers has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (15 pts), boolean chains 1, loops 1 (nesting depth added 9). Most of this is not in the body itself: 1 of the 17 points is its own statement and the rest belongs to one function literal inside it that branches (line 217). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/privatemessaging/privatemessaging.go"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c15de009fa9abec97806cd974f86343497fb875bf563eefe362ec5d2333efd6"}},{"ruleId":"D2","level":"warning","message":{"text":"privateMessaging.sendData (cognitive 17): privateMessaging.sendData has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 1 (nesting depth added 8). Of this number, 13 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/privatemessaging/privatemessaging.go"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd3a67aeed86c5a30edd827f2d25658d54642a282197d670d83970259b90f47a"}},{"ruleId":"D2","level":"warning","message":{"text":"Group.Validate (cognitive 17): Group.Validate has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (16 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":"pkg/core/group.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"307f68a6788df4045d32d118e8d6a6154e60bf0f5585116b43fd0fcdecd8bbf4"}},{"ruleId":"D2","level":"warning","message":{"text":"Ethereum.GetTransactionStatus (cognitive 16): Ethereum.GetTransactionStatus has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 3 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/blockchain/ethereum/ethereum.go"},"region":{"startLine":1194}}}],"partialFingerprints":{"codehealthFindingId/v1":"10a29664a967a0e3233bb84ce74c32b39d4e74394305df43622a20606bccd450"}},{"ruleId":"D2","level":"warning","message":{"text":"Tezos.GetTransactionStatus (cognitive 16): Tezos.GetTransactionStatus has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 3 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/blockchain/tezos/tezos.go"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcad62c78813521a747973472ea13a5d8cfe702c8bdad87fbf11449535d7230a"}},{"ruleId":"D2","level":"warning","message":{"text":"messageWriter.writerLoop (cognitive 16): messageWriter.writerLoop has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 2, match/switch 1 (2 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/data/message_writer.go"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"28bf5295c83cf82e5b458de961972e0d86fea9cf0e1079135761571a4cd156bd"}},{"ruleId":"D2","level":"warning","message":{"text":"SQLCommon.UpsertIdentity (cognitive 16): SQLCommon.UpsertIdentity has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (15 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/database/sqlcommon/identity_sql.go"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8189bc931c9a131ca202c865448fe06da0489f3f511e61f698d23ee39e7009c"}},{"ruleId":"D2","level":"warning","message":{"text":"SQLCommon.UpsertVerifier (cognitive 16): SQLCommon.UpsertVerifier has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (15 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/database/sqlcommon/verifier_sql.go"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"9963ba6c46fcff93ffb6f69cb59d4cb4e54406d702f17bb146a4a825bf416a2c"}},{"ruleId":"D2","level":"warning","message":{"text":"FFDX.CheckNodeIdentityStatus (cognitive 16): FFDX.CheckNodeIdentityStatus has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 2 (nesting depth added 3). 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: 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/dataexchange/ffdx/ffdx.go"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"660d26b7d73d41d49ec1ff32727e8fe17a762124f1d2d852a5dca53e26785f24"}},{"ruleId":"D2","level":"warning","message":{"text":"definitionHandler.handleIdentityVerificationBroadcast (cognitive 16): definitionHandler.handleIdentityVerificationBroadcast has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/definitions/handler_identity_verification.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a1ad17c9c17b28fdd83c81fe6f26fd23d5fea3e45080c80c834f5b0d8d5dba9"}},{"ruleId":"D2","level":"warning","message":{"text":"definitionHandler.handleTokenPoolDefinition (cognitive 16): definitionHandler.handleTokenPoolDefinition has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 1 (nesting depth added 8). Of this number, 15 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/definitions/handler_tokenpool.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"53d5f4c310f5cb7a64efe13f81042b76231c725437456baca5a98cd8df5ad782"}},{"ruleId":"D2","level":"warning","message":{"text":"rewinder.rewindProcessLoop (cognitive 16): rewinder.rewindProcessLoop has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (12 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/events/aggregator_rewind.go"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"2754b5a852f2fb3bdc778e20aec16b1fbbf1fc47640e0a97ec5093ec4d86c476"}},{"ruleId":"D2","level":"warning","message":{"text":"blobReceiver.blobReceiverLoop (cognitive 16): blobReceiver.blobReceiverLoop has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 2, match/switch 1 (2 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/events/blob_receiver.go"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"10634bc83fb150345cb8281283e1ae47cb764f2dee244c053629e8bc070ad2cd"}},{"ruleId":"D2","level":"warning","message":{"text":"eventManager.loadExisting (cognitive 16): eventManager.loadExisting has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/events/token_pool_created.go"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"19849b89c35da164aee510b461b3d308be99106b318e79fe3ca3a8aed2210d00"}},{"ruleId":"D2","level":"warning","message":{"text":"operationUpdater.updaterLoop (cognitive 16): operationUpdater.updaterLoop has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 2, match/switch 1 (2 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/operations/operation_updater.go"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3059579a8c813afdd08ea3ba5a94b8b0aaa12153d31943709251c113e6e1e6c"}},{"ruleId":"D2","level":"warning","message":{"text":"operationUpdater.verifyManifest (cognitive 16): operationUpdater.verifyManifest has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/operations/operation_updater.go"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f5db4432cd99a1fb06b7ab2b3e9b5c9257786bd9e7b819878e318d294691c69"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SQLCommon: TooManyMethods \u2014 239 methods, declared across 31 files: sqlcommon/message_sql.go (19), sqlcommon/contractapis_sql.go (13), sqlcommon/ffi_sql.go (13), sqlcommon/tokenpool_sql.go (13), \u002B27 more file(s). The bar is 30 methods; this is 209 over it, 7.97\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/database/sqlcommon/sqlcommon.go"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d3605debfe166329887099898aa8c3ae11234d8a74cf7fe124fd87c21a67ce2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: reference.GenerateObjectsReferenceMarkdown: FunctionTooLong \u2014 GenerateObjectsReferenceMarkdown runs 409 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 309 over it, 4.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/reference/reference.go"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"69d6e16bfcdebaf62df4c490c402cf8250f8be89db705e4bb5a73896f80f07bb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: orchestrator: TooManyMethods \u2014 87 methods, declared across 8 files: orchestrator/data_query.go (36), orchestrator/orchestrator.go (30), orchestrator/subscriptions.go (8), orchestrator/status.go (5), \u002B4 more file(s). The bar is 30 methods; this is 57 over it, 2.90\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. Most of these members implement orchestrator.Orchestrator (63 of 87 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/orchestrator/orchestrator.go"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b97d84941db0475250720ee197306a6b061db8a82808afca385f1e390097090"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: eventManager: TooManyMethods \u2014 57 methods, declared across 10 files: events/event_manager.go (16), events/blockchain_event.go (8), events/persist_batch.go (8), events/dx_callbacks.go (6), \u002B6 more file(s). The bar is 30 methods; this is 27 over it, 1.90\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/events/event_manager.go"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f4be37ae2e3b9e968942ce359dd90bed6a3807f05eb5198b3a7e4514740ad1d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: contractManager: ClassTooLong \u2014 752 significant lines (blank, comment-only and punctuation-only lines excluded), 54 methods, 52 blocks, lines 91-1398. The bar is 400 significant lines; this is 352 over it, 1.88\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/contracts/manager.go"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"984bda673acc92f74d7650e4c81ce6db5448d91eed733e7450a405cc740931ea"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: contractManager: TooManyMethods \u2014 54 methods, declared across 2 files: contracts/manager.go (51), contracts/operations.go (3). The bar is 30 methods; this is 24 over it, 1.80\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/contracts/manager.go"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"f928f8047bd07d8620053f8efeedafc02fd69833d43e3b3cd344d76f4e2cfa2e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Ethereum: ClassTooLong \u2014 719 significant lines (blank, comment-only and punctuation-only lines excluded), 50 methods, 50 blocks, lines 56-1244. The bar is 400 significant lines; this is 319 over it, 1.80\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/blockchain/ethereum/ethereum.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"e112d7b6128de8ac50527a4d2b16f639aeea6e5553d3b9b16aee51d7f39a6533"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: contracts/manager.go: FileTooLong \u2014 863 significant lines (blank, comment-only and punctuation-only lines excluded), about 87% of them inside a single declaration: contractManager (52 blocks, 91-1398). The bar is 500 significant lines; this is 363 over it, 1.73\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/contracts/manager.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd18aabfd75c2631d680f97548441c2e0d77e11c8cc488946452c0861a0893f5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: namespaceManager: TooManyMethods \u2014 51 methods, declared across 3 files: namespace/manager.go (40), namespace/configreload.go (7), namespace/persistence_events.go (4). The bar is 30 methods; this is 21 over it, 1.70\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/namespace/manager.go"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5830b9cecaea6d7a0ddb4e7dbcb290287266dbc75ea6475879358d83cf60d97"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Ethereum: TooManyMethods \u2014 50 methods, declared across 2 files: ethereum/ethereum.go (49), ethereum/config.go (1). The bar is 30 methods; this is 20 over it, 1.67\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/blockchain/ethereum/ethereum.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"8898202a39b355c6db1fdbaaf704708b9d84e6a64cfc82e17220ae7cc8574b47"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ethereum/ethereum.go: FileTooLong \u2014 803 significant lines (blank, comment-only and punctuation-only lines excluded), about 90% of them inside a single declaration: Ethereum (50 blocks, 56-1244). The bar is 500 significant lines; this is 303 over it, 1.61\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/blockchain/ethereum/ethereum.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8f12258442bd18e77cd7aa2b132b996e561e1e393db7e5f0f69c282c2f68600"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: namespaceManager: ClassTooLong \u2014 641 significant lines (blank, comment-only and punctuation-only lines excluded), 51 methods, 41 blocks, lines 89-1172. The bar is 400 significant lines; this is 241 over it, 1.60\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/namespace/manager.go"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"80d4cf646dad47019a0d25e95326fec419bd997cf7cb5e3686fcb78d24b2a82a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Fabric: TooManyMethods \u2014 46 methods, declared across 2 files: fabric/fabric.go (45), fabric/config.go (1). The bar is 30 methods; this is 16 over it, 1.53\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/blockchain/fabric/fabric.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"6075bca334cb4d4c6ac93f9fdf988d73865b140e087a15152147fea7414a6176"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Tezos: TooManyMethods \u2014 46 methods, declared across 2 files: tezos/tezos.go (45), tezos/config.go (1). The bar is 30 methods; this is 16 over it, 1.53\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/blockchain/tezos/tezos.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d303d119f3b775c5ee5aa42b7c34ac9bb6457cf419ad4881bcd50cdd355c451"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: namespace/manager.go: FileTooLong \u2014 758 significant lines (blank, comment-only and punctuation-only lines excluded), about 85% of them inside a single declaration: namespaceManager (41 blocks, 89-1172). The bar is 500 significant lines; this is 258 over it, 1.52\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/namespace/manager.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"31e7dc1252cd7089468aba52b32537a410ccd3a90dece6195cb5040f91646e12"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: fftokens/fftokens.go: FileTooLong \u2014 745 significant lines (blank, comment-only and punctuation-only lines excluded), about 74% of them inside a single declaration: FFTokens (30 blocks, 54-1068). The bar is 500 significant lines; this is 245 over it, 1.49\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/tokens/fftokens/fftokens.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"902626d626e79ef593eb4b6ed031dae87b41768af8703090cb131322064d2458"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: syncAsyncBridge: TooManyMethods \u2014 44 methods. The bar is 30 methods; this is 14 over it, 1.47\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/syncasync/sync_async_bridge.go"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ac9065e77b785a04138177ae9e90ad236fcc4886a7a114121ad4b128b9c0ece"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: fabric/fabric.go: FileTooLong \u2014 715 significant lines (blank, comment-only and punctuation-only lines excluded), about 80% of them inside a single declaration: Fabric (46 blocks, 49-1132). The bar is 500 significant lines; this is 215 over it, 1.43\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/blockchain/fabric/fabric.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"80b5c9fce7012b4fb187676ff49b768480662e915b9c843dc863908ce38424fb"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Fabric: ClassTooLong \u2014 570 significant lines (blank, comment-only and punctuation-only lines excluded), 46 methods, 46 blocks, lines 49-1132. The bar is 400 significant lines; this is 170 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/blockchain/fabric/fabric.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d5703384959ea3e5de4f605ddf44e282467fcb167be03551702bf90cfd67ed2"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FFTokens: ClassTooLong \u2014 553 significant lines (blank, comment-only and punctuation-only lines excluded), 30 methods, 30 blocks, lines 54-1068. The bar is 400 significant lines; this is 153 over it, 1.38\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/tokens/fftokens/fftokens.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"64047a5a8a344496199084085520f73b9350f853863c4bd9224df5a485956994"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: coreconfig.setDefaults: FunctionTooLong \u2014 setDefaults runs 119 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/coreconfig/coreconfig.go"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"a27ddcce3b58a55adf3366c3cc42501af3b07fb3af414839f4f593e3d7097fdf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: reference/reference.go: FileTooLong \u2014 583 significant lines (blank, comment-only and punctuation-only lines excluded), about 70% of them inside a single declaration: GenerateObjectsReferenceMarkdown (51-690). The bar is 500 significant lines; this is 83 over it, 1.17\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/reference/reference.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f821502eda32e7b14d032ee0cb666aff278f1a80b3b6b067d24e0c5d4203d979"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: orchestrator.GetTransactionStatus: MethodTooLong \u2014 GetTransactionStatus 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/orchestrator/txn_status.go"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a25f4708fa2fbcb7a05c878ebc05fd724678e9fb27b2a5461f64539851a9a99"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Tezos: ClassTooLong \u2014 456 significant lines (blank, comment-only and punctuation-only lines excluded), 46 methods, 46 blocks, lines 48-842. The bar is 400 significant lines; this is 56 over it, 1.14\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/blockchain/tezos/tezos.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d904dccc773b062e24ffcc776e8da703f48ffee49d71addcc818f6d533fdf1c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: namespaceManager.loadNamespace: MethodTooLong \u2014 loadNamespace runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/namespace/manager.go"},"region":{"startLine":801}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7fd30bc30dab061a743ae6e4d276510a2a5b2deab7be24e6c05c1a50dd79aa2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: assetManager: TooManyMethods \u2014 33 methods, declared across 5 files: assets/token_pool.go (10), assets/manager.go (9), assets/token_transfer.go (7), assets/token_approval.go (4), \u002B1 more file(s). The bar is 30 methods; this is 3 over it, 1.10\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/assets/manager.go"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c869e23f0bfe6a64fbec9e242f887c150087b503a10025b79cc43ed27c7e15c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: database/plugin.go: FileTooLong \u2014 537 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 37 over it, 1.07\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/database/plugin.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fbf6319f768d0555a9836a5761538bc4308bd2b3a303817b6033526425741e0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: networkMap: TooManyMethods \u2014 32 methods, declared across 7 files: networkmap/data_query.go (17), networkmap/did.go (7), networkmap/register_identity.go (2), networkmap/register_org.go (2), \u002B3 more file(s). The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/networkmap/manager.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"687157f8a6cf37921cce6a024db13ac7fb0ac88c7892f68c0c43cf2d9f5b0cdc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FFDX.dispatchEvent: MethodTooLong \u2014 dispatchEvent runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/dataexchange/ffdx/dxevent.go"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc12eb895dc6003ab8bcf32bf95756c8c5e725632473f272c5cb80dc7e9ea738"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: coremsgs/en_struct_descriptions.go: FileTooLong \u2014 528 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 28 over it, 1.06\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/coremsgs/en_struct_descriptions.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"628f445192119f22c1687f76313d84a1929412a26c75e2d84069f0efb58eb30a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tezos/tezos.go: FileTooLong \u2014 525 significant lines (blank, comment-only and punctuation-only lines excluded), about 87% of them inside a single declaration: Tezos (46 blocks, 48-842). The bar is 500 significant lines; this is 25 over it, 1.05\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/blockchain/tezos/tezos.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c89fe9369bcfa25faf1eefc925773c09ff0ca2ab64c01f224ee820e9f5e0b0e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (40 shared lines): internal/blockchain/ethereum/ethereum.go:1194-1244 | internal/blockchain/tezos/tezos.go:550-601 \u2014 These two members are variants of one another: 40 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/blockchain/ethereum/ethereum.go"},"region":{"startLine":1194}}}],"partialFingerprints":{"codehealthFindingId/v1":"83328667b0bc26e35ff1a0066de9f749351d0ef3204d1630a73920ad0707d428"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (21 members, 50\u002B identical tokens): internal/apiserver/route_get_contract_api_by_name.go:28-48 | internal/apiserver/route_get_contract_api_interface.go:28-48 | internal/apiserver/route_get_contract_api_listeners.go:29-51 | internal/apiserver/route_get_contract_apis.go:29-48 | internal/apiserver/route_get_contract_interface.go:29-58 | internal/apiserver/route_get_contract_interface_name_version.go:29-55 | internal/apiserver/route_get_contract_interfaces.go:29-48 | internal/apiserver/route_get_contract_listener_by_name_or_id.go:29-54 | internal/apiserver/route_get_contract_listeners.go:29-48 | internal/apiserver/route_post_contract_api_invoke.go:29-56 | internal/apiserver/route_post_contract_api_listeners.go:28-49 | internal/apiserver/route_post_contract_api_query.go:28-51 | internal/apiserver/route_post_contract_deploy.go:29-52 | internal/apiserver/route_post_contract_interface_generate.go:28-47 | internal/apiserver/route_post_contract_invoke.go:29-53 | internal/apiserver/route_post_contract_listeners_hash.go:35-53 | internal/apiserver/route_post_contract_query.go:28-48 | internal/apiserver/route_post_new_contract_api.go:29-57 | internal/apiserver/route_post_new_contract_interface.go:30-57 | internal/apiserver/route_post_new_contract_listener.go:28-46 | internal/apiserver/route_put_contract_api.go:30-60 \u2014 These 21 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 21 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 21 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/apiserver/route_get_contract_api_by_name.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"c351196a32479f871f9ed4ea60bbadcbeb03ad4e3f97dad7a427b37613870b9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): internal/apiserver/route_post_new_message_broadcast.go:29-52 | internal/apiserver/route_post_new_message_private.go:29-51 | internal/apiserver/route_post_new_node_self.go:29-52 | internal/apiserver/route_post_new_organization.go:29-52 | internal/apiserver/route_post_new_organization_self.go:29-52 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/apiserver/route_post_new_message_broadcast.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0eaf2ec7da403534cdeff6d9a6c0eb019630520b5c96fba61702017cbf68cc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): internal/blockchain/ethereum/ethereum.go:607-632 | internal/blockchain/ethereum/ethereum.go:742-783 | internal/blockchain/tezos/tezos.go:317-347 | internal/blockchain/tezos/tezos.go:627-647 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/blockchain/ethereum/ethereum.go"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"92f839aef56cc9384becb6809dbc1a3a300705e145cd989921a6cd697e56063d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): internal/tokens/fftokens/fftokens.go:929-963 | internal/tokens/fftokens/fftokens.go:965-998 | internal/tokens/fftokens/fftokens.go:1000-1034 | internal/tokens/fftokens/fftokens.go:1036-1068 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tokens/fftokens/fftokens.go"},"region":{"startLine":929}}}],"partialFingerprints":{"codehealthFindingId/v1":"356ed55477f7c47f72b5a55138f8739705dc5203a88db8fe054e3640bd489044"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (73 corresponding lines): internal/blockchain/cardano/cardano.go:518-590 | internal/blockchain/ethereum/ethereum.go:451-529 \u2014 These two members are one piece of code written twice and then edited apart: 73 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one 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/blockchain/ethereum/ethereum.go"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"008f860a3be7ed2d402c6e364707118e713300e2c93d0f69a3eb475eca7deec8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (63 corresponding lines): internal/events/tokens_approved.go:63-128 | internal/events/tokens_transferred.go:62-124 \u2014 These two members are one piece of code written twice and then edited apart: 63 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/events/tokens_approved.go"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d802ff6b8de6d08419154b0bbda8cf856fe97fd6765916ed86390521f104535"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (77 corresponding lines): internal/database/sqlcommon/contractlisteners_sql.go:57-133 | internal/database/sqlcommon/subscription_sql.go:50-136 \u2014 These two members are one piece of code written twice and then edited apart: 77 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one 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/database/sqlcommon/contractlisteners_sql.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc57d5eb815b85a2dffe923762f4e1bc1f4a6d72ec8c7ebaeca73bb9909b5d08"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (59 corresponding lines): internal/blockchain/ethereum/ethereum.go:135-198 | internal/blockchain/fabric/fabric.go:191-249 \u2014 These two members are one piece of code written twice and then edited apart: 59 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/blockchain/ethereum/ethereum.go"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"84572dfad02cc4e43f75fd35d926f1924fcce58bdc30b35f2351a70cf8ca884c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): internal/blockchain/ethereum/address_resolver.go:102-151 | internal/blockchain/tezos/address_resolver.go:100-148 \u2014 These two members are one piece of code written twice and then edited apart: 49 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/blockchain/ethereum/address_resolver.go"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"32bdc8d434026d464f31dd05e74f0f2335243978ada93dfa3f810117a7d655b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 52\u002B corresponding lines): internal/database/sqlcommon/datatype_sql.go:53-121 | internal/database/sqlcommon/ffi_errors_sql.go:49-100 | internal/database/sqlcommon/ffi_events_sql.go:51-103 | internal/database/sqlcommon/ffi_methods_sql.go:52-106 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 52 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/database/sqlcommon/datatype_sql.go"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"98e7d01ef4036fd10f9b960690c0ed0a4f5912c7e3b5b416ed295b6020c392f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (53 corresponding lines): internal/assets/token_approval.go:160-212 | internal/assets/token_transfer.go:253-308 \u2014 These two members are one piece of code written twice and then edited apart: 53 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/assets/token_approval.go"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"42bd3dce2494739bd3be2f98b76530796a2e6f9dd8a887ef919d6b4d1bf8fb56"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (54 corresponding lines): internal/blockchain/fabric/fabric.go:504-560 | internal/blockchain/tezos/tezos.go:784-837 \u2014 These two members are one piece of code written twice and then edited apart: 54 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/blockchain/fabric/fabric.go"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"4602afce31cfec1f894ad1c82f30fc94b23b981c02514c6c0f8d7394b460d1b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (59 corresponding lines): internal/tokens/fftokens/fftokens.go:525-595 | internal/tokens/fftokens/fftokens.go:597-655 \u2014 These two members are one piece of code written twice and then edited apart: 59 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tokens/fftokens/fftokens.go"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7003c7f4c235e6be36bf88256e5945fea63096b109dfb34945829a60810e2f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): internal/assets/token_approval.go:109-158 | internal/assets/token_transfer.go:201-251 \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/assets/token_approval.go"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b5a879d339191549a823f0bbc2b2513ad3526813896af176dd3cc21fb455843"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): internal/definitions/sender_contracts.go:144-185 | internal/definitions/sender_tokenpool.go:57-109 \u2014 These two members are one piece of code written twice and then edited apart: 42 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/definitions/sender_contracts.go"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3465e092ed6e82637e081db9bb4ec2b127d3716f1ec7ac4b4956fde0046b002"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): internal/events/tokens_approved.go:130-169 | internal/events/tokens_transferred.go:126-165 \u2014 These two members are one piece of code written twice and then edited apart: 40 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/events/tokens_approved.go"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b36602fcb336c264fe3a9e9d10a5eeeb3ecdce9cf1c6afe9a5bb03a4bf5cdad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): internal/events/webhooks/webhooks.go:564-606 | internal/events/webhooks/webhooks.go:608-661 \u2014 These two members are one piece of code written twice and then edited apart: 43 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/events/webhooks/webhooks.go"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f401f9792b57b29997d75490709cc1e2d2e262face3e6e1495eb88938f7a7fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (54 corresponding lines): internal/database/sqlcommon/namespace_sql.go:42-95 | internal/database/sqlcommon/offset_sql.go:44-104 \u2014 These two members are one piece of code written twice and then edited apart: 54 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/database/sqlcommon/namespace_sql.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"78497d64a2df020a19dbbb3751ca06aa51dcc0fd17cd8588614d86c1e3c123f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): internal/blockchain/ethereum/ethereum.go:401-449 | internal/blockchain/fabric/fabric.go:457-502 \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/blockchain/ethereum/ethereum.go"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a830d6adb952e8a6257b0e5941d8e69114fc2bc37bf66f9b51c66def16abf04"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 43\u002B corresponding lines): internal/database/sqlcommon/data_sql.go:139-195 | internal/database/sqlcommon/group_sql.go:50-103 | internal/database/sqlcommon/identity_sql.go:111-153 | internal/database/sqlcommon/verifier_sql.go:83-128 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 43 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/database/sqlcommon/data_sql.go"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4938a1661582a912099fdd5b997683afabb86804e70fa398afec509e5957056"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 41\u002B corresponding lines): internal/blockchain/cardano/cardano.go:129-170 | internal/blockchain/ethereum/ethereum.go:204-244 | internal/blockchain/fabric/fabric.go:255-295 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 41 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/blockchain/ethereum/ethereum.go"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"65c4a9c35daec57f73e1968661d9e5ce8ec7be31696a2120af88cb87df8d6e09"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): internal/blockchain/common/common.go:420-457 | internal/blockchain/common/common.go:462-506 \u2014 These two members are one piece of code written twice and then edited apart: 38 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/blockchain/common/common.go"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"926e3095e56a34e52d87692fc8453a8cd91c5b5e969ad5679aa6270b3576d163"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (47 corresponding lines): internal/database/sqlcommon/group_sql.go:186-232 | internal/database/sqlcommon/message_sql.go:385-435 \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/database/sqlcommon/group_sql.go"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"010e124c5623573e97fc0efb8e016fddf1173e9b5b5d9e5704fd4a0a261b43fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 23\u002B corresponding lines): internal/apiserver/route_patch_update_identity.go:28-50 | internal/apiserver/route_post_contract_api_publish.go:29-51 | internal/apiserver/route_post_contract_interface_publish.go:29-52 | internal/apiserver/route_post_token_pool_publish.go:28-50 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 23 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/apiserver/route_patch_update_identity.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cba625cc6620fe4921c4e91dee006b6ea9ca29efcf5757434ebd1b9e3afcf27"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): internal/blockchain/ethereum/eventstream.go:211-250 | internal/blockchain/fabric/eventstream.go:186-225 \u2014 These two members are one piece of code written twice and then edited apart: 40 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/blockchain/ethereum/eventstream.go"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"c36f2dc8628b06a5df66a7464ab2c0cd43e45ae8db8cd35f5d79f51145faf5fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): internal/apiserver/route_post_data_blob_publish.go:28-48 | internal/apiserver/route_post_data_value_publish.go:28-48 \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/apiserver/route_post_data_blob_publish.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"55f0d51e3a21c95bf8386b715bdc738bee7faf260bac44a9ca191b550ce7d183"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 20\u002B corresponding lines): internal/apiserver/route_post_token_approval.go:28-53 | internal/apiserver/route_post_token_burn.go:28-47 | internal/apiserver/route_post_token_mint.go:28-47 | internal/apiserver/route_post_token_transfer.go:28-47 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 20 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/apiserver/route_post_token_approval.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"02915bc16f5d55849a0fef1d23cbedd7ffa86d673b813ad786f51e6403647b1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 27\u002B corresponding lines): internal/database/sqlcommon/blob_sql.go:136-167 | internal/database/sqlcommon/nextpin_sql.go:114-143 | internal/database/sqlcommon/offset_sql.go:150-176 | internal/database/sqlcommon/pin_sql.go:174-202 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 27 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/database/sqlcommon/blob_sql.go"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cdb809af188c387cd8aa31819d0e8881caa241778210fbffffaa06ccb6879e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): internal/database/sqlcommon/data_sql.go:329-359 | internal/database/sqlcommon/tokenbalance_sql.go:235-261 \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/database/sqlcommon/data_sql.go"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"78166e048710b21c4b2bd1ec1c2b13edbd481d7945523c09757ba87f98e98624"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 22\u002B corresponding lines): internal/apiserver/route_get_identities.go:29-50 | internal/apiserver/route_get_identity_by_did.go:28-50 | internal/apiserver/route_get_identity_by_id.go:28-50 | internal/apiserver/route_get_net_did.go:28-51 | internal/apiserver/route_get_net_identities.go:29-50 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/apiserver/route_get_identities.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc9fc62d56217f4f0ebf79e64bb5942ad56c8bd2b33f11027a1840ec753a97e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): internal/apiserver/route_get_events.go:29-51 | internal/apiserver/route_get_msgs.go:29-50 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/apiserver/route_get_events.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"29473bc047b3fcb6019cfa0eff5bfe33bfec907e263826adb14bd58668169d08"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): internal/broadcast/manager.go:219-268 | internal/broadcast/manager.go:270-309 \u2014 These two members are one piece of code written twice and then edited apart: 40 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/broadcast/manager.go"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd16b65b908da64f22ae0f4da1b2b515cd10d63a4d91b079aaadfa22fec7bf9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 28\u002B corresponding lines): internal/database/sqlcommon/contractapis_sql.go:127-155 | internal/database/sqlcommon/ffi_sql.go:119-146 | internal/database/sqlcommon/tokenpool_sql.go:169-196 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 28 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/database/sqlcommon/contractapis_sql.go"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d3752349e154025747f9cbbd24ecb1135ef5dcd9fa4069b36f1a0424ed72a87"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): internal/database/sqlcommon/group_sql.go:140-184 | internal/database/sqlcommon/message_sql.go:331-378 \u2014 These two members are one piece of code written twice and then edited apart: 45 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/database/sqlcommon/group_sql.go"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"9937cd1cda909a087d24ef40a0734aa32932b829d97c2cfba7e961bc6219eb59"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 34\u002B corresponding lines): internal/events/blob_receiver.go:129-164 | internal/operations/operation_updater.go:183-219 | internal/txwriter/txwriter.go:140-173 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 34 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/events/blob_receiver.go"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"7029e02ae3d8237fdf2614ffbe000eb579cfd92392dd3f8d0dc5f34523279900"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): internal/apiserver/route_get_namespace.go:28-49 | internal/apiserver/route_spi_get_namespace_by_name.go:27-48 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/apiserver/route_get_namespace.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"56bd159dea888abda523cf1ec2d98aa488eb208dd8da95c3dec4f613ad033aa7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 24\u002B corresponding lines): internal/database/sqlcommon/tokenapproval_sql.go:213-236 | internal/database/sqlcommon/tokenbalance_sql.go:182-205 | internal/database/sqlcommon/tokenbalance_sql.go:207-233 | internal/database/sqlcommon/tokenpool_sql.go:306-329 | internal/database/sqlcommon/tokentransfer_sql.go:193-216 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 24 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/database/sqlcommon/tokenapproval_sql.go"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebe53ea3e424b1b87b491d3e0099f345422772cf3e183a5cef3610bdf299bbe2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): internal/apiserver/route_post_network_action.go:28-47 | internal/apiserver/route_post_new_message_requestreply.go:28-47 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/apiserver/route_post_network_action.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d0fef981ace687464b1359592801d0fbb898b105865aa021986ab01b62880d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): internal/apiserver/route_get_namespaces.go:28-46 | internal/apiserver/route_spi_get_namespaces.go:28-45 \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/apiserver/route_get_namespaces.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba285b4a58b8dcdbbe1aaa0a633e4c54897385f1dfdc1d21c81951976c9b2698"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 33\u002B corresponding lines): internal/database/sqlcommon/blob_sql.go:83-116 | internal/database/sqlcommon/blockchainevents_sql.go:86-125 | internal/database/sqlcommon/data_sql.go:197-231 | internal/database/sqlcommon/operation_sql.go:104-142 | internal/database/sqlcommon/pin_sql.go:120-152 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 33 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/database/sqlcommon/blob_sql.go"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f4fbea8eff45a702762f8e46a0143ef34c1b945b98183b22e80b5dab14737c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): internal/database/sqlcommon/group_sql.go:280-310 | internal/database/sqlcommon/message_sql.go:508-535 \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/database/sqlcommon/group_sql.go"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"905db6d2b9a0fe6153dac1e23bd4eba98e01b976772189948162bf9f4cfd3409"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): internal/blockchain/ethereum/ethereum.go:655-687 | internal/blockchain/fabric/fabric.go:655-683 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/blockchain/ethereum/ethereum.go"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"a07450678efdaacd3a632714e80b41de8738effb9b25341136251b42aa35b099"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): internal/database/sqlcommon/contractlisteners_sql.go:264-292 | internal/database/sqlcommon/operation_sql.go:216-249 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/database/sqlcommon/contractlisteners_sql.go"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"924b2a2dbf8c858e378bc67ef237afd09dbb48b4f8dfa0ab5bb586c380f25527"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): internal/events/tokens_approved.go:39-61 | internal/events/tokens_transferred.go:38-60 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/events/tokens_approved.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"efc3f235374c18474574f62f06960b164d801f341e090943d44a76f044087018"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 27\u002B corresponding lines): internal/definitions/sender_contracts.go:95-121 | internal/definitions/sender_contracts.go:187-213 | internal/definitions/sender_tokenpool.go:29-55 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 27 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/definitions/sender_contracts.go"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a4c6a732f684875f2285e805addffca82a0962bd9043fb298dd088ba1ad6661"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): internal/apiserver/route_get_net_node.go:27-45 | internal/apiserver/route_get_net_org.go:27-45 | internal/apiserver/route_get_token_pool_by_name_or_id.go:27-45 \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/apiserver/route_get_net_node.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"d177548cdc0c5ee1008badae981abca35f780f849a8a9efd2f110eba84fad93a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): internal/blockchain/fabric/fabric.go:969-994 | internal/blockchain/tezos/tezos.go:443-473 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/blockchain/fabric/fabric.go"},"region":{"startLine":969}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0307073539995a75d0d3fa25bd8f1df2dd6a1477fa4362f2629f0de326f9c08"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): internal/apiserver/route_post_new_subscription.go:27-43 | internal/apiserver/route_put_subscription.go:27-43 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/apiserver/route_post_new_subscription.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"33fae572031380c8a6450cfa82a636b3e9e8475f3aae0e5dc7edbf891485b987"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): internal/database/sqlcommon/group_sql.go:250-278 | internal/database/sqlcommon/message_sql.go:476-506 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/database/sqlcommon/group_sql.go"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ab38ecbde396fa31431bf556627ca016c3ca443580fd3839150cdf153d91d37"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): internal/apiserver/route_spi_get_op_by_id.go:27-45 | internal/apiserver/route_spi_patch_op_by_id.go:27-45 \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/apiserver/route_spi_get_op_by_id.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e52f788302672823b135354a2c6c83f94c8584c0a12a10c7572abc5dd8d5931"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): internal/apiserver/route_get_group_by_id.go:28-48 | internal/apiserver/route_get_groups.go:29-48 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/apiserver/route_get_group_by_id.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea9b0eacb0cbf8560dbabea27785fb800e33e4585b0c19d71d3e83823876c138"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): internal/blockchain/ethereum/ethereum.go:1136-1160 | internal/blockchain/fabric/fabric.go:1056-1078 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/blockchain/ethereum/ethereum.go"},"region":{"startLine":1136}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d66f82a0c7639f44f42fd10625f243406c3b36fcc2efede19d472522224f882"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): internal/apiserver/route_get_data_by_id.go:27-45 | internal/apiserver/route_get_data_msgs.go:29-50 | internal/apiserver/route_get_data_value.go:27-49 \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/apiserver/route_get_data_by_id.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f05486aeb533744684e1f91301f7ed771c80264f60fca19049cadb9a633d012"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 18\u002B corresponding lines): internal/apiserver/route_get_txn_blockchainevents.go:27-44 | internal/apiserver/route_get_txn_by_id.go:28-47 | internal/apiserver/route_get_txn_ops.go:27-44 | internal/apiserver/route_get_txn_status.go:27-44 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/apiserver/route_get_txn_blockchainevents.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"004e888451a06635eb68d0d2eba14463b1edef5dae252bd3acec3d46bc94e366"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): internal/apiserver/route_get_msg_data.go:27-46 | internal/apiserver/route_get_msg_events.go:28-46 | internal/apiserver/route_get_msg_txn.go:27-45 \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/apiserver/route_get_msg_data.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"848305d9d63d1ad42fd3214e1493d44d0d949a8e9898af51db8981a21f008e69"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): internal/definitions/handler_contracts.go:193-210 | internal/definitions/handler_contracts.go:230-247 \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/definitions/handler_contracts.go"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbc10cb28b3bd18300ef9561aeb715829be6c35b06add28048fed119253a6ee0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): internal/events/blob_receiver.go:64-85 | internal/operations/operation_updater.go:65-88 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/events/blob_receiver.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0e605b0b86712cde551cb04db4a1427f45d0c0f9fe4c1a8c508eae6a3c3dafd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): internal/blockchain/ethereum/ethereum.go:344-377 | internal/blockchain/fabric/fabric.go:370-392 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/blockchain/ethereum/ethereum.go"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3906f57edefabd776547fc324a910e0d59fc12890b760dd75e6ab27771a186a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): internal/apiserver/route_get_identity_did.go:27-44 | internal/apiserver/route_get_net_diddoc.go:27-43 | internal/apiserver/route_get_verifier_by_id.go:27-44 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/apiserver/route_get_identity_did.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"027a71bb5fd23344624065ffb5f23c767697c4c16964794807ba653abef17dc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): internal/blockchain/ethereum/ethereum.go:707-740 | internal/blockchain/fabric/fabric.go:703-740 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/blockchain/ethereum/ethereum.go"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"c379e0e230bd0fad63eba48cb0591b65142cfc03662a1d9a34801308c80fb498"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 17\u002B corresponding lines): internal/apiserver/route_get_identity_verifiers.go:28-46 | internal/apiserver/route_get_net_nodes.go:28-44 | internal/apiserver/route_get_net_orgs.go:28-44 | internal/apiserver/route_get_verifiers.go:28-44 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/apiserver/route_get_identity_verifiers.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"a857ee8a8f16f439ff1a42f9cc46a92f04c67aab2b590db57fab7c6e4c8d69d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 17\u002B corresponding lines): internal/apiserver/route_get_token_account_pools.go:28-46 | internal/apiserver/route_get_token_accounts.go:28-44 | internal/apiserver/route_get_token_balances.go:28-44 | internal/apiserver/route_get_token_pools.go:28-44 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/apiserver/route_get_token_account_pools.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cd89d7f1c709993cf3b05715a39b413a67305e2d022b10d664da874269caff1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): internal/definitions/handler_contracts.go:175-191 | internal/definitions/handler_contracts.go:212-228 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/definitions/handler_contracts.go"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"6832160119a19fb26f761142faaab6530885e496e2959e7af08bf944b36438bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): internal/blockchain/ethereum/ethereum.go:832-851 | internal/blockchain/tezos/tezos.go:371-392 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/blockchain/ethereum/ethereum.go"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"46fc8bff6997cc5c2a7d9c04695eae5090d451e5dc873b7fe3e539502a7959ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): internal/apiserver/route_get_ops.go:28-44 | internal/apiserver/route_spi_get_ops.go:28-44 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/apiserver/route_get_ops.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"72b3022a92616971ee071b2444d0bdabc820abe63344ab2e7f9e2ee32015307f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): internal/contracts/manager.go:1218-1235 | internal/networkmap/data_query.go:32-52 | internal/networkmap/data_query.go:64-84 \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/contracts/manager.go"},"region":{"startLine":1218}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f0c6f1d25d0a512150b6a7f903c05a9b7465bbfc5372a50a60909246e325a86"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): internal/blockchain/ethereum/eventstream.go:252-279 | internal/blockchain/fabric/eventstream.go:227-258 \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/blockchain/ethereum/eventstream.go"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"de691f726165b2f5dab4a1b1f33ce0351c188a41bb5136a2c15c1034aafd3459"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 20\u002B corresponding lines): internal/namespace/manager.go:555-576 | internal/namespace/manager.go:613-632 | internal/namespace/manager.go:634-653 | internal/namespace/manager.go:655-674 | internal/namespace/manager.go:676-695 | internal/namespace/manager.go:1144-1164 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 20 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/namespace/manager.go"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"764a6656ebd1fa3de261d3943c91886dae6183b817a57f8cb105907c4cb010d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): internal/database/sqlcommon/contractapis_sql.go:54-76 | internal/database/sqlcommon/ffi_sql.go:53-71 \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/database/sqlcommon/contractapis_sql.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"0de57ebf958882b0f88272357d816d444d8e855496af6b1ba49c5ccd59258ee4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): internal/assets/token_approval.go:214-234 | internal/assets/token_transfer.go:91-119 \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/assets/token_approval.go"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"00928f26f3eb6fbb1914e4e6b3419b99b0f600f6fa0b492c855c1cfd24384c05"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): internal/broadcast/message.go:139-164 | internal/privatemessaging/message.go:156-184 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/broadcast/message.go"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"edb01b4914ddbac6b0171df656520c9e9b3183a4b2ed524c5b8885b586c3ee32"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 18\u002B corresponding lines): internal/apiserver/route_delete_contract_api.go:26-43 | internal/apiserver/route_delete_contract_interface.go:27-48 | internal/apiserver/route_delete_contract_listener.go:26-44 | internal/apiserver/route_delete_data.go:26-44 | internal/apiserver/route_delete_subscription.go:26-44 | internal/apiserver/route_delete_token_pool.go:26-43 | internal/apiserver/route_post_batch_cancel.go:26-43 \u2014 These 7 members are one piece of code written 7 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 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/apiserver/route_delete_contract_api.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"02534b8d0f35f247123f0735f5f44bc55da19837c497af6c2c72273ee8fb1e40"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): internal/database/sqlcommon/tokenapproval_sql.go:150-175 | internal/database/sqlcommon/tokentransfer_sql.go:129-155 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/database/sqlcommon/tokenapproval_sql.go"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"f32fa9cee714bb74439e27d5deec19c1cb61ea34b66fb3c29fcc2b18c367a224"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): internal/dataexchange/ffdx/ffdx.go:424-443 | internal/dataexchange/ffdx/ffdx.go:445-464 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/dataexchange/ffdx/ffdx.go"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"d97195350e02f1faabfa2e2bc9881fffed5cf79fcf79573ef03c014a935f0c71"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): internal/database/sqlcommon/contractapis_sql.go:278-295 | internal/database/sqlcommon/ffi_sql.go:275-292 | internal/database/sqlcommon/tokenpool_sql.go:331-348 \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/database/sqlcommon/contractapis_sql.go"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2ec81250c88d7a7fb3772f9ae20958712c705cc3f2b4ebbc8e0e2a818945454"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): internal/dataexchange/ffdx/ffdx.go:573-600 | internal/tokens/fftokens/fftokens.go:739-762 \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/dataexchange/ffdx/ffdx.go"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a7440e57f81f9d083f92aee3f89d4239b9c99d2abb3a6c4003f31f3a2494a4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): internal/apiserver/route_get_blockchain_event_by_id.go:27-44 | internal/apiserver/route_get_blockchain_events.go:28-44 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/apiserver/route_get_blockchain_event_by_id.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"093da68d3de719fb6662ccd53f16a68a6bef5de8aa0da7613992fa0d1451e2e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): internal/apiserver/route_get_batch_by_id.go:27-45 | internal/apiserver/route_get_batches.go:28-44 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/apiserver/route_get_batch_by_id.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad216514b81b88a142ac739da78299b79750bf1cab2b544afa4b12cb77edd019"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): internal/apiserver/route_get_datatype_by_name.go:27-46 | internal/apiserver/route_get_datatypes.go:28-44 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/apiserver/route_get_datatype_by_name.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cdb43857f82579247245d5dd4faec8f5763bcbace136e812735a47a46f0af43"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): internal/assets/token_approval.go:83-107 | internal/assets/token_transfer.go:175-199 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/assets/token_approval.go"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cce75bf8cc443673fd3bab8e8c15590ab8c1d373867257a6abc7e5e020b11f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): internal/database/sqlcommon/blockchainevents_sql.go:127-147 | internal/database/sqlcommon/tokentransfer_sql.go:105-127 \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/database/sqlcommon/blockchainevents_sql.go"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d0c1ff8ef216b4dd9459bb39694f7b5d8c784a1c297f095232e66415e13b0b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 21\u002B corresponding lines): internal/database/sqlcommon/contractlisteners_sql.go:294-314 | internal/database/sqlcommon/offset_sql.go:200-222 | internal/database/sqlcommon/subscription_sql.go:250-272 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 21 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/database/sqlcommon/contractlisteners_sql.go"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"76bd3e141e0dcfb11da7a7d196b11cba800577a7cb1c068fdc55167be37df925"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (8 members, 21\u002B corresponding lines): internal/database/sqlcommon/batch_sql.go:179-199 | internal/database/sqlcommon/data_sql.go:403-423 | internal/database/sqlcommon/message_sql.go:634-658 | internal/database/sqlcommon/nextpin_sql.go:145-166 | internal/database/sqlcommon/offset_sql.go:178-198 | internal/database/sqlcommon/pin_sql.go:204-228 | internal/database/sqlcommon/tokenapproval_sql.go:238-261 | internal/database/sqlcommon/transaction_sql.go:233-253 \u2014 These 8 members are one piece of code written 8 times and then edited apart: every two of them correspond over at least 21 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 8 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/database/sqlcommon/batch_sql.go"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"579946449440304905bc21672fdee2e79df40a716e20c0c2f95fe332296adf03"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 16\u002B corresponding lines): internal/blockchain/ethereum/ethereum.go:634-653 | internal/blockchain/fabric/fabric.go:601-617 | internal/blockchain/fabric/fabric.go:619-634 | internal/blockchain/tezos/tezos.go:649-669 \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/blockchain/ethereum/ethereum.go"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"088137362167ddcf48a05d1cb75a05b25d6f2b75a0729d0e946c1702220c43c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 24\u002B corresponding lines): internal/database/sqlcommon/batch_sql.go:128-151 | internal/database/sqlcommon/data_sql.go:270-299 | internal/database/sqlcommon/event_sql.go:172-197 | internal/database/sqlcommon/nonce_sql.go:97-120 | internal/database/sqlcommon/operation_sql.go:166-189 | internal/database/sqlcommon/transaction_sql.go:182-205 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 24 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/database/sqlcommon/batch_sql.go"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0e9dc7a437feeec84f069bf5550b6a75c077a8f085d0c4749f6ab714889db2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): internal/apiserver/routes.go:180-199 | internal/apiserver/spi_routes.go:39-54 \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/apiserver/routes.go"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"877a2b76fe5171933aaba86def28a5e1c1e5645d04092199ace5137cb4617469"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): internal/blockchain/cardano/cardano.go:196-211 | internal/blockchain/tezos/tezos.go:264-279 \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/blockchain/tezos/tezos.go"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"47bc88035869f306d815928422f3cc8e38430c9bd7ce3a4d5643f2a3f6a625ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): internal/blockchain/ethereum/ethereum.go:966-989 | internal/blockchain/tezos/tezos.go:480-503 \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/blockchain/ethereum/ethereum.go"},"region":{"startLine":966}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5ce2eea5146da5e1847211f2affb70c2846ae8a92a2e0ba7ea2e294904bf07d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): internal/database/sqlcommon/contractapis_sql.go:108-125 | internal/database/sqlcommon/ffi_sql.go:99-117 | internal/database/sqlcommon/tokenpool_sql.go:152-167 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/database/sqlcommon/contractapis_sql.go"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1f794303022157f4bbb1b0148705b7a4396afee6144269fb184ba8a58e2e970"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): internal/blockchain/ethereum/ethereum.go:540-563 | internal/blockchain/tezos/tezos.go:285-305 \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/blockchain/ethereum/ethereum.go"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"27e59c9a7936cac229dd26924013cdb2a069e61840040b388836d27bce19cf6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): internal/events/websockets/websocket_connection.go:65-86 | internal/spievents/websockets.go:50-67 \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/events/websockets/websocket_connection.go"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b37bffeb60e08f40745a8b1984763b46229dd8eaa5c04f5fbd3b1edc791bc12"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): internal/blockchain/common/common.go:240-257 | internal/blockchain/common/common.go:259-277 \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/blockchain/common/common.go"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"df0a7ceb8ff6a7b5a91ec0507ef4c0f391c1cc0577c00ce7bd7e051b032a743f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): internal/syncasync/sync_async_bridge.go:264-287 | internal/syncasync/sync_async_bridge.go:289-317 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/syncasync/sync_async_bridge.go"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"894763b1fc0c2e5c6e9b35499d8d4a9a2abae6ab3ca93599cf8c0eeea85816f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): internal/database/sqlcommon/tokenapproval_sql.go:263-279 | internal/database/sqlcommon/tokenbalance_sql.go:263-279 | internal/database/sqlcommon/tokentransfer_sql.go:218-234 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/database/sqlcommon/tokenapproval_sql.go"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4bd5925e0fa81aa5bfd5378677d4b14a452a151220cc2cfc59c36b062fb51a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): internal/broadcast/message.go:90-107 | internal/privatemessaging/message.go:101-120 \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/broadcast/message.go"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d18f5babf060190fe8ba5d0cdca8b4c379ba608e6a1830bdbff6d617aed9570"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): internal/database/sqlcommon/contractapis_sql.go:191-213 | internal/database/sqlcommon/ffi_sql.go:182-202 \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/database/sqlcommon/contractapis_sql.go"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fcec0ebdbde511781150d7bdae89815df151cc061706f094494f9a70d27e0e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): internal/blockchain/common/common.go:176-192 | internal/tokens/fftokens/fftokens.go:74-90 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/blockchain/common/common.go"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0702a6eba09b3ca043a5f68fbb07b78429ae8aa23300bcd656267c80fd1aa59"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): internal/broadcast/message.go:109-122 | internal/privatemessaging/message.go:122-136 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/broadcast/message.go"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c2bc9dc14371fb2e3d6067901f98e4621e15c15a931ed5bdf7fc97fc4e05706"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): internal/contracts/manager.go:528-541 | internal/contracts/manager.go:1177-1193 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/contracts/manager.go"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"a731f38fe6ad0b72bdfa92cb034b0605b8fa58b47c60b63b40aa3dd804ac498c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): internal/contracts/manager.go:1354-1368 | internal/contracts/manager.go:1370-1388 \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/contracts/manager.go"},"region":{"startLine":1354}}}],"partialFingerprints":{"codehealthFindingId/v1":"1578fb8de6b1e8a660e769a7efea47fa2238e0ee4635890600e2a31e14d96af6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): pkg/core/operation.go:114-130 | pkg/core/operation.go:132-148 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/core/operation.go"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c4f936e8d15bd6c1c112faae1d150d53c7fbc6661bef484a3aad3a5d18e0326"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): internal/blockchain/cardano/eventstream.go:115-130 | internal/blockchain/tezos/eventstream.go:125-140 \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/blockchain/tezos/eventstream.go"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf94b2072193b7c3d1b5fa2bc5ff5420b9d76942cfe4c2f0ce4d6f32ca69024d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): internal/database/sqlcommon/nonce_sql.go:42-60 | internal/database/sqlcommon/nonce_sql.go:62-83 \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/database/sqlcommon/nonce_sql.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b1bbbe93581c3f7552797a76ba9d4e246656a9f3f4368bd84643cd42906e025"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): internal/blockchain/ethereum/ethereum.go:379-395 | internal/blockchain/fabric/fabric.go:398-413 \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/blockchain/ethereum/ethereum.go"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"19ac6621df1ebfd0901f54ae04e2f3c8ec4e2c9ebcca5d285f1f3b6610ec64e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): internal/blockchain/ethereum/eventstream.go:137-158 | internal/blockchain/fabric/eventstream.go:117-134 \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/blockchain/ethereum/eventstream.go"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9f9d01b11b38fce2671022b3b30f8542de7d40599ccf6d6d4d300c36f55d6be"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): internal/database/sqlcommon/blob_sql.go:169-185 | internal/database/sqlcommon/data_sql.go:425-439 | internal/database/sqlcommon/nonce_sql.go:148-164 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 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/database/sqlcommon/blob_sql.go"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"27dde7e2fe84dd0f6f4b6493653e60f984e326159d4c9839ceead219a28594dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): internal/definitions/handler_contracts.go:84-100 | internal/definitions/handler_tokenpool.go:111-132 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/definitions/handler_contracts.go"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"9237aa43cc35d1dddba66c4ce29ab644f488556c2ade57f5532c59f4d9660f99"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): internal/assets/token_transfer.go:121-137 | internal/assets/token_transfer.go:139-155 | internal/assets/token_transfer.go:157-173 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/assets/token_transfer.go"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"55f77e20527b706b48ff98b504f7705c2fe8e156924a7bfeebaef9bd90c86cff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): internal/blockchain/ethereum/ethereum.go:689-705 | internal/blockchain/fabric/fabric.go:685-701 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/blockchain/ethereum/ethereum.go"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"b703fd96cd2c74f6edb4a93c79fba1ddd94159fe3b5bdbe0f86e249f423c6b5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): internal/blockchain/ethereum/ethereum.go:1118-1134 | internal/blockchain/fabric/fabric.go:1038-1054 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/blockchain/ethereum/ethereum.go"},"region":{"startLine":1118}}}],"partialFingerprints":{"codehealthFindingId/v1":"e27373ea6508c665c367d82852f11ffc99894fcc76ec76aa2f6ccd6bbfe04aaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): internal/dataexchange/ffdx/ffdx.go:398-409 | internal/dataexchange/ffdx/ffdx.go:411-422 \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":"internal/dataexchange/ffdx/ffdx.go"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"80a7c91c9d236a3584776de0cc70028bab56f4c84010b6aa92e00636884090d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): internal/tokens/fftokens/fftokens.go:92-107 | internal/tokens/fftokens/fftokens.go:109-124 | internal/tokens/fftokens/fftokens.go:126-141 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tokens/fftokens/fftokens.go"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"57f6eaf5b6068a439d9c00573f35738d0580316ad141df6502a2e4676678d31b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): pkg/core/node.go:47-67 | pkg/core/organization.go:43-64 \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":"pkg/core/node.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3e5b0718e9795c14873e18d901597658b9e85836aa4f7d063d9072b53b6777b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): internal/database/sqlcommon/ffi_errors_sql.go:102-117 | internal/database/sqlcommon/ffi_events_sql.go:105-121 | internal/database/sqlcommon/ffi_methods_sql.go:108-125 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/database/sqlcommon/ffi_errors_sql.go"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c27d36137af31c334043262c187185e7dc724089986ef986839ebe4606e95e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (55 corresponding lines): internal/blockchain/ethereum/config.go:25-84 | internal/blockchain/tezos/config.go:25-79 \u2014 These two members are one piece of code written twice and then edited apart: 55 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one 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/blockchain/ethereum/config.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"09954a23107867efb781acd5924f2112d23b22834fd935fb242cdf01a08c3bc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): internal/database/sqlcommon/subscription_sql.go:138-154 | internal/database/sqlcommon/tokenbalance_sql.go:130-146 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/database/sqlcommon/subscription_sql.go"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ab22199d3d10c98868902c9b24f9a6ce8f23e714c0865c723132c574d72e6ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 12\u002B corresponding lines): internal/blockchain/cardano/eventstream.go:89-100 | internal/blockchain/cardano/eventstream.go:102-113 | internal/blockchain/ethereum/eventstream.go:111-122 | internal/blockchain/ethereum/eventstream.go:124-135 | internal/blockchain/fabric/eventstream.go:104-115 | internal/blockchain/tezos/eventstream.go:99-110 | internal/blockchain/tezos/eventstream.go:112-123 \u2014 These 7 members are one piece of code written 7 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 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/blockchain/ethereum/eventstream.go"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"59a1f3b482cd1990b969c90b45dd5d5c36d5046fba437b38a84bef3902f9799d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): internal/txcommon/txcommon.go:111-122 | internal/txcommon/txcommon.go:303-314 \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":"internal/txcommon/txcommon.go"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"3693f9cff4b7d336e021e36c95d99375b1f6fa07b4c334b7339c0ce32f95b8ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): internal/blockchain/fabric/eventstream.go:35-67 | internal/blockchain/tezos/eventstream.go:36-66 \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/blockchain/fabric/eventstream.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"73527240984c9f79eed3c0b8e43aaaf46a411807bf40b91a872938dfac7b91e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): internal/events/aggregator.go:264-272 | internal/events/event_dispatcher.go:183-191 \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/events/aggregator.go"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"07765dc025f347d6663650b35e59386c6075a03cf49f5d37288441043ebd352e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): internal/events/websockets/websockets.go:116-129 | internal/events/websockets/websockets.go:131-148 | internal/spievents/manager.go:70-82 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/events/websockets/websockets.go"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7481e686afc5bf408ddef3b612077e1b9b655731eba64a971735cde70d9ddfa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): internal/orchestrator/data_query.go:319-331 | internal/orchestrator/data_query.go:333-345 \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/orchestrator/data_query.go"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9e81fe066a69515864060f3944b3300e6d3eab0926727f1453a62fd96854288"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): internal/orchestrator/persistence_events.go:26-37 | internal/orchestrator/persistence_events.go:49-62 \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":"internal/orchestrator/persistence_events.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fefa834a515c3a48f8386073a6d82c59d553af72c926ef501a1433c70bf5d91"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): internal/blockchain/ethereum/eventstream.go:198-209 | internal/blockchain/fabric/eventstream.go:174-184 \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/blockchain/ethereum/eventstream.go"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"41b6d8b42c2cc417243b8c63c54fc2acf06014154f1505ce3a56faee3e9a1e1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): internal/broadcast/message.go:45-57 | internal/privatemessaging/message.go:45-57 \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/broadcast/message.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"f23f4f4f7fb6bbdb939ea780c88fe8156c680350e4b90a7d377830be4255ea42"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (8 members, 12\u002B corresponding lines): internal/blockchain/ethereum/eventstream.go:160-171 | internal/blockchain/ethereum/eventstream.go:184-196 | internal/blockchain/ethereum/eventstream.go:281-292 | internal/blockchain/fabric/eventstream.go:136-147 | internal/blockchain/fabric/eventstream.go:160-172 | internal/blockchain/fabric/eventstream.go:260-271 | internal/blockchain/tezos/eventstream.go:153-165 | internal/blockchain/tezos/eventstream.go:205-216 \u2014 These 8 members are one piece of code written 8 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 8 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/blockchain/ethereum/eventstream.go"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6d31ed678d511e4ba96aaf42facb5528000809ceffbb5e4c89b3ae130cc8cd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): internal/events/subscription_manager.go:424-434 | internal/events/websockets/websockets.go:194-207 \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/events/subscription_manager.go"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e8b3fd3963b4972fb3ca7ca745b39aa9c1b4b299fc908b3845f43282b3b5e6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 15\u002B corresponding lines): internal/database/sqlcommon/blob_sql.go:118-134 | internal/database/sqlcommon/event_sql.go:152-170 | internal/database/sqlcommon/nextpin_sql.go:70-84 | internal/database/sqlcommon/pin_sql.go:154-172 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/database/sqlcommon/blob_sql.go"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3a88a554c605ea56a07ae2bb9681d4fb00fbc831652c08de87eef129e854b42"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): internal/database/sqlcommon/group_sql.go:234-248 | internal/database/sqlcommon/verifier_sql.go:130-144 \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/database/sqlcommon/group_sql.go"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"7905fc27709a2bf9d383a645b84ba8800292a323ae139ab827d8d3a7f6d232fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 10\u002B corresponding lines): internal/syncasync/sync_async_bridge.go:183-192 | internal/syncasync/sync_async_bridge.go:194-203 | internal/syncasync/sync_async_bridge.go:205-214 | internal/syncasync/sync_async_bridge.go:230-239 | internal/syncasync/sync_async_bridge.go:241-251 | internal/syncasync/sync_async_bridge.go:253-262 \u2014 These 6 members are one piece of code written 6 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/syncasync/sync_async_bridge.go"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"c587739e2f7870a00c674a5e0fb8039eef9f37d5b813a4c4f3ae00f0f79125c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): internal/blockchain/ethereum/eventstream.go:86-95 | internal/blockchain/fabric/eventstream.go:79-88 | internal/blockchain/tezos/eventstream.go:77-86 \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/blockchain/ethereum/eventstream.go"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"853bef54a10baf737d2014601295f8e2dc36ba3ef17bd2c5818eab0b9458c579"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): internal/blockchain/ethereum/eventstream.go:173-182 | internal/blockchain/fabric/eventstream.go:149-158 | internal/blockchain/tezos/eventstream.go:142-151 \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/blockchain/ethereum/eventstream.go"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"26f15d0bdac7d6891f6cb0bfc8b7ec31d7f5f0cc2bbf90bf875cab39ed44f4ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): internal/database/sqlcommon/blockchainevents_sql.go:77-84 | internal/database/sqlcommon/contractapis_sql.go:99-106 | internal/database/sqlcommon/ffi_sql.go:90-97 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/database/sqlcommon/blockchainevents_sql.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"76d6ec543922b2825f7e8618cb6da543bb501afa5bdc99f4987b264c5bacffa7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): internal/operations/manager.go:82-91 | internal/operations/manager.go:304-311 \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/operations/manager.go"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"34625fa1c9e7bd2339f304698e97b5d171b1b293d8aac38134a76d062e96cd38"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): internal/events/websockets/websocket_connection.go:479-495 | internal/spievents/websockets.go:188-202 \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/events/websockets/websocket_connection.go"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"86c204eb3ce1fd3deef9bbafe126f41334df5bca2d1588325c4eeab9d0f130d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): smart_contracts/fabric/custompin-sample/chaincode/contract.go:19-29 | smart_contracts/fabric/firefly-go/chaincode/contract.go:15-30 | smart_contracts/fabric/firefly-go/chaincode/contract.go:32-44 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"smart_contracts/fabric/custompin-sample/chaincode/contract.go"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"91054f8ca87fd43135e4cbfc4795cbbf53b5adf96b974fe4e729314205f624a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): internal/broadcast/operations.go:143-154 | internal/shareddownload/operations.go:99-108 \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/broadcast/operations.go"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"66fc93b42086e8bead8dd6dea5d0033c7d5a89a3dce6c077af26104d28336839"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): internal/data/message_writer.go:142-151 | internal/events/blob_receiver.go:104-110 | internal/txwriter/txwriter.go:129-138 \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/data/message_writer.go"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e0bb085944b97f92177ef97479ca2c06cf7c39bf7e7c6af7d7201364bb4e2d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 16\u002B corresponding lines): internal/syncasync/sync_async_bridge.go:353-368 | internal/syncasync/sync_async_bridge.go:387-402 | internal/syncasync/sync_async_bridge.go:422-437 | internal/syncasync/sync_async_bridge.go:439-454 | internal/syncasync/sync_async_bridge.go:456-471 | internal/syncasync/sync_async_bridge.go:473-488 | internal/syncasync/sync_async_bridge.go:490-505 \u2014 These 7 members are one piece of code written 7 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 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/syncasync/sync_async_bridge.go"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"61532b0fa05d59b65799fa5492d0ce2f81f6bcdd54aefbb2325222a04aae202e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 11\u002B corresponding lines): internal/broadcast/manager.go:175-190 | internal/networkmap/data_query.go:91-104 | internal/networkmap/data_query.go:210-223 | internal/orchestrator/data_query.go:55-65 | internal/orchestrator/data_query.go:179-189 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/broadcast/manager.go"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"99b56a0fae63cfb5cefb2bb9ef7b4ec8464566173d9ee2f3e0389c875997ac63"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 8\u002B corresponding lines): internal/contracts/operations.go:49-56 | internal/txcommon/contract_inputs.go:40-49 | internal/txcommon/token_inputs.go:36-43 | internal/txcommon/token_inputs.go:64-71 | internal/txcommon/token_inputs.go:81-88 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/contracts/operations.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a66b167b7433c135d2f130eb4d12f383a43260bbc05f9a93df60ee291bb1307"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): pkg/core/namespace.go:100-112 | pkg/core/subscription.go:189-198 | pkg/core/subscription.go:209-226 \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":"pkg/core/namespace.go"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"e02a794e365b3f35b3378d66631400cf2425b328e7cc28e925a68effb26f7b41"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): internal/events/event_enrich.go:47-57 | internal/tokens/fftokens/fftokens.go:880-890 \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/events/event_enrich.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"2652d86bc5374a55ba79d12fa03f816ce10ba79f2cea34d446976897e9cd90c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): internal/namespace/manager.go:1090-1100 | internal/namespace/manager.go:1102-1113 \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/namespace/manager.go"},"region":{"startLine":1090}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f1979c9fd97e21ed9d86607afacfe6cfb0d0f40b18cf17541c3cb95b28f638a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): smart_contracts/fabric/custompin-sample/custompin.go:14-23 | smart_contracts/fabric/firefly-go/firefly.go:14-23 \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":"smart_contracts/fabric/custompin-sample/custompin.go"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c79030f886177769b72a08cc07b47a8f07a229031081134ecf884ad45191279"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): internal/dataexchange/ffdx/ffdx.go:239-248 | internal/events/websockets/websockets.go:81-90 | internal/tokens/fftokens/fftokens.go:385-393 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/dataexchange/ffdx/ffdx.go"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"f45fcc7cb179e45e72f1d0c7a21ff2636b06b39c908e53cfd1e445d969e03998"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): internal/blockchain/cardano/cardano.go:431-437 | internal/blockchain/fabric/fabric.go:1000-1009 \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/blockchain/fabric/fabric.go"},"region":{"startLine":1000}}}],"partialFingerprints":{"codehealthFindingId/v1":"53e52a4997922263bc0f2d309eb30a408f7feccf044f51fa36e109e51671bff4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): internal/sharedstorage/ssfactory/factory.go:34-40 | internal/tokens/tifactory/factory.go:34-41 \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/sharedstorage/ssfactory/factory.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4fd6f5a086dfe1039317dce760f01a46826ed9a86965a49b51996dd5ec00a56"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): internal/assets/token_transfer.go:36-42 | internal/orchestrator/data_query.go:100-106 \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/assets/token_transfer.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"78214c625f77b68b4bdb6f903e89925c24dfb0937a9db8b98505f27b361ba49e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 5\u002B corresponding lines): smart_contracts/corda/cordapp_kat/kat-flows/src/main/java/io/kaleido/kat/flows/CreateAssetInstanceBatchFlow.java:37-41 | smart_contracts/corda/cordapp_kat/kat-flows/src/main/java/io/kaleido/kat/flows/CreateAssetInstanceFlow.java:41-45 | smart_contracts/corda/cordapp_kat/kat-flows/src/main/java/io/kaleido/kat/flows/CreateDescribedAssetInstanceFlow.java:44-48 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 5 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"smart_contracts/corda/cordapp_kat/kat-flows/src/main/java/io/kaleido/kat/flows/CreateAssetInstanceBatchFlow.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"010d93d7021064236d6ce1debbb6b3c193cadfc879d3535453631f1ed4fec9fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): internal/events/eifactory/factory.go:51-57 | internal/events/subscription_manager.go:258-264 \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/events/eifactory/factory.go"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"70883567919438fea7646daa8a1019cf0f6d66ce9ac37f28f9d8677c61e85de9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): internal/database/sqlcommon/event_sql.go:81-92 | internal/database/sqlcommon/transaction_sql.go:61-70 \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/database/sqlcommon/event_sql.go"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"7988a14365dd75da46159702b9f7378ba5171520a95cc9efd547c6d983696d83"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): smart_contracts/corda/cordapp_kat/kat-contracts/src/main/java/io/kaleido/kat/states/AssetInstanceCreated.java:34-40 | smart_contracts/corda/cordapp_kat/kat-contracts/src/main/java/io/kaleido/kat/states/DescribedAssetInstanceCreated.java:35-42 \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":"smart_contracts/corda/cordapp_kat/kat-contracts/src/main/java/io/kaleido/kat/states/AssetInstanceCreated.java"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7ed19604acb9f9a0ff9b947d75e3a95429171353d1dcabe9bd0532cd1b93e52"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): internal/database/sqlcommon/ffi_events_sql.go:172-174 | internal/database/sqlcommon/ffi_methods_sql.go:176-178 \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/database/sqlcommon/ffi_events_sql.go"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"6587a23377f2efb2e5789ca2ab19d0224acc1e9ae6a9343c972f00f3f1eddb1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41\u201342 lines \u00D7 2): internal/blockchain/ethereum/address_resolver.go:59-100 | internal/blockchain/tezos/address_resolver.go:58-98 \u2014 \u0060internal/blockchain/ethereum/address_resolver.go\u0060 and \u0060internal/blockchain/tezos/address_resolver.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 102 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/blockchain/ethereum/address_resolver.go"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"27167f45ee03944d820c96ad42c037438b77ce7d89c6ff3c5173b40e0216b831"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): internal/blockchain/ethereum/address_resolver.go:104-140 | internal/blockchain/tezos/address_resolver.go:101-137 \u2014 \u0060internal/blockchain/ethereum/address_resolver.go\u0060 and \u0060internal/blockchain/tezos/address_resolver.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 102 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/blockchain/ethereum/address_resolver.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"51fd616b0cdc01a441e27583f74a4491b21209dcedbf38815bb65e948e0593d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): internal/blockchain/cardano/cardano.go:650-682 | internal/blockchain/ethereum/ethereum.go:310-342 \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/blockchain/ethereum/ethereum.go"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bb1a5f2a2f734dcc3fc4312de5829031c234463481e0640453092bc743b8234"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): internal/blockchain/common/common.go:421-453 | internal/blockchain/common/common.go:463-495 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/blockchain/common/common.go"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a6d88e10fbb13046bc010cc7b6c91174dbe4c01ad48ff7001fb4332e49cec5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): internal/broadcast/manager.go:221-251 | internal/broadcast/manager.go:272-302 \u2014 both copies are in the same file, so extract the block 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/broadcast/manager.go"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bb30abd4ee841bda840bb65567ce2b85a990961e435609c947eb89405d5fd94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): internal/blockchain/ethereum/ethereum.go:218-244 | internal/blockchain/fabric/fabric.go:269-295 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/blockchain/ethereum/ethereum.go:218\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/blockchain/ethereum/ethereum.go"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"ade2d52201ba4e47be55502763ca064bafded900c767f71e9d17b39f0a3ca5b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): smart_contracts/fabric/custompin-sample/batchpin/batchpin.go:30-55 | smart_contracts/fabric/firefly-go/batchpin/batchpin.go:30-55 \u2014 before extracting anything, compare \u0060smart_contracts/fabric/custompin-sample/batchpin/batchpin.go\u0060 and \u0060smart_contracts/fabric/firefly-go/batchpin/batchpin.go\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"smart_contracts/fabric/custompin-sample/batchpin/batchpin.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"72410fe7c1831108a84878c5a898e496056868cb1c2757b70c714932e55b9480"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): internal/database/sqlcommon/contractlisteners_sql.go:70-94 | internal/database/sqlcommon/subscription_sql.go:63-87 \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/database/sqlcommon/contractlisteners_sql.go:70\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/database/sqlcommon/contractlisteners_sql.go"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"40a302622a388eb8a35b1b3468d241582082f21e2cc1bc8b333b342a9ff8abb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): internal/definitions/sender_contracts.go:154-175 | internal/definitions/sender_tokenpool.go:75-96 \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/definitions/sender_contracts.go"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf2bb394cbf040d539017b452253affaf83efc7554fa73e3286155a11c2723ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): internal/blockchain/ethereum/abi_definitions.go:31-51 | internal/blockchain/ethereum/abi_definitions.go:58-78 \u2014 both copies are in the same file, so extract the block 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/blockchain/ethereum/abi_definitions.go:31\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/blockchain/ethereum/abi_definitions.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dd380ac75349ab5a09da5543f35eba979471d56aef41f4ec8b613956d29f566"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): internal/blockchain/ethereum/eventstream.go:213-233 | internal/blockchain/fabric/eventstream.go:188-208 \u2014 \u0060internal/blockchain/ethereum/eventstream.go\u0060 and \u0060internal/blockchain/fabric/eventstream.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 7 separate duplicated blocks between them, totalling at least 75 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/blockchain/ethereum/eventstream.go:213\u0060 it does not close everything it opens, so those exact 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/blockchain/ethereum/eventstream.go"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"80819f62ee0fc676d5da73ca5a5a4d0aedb6a4acdb64261100c4a0af3c55dcde"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): internal/events/tokens_approved.go:88-107 | internal/events/tokens_transferred.go:79-99 \u2014 before extracting anything, compare \u0060internal/events/tokens_approved.go\u0060 and \u0060internal/events/tokens_transferred.go\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 62 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/events/tokens_approved.go:88\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/events/tokens_approved.go"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f2c55dfb21612206d13dec985efd207056f15044bc3d151dba4e680f7695acd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): internal/blockchain/ethereum/ethereum.go:175-194 | internal/blockchain/fabric/fabric.go:226-245 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/blockchain/ethereum/ethereum.go"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"436a3cc6b2d521ec56edb4eff87e3276539cc6f4c44f955e42c0f810bb80dd21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): internal/events/tokens_approved.go:136-155 | internal/events/tokens_transferred.go:132-151 \u2014 before extracting anything, compare \u0060internal/events/tokens_approved.go\u0060 and \u0060internal/events/tokens_transferred.go\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 62 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/events/tokens_approved.go:136\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/events/tokens_approved.go"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"879f0bcba9f6bbac0a85ac6243af76eed3b72568b84cad12cdfa090001586e16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): internal/blockchain/ethereum/ethereum.go:452-470 | internal/blockchain/fabric/fabric.go:505-523 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/blockchain/ethereum/ethereum.go:452\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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/blockchain/ethereum/ethereum.go"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7e85704583c3cae84a36645c57f0581f5e682020455d8ee3c6e1352fcfc7006"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): internal/definitions/handler_identity_claim.go:247-265 | internal/definitions/handler_identity_update.go:88-106 \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/definitions/handler_identity_claim.go:247\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/definitions/handler_identity_claim.go"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8743120d1566ad0f3cecf0315b9262af8b09a24f102e9be063d9ed20c5461a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): internal/blockchain/cardano/cardano.go:527-544 | internal/blockchain/ethereum/ethereum.go:458-475 | internal/blockchain/fabric/fabric.go:511-528 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/blockchain/cardano/cardano.go:527\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060string\u0060 to \u0060c *Cardano) eventLoop(namespace\u0060 in one and \u0060subID\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/blockchain/ethereum/ethereum.go"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"c16efd03b80d0771d94f8643bfd52a8fd9366851777555d6ce17aad37ba26082"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): internal/blockchain/cardano/cardano.go:354-371 | internal/blockchain/ethereum/ethereum.go:854-871 \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/blockchain/ethereum/ethereum.go"},"region":{"startLine":854}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ad213603e66867cea5b587d8443c311a18f5d1c450595119228c83456b3f6ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): internal/blockchain/ethereum/ethereum.go:141-157 | internal/blockchain/tezos/tezos.go:148-164 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/blockchain/ethereum/ethereum.go"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"10837c1d6d8975a75ca4b2cfb23eae3c27e111785b1d997f6864310542da3990"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): internal/blockchain/ethereum/ethereum.go:613-627 | internal/blockchain/ethereum/ethereum.go:759-774 \u2014 both copies are in the same file, so extract the block 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/blockchain/ethereum/ethereum.go:613\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060internal/blockchain/ethereum/ethereum.go:775\u0060 calls \u0060Contains\u0060, \u0060Body\u0060, \u0060NewError\u0060 and \u0060internal/blockchain/ethereum/ethereum.go:629\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/blockchain/ethereum/ethereum.go"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcb0d571af595e919fcdc1c31c4ceba3f19200c72ce8978a4f5c3547c732910c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): internal/blockchain/ethereum/ethereum.go:1230-1244 | internal/blockchain/tezos/tezos.go:586-601 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/blockchain/ethereum/ethereum.go:1230\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/blockchain/ethereum/ethereum.go"},"region":{"startLine":1230}}}],"partialFingerprints":{"codehealthFindingId/v1":"1334e01422dd5ee010c2e8b94cc1646853c486d9f7a4ea3bc6102e5f549d79d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): internal/blockchain/tezos/tezos.go:332-347 | internal/blockchain/tezos/tezos.go:633-647 \u2014 both copies are in the same file, so extract the block 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/blockchain/tezos/tezos.go:332\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/blockchain/tezos/tezos.go"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"058232d8341a6a692a870939146093548eea38b3c97d8b67d1758cc7206d2891"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): internal/assets/token_transfer.go:123-137 | internal/assets/token_transfer.go:141-155 | internal/assets/token_transfer.go:159-173 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/assets/token_transfer.go:123\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/assets/token_transfer.go"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"e97c1b7c6730c1bde758bbb2c52c656e9419f7d9d1b9dcab715655a7d3be21f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): internal/blockchain/ethereum/ethereum.go:1195-1209 | internal/blockchain/tezos/tezos.go:551-565 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/blockchain/ethereum/ethereum.go:1195\u0060 it does not close everything it opens, so those exact 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/blockchain/ethereum/ethereum.go"},"region":{"startLine":1195}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8ddbf6e027077217a5d8bc4ed9818f495e5a84135be935b14706d4f73d85b49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): internal/blockchain/cardano/cardano.go:533-546 | internal/blockchain/ethereum/ethereum.go:464-477 | internal/blockchain/fabric/fabric.go:517-530 | internal/blockchain/tezos/tezos.go:795-808 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/blockchain/cardano/cardano.go:533\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060string\u0060 to \u0060c *Cardano) eventLoop(namespace\u0060 in one and \u0060subID\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/blockchain/ethereum/ethereum.go"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a8fe091d0ca72a92c61c20944b76819ebd8aff344be3e04dcfdd2dcc08e0c1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): internal/blockchain/cardano/cardano.go:354-367 | internal/blockchain/ethereum/ethereum.go:854-867 | internal/blockchain/tezos/tezos.go:410-424 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/blockchain/ethereum/ethereum.go"},"region":{"startLine":854}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fc0d233c53cf1145574a50976771d9c00633710904995c046b510826d811484"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): internal/apiserver/server.go:253-266 | internal/apiserver/server.go:275-288 \u2014 both copies are in the same file, so extract the block 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/apiserver/server.go"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"28f970bc46dcdfeb7edd664233f14018b5ada6646f7f175ddd6d6a9bbc5b4d8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): internal/blockchain/cardano/cardano.go:453-464 | internal/blockchain/tezos/tezos.go:515-528 \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/blockchain/tezos/tezos.go"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a6afd3d4a59273c0ed2c889a1a3ae3f98923a2bbaf0d698efc57fa81dc87d1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): internal/blockchain/cardano/cardano.go:562-574 | internal/blockchain/ethereum/ethereum.go:495-508 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/blockchain/cardano/cardano.go:562\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/blockchain/ethereum/ethereum.go"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"e820f4c38224e77cad23914edd93cc3743030e32f51659a2b37224661d27ccc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): internal/blockchain/ethereum/ethereum.go:382-395 | internal/blockchain/fabric/fabric.go:401-413 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/blockchain/ethereum/ethereum.go:382\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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/blockchain/ethereum/ethereum.go"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"324d2415ea7c3578ab58579d628bf2e0ecf7db6cd45f156384a853dce0f5e01b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): internal/database/sqlcommon/contractapis_sql.go:142-155 | internal/database/sqlcommon/tokenpool_sql.go:183-196 \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/database/sqlcommon/contractapis_sql.go:142\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/database/sqlcommon/contractapis_sql.go"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"99cb46edce669a0165836e5d9a1ec370cbc69a585c71248b99658b6638fb6ed9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): internal/dataexchange/ffdx/dxevent.go:105-118 | internal/dataexchange/ffdx/dxevent.go:145-158 \u2014 both copies are in the same file, so extract the block 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/dataexchange/ffdx/dxevent.go"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"adb64893051d81e1626a069703381b2d70c3716aab78e20137514d9f35f7b857"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): internal/apiserver/ffi2swagger.go:184-196 | internal/apiserver/ffi2swagger.go:218-230 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/apiserver/ffi2swagger.go:184\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060internal/apiserver/ffi2swagger.go:217\u0060 calls \u0060Expand\u0060 and \u0060internal/apiserver/ffi2swagger.go:183\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":"internal/apiserver/ffi2swagger.go"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"d64680191389c4063c4705dec89f93d5fa44dbf2e6caf5f3530a39ddb4b97c9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): internal/blockchain/cardano/cardano.go:525-537 | internal/tokens/fftokens/fftokens.go:742-754 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/blockchain/cardano/cardano.go:525\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060internal/blockchain/cardano/cardano.go:524\u0060 calls \u0060close\u0060 and \u0060internal/tokens/fftokens/fftokens.go:741\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/tokens/fftokens/fftokens.go"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"89f3c231b48e414b557a607ba2cf6a633c9dd673622dd2f7f6ce77ceb7d10040"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): internal/blockchain/cardano/eventstream.go:118-130 | internal/blockchain/tezos/eventstream.go:128-140 \u2014 \u0060internal/blockchain/cardano/eventstream.go\u0060 and \u0060internal/blockchain/tezos/eventstream.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 49 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/blockchain/cardano/eventstream.go:118\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/blockchain/tezos/eventstream.go"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"e387b4486a0e2f819a45ff096fabc5b7749ad7aefb5a4c303aa74ebec82afe78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): internal/blockchain/ethereum/eventstream.go:238-250 | internal/blockchain/fabric/eventstream.go:213-225 \u2014 \u0060internal/blockchain/ethereum/eventstream.go\u0060 and \u0060internal/blockchain/fabric/eventstream.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 7 separate duplicated blocks between them, totalling at least 75 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/blockchain/ethereum/eventstream.go:238\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/blockchain/ethereum/eventstream.go"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"68f07e0f272186b2db1a470da5acc9e1a69ee26dfe5e3811bdee6426320533af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): internal/blockchain/tezos/tezos.go:787-799 | internal/dataexchange/ffdx/ffdx.go:575-587 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/blockchain/tezos/tezos.go:787\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060internal/blockchain/tezos/tezos.go:786\u0060 calls \u0060close\u0060 and \u0060internal/dataexchange/ffdx/ffdx.go:574\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":"internal/blockchain/tezos/tezos.go"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"e32d77a4db431939e0f3c3218f8d59f692a6035a86b6243031f301f09cb2c47b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): internal/database/sqlcommon/contractapis_sql.go:113-125 | internal/database/sqlcommon/ffi_sql.go:105-117 \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/database/sqlcommon/contractapis_sql.go:113\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/database/sqlcommon/contractapis_sql.go"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e70aa8abbe9c2203821b966e879c01bbfd6b0d971246fedd8ce123f150b60db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): internal/blockchain/cardano/eventstream.go:116-127 | internal/blockchain/ethereum/eventstream.go:138-149 | internal/blockchain/tezos/eventstream.go:126-137 \u2014 \u0060internal/blockchain/cardano/eventstream.go\u0060 and \u0060internal/blockchain/tezos/eventstream.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 49 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/blockchain/cardano/eventstream.go:116\u0060 it does not close everything it opens, so those exact 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/blockchain/ethereum/eventstream.go"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b844eda60c358b33e9801900bf5f3e42fc6f3a4db35352f66b2f78cd1e9da5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): pkg/core/contract_listener.go:86-97 | pkg/core/contract_listener.go:106-117 | pkg/core/contract_listener.go:126-137 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/core/contract_listener.go"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"139cb330108eb24a629c606f5d621aba476e86fabfe9eaee4e31e3981a73e151"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): internal/apiserver/routes.go:181-192 | internal/apiserver/spi_routes.go:40-51 \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/apiserver/routes.go:181\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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/apiserver/routes.go"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"8853d7035d3a8664dabe34e43924b411f1c23d5386f40bbe27848a6864fc2470"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): internal/blockchain/cardano/cardano.go:95-106 | internal/blockchain/ethereum/ethereum.go:155-166 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/blockchain/ethereum/ethereum.go"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"c711bf7cce4d3d9d37245805f95e2d36d62de41ba82ca77c764feb973435d61f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): internal/events/tokens_approved.go:158-169 | internal/events/tokens_transferred.go:154-165 \u2014 before extracting anything, compare \u0060internal/events/tokens_approved.go\u0060 and \u0060internal/events/tokens_transferred.go\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 62 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/events/tokens_approved.go:158\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/events/tokens_approved.go"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e17ffebdc678c4663d4cbe81017f882c53e9b10e07c685aeb100f2dbde753e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): pkg/core/operation.go:119-130 | pkg/core/operation.go:137-148 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/core/operation.go:119\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/core/operation.go"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9964f3266f37d82a30f0ca2d1f16e7a47a4bd7cbc8024e6b88e82185fb58b1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/blockchain/ethereum/ethereum.go:553-563 | internal/blockchain/tezos/tezos.go:295-305 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/blockchain/ethereum/ethereum.go:553\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/blockchain/ethereum/ethereum.go"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"099a249efe1c068dab748be9325a48a698aa03e1c92fbbf49864dc04c8b0f55f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/blockchain/ethereum/ethereum.go:758-768 | internal/blockchain/tezos/tezos.go:331-341 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/blockchain/ethereum/ethereum.go"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"af5b36ccd4cb8babc3fa8083a93675d439cc221d3a5cc4e0c5d400f2406222b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/contracts/manager.go:347-357 | internal/contracts/manager.go:388-398 \u2014 both copies are in the same file, so extract the block 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/contracts/manager.go:347\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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/contracts/manager.go"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"969270d6fa5939f0803291e4fdda45610d36bc4305dd36bf7268512b8b86c5b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/dataexchange/ffdx/dxevent.go:93-103 | internal/dataexchange/ffdx/dxevent.go:133-143 \u2014 both copies are in the same file, so extract the block 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/dataexchange/ffdx/dxevent.go"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6ed2a4dc46a7b5da14283bb0abb6848bf10946b515a0b1b1b89cee633e7c45b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): internal/blockchain/ethereum/ethereum.go:613-622 | internal/blockchain/ethereum/ethereum.go:759-769 | internal/blockchain/tezos/tezos.go:332-342 | internal/blockchain/tezos/tezos.go:633-643 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/blockchain/ethereum/ethereum.go:613\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060internal/blockchain/ethereum/ethereum.go:625\u0060 calls \u0060StatusCode\u0060 and \u0060internal/blockchain/tezos/tezos.go:343\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/blockchain/ethereum/ethereum.go"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"63f26b802c7514d7a8b5e2238c11a39b2cbc335337e1ae9a8dc4c308910c2a8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/blockchain/ethereum/ethereum.go:640-649 | internal/blockchain/tezos/tezos.go:655-665 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/blockchain/ethereum/ethereum.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/blockchain/ethereum/ethereum.go"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"3df2a207b2248e624482684b9158efba1462d79e5b4775492e33eb1828b88d7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/blockchain/ethereum/ethereum.go:1213-1222 | internal/blockchain/tezos/tezos.go:569-578 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/blockchain/ethereum/ethereum.go:1213\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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/blockchain/ethereum/ethereum.go"},"region":{"startLine":1213}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1b754afe61ad72e9e0a42b8f8a1f126583de56695acc88c53f94dcbfd246a74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/broadcast/operations.go:94-103 | internal/privatemessaging/operations.go:122-131 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060internal/privatemessaging/operations.go:120\u0060 calls \u0060NewError\u0060 and \u0060internal/broadcast/operations.go:92\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/broadcast/operations.go"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"74c25f75e3eef7e6de535c30cc79ddfd7740de8283681b68e5eb6fbb6586cd38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/database/sqlcommon/data_sql.go:305-314 | internal/database/sqlcommon/data_sql.go:333-342 \u2014 both copies are in the same file, so extract the block 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/database/sqlcommon/data_sql.go:305\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/database/sqlcommon/data_sql.go"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"77fb447cf286df4162ed898da74927882b6cd8f661551c62e3d352bf3ccaeadc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/database/sqlcommon/nextpin_sql.go:121-130 | internal/database/sqlcommon/pin_sql.go:180-189 \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/database/sqlcommon/nextpin_sql.go:121\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. 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/database/sqlcommon/nextpin_sql.go"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"1366a8469628aff1aa90f7eccc477cc9736ecb86da438ae158911fef79429380"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/database/sqlcommon/tokenbalance_sql.go:184-193 | internal/database/sqlcommon/tokenbalance_sql.go:210-219 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/database/sqlcommon/tokenbalance_sql.go:184\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/database/sqlcommon/tokenbalance_sql.go"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a8675b7d504602e1cf1d89b1d287e0d97fbd5619f3011c8984ac70e4fc2b32e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/events/system/events.go:76-85 | internal/events/webhooks/webhooks.go:105-114 \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/events/system/events.go"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"1da0550f0b30acf3ed2f7ad57a9d0aed471fb96142e2000486ffff5695f72ad2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): internal/apiserver/route_post_contract_api_invoke.go:42-50 | internal/apiserver/route_post_contract_deploy.go:39-47 | internal/apiserver/route_post_contract_invoke.go:39-47 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/apiserver/route_post_contract_api_invoke.go:42\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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/apiserver/route_post_contract_api_invoke.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"55ed234ce6826762c610231fe6b021ea79fb70ca18bfd7c4b6756ebcfe982e42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): internal/blockchain/cardano/cardano.go:374-382 | internal/blockchain/ethereum/ethereum.go:882-890 | internal/blockchain/tezos/tezos.go:740-748 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/blockchain/ethereum/ethereum.go"},"region":{"startLine":882}}}],"partialFingerprints":{"codehealthFindingId/v1":"82ec31efb1222c4a8c47817df69cfc9f676c5fd669f67764a394bee8e7eabc0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): internal/blockchain/cardano/cardano.go:492-500 | internal/blockchain/ethereum/ethereum.go:1198-1206 | internal/blockchain/tezos/tezos.go:554-562 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/blockchain/cardano/cardano.go:492\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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/blockchain/ethereum/ethereum.go"},"region":{"startLine":1198}}}],"partialFingerprints":{"codehealthFindingId/v1":"43240eb39289cc896cd06725de06f64220732b6bf4a9ae04b2723fbe10c6a0e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): internal/database/sqlcommon/ffi_errors_sql.go:59-67 | internal/database/sqlcommon/ffi_events_sql.go:61-69 | internal/database/sqlcommon/ffi_methods_sql.go:62-70 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/database/sqlcommon/ffi_errors_sql.go:59\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/database/sqlcommon/ffi_errors_sql.go"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"639bbd5d99630e77880fc1667b0996b010a83a69daa874097769126dd81c8558"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): internal/definitions/handler_contracts.go:181-189 | internal/definitions/handler_contracts.go:218-226 | internal/definitions/handler_tokenpool.go:45-53 \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/definitions/handler_contracts.go"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"c519cb5c973761e31364cdf4895cbdf2df42cd36f21f72ddcf33e4afcabee41e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): internal/apiserver/route_get_contract_api_listeners.go:38-46 | internal/apiserver/route_get_contract_listeners.go:35-43 \u2014 before extracting anything, compare \u0060internal/apiserver/route_get_contract_api_listeners.go\u0060 and \u0060internal/apiserver/route_get_contract_listeners.go\u0060 as WHOLE FILES: 82% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/apiserver/route_get_contract_api_listeners.go:38\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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/apiserver/route_get_contract_api_listeners.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"2faf38be0f2163582ad2c6ef7054c9c682c142490350f7fb78975ff86a9cb497"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): internal/apiserver/route_get_namespace.go:37-49 | internal/apiserver/route_spi_get_namespace_by_name.go:36-48 \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/apiserver/route_get_namespace.go:37\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/apiserver/route_get_namespace.go"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a13805cc8a26b392efb9f793079af758bde65f6eb696fe0d748e666cf068cb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/apiserver/route_post_contract_api_query.go:38-47 | internal/apiserver/route_post_contract_query.go:35-44 \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/apiserver/route_post_contract_api_query.go:38\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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/apiserver/route_post_contract_api_query.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a03f2fff9019e15e6d99b873f99f11c504ca6823ae822774a443894f6453d9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): internal/assets/operations.go:74-82 | internal/assets/operations.go:87-95 \u2014 both copies are in the same file, so extract the block 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/assets/operations.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7527de53a826f385e1be9d958ab9f93cdd7b9fe12db9efbc7f5574d0a2d6768"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): internal/blockchain/ethereum/address_resolver.go:143-151 | internal/blockchain/tezos/address_resolver.go:140-148 \u2014 \u0060internal/blockchain/ethereum/address_resolver.go\u0060 and \u0060internal/blockchain/tezos/address_resolver.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 102 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/blockchain/ethereum/address_resolver.go:143\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/blockchain/ethereum/address_resolver.go"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"59c7151a040d6b0d4429da7fb0b08dd3922520e8a198a1ba51b5218584f622ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): internal/blockchain/ethereum/ethereum.go:403-411 | internal/blockchain/fabric/fabric.go:459-467 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/blockchain/ethereum/ethereum.go:403\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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/blockchain/ethereum/ethereum.go"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4f9af2b07061e7433569847a05d3aa4a6b940a9a08f7938d4d4c6830fbb9783"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): internal/blockchain/fabric/fabric.go:972-980 | internal/blockchain/tezos/tezos.go:444-452 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/blockchain/fabric/fabric.go"},"region":{"startLine":972}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed1bf8b8c59e5cac1cb0bf2f7bef18122ebd1c7d510f15f43ffc8c2fdd2f9d9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): internal/broadcast/operations.go:91-99 | internal/multiparty/operations.go:82-90 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/broadcast/operations.go"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"dafcc52d249384dfbdbebb205e937558c7a3a6eb57c38c993f93f1b8600b66ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): internal/database/sqlcommon/tokenbalance_sql.go:211-219 | internal/database/sqlcommon/tokenbalance_sql.go:239-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/database/sqlcommon/tokenbalance_sql.go"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"b188c0ca04ca3b7437136fcaa3831f142085396f6801a0f727608c82ae943c70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): internal/privatemessaging/operations.go:87-95 | internal/privatemessaging/operations.go:107-115 \u2014 both copies are in the same file, so extract the block 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/privatemessaging/operations.go"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3222a763e7cfdaee4596da35830776ec3876d2e7867e647849d945a1b8a4e51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): internal/apiserver/route_post_new_message_broadcast.go:40-47 | internal/apiserver/route_post_new_message_private.go:40-47 | internal/apiserver/route_post_new_node_self.go:40-47 | internal/apiserver/route_post_new_organization.go:40-47 | internal/apiserver/route_post_new_organization_self.go:40-47 \u2014 before extracting anything, compare \u0060internal/apiserver/route_post_new_message_broadcast.go\u0060 and \u0060internal/apiserver/route_post_new_message_private.go\u0060 as WHOLE FILES: 87% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/apiserver/route_post_new_message_broadcast.go:40\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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/apiserver/route_post_new_message_broadcast.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"03c67b62f65d373bb2d931810edb5b13d0d72931fc5834a265bc702a0aa675ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): internal/blockchain/ethereum/eventstream.go:185-192 | internal/blockchain/fabric/eventstream.go:161-168 | internal/blockchain/tezos/eventstream.go:154-161 \u2014 \u0060internal/blockchain/ethereum/eventstream.go\u0060 and \u0060internal/blockchain/fabric/eventstream.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 7 separate duplicated blocks between them, totalling at least 75 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/blockchain/ethereum/eventstream.go:185\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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/blockchain/ethereum/eventstream.go"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba8eee87ac1af5df05d61587db361f93c7bcfa88ffa9f7ccbc447d9d4d77d8b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/apiserver/route_get_identity_by_did.go:31-38 | internal/apiserver/route_get_net_did.go:31-38 \u2014 before extracting anything, compare \u0060internal/apiserver/route_get_identity_by_did.go\u0060 and \u0060internal/apiserver/route_get_net_did.go\u0060 as WHOLE FILES: 92% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/apiserver/route_get_identity_by_did.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cab72bfa13e433882e20fa284d80208eadb229e37955abdfc182336932b7a92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/blockchain/ethereum/ethereum.go:833-840 | internal/blockchain/tezos/tezos.go:372-380 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/blockchain/ethereum/ethereum.go"},"region":{"startLine":833}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a6de2b255561de894f9172e0e21d8f69f7d69b0d084328b3859e290ba951bf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/events/subscription_manager.go:452-459 | internal/events/subscription_manager.go:494-501 \u2014 both copies are in the same file, so extract the block 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. 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/events/subscription_manager.go"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2d676d7a7587adfdcad5e3ae16a2305797dcc51cb0333c5604c6a9d6c2c8f6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/events/webhooks/webhooks.go:571-578 | internal/events/webhooks/webhooks.go:619-626 \u2014 both copies are in the same file, so extract the block 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/events/webhooks/webhooks.go"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc9e5a87b6e3a27d0030e1388a75ed8f3dc5e7ef3d9da15a6d962cb99d3f67a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/events/websockets/websockets.go:117-124 | internal/events/websockets/websockets.go:133-140 \u2014 both copies are in the same file, so extract the block 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/events/websockets/websockets.go"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb398baade649a128fe17b50dc706cf7dfceb5ff1eea882e899d699423038dac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/events/websockets/websockets.go:196-203 | internal/events/websockets/websockets.go:215-222 \u2014 both copies are in the same file, so extract the block 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/events/websockets/websockets.go:196\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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/events/websockets/websockets.go"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"01b0ad36f9ae7c1c7e0c915b399eef07322e5c37367e1c10c02620823898d138"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/networkmap/data_query.go:39-46 | internal/networkmap/data_query.go:71-78 \u2014 both copies are in the same file, so extract the block 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/networkmap/data_query.go:39\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/networkmap/data_query.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"76e613f20d417abcc5e91fceb1661bc364979e6b3dd76ec12e8babbaeeb1db0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/networkmap/data_query.go:107-114 | internal/networkmap/did.go:48-55 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/networkmap/data_query.go"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"579128a41cc7a383e09c034d541813820c86cfcf3ca6d88888c4d855c84563f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): internal/apiserver/route_post_contract_api_invoke.go:44-50 | internal/apiserver/route_post_contract_deploy.go:41-47 | internal/apiserver/route_post_contract_invoke.go:41-47 | internal/apiserver/route_post_new_contract_api.go:42-48 | internal/apiserver/route_post_new_contract_interface.go:43-49 | internal/apiserver/route_put_contract_api.go:44-50 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 6 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/apiserver/route_post_contract_api_invoke.go:44\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/apiserver/route_post_contract_api_invoke.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a5e7fffe8743bd5b7fec0bc273b6823b149bc08a15ea8821733c9baa34dc247"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): internal/apiserver/route_get_contract_api_interface.go:37-43 | internal/apiserver/route_get_contract_interface.go:40-46 | internal/apiserver/route_get_contract_interface_name_version.go:41-47 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/apiserver/route_get_contract_api_interface.go:37\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/apiserver/route_get_contract_api_interface.go"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"8917cce08a93d2cd49d13cd4d8ca293550bf801400188ba1df4c74fd6f3fc0a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): internal/blockchain/ethereum/eventstream.go:282-288 | internal/blockchain/fabric/eventstream.go:261-267 | internal/blockchain/tezos/eventstream.go:206-212 \u2014 \u0060internal/blockchain/ethereum/eventstream.go\u0060 and \u0060internal/blockchain/fabric/eventstream.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 7 separate duplicated blocks between them, totalling at least 75 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/blockchain/ethereum/eventstream.go:282\u0060 it does not close everything it opens, so those exact 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/blockchain/ethereum/eventstream.go"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"701d941dae0c2142a0b8faf994b2e1927d89bc3ef0bb49272a48387cf5be775b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): ffconfig/migrate/migrations.go:114-120 | ffconfig/migrate/migrations.go:130-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 \u0060ffconfig/migrate/migrations.go:114\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":"ffconfig/migrate/migrations.go"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"b16f25f6ac2bc95f6696c210d1386427e673e74851141c840bdc2f2a9dd2909e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/apiserver/route_post_data_blob_publish.go:37-44 | internal/apiserver/route_post_data_value_publish.go:37-44 \u2014 before extracting anything, compare \u0060internal/apiserver/route_post_data_blob_publish.go\u0060 and \u0060internal/apiserver/route_post_data_value_publish.go\u0060 as WHOLE FILES: 86% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/apiserver/route_post_data_blob_publish.go:37\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/apiserver/route_post_data_blob_publish.go"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"94547d98fe3ee85ecf012efe02ecfda3013e5815e60356f5f0533674f4ff39d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): internal/blockchain/ethereum/eventstream.go:112-118 | internal/blockchain/tezos/eventstream.go:100-106 \u2014 \u0060internal/blockchain/ethereum/eventstream.go\u0060 and \u0060internal/blockchain/tezos/eventstream.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 8 separate duplicated blocks between them, totalling at least 61 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/blockchain/ethereum/eventstream.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/blockchain/ethereum/eventstream.go"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a4cf3ab9edce7d239fea76c99e9578c3d0ef1e44d4ee7213711308c69105021"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): internal/blockchain/ethereum/eventstream.go:125-131 | internal/blockchain/tezos/eventstream.go:113-119 \u2014 \u0060internal/blockchain/ethereum/eventstream.go\u0060 and \u0060internal/blockchain/tezos/eventstream.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 8 separate duplicated blocks between them, totalling at least 61 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/blockchain/ethereum/eventstream.go:125\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/blockchain/ethereum/eventstream.go"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bff2f6bff16ef42da837cd1495363fd2f1ae61fb037a2b71275753dcbb98629"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): internal/blockchain/ethereum/eventstream.go:161-167 | internal/blockchain/fabric/eventstream.go:137-143 \u2014 \u0060internal/blockchain/ethereum/eventstream.go\u0060 and \u0060internal/blockchain/fabric/eventstream.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 7 separate duplicated blocks between them, totalling at least 75 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/blockchain/ethereum/eventstream.go:161\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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/blockchain/ethereum/eventstream.go"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc126f91c4648a4f98418e322d70c2dc8e930c939671ca9af53122c57a9e20ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): internal/database/sqlcommon/tokenbalance_sql.go:227-233 | internal/database/sqlcommon/tokenbalance_sql.go:255-261 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/database/sqlcommon/tokenbalance_sql.go:227\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/database/sqlcommon/tokenbalance_sql.go"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"72cb6bb8b1e65c3a59567920d451684fdd882669b1441a6815f7c7bb4d7e9f88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): internal/dataexchange/ffdx/ffdx.go:575-581 | internal/tokens/fftokens/fftokens.go:742-748 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/dataexchange/ffdx/ffdx.go:575\u0060 it does not close everything it opens, so those exact 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/dataexchange/ffdx/ffdx.go"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"94bf5dbc15d03c37785e614a0992a12314cd7e247f8d763008a70d601d6e03fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 16): internal/apiserver/route_get_contract_api_by_name.go:39-44 | internal/apiserver/route_get_contract_api_interface.go:39-44 | internal/apiserver/route_get_contract_api_listeners.go:42-47 | internal/apiserver/route_get_contract_apis.go:39-44 | internal/apiserver/route_get_contract_interface.go:42-47 | internal/apiserver/route_get_contract_interface_name_version.go:43-48 | internal/apiserver/route_get_contract_interfaces.go:39-44 | internal/apiserver/route_get_contract_listener_by_name_or_id.go:42-47 | internal/apiserver/route_get_contract_listeners.go:39-44 | internal/apiserver/route_post_contract_api_listeners.go:40-45 | internal/apiserver/route_post_contract_api_query.go:40-45 | internal/apiserver/route_post_contract_interface_generate.go:37-42 | internal/apiserver/route_post_contract_listeners_hash.go:44-49 | internal/apiserver/route_post_contract_query.go:37-42 | internal/apiserver/route_post_new_contract_interface.go:42-47 | internal/apiserver/route_post_new_contract_listener.go:37-42 \u2014 before extracting anything, compare \u0060internal/apiserver/route_get_contract_api_listeners.go\u0060 and \u0060internal/apiserver/route_get_contract_listeners.go\u0060 as WHOLE FILES: 82% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/apiserver/route_get_contract_api_by_name.go:39\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/apiserver/route_get_contract_api_by_name.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1ec989cb014a4c1f034148f002625994717109c1a5ce7826012b4f7d948bf10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): internal/blockchain/ethereum/eventstream.go:270-275 | internal/blockchain/fabric/eventstream.go:249-254 | internal/blockchain/tezos/eventstream.go:194-199 \u2014 \u0060internal/blockchain/ethereum/eventstream.go\u0060 and \u0060internal/blockchain/fabric/eventstream.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 7 separate duplicated blocks between them, totalling at least 75 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/blockchain/ethereum/eventstream.go:270\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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/blockchain/ethereum/eventstream.go"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"48662018c811b304f678c4bd60b4d881ebb7dd34ce2a7827624055f684b7f2d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): internal/apiserver/ffi2swagger.go:83-88 | internal/apiserver/ffi2swagger.go:119-124 \u2014 both copies are in the same file, so extract the block 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/apiserver/ffi2swagger.go:83\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/apiserver/ffi2swagger.go"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"4790ecc8c4ee6907e127525d70c6efda2fd6d6642870b80add2ee82ada0b4efd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): internal/apiserver/route_get_data_msgs.go:41-46 | internal/apiserver/route_post_new_message_requestreply.go:37-42 \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/apiserver/route_get_data_msgs.go:41\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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/apiserver/route_get_data_msgs.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c2ab03f99bb7ea83e4a3a19684ea334ae2812cff7a21e53fec0e5cdf83f55f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): internal/apiserver/route_get_group_by_id.go:39-44 | internal/apiserver/route_get_groups.go:39-44 \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/apiserver/route_get_group_by_id.go:39\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/apiserver/route_get_group_by_id.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"84222cfceab66e9c261f2c335ec79701ae27e6b81d0404d6f486158a18854ac2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): internal/apiserver/route_get_identities.go:39-50 | internal/apiserver/route_get_net_identities.go:39-50 \u2014 before extracting anything, compare \u0060internal/apiserver/route_get_identities.go\u0060 and \u0060internal/apiserver/route_get_net_identities.go\u0060 as WHOLE FILES: 85% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/apiserver/route_get_identities.go:39\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/apiserver/route_get_identities.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"5517fc7bbfe8b973afb65ca94df38c31734c637306ea45b77cb33a1fca176577"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): internal/apiserver/route_get_identity_by_did.go:39-50 | internal/apiserver/route_get_net_did.go:40-51 \u2014 before extracting anything, compare \u0060internal/apiserver/route_get_identity_by_did.go\u0060 and \u0060internal/apiserver/route_get_net_did.go\u0060 as WHOLE FILES: 92% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/apiserver/route_get_identity_by_did.go:39\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/apiserver/route_get_identity_by_did.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fc289380cc7a6e8b350d61975019449095d49e078c27e09464c540407f294b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): internal/apiserver/route_get_namespaces.go:38-46 | internal/apiserver/route_spi_get_namespaces.go:37-45 \u2014 before extracting anything, compare \u0060internal/apiserver/route_get_namespaces.go\u0060 and \u0060internal/apiserver/route_spi_get_namespaces.go\u0060 as WHOLE FILES: 86% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/apiserver/route_get_namespaces.go:38\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/apiserver/route_get_namespaces.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f699e110bc897ca472dd3523ff173b7a6aac4f12c98a2caa267f498c097cf01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): internal/tokens/fftokens/fftokens.go:809-814 | internal/tokens/fftokens/fftokens.go:844-849 \u2014 both copies are in the same file, so extract the block 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/tokens/fftokens/fftokens.go:809\u0060 it does not close everything it opens, so those exact 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/tokens/fftokens/fftokens.go"},"region":{"startLine":809}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b56e4aeeaedc6666ed2c21c8e83393d6814da4282f6aa8bd54c24308334a59f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): internal/assets/token_approval.go:236-260 | internal/assets/token_transfer.go:310-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/assets/token_approval.go"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"f45a61e35a2179cf01eb33a50cb6388807e93c45997436d57a20d3e615183281"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 8): internal/database/sqlcommon/batch_sql.go:153-177 | internal/database/sqlcommon/blockchainevents_sql.go:207-232 | internal/database/sqlcommon/contractapis_sql.go:239-264 | internal/database/sqlcommon/contractlisteners_sql.go:238-262 | internal/database/sqlcommon/datatype_sql.go:175-201 | internal/database/sqlcommon/operation_sql.go:191-214 | internal/database/sqlcommon/subscription_sql.go:189-215 | internal/database/sqlcommon/transaction_sql.go:207-231 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 8 call sites, so a change lands once. 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/database/sqlcommon/batch_sql.go"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"50a73011de11c9ca58340519d63d3477ab9c7240a4009726fd2d67f7e5937418"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): internal/database/sqlcommon/contractapis_sql.go:157-189 | internal/database/sqlcommon/ffi_sql.go:148-180 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060error\u0060 to \u0060optimization database.UpsertOptimization) (err\u0060 in one and \u0060err\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/database/sqlcommon/contractapis_sql.go"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"d08c5cba2c0decaa347481faa2504da0070abfff1d93fb73bbcd88188c53b357"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 3): internal/database/sqlcommon/ffi_errors_sql.go:119-142 | internal/database/sqlcommon/ffi_events_sql.go:147-170 | internal/database/sqlcommon/ffi_methods_sql.go:151-174 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. The matched lines also 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/database/sqlcommon/ffi_errors_sql.go"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"debf73773907105f2e40a6f14582eecf4b0773ce414c89d8abdc093f2a257707"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 3): internal/database/sqlcommon/ffi_sql.go:228-253 | internal/database/sqlcommon/identity_sql.go:210-234 | internal/database/sqlcommon/verifier_sql.go:174-198 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. The matched lines also 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/database/sqlcommon/ffi_sql.go"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aa8556a42721899657020978ec93a444573890180cd06783e7a6f9ff403d241"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): auditevents/main.go:109-115 | ffconfig/main.go:70-76 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auditevents/main.go"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"131366e595c419d8245e6696ed3109567fb3b5bbc0302660c9f831feb15953b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): internal/blockchain/cardano/cardano.go:345-351 | internal/blockchain/ethereum/ethereum.go:873-879 | internal/blockchain/tezos/tezos.go:401-407 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/blockchain/ethereum/ethereum.go"},"region":{"startLine":873}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ccef0fdce43fa0a1072118f6244e6e4d6b83bf1b9bf135ff98f150884f2c268"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/blockchain/cardano/eventstream.go:78-87 | internal/blockchain/tezos/eventstream.go:88-97 \u2014 \u0060internal/blockchain/cardano/eventstream.go\u0060 and \u0060internal/blockchain/tezos/eventstream.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 49 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/blockchain/tezos/eventstream.go"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"545718fbd805ad6527ba881e285175053c3834f8f57accf360a22d5189cb8602"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): internal/blockchain/ethereum/address_resolver.go:42-55 | internal/blockchain/tezos/address_resolver.go:42-55 \u2014 \u0060internal/blockchain/ethereum/address_resolver.go\u0060 and \u0060internal/blockchain/tezos/address_resolver.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 102 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/blockchain/ethereum/address_resolver.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"caaed4e89417a0d9dbccf39fc2329b02628a016dbe14122f5d579173a65ef9b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/blockchain/ethereum/ethereum.go:246-256 | internal/blockchain/fabric/fabric.go:297-307 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/blockchain/ethereum/ethereum.go"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"173fa6de111ff724987c3f3b7ca61b457a243b85db7551f46ab455ab0c14f09f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/blockchain/ethereum/ethereum.go:595-605 | internal/blockchain/tezos/tezos.go:692-702 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/blockchain/ethereum/ethereum.go"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8c9d0353a216d6fb35d162097aabdb498ae936f1fc5e1d6eb293c7813796e0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): internal/blockchain/ethereum/eventstream.go:97-109 | internal/blockchain/fabric/eventstream.go:90-102 \u2014 \u0060internal/blockchain/ethereum/eventstream.go\u0060 and \u0060internal/blockchain/fabric/eventstream.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 7 separate duplicated blocks between them, totalling at least 75 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/blockchain/ethereum/eventstream.go"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e0ac13dd69cd078263a488a06f9f8005aef179eacfcb52f51053bd5cca4f23f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): internal/blockchain/fabric/fabric.go:836-842 | internal/blockchain/tezos/tezos.go:619-625 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/blockchain/fabric/fabric.go"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d39371e1c54dc7eb905056062d3dbc658c8b5a579de45f0e4a5d4e6015a3f93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): internal/data/message_writer.go:282-290 | internal/operations/operation_updater.go:400-408 | internal/txwriter/txwriter.go:242-250 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/data/message_writer.go"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"793e168e25715cd1372532ac3896e4cc8e7a39a4dc72c6fc9a27e577c122e8c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): internal/database/difactory/factory.go:29-35 | internal/dataexchange/dxfactory/factory.go:38-44 | internal/identity/iifactory/factory.go:35-41 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060internal/identity/iifactory/factory.go:32\u0060 calls \u0060Name\u0060 and \u0060internal/database/difactory/factory.go:27\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/database/difactory/factory.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"427b9cac149ecd7533edc361cb06d3e67155064b25b0ffcf7bc000138b44918d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): internal/dataexchange/ffdx/ffdx.go:250-258 | internal/tokens/fftokens/fftokens.go:395-403 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060string\u0060 to \u0060h *FFDX) SetOperationHandler(namespace\u0060 in one and \u0060ft *FFTokens) SetOperationHandler(namespace\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/dataexchange/ffdx/ffdx.go"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"767f3aa943c8c9b9d151a5d39810b93d58d0c45e78f25815bfc124d335f29d5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): smart_contracts/fabric/custompin-sample/batchpin/batchpin.go:12-27 | smart_contracts/fabric/firefly-go/batchpin/batchpin.go:12-27 \u2014 before extracting anything, compare \u0060smart_contracts/fabric/custompin-sample/batchpin/batchpin.go\u0060 and \u0060smart_contracts/fabric/firefly-go/batchpin/batchpin.go\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"smart_contracts/fabric/custompin-sample/batchpin/batchpin.go"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"d70f8385f019eee55816188cf7a20193c7ea494ddf66dc422a312a0470af925d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): smart_contracts/fabric/custompin-sample/batchpin/batchpin.go:57-63 | smart_contracts/fabric/firefly-go/batchpin/batchpin.go:57-63 \u2014 before extracting anything, compare \u0060smart_contracts/fabric/custompin-sample/batchpin/batchpin.go\u0060 and \u0060smart_contracts/fabric/firefly-go/batchpin/batchpin.go\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"smart_contracts/fabric/custompin-sample/batchpin/batchpin.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"babc9dec69244af964fb1089277262aa082d9afadab3681aa5d1362aa58e310c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): internal/assets/operations.go:208-216 | internal/assets/operations.go:218-226 | internal/broadcast/operations.go:223-231 | internal/contracts/operations.go:192-200 \u2014 there are 4 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/assets/operations.go"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe560166206dc702fecc187087960ecc3a2375f138352ba3342c60bd0a8d3fc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): internal/blockchain/bifactory/factory.go:48-54 | internal/database/difactory/factory.go:37-43 | internal/dataexchange/dxfactory/factory.go:46-52 | internal/identity/iifactory/factory.go:43-49 | internal/sharedstorage/ssfactory/factory.go:42-48 | internal/tokens/tifactory/factory.go:43-49 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 6 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 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/blockchain/bifactory/factory.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdfa74710a80a13b646379703d1bbc242dd9332bf7bbfa39757a5f9089674423"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/blockchain/ethereum/ethereum.go:892-902 | internal/blockchain/tezos/tezos.go:750-760 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/blockchain/ethereum/ethereum.go"},"region":{"startLine":892}}}],"partialFingerprints":{"codehealthFindingId/v1":"39a50da1921fd9f681f0955b7991d4856f54d2dfcb155d40f114eb3f68b3cfa1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): internal/broadcast/message.go:31-43 | internal/privatemessaging/message.go:31-43 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/broadcast/message.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"7885a6e2457bce1b58c606dd3cce60197f678ae0f3bab848882769ca38b74823"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): internal/database/sqlcommon/tokenapproval_sql.go:205-211 | internal/database/sqlcommon/tokentransfer_sql.go:185-191 \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/database/sqlcommon/tokenapproval_sql.go"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"22664ceb1110fc8faffea85a3f9a39ffe49bb98e07f35c1c308d9585c562d03f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/events/blob_receiver.go:112-119 | internal/operations/operation_updater.go:174-181 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/events/blob_receiver.go"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"b22fb737edcd0135a8bbbb878612a3cff1bece23a77bcfd14bf8a59e4953aa55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): internal/orchestrator/data_query.go:92-98 | internal/orchestrator/data_query.go:108-114 | internal/orchestrator/data_query.go:171-177 | internal/orchestrator/subscriptions.go:106-112 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/orchestrator/data_query.go"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcc37bf91d529dd0ae0db7627026375b069edef429507719c450d79fd559bcc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): internal/blockchain/ethereum/ethereum.go:435-449 | internal/blockchain/fabric/fabric.go:488-502 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/blockchain/ethereum/ethereum.go:435\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/blockchain/ethereum/ethereum.go"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"74dd7556c2b21c615b5323e08b2df19b055edc5cb7a3f02219ab51c31d0a7ed1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): internal/tokens/fftokens/fftokens.go:931-942 | internal/tokens/fftokens/fftokens.go:967-978 | internal/tokens/fftokens/fftokens.go:1002-1013 | internal/tokens/fftokens/fftokens.go:1038-1049 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/tokens/fftokens/fftokens.go:931\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/tokens/fftokens/fftokens.go"},"region":{"startLine":931}}}],"partialFingerprints":{"codehealthFindingId/v1":"5740a3a9248fa65e69470348659e23bed72fd092cae7f94418b4e7ac99c87107"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): internal/blockchain/ethereum/ethereum.go:640-649 | internal/blockchain/fabric/fabric.go:621-630 | internal/blockchain/tezos/tezos.go:655-665 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/blockchain/ethereum/ethereum.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/blockchain/ethereum/ethereum.go"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"484a7ba1c3e169726e35dfbab603c78e41e09d247eab38f41a86c797b33003a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/blockchain/fabric/fabric.go:204-214 | internal/tokens/fftokens/fftokens.go:305-315 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/blockchain/fabric/fabric.go:204\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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/blockchain/fabric/fabric.go"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"a672519a6feee1ad22c03f23b46f2f08ebc4799a384a30c3d51374f7b60a79b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/tokens/fftokens/fftokens.go:988-998 | internal/tokens/fftokens/fftokens.go:1024-1034 \u2014 both copies are in the same file, so extract the block 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/tokens/fftokens/fftokens.go:988\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/tokens/fftokens/fftokens.go"},"region":{"startLine":988}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5fd0ce92742a668d09fb0861586a6bfea8019cab30300dea3daf61bef7419a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/dataexchange/ffdx/ffdx.go:434-443 | internal/dataexchange/ffdx/ffdx.go:455-464 \u2014 both copies are in the same file, so extract the block 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/dataexchange/ffdx/ffdx.go:434\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/dataexchange/ffdx/ffdx.go"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"b139317ea089724a6d15e866393c91f7906ef840fbe9df2182c218facac663f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/broadcast/message.go:151-160 | internal/privatemessaging/message.go:171-180 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/broadcast/message.go:151\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/broadcast/message.go"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"de49f054edcb6f041fda5757a97aa5aadd181c55a9611e6497f5f6af6864d677"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): internal/events/tokens_approved.go:66-74 | internal/events/tokens_transferred.go:65-73 \u2014 before extracting anything, compare \u0060internal/events/tokens_approved.go\u0060 and \u0060internal/events/tokens_transferred.go\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 62 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/events/tokens_approved.go"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3cc8f377c533c150d4b51cf039f1fa7a7f0fec40453810dabc83a118318c17e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/definitions/handler_contracts.go:198-205 | internal/definitions/handler_contracts.go:235-242 \u2014 both copies are in the same file, so extract the block 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/definitions/handler_contracts.go:198\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/definitions/handler_contracts.go"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"8171149f423418237f62083d4fa8f22abe8f67c69f25542bd547accd75987a60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/blockchain/tezos/eventstream.go:79-86 | internal/blockchain/tezos/eventstream.go:144-151 \u2014 both copies are in the same file, so extract the block 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/blockchain/tezos/eventstream.go:79\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/blockchain/tezos/eventstream.go"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"94b399b72660fbb41208c8b5daa9204fa2666bb42b50779b1d47d9a9b4c65111"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/blockchain/ethereum/eventstream.go:88-95 | internal/blockchain/ethereum/eventstream.go:175-182 \u2014 both copies are in the same file, so extract the block 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/blockchain/ethereum/eventstream.go:88\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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/blockchain/ethereum/eventstream.go"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"953ba5154d50ed1cb9e085c7a85d089ca8f65cfe8b2549ce6fe3ca3153335d67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/blockchain/fabric/eventstream.go:81-88 | internal/blockchain/fabric/eventstream.go:151-158 \u2014 both copies are in the same file, so extract the block 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/blockchain/fabric/eventstream.go:81\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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/blockchain/fabric/eventstream.go"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"63874eb29fe04b7e41d8465aeb648f65a96a97d9159eb7805ba0fb35ed64581c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): internal/events/aggregator.go:598-604 | internal/events/aggregator.go:618-624 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/events/aggregator.go:598\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/events/aggregator.go"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a175378612e4ae5b17be55bba6816d75153ce30c07f6d6e3ababf91e207d814"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): internal/blockchain/cardano/eventstream.go:103-109 | internal/blockchain/ethereum/eventstream.go:125-131 | internal/blockchain/tezos/eventstream.go:113-119 \u2014 \u0060internal/blockchain/cardano/eventstream.go\u0060 and \u0060internal/blockchain/tezos/eventstream.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 49 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/blockchain/cardano/eventstream.go:103\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/blockchain/ethereum/eventstream.go"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3db58311911de26dee40d0d7162a156d20977b258a8fc6b24a9013a0568a11d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): internal/tokens/fftokens/fftokens.go:547-553 | internal/tokens/fftokens/fftokens.go:617-623 \u2014 both copies are in the same file, so extract the block 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/tokens/fftokens/fftokens.go:547\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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/tokens/fftokens/fftokens.go"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c6134f8ecdac0c7501d05138dff65fbb24f01248d2517103b1286a9e6c7d493"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): internal/blockchain/cardano/eventstream.go:90-96 | internal/blockchain/ethereum/eventstream.go:112-118 | internal/blockchain/tezos/eventstream.go:100-106 \u2014 \u0060internal/blockchain/cardano/eventstream.go\u0060 and \u0060internal/blockchain/tezos/eventstream.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 49 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/blockchain/cardano/eventstream.go:90\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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/blockchain/ethereum/eventstream.go"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fdaf8bdfd22c167a141f5bd00dd9b854f6500f052876bc60148e1a60439d963"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): internal/apiserver/route_get_data.go:36-40 | internal/apiserver/route_get_msg_data.go:37-41 \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/apiserver/route_get_data.go:36\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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/apiserver/route_get_data.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"f53d49b9e255c36f5ce55037f1b37163b7e842fba65f59b40b524f90cd7008bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): internal/apiserver/route_get_events.go:40-44 | internal/apiserver/route_get_msg_events.go:38-42 | internal/apiserver/route_get_subscription_events_filtered.go:44-48 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/apiserver/route_get_events.go:40\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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/apiserver/route_get_events.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"13fc44fe784bf498091d8c3c53954456568f9f62e4701e1a2ee5a042ec11754a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): internal/apiserver/route_get_identity_by_id.go:39-43 | internal/apiserver/route_get_net_node.go:36-40 | internal/apiserver/route_get_net_org.go:36-40 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/apiserver/route_get_identity_by_id.go:39\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/apiserver/route_get_identity_by_id.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"273d77b8e811789d3fb5c9c58d48989394f5b49cb43b5c9b2beda8e91e5e9ab6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): internal/apiserver/route_get_identity_did.go:36-40 | internal/apiserver/route_get_net_diddoc.go:35-39 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/apiserver/route_get_identity_did.go:36\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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/apiserver/route_get_identity_did.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe44c10a0b67625f9ae17852496f5bd66232f9ca79ceb4fe95281d3d011b0b68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): internal/apiserver/route_get_identity_verifiers.go:38-42 | internal/apiserver/route_get_verifiers.go:36-40 \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/apiserver/route_get_identity_verifiers.go:38\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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/apiserver/route_get_identity_verifiers.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"e81a19c8c8bb98035553308219255e64c247f02a4db982d140824390c1515839"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): internal/apiserver/route_get_msg_txn.go:36-40 | internal/apiserver/route_get_txn_by_id.go:38-42 \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/apiserver/route_get_msg_txn.go:36\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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/apiserver/route_get_msg_txn.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3bb39b41bd626cb5ba294e0c03ef532080e0e1025d1d931f0590fba2231e23b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): internal/apiserver/route_get_net_nodes.go:36-40 | internal/apiserver/route_get_net_orgs.go:36-40 \u2014 before extracting anything, compare \u0060internal/apiserver/route_get_net_nodes.go\u0060 and \u0060internal/apiserver/route_get_net_orgs.go\u0060 as WHOLE FILES: 86% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/apiserver/route_get_net_nodes.go:36\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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/apiserver/route_get_net_nodes.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"12fdcf17b80351d32fa9971fd3bbc4b2d4863246a3bc96386a85d1386a39101c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): internal/apiserver/route_patch_update_identity.go:40-45 | internal/apiserver/route_post_new_identity.go:38-43 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/apiserver/route_patch_update_identity.go:40\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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/apiserver/route_patch_update_identity.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aa172e6e9c9bbc723ea13f08ab4768e70afc3c0362bac7c1f4d42ce0d4cbf65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): internal/apiserver/route_post_contract_api_publish.go:40-44 | internal/apiserver/route_post_contract_interface_publish.go:41-45 \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/apiserver/route_post_contract_api_publish.go:40\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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/apiserver/route_post_contract_api_publish.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"20f685f1f687fb98f797dc7ff813f2a78c62c3fca5620f210e0a4c04e8b3947a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): internal/apiserver/route_post_token_burn.go:37-41 | internal/apiserver/route_post_token_mint.go:37-41 | internal/apiserver/route_post_token_transfer.go:37-41 \u2014 before extracting anything, compare \u0060internal/apiserver/route_post_token_burn.go\u0060 and \u0060internal/apiserver/route_post_token_mint.go\u0060 as WHOLE FILES: 86% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/apiserver/route_post_token_burn.go:37\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/apiserver/route_post_token_burn.go"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"392a445bf2e72a767fe774a699d397a07183eb7dbd863e2d2e5f7a8e94707391"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SQLCommon (LCOM4 50): SQLCommon\u0027s methods fall into 50 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 50 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/database/sqlcommon/sqlcommon.go"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a6fedb6333329200e22ce373a0aa81d22811b3a6a1c030778905d7ab607ec05"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Ethereum (LCOM4 4): Ethereum\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/blockchain/ethereum/ethereum.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"8face5e3b105b64577a82858acce944e94bac6515caba40dcf5eecc0ff4c44fb"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Fabric (LCOM4 4): Fabric\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/blockchain/fabric/fabric.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"f824578c77b9bf201c2c8f313a27fb5719e954ead6413d3c767e88a89c895f4a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: auditevents/main.go: 0.0% line coverage (0/64)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auditevents/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4da38ac521e7571e110a6986b1730e436e7bc86cb0fed4df425402820596cf46"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: main.go: 0.0% line coverage (0/5)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e554851c30d387e22875d4438325173e6b8abdfe3fc5965b588b7a6a1a33b4cf"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: smart_contracts/fabric/custompin-sample/custompin.go: 0.0% line coverage (0/7)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"smart_contracts/fabric/custompin-sample/custompin.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7edabb329ea7225abbb4cc212fe49d6bc1b0fd2c747f164e1e7d70d78e9a33c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: smart_contracts/fabric/firefly-go/chaincode/contract.go: 37.0% line coverage (10/27)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"smart_contracts/fabric/firefly-go/chaincode/contract.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6233673c38b4cc83becf35172be7310354207a504d7ca0206123fb71d5313e99"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: smart_contracts/fabric/firefly-go/firefly.go: 0.0% line coverage (0/7)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"smart_contracts/fabric/firefly-go/firefly.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b625af208d08035348904b7078b229777c88e539f5c8c24ef79abf3e46bba6b7"}},{"ruleId":"D11","level":"error","message":{"text":"Flaky test: .::github.com/hyperledger-firefly/firefly/internal/batch.TestRewindForNewMessage: Passed 2\u00D7, failed 1\u00D7 across repeated runs."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"06d73b28f1b25907632b7ea69583b88bae35e7fcaa9e24ec24e6798e71e63ec3"}},{"ruleId":"D12","level":"warning","message":{"text":"Deprecated module: github.com/golang/protobuf: \u0060github.com/golang/protobuf\u0060 is required at v1.5.4 in smart_contracts/fabric/firefly-go/go.mod, and its author has DEPRECATED the module: \u0022Use the \u0022google.golang.org/protobuf\u0022 module instead.\u0022 A deprecation is declared by the author in the module\u0027s own go.mod and applies to the whole module, not to one release, so moving to a newer version of it does not clear this. Follow the replacement the notice names."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"20a97695eb177ece6fb23d3f98d8d0f9c6e6d30ee5824896d67aef45f5106124"}},{"ruleId":"D12","level":"warning","message":{"text":"Deprecated module: github.com/golang/protobuf: \u0060github.com/golang/protobuf\u0060 is required at v1.5.4 in smart_contracts/fabric/custompin-sample/go.mod, and its author has DEPRECATED the module: \u0022Use the \u0022google.golang.org/protobuf\u0022 module instead.\u0022 A deprecation is declared by the author in the module\u0027s own go.mod and applies to the whole module, not to one release, so moving to a newer version of it does not clear this. Follow the replacement the notice names."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4bc7f6816023e01f613727c54eaa6a9f25bbb4a936a5447a6c490545bd57b911"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Generate multiple languages when supported in the future here \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/reference/generate_reference_test.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf084fe5ac73f7c8d8d322d25586a7540a7355cae5a9c69ec336fcec38985232"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO is this right ? code below assumes this is true and errors otherwise \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/networkmap/update_identity.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"29112d8acc1cff54da1343fdc4e5048bfd5b4b5945de0976421f72890df5738e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO should this type live elsewhere ?? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/metrics/identity.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa40c1c8ef2e78bfeb5ea45cbf7f88487bac6916edae174490dae3a3ff0baedc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add test case for event not existing \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/events/blockchain_event_test.go"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a6b9c3ee975d0ba644e77b5b21c73cb416756afe1dffc81bcbfcc704939d54c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: define an algorithm to support any number of variants. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/blockchain/tezos/ffi2michelson.go"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"d728bb9d4aa63b05eff80d97fc678fc15063a7d0bac567afb945155abc77fb2b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/blockchain/tezos/tezos.go"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"45652592b316633b883a2b60b7ffe882c350f0ab76d90a6c6312d3524fbbcd2b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/blockchain/tezos/tezos.go"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"a95fa3aec2b88ef8c3bc3456a30bb8da28632ef8bd12c52d1e0a6dc66872d12c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: impl \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/blockchain/tezos/tezos.go"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"8766c20f1e9fa135a30c95e30b13b853b2271f2d80b879815cae3624ba7f691a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: impl \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/blockchain/tezos/tezos.go"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7b3530f3a3daf15f49467938444e56d4293e314cd16a85c2c9e2cab91ae3a0e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: impl \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/blockchain/tezos/tezos.go"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c32359d4ceaebe74d91112b9117a44756e828a2a62615f205779cee574b5ace"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add batch pin support \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/blockchain/tezos/tezos.go"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b6743aa22b1f302c2c149b94714400e20ecb8a4736120cb99fa05ff350bc6f5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: get the network version from the batch pin contract \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/blockchain/tezos/tezos.go"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"7923ff972ee527c3e83faed88ba383f2052ebfc1d4d7ec5023d56755adecfee7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: should be specific to a namespace \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/blockchain/tezos/tezos.go"},"region":{"startLine":821}}}],"partialFingerprints":{"codehealthFindingId/v1":"cac51363c95d0ac3159e72594e17bc6589970eb2f2902472c50a826d361a96e6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/blockchain/tezos/tezos.go"},"region":{"startLine":840}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aee131f298b6de8d00ba5f2d9659dee5e4058d94a1c421214bcd9eb2f614887"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: can old subscriptions be somehow cleaned up later? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/blockchain/fabric/fabric.go"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"39c7e5938b756e2dee112bd4d6e1bc126c113718e18c9bc1caa2dc7beeaa2412"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: can old subscriptions be somehow cleaned up later? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/blockchain/ethereum/ethereum.go"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4da46f412650a767f12dc40dc2fe8f277f93dc184f5ccf799936957bb91f9c0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - could implement the same enhancement ethconnect has, and build a mock WS receipt if an API query \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/blockchain/fabric/fabric.go"},"region":{"startLine":1128}}}],"partialFingerprints":{"codehealthFindingId/v1":"42b68cb1f3d724918b98a18335db0acc22372ab2c48c50c86c8111826aa2a5e8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this operation should be made idempotent, but cannot inherit this from the TX per our normal semantics \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/assets/token_pool.go"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"6717e40370215741e12cd64bdf3c9a5a3f2fdea7d24931bb303cf1a628a03fad"}},{"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 \u0060main.go\u0060 makes this repository a deployable product (line 17)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"main.go"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6a3e98f9a3db0a104ca87a623a16ba8fc33487b53a279d445cb50087c399a8a"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060MsgSequenceIDDidNotParseToInt\u0060 spells \u0060Did\u0060 where 41 names in the project spell it \u0060DID\u0060: 41 of 42 names in project github.com/hyperledger-firefly/firefly spell the token \u0060DID\u0060 (41 of 42; unit: names in project github.com/hyperledger-firefly/firefly containing \u0060DID\u0060). Peers: apiserver.getIdentityByDID (internal/apiserver/route_get_identity_by_did.go:28); apiserver.getIdentityDID (internal/apiserver/route_get_identity_did.go:27); apiserver.getNetworkIdentityByDID (internal/apiserver/route_get_net_did.go:28); apiserver.getNetworkDIDDocByDID (internal/apiserver/route_get_net_diddoc.go:27); coremsgs.APIParamsDID (internal/coremsgs/en_api_translations.go:52). Rename to \u0060MsgSequenceIDDIDNotParseToInt\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/coremsgs/en_error_messages.go"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"6593b081fba1877b7769de3c53361ecf6318f40c81dbf99fa2a40b5eb539d7e8"}},{"ruleId":"D22","level":"warning","message":{"text":"\u0060Plugin.SetHandler\u0060 takes no context.Context; its 4 sibling operations take one: 4 of 5 fallible operations of \u0060Plugin\u0060 take a \u0060ctx context.Context\u0060 (4 of 5). Siblings: Plugin.Init (pkg/events/plugin.go:37); Plugin.ValidateOptions (pkg/events/plugin.go:48); Plugin.DeliveryRequest (pkg/events/plugin.go:52); Plugin.BatchDeliveryRequest (pkg/events/plugin.go:56). Take \u0060ctx context.Context\u0060 as the first parameter, like its siblings, and pass it on. [rule A1]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/events/plugin.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea493681418261b5cbe73466514b4189fbe6db9f9079210540872bb8949a9e88"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060(repository root)\u0060 (52456 LoC, 375 module-visible types across 61 directories) overshoots its size bounds. 1 of 6 build unit(s) (Go, Gradle, npm) overshoot their size bounds, lowering Project Cohesion to 6.7/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":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b45b2e88a1dd7d3517ce9c2408d25dfd4582f00ee6a5956a3ab2d3a601b939e8"},"properties":{"commitSha":"1ac93259c22bc9952569d16d1239364f5042b74d"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a7b4c74e56c019d0ba0a2d5d3373d495bb9d768155e49213469b6a799f8a9ba8"},"properties":{"commitSha":"1ac93259c22bc9952569d16d1239364f5042b74d"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4b1f2a9aa59302235611fb864ad3d784781625e32ad89fc411277f37d40a96d0"},"properties":{"commitSha":"1ac93259c22bc9952569d16d1239364f5042b74d"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9141a91c1b6bf30f939b7cb482d6ca54822d0d1cc25a69e17cf9df8555ed6c9e"},"properties":{"commitSha":"1ac93259c22bc9952569d16d1239364f5042b74d"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"155c6fbeb050c8d1854cfe6b0e0b91656a49ecb8969c5f7a0ebbbadd130964a5"},"properties":{"commitSha":"2b021022ce5bb55da152a58d027e9535c16fed10"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-540","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"91f34cbe86ce3c5975429a8ab34e567614abb5ab019a836dab3d62c3e61c428a"},"properties":{"commitSha":"2b021022ce5bb55da152a58d027e9535c16fed10"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-540","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e0041693cadf3d148439223886d5bbc98b20164585eac35ccb9306d0df23e4cd"},"properties":{"commitSha":"26fa88b72bb38d66155cf8b4dbcd27af2a02e32e"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-540","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c51a3ee30f997c8eddaef598181522367cf06fad7735c47b696531366b557cae"},"properties":{"commitSha":"26fa88b72bb38d66155cf8b4dbcd27af2a02e32e"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-540","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"22e2217c131c47137bf86ed52016533870797e410a9957ba589f0a70bd3baf78"},"properties":{"commitSha":"3325326c233823e170e01d2f0d76932f748ba713"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-540","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"42cf088d7a0c4c02574eec14e76d18743c5b588b51fdd24a668f44b1664df4cd"},"properties":{"commitSha":"3325326c233823e170e01d2f0d76932f748ba713"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-540","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"09ce1dfe2303534122bbdd44ea7dc87f333986bb4128d451968b515823bdac60"},"properties":{"commitSha":"82f3d586138d1918cc6c88c2df2b653edbbea3dd"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb12045ba2b2a9280d59f855e64abc24d599e3e65c1120fedce974a4e93cf8a8"},"properties":{"commitSha":"27a04ad54e366608414e81745b93c0bc81a800a8"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-540","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1ac538e66f062e65f64e06eacf226f6578bb1556e284f1d1a77b23d95770b94e"},"properties":{"commitSha":"1c38f730d2917534267d7be1c140a31acef23dc6"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb5dd0451d05027222ed3d0ca803426a3f3cd7f360c20494ee0e5cbac16ac212"},"properties":{"commitSha":"1c38f730d2917534267d7be1c140a31acef23dc6"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ba2dac91941b098d43bf94150529a87b57361a2f487d32405fff1efef0cbaa8d"},"properties":{"commitSha":"72890fe41b708159b3d1914a972f78a5ec5573a0"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-540","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0c1c8df5a9a96793be908fd4b6c1caf1d444cf04f44b8b8d6fe7ecf7d8d536e0"},"properties":{"commitSha":"72890fe41b708159b3d1914a972f78a5ec5573a0"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-540","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"33bc44b44c1a1bf34bcb9f819f744fde6a3064543bda2e96a5f963fb3893bf9d"},"properties":{"commitSha":"72890fe41b708159b3d1914a972f78a5ec5573a0"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-540","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ed29326a2e0e8784a448a858b34f6b085965444b4ac8672e32d4664e93402c18"},"properties":{"commitSha":"72890fe41b708159b3d1914a972f78a5ec5573a0"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-540","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a5dd9e2ae065f2d75440ce3cfc095878585e0c06c4dcbbc10cbcf70c30151756"},"properties":{"commitSha":"9f764f3def024b0ef8dc630417ea69b51c6fcc02"}},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f70ec95451f225316976679ac47f1d3f9d7763cd939f88e694be5c35f7eef1f4"},"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":"565cb0a25235d1502010c8d34a025c6ae5aeb826c7d5e305b97bb45399050c67"},"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":"b9517cc4ae56162be6ef5c2593f4757b2854c319ee602e4c89f34f65769f92a5"},"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":"fdd80ff4efa055538dc59aafc5e380459b7d05030fbc7ee936f19fa678b3e896"},"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":"e1e7818931c36414c27be3d8e7500f8e0bb1f97e5b1908bb4867dc1e5e8579ec"},"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":"c751cd56d3d874854f02488ab011da054531398e73af92170dca7c2655bc687b"},"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":"a7335cac7aae0ee155f9c31a109e3a609a4699b45059e9a186b009025c89b59b"},"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":"f370c2b494b8e291d0c1063b48de51bee36f3185625068af94c73806144fd4aa"},"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":"c061a4ad16271f5e0095141a7a4f3abd18f00630a4f6574bd6a526fc74fe6c1d"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c9c44961f35ce8def0f241bc7201262160970b3c2e097d04d82f4a397160a291"},"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":"ff988d992c8f621200d4b1757c913417be48af3d768fa68117c47ba2c346503b"},"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":"ccd3b8a24d939ffc2a703756b0783970cf66194b0441412572ac5dd1f4f4da82"},"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":"121d796cd32fc6a67560c9a13b026974db07ac3ddc940133f19f602e065422a8"},"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":"12903e54f89ac2c218366a5ccd6991dc4227efdf1949cde204f894ecc4a4eaf6"},"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":"b57eb7bf170273fe81bd1256bb6902398f34bdbb216848f014c1c275d1ed4e08"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6e91997c5813d593a2f5ab935ddf76e32cfdaa11af5d49b26df1e925df35ed48"},"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":"24cc69e11f01300a7ea56f67a0c00f1e6db5e6facf0c03486e2a2bede0f9095a"},"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":"b7ee1f9a8123e37fd58333da134b655090c111609cea3184716d7a079b1564fa"},"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":"4d4f113919222896615c32bebc74ebc16b2687ae3d09b1f9ae53f810e2f068b1"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"037cac81689da91c28be55c5ef79bc8c7244008a7b6da10c6379ebd74b24faf6"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"20878e1172272d5da3846d5aedd7006084880d7e3a864caa2880149e6e701ece"},"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":"595f1d56beec6d41528e365b14d661fe97d42faaf7cd18062fde3905da42ce82"},"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":"c73d797b695869594508a18e8ff40cd636e505d5861017ea431160a00e006ba1"},"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":"2dec8343dab8905345a87f205722647edfa61822a83861c5344e5b2590cd37b8"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"80c52592517c1cbb200d1eca319e9a0d8b23db237ce59e301649ad16805c301b"},"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":"3be2daaa6f1e3d086499222346705f8ebf8b032e9fd8d7b323a791147ba0d276"},"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":"3c6e2b0b091a1f9ab274a7a6bcd0585e36724f1849d13b843d336a6a663d0428"},"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":"c32e79ad67b16cd2ca9772823d506afc913143f17c9dd072c6532ed931fd3ee8"},"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":"dbd70a79d4d53a596a305ff732cb2220dae9d8c8955e53b3c4bf5c01336a7aaf"},"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":"144edd1f465845c985e6944908cb133d14b43c84a650fd87945d9c194b7ff147"},"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":"d987f8f9dff0354d8e2d16cb49743bc6c271d22fd9160842bfd8605557e44ff5"},"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":"0eb4b8b78d310eb9bc8c5c49fbd0714df9ecf8df5f121ba3d237e08e634a7f91"},"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":"a8b4c5547eadcf22bd4d024f5de90f68a2fd4ca53b18f89dff87fb835a91708f"},"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":"5f6b13f9d1a72080775ef7ec6c1e4184f2fa001fa28cdfa7bf6ed34a5678b409"},"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":"a9e66178a4701cf135dd71759ca7ae1374b594fddaf4f0321db007c1b6b7992e"},"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":"8e950889ea0f9cb22f21f99f6937db7c8e9659cb8b3519b02ebf406a03b00383"},"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":"0cfeef730aa5e9ed55bba996bee04a4b90ce6ba287852d156021487ff664bdd2"},"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":"7bf5d3cac392d0af147be473a8ad9a2cd9e6a0ae3f39a5bc161883bba63531f0"},"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":"b1e63c43def73fb32dc6038b5c9f95e5e355cf9c33b86022cddd8e21cf9e13d4"},"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":"033526bed1f667553a00b195b8f1bf0ad693b524781f0fa25e6a2b938d840fcd"},"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":"b99f16896608acd989b0b4934ff369673044915d7dfed591e776f345a6b901ec"},"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":"7d3540c4392d92ae20fd08a4e79b0c21f0fe657eb6ef236f831b1ce155cf4741"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"55691111e50881ec59cf381a4abbc99ce9f94c9485a813189d2d16260c440047"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ae056cd0cbc8ffa6f1f0d81027f7bfbb4649251b809af756d067d7f8e44234dd"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b3230acc0c0270d0413b2f178220a8f84018b3f2d110f2909140d3dc52ef604a"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fab678728560cfd9336ce813775ea21dd4d852d216244c8475bfb969188f77c6"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0925d80b60965576af12a47c9d551a688f079e5873bee42abc56f127149143c3"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fdcabbc615302bbdfddea8e1a1e4e1f857491887616c7125b3751a949d0a1b2f"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9d9a77f901a316b73cd01f0fe4ec0c7311dfb8357ac4c735aa0073006f73ccda"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"09d70783017f64153e7b654e484790aebbfdd39049ed6ed1beb7abe9b8f14c40"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"046a0239205f02c39854628eb984600cc789f6b61e78d65005d1b18a25ac9325"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"382bef35311f0e077f47f834f2df847402a054280949d40f345bd1c4ec7f9bc0"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","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":"3adca8818ffc9d4ad0e1ca700efa69b91ca9ba61ce14c04309bb2ff54116b019"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","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":"dab3118de2ed1dbc6c979f13aebf3fa75c8562a03ff14eda0193eb966c4c32ce"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","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":"ffc108a6f1e89723748ac875a17cb4bc8110facd56958c64d797a6c71f5de495"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","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":"d65cb3df2fd98d69771f8ffef11849dadc5153b82787f9af6b097162b098012c"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","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":"bc755f696733ad4ca4643634f1d066ae801856ce83ab8bd04e07207468cb9df0"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","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":"42341418cd2844d882b6b2e9467f2c4703304936f40d258e762e363a1a6f6030"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","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":"fd0b6472ef3f8f8056e8be28998d814a12d7314da4adaf087fa8c564102aa8e3"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","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":"a04e3d286828d3a8aef4bf48f35ae42d450c39ac693a4948dd9c64a9a13b1718"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","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":"0331b695d0c860c97f9d74851752ce8fe268e1ca925ff6aca52555f86b49a7e9"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","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":"e17e42507cc912c041667e9f9ddc6cd1deaa3d81548230cc7a8339683f7e365b"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","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":"425b2ed5c92cc5ab44c95ce9de14c6e9776719059b9c8e71f3c29c830d0d3bc4"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","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":"cc1385c9dead8b457c9e2f860914dff6a8bae8c7282aff462e2ff84e97b1e474"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","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":"475260b01e26846aa1d5ed77b165a64e8ffc56fffb3eb3c9f0fb606faecd0e18"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","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":"7160ed88302bc6e7b518c8f9813d751c991fdf74e59657fa6b1655a51902c6fe"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","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":"d74b6e84e50f1ea0571215329293a28b656d911d73bdd75ba8f5299b8d866cad"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","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":"3fb6922263f33d642ba486b7dd38d4adc018c8e79a0dfe5aff6a77136e7e9a56"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","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":"6a97e02486cb125c67a968f906c85010238ee631eac500a63a83a160841f397d"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","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":"377931cfd8f5b2423b6c31c1fbe8ce54fda8ebd7be509806121cfd43339f7234"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","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":"a121df611560c3df254e32e724ad1b942d3f6bfa4176bff0b8b50aa96c78902f"},"taxa":[{"id":"CWE-563","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":"6296681728f452d0cf160254166ffba8a87d071ff1a501efb043073834665a6d"},"taxa":[{"id":"CWE-563","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":"8a125bad69074c27ff18d525cc4276f0acc0ef4ad677254da66d50d95ef8002d"},"taxa":[{"id":"CWE-563","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":"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":"e1da4c48975bd54596e7f825da4aa07cb981238ed05383853680b295b78b23e1"},"taxa":[{"id":"CWE-352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"fa107294a21a9512f72c173c69983f39af146e074c4dd0f60f656d414f5bea7e"},"taxa":[{"id":"CWE-352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"e3bc38a0e7dcbf447fee4c3bfef5324f3187a779f6c92067a8e425c687c9c289"},"taxa":[{"id":"CWE-352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6480c883608e318449b8277f75232be95c144098e1e6e8f4eb926ac5390ae8c4"},"properties":{"dependency":{"package":"cipher-base","version":"1.0.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"critical","fixedVersion":"1.0.5","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"314c142c0d24a6422d38bf26a41b4ce31750500c25f778dc684f84dfb15dbf7e"},"properties":{"dependency":{"package":"handlebars","version":"4.7.8","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"critical","fixedVersion":"4.7.9","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6972dd7e815c1b0ae5b4ca73129f69c8fade54899d146c98cba5416636ac8528"},"properties":{"dependency":{"package":"pbkdf2","version":"3.1.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"critical","fixedVersion":"3.1.3","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ff0a77ed52fb829b1ef1d41ecaceb8e17c858c5ef30e31c3dca30dfb5b92ef57"},"properties":{"dependency":{"package":"sha.js","version":"2.4.11","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"critical","fixedVersion":"2.4.12","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bf81d074f83fbaa48d56f5b9492ae31f61329f55fab494f22c2332eb10c7274e"},"properties":{"dependency":{"package":"cipher-base","version":"1.0.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"critical","fixedVersion":"1.0.5","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6498b214ee711e431301c8e99a3894857beb5ebcd1e472abf3b535f136e2abab"},"properties":{"dependency":{"package":"handlebars","version":"4.7.8","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"critical","fixedVersion":"4.7.9","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7fcfb59edea0221305b7316563f16b66f435c006551736c4039325afcff275e6"},"properties":{"dependency":{"package":"ws","version":"7.5.10","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"7.5.11","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"af05242e6db5c5310df6a6acfeb99072951ca9d9cef0ed278dfe2db590c74ec6"},"properties":{"dependency":{"package":"@fastify/busboy","version":"2.1.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"3.2.1","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2fb8f7256db72ac4ad91fac3cfe093a625762a10e9cc8da5b177f50b5ba46ffe"},"properties":{"dependency":{"package":"adm-zip","version":"0.4.16","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"0.6.1","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2e328209d083257a5cbabae1fb37462934cdf0c0534cbdc1da8b4eadf5ab45b3"},"properties":{"dependency":{"package":"axios","version":"1.7.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"1.16.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"66cb32e81d8e620cc71ffaf884572c23f7c8e0a6d9aafed612d22240dea8851b"},"properties":{"dependency":{"package":"base-x","version":"3.0.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"3.0.11","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bf504c12a25711ce3453aa79870863639e729c705ddd151368cff5a35be9cfc1"},"properties":{"dependency":{"package":"brace-expansion","version":"1.1.11","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"1.1.16","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"50f0ded449540cd7534b79381453ed3470a26fdf668d228cfd1d3c64a11462c9"},"properties":{"dependency":{"package":"ws","version":"8.17.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"8.21.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3c3fb36c6692ff21f1b044993066ffd3dc9b38c887b977988694fdd7d72596e3"},"properties":{"dependency":{"package":"form-data","version":"4.0.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"4.0.6","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"89e544e256ea27a893fc4637b90d927ca15d5d13a7e3af6463eead51323bee1a"},"properties":{"dependency":{"package":"immutable","version":"4.3.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"4.3.9","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8656bb9adb3277689ea734a813988d859e38e5f1c986d6607047b6e47a0d9757"},"properties":{"dependency":{"package":"js-yaml","version":"4.1.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"4.3.2","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"353ccf6a1c8b2a4eac97710649774c3e154822c20f4a95acdf660f58091af3db"},"properties":{"dependency":{"package":"lodash","version":"4.17.21","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"4.18.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"55a60bdd316f69954b1c38fb6cb48f2a009a2cf921cfa3892380d9f201443d9d"},"properties":{"dependency":{"package":"minimatch","version":"3.1.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"3.1.4","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5556bbbdda93f6204b301e68e77a632874d998a13f591039da568125e205145"},"properties":{"dependency":{"package":"brace-expansion","version":"2.0.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"2.1.2","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"94639905eb70c68663996a8f95cab57d44406cbab2363a8c44db1cd91bd81c64"},"properties":{"dependency":{"package":"minimatch","version":"5.1.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"5.1.8","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d41d346e5e67850b546e50796a7084f2091128f7712b190dc86dc1b7ffb15400"},"properties":{"dependency":{"package":"picomatch","version":"2.3.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"2.3.2","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7584becc44cf45f3fdc18d04fc2adccc3321e03b7ffa912fe8f525e9b02cffec"},"properties":{"dependency":{"package":"js-yaml","version":"3.14.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"3.15.2","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5ffe07a03c4437638a030ac6454885a354a502d4255a446c39a4aa7302748c18"},"properties":{"dependency":{"package":"serialize-javascript","version":"6.0.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"7.0.3","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9c6732f7d6c8233a847dd72114db5e784a4238f9bfe1a5ad1a89930099079590"},"properties":{"dependency":{"package":"form-data","version":"2.5.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"2.5.6","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c19c5b27aa15b719325ae8e54bbd067dc78af3bc2a4a975821acc0a4fa71cd47"},"properties":{"dependency":{"package":"picomatch","version":"4.0.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"4.0.4","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"edba04d1b6359a859ea21828b2125797bd3a05d983994ab3dbcfae9d0ef0a2f9"},"properties":{"dependency":{"package":"tmp","version":"0.0.33","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"0.2.6","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f4dcb730eb7a1459b20207319aa3a6a161412658d8852bab74e1f8c27cd8ef13"},"properties":{"dependency":{"package":"undici","version":"5.28.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"6.29.1","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"50ce798de8df41cf396acfd0be75fc5d6976c79174fe7e18efdce4cb2fec76f4"},"properties":{"dependency":{"package":"@fastify/busboy","version":"2.1.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"3.2.1","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2cebf92a18881a37f15c51b7c7e96f93b4f706306e38766d050d8d496b424aab"},"properties":{"dependency":{"package":"adm-zip","version":"0.4.16","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"0.6.1","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dc6378c084c1e3382c6d84b5add93981ff908aa9767ef98b6b98423d868f13e9"},"properties":{"dependency":{"package":"axios","version":"1.9.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"1.16.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e2794ccd7aaeeb64a45c9723b7e4bee5c493cece82ece5c9e68712f2e9251d5a"},"properties":{"dependency":{"package":"base-x","version":"3.0.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"3.0.11","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb4f9eb42b25801a39ab53c5a798cca771e6e22ecb427ba8609331469e22c0f4"},"properties":{"dependency":{"package":"brace-expansion","version":"1.1.11","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"1.1.16","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a6e66c81e80493ce91f96d2fe5af4906325e38a09d2b2f38f4b8143196387454"},"properties":{"dependency":{"package":"ws","version":"8.17.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"8.21.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bf8b5e83d25597d22b19c1a4d4ceb1415c708e4d00178baf687585010836dbd3"},"properties":{"dependency":{"package":"form-data","version":"4.0.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"4.0.6","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7f53d05a114eabbb1a076c67f5cd8414993f243761aa5c71d28d29ef38200539"},"properties":{"dependency":{"package":"immutable","version":"4.3.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"4.3.9","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c72b51b4db191b0cc3e4733c0d75d58dafd747a33497438efd36b08bdd41250f"},"properties":{"dependency":{"package":"js-yaml","version":"4.1.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"4.3.2","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0c8962f5cc14c98faeff243e22af8a035121382df848c79704468dc5ecf4ead5"},"properties":{"dependency":{"package":"lodash","version":"4.17.21","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"4.18.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3f0c4899f6034f297e34045d698356156b73332427471425ccf76a59b475c875"},"properties":{"dependency":{"package":"minimatch","version":"3.1.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"3.1.4","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"aca952141b3897016034754f6a4fbd88e06ff342f8559fe0458204cec20b1604"},"properties":{"dependency":{"package":"brace-expansion","version":"2.0.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"2.1.2","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c50aa5e5b25226423efd0f1b6c31d315ec59eae67e0e3f0028fd7d2b9a82aed6"},"properties":{"dependency":{"package":"minimatch","version":"5.1.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"5.1.8","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d1b4e12abdc2dfbd6611d6a64dacf942d13c0f16927888e0ac449060262394d5"},"properties":{"dependency":{"package":"picomatch","version":"2.3.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"2.3.2","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a82b18db586cae62ee88a866249c1e974ad00e90e4908be9be9996d4de6b0355"},"properties":{"dependency":{"package":"js-yaml","version":"3.14.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"3.15.2","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e5b0a7e8a52d2315bba7a8856a075e89a93a49e6bf03ee5929b268b575c24cf9"},"properties":{"dependency":{"package":"serialize-javascript","version":"6.0.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"7.0.3","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4d3f1a98daad19f8f47c251109c27ac5c375a909306a9ee538b6620d8878dd18"},"properties":{"dependency":{"package":"form-data","version":"2.5.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"2.5.6","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cb1f2b60cb1c50bb627f84d05da5a6d1654b4c4e6e8c9753462e0f378bf26d87"},"properties":{"dependency":{"package":"picomatch","version":"4.0.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"4.0.4","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0b5a219e4a10eb2f1cf466f2ff043afcb030d6e21882d4ef512f4a0469071980"},"properties":{"dependency":{"package":"tmp","version":"0.0.33","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"0.2.6","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"24f1e0586d4fb45afa99ad5379614ab400ff03a01ccb3aa2ff8ae1498f7e408d"},"properties":{"dependency":{"package":"undici","version":"5.28.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"6.29.1","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"36f68480bfe04eaf64551b0f0d782c8a9ad8427642e57bba99de380aa265478f"},"properties":{"dependency":{"package":"ws","version":"7.5.10","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"7.5.11","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":"18b2bbd077d39905782d88b5e6cb2c545cc34334544c302a3698beced6f79202"},"properties":{"dependency":{"package":"stdlib","version":"1.26.4","advisory":"GO-2026-4970","aliases":["BIT-golang-2026-111943","BIT-golang-2026-33818","BIT-golang-2026-39822","BIT-golang-2026-42505","BIT-golang-2026-46600","BIT-golang-2026-56853","BIT-golang-2026-56857","BIT-golang-2026-56858","BIT-golang-2026-56859","BIT-golang-2026-56860","BIT-golang-2026-56862","BIT-golang-2026-56866","BIT-golang-2026-78659","BIT-golang-2026-78660","BIT-golang-2026-78663","BIT-golang-2026-78667","BIT-golang-2026-78669","BIT-golang-2026-94439","BIT-golang-2026-94440","BIT-golang-2026-94448","BIT-golang-2026-97030","BIT-golang-2026-97031","BIT-golang-2026-97032","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","GO-2026-5026","GO-2026-5856","GO-2026-5942","GO-2026-5972","GO-2026-6088","GO-2026-6089","GO-2026-6090","GO-2026-6091","GO-2026-6218","GO-2026-6599","GO-2026-6600","GO-2026-6603","GO-2026-6604","GO-2026-6605","GO-2026-6607","GO-2026-6608","GO-2026-6609","GO-2026-6610","GO-2026-6611","GO-2026-6612","GO-2026-6613","GO-2026-6617","GO-2026-6809","GO-2026-6859","RUSTSEC-2026-0381","RUSTSEC-2026-0382","RUSTSEC-2026-0383"],"severity":"medium","fixedVersion":"1.26.5","relation":"direct","declaredRange":"1.26.4","reachability":{"kind":"production","file":"auditevents/main.go","line":42,"symbol":"http.Get"}}}},{"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":"ea90d4a89ed124d75960342bec5214b8c2deeb745d761dd1ad2ac6b2ada907df"},"properties":{"dependency":{"package":"github.com/gorilla/websocket","version":"1.5.1","advisory":"[GHSA redacted]","aliases":["GO-2026-6278"],"severity":"medium","fixedVersion":"1.5.3","relation":"direct","declaredRange":"1.5.1","reachability":{"kind":"production","file":"internal/events/websockets/websocket_connection.go","line":29}}}},{"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":"346ae1f77b19bb950c6e55683a42ad30dc7f365e06a9ca00167114e610203713"},"properties":{"dependency":{"package":"golang.org/x/net","version":"0.60.0","advisory":"GO-2026-6860","aliases":["[CVE redacted]","[CVE redacted]","GO-2026-6866"],"severity":"medium","fixedVersion":"0.62.0","relation":"direct","declaredRange":"0.60.0","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1c9c7154a9d80981a2f1da0fd0aa2e12a4e104a4411624a7aabc5ce2dd45d848"},"properties":{"dependency":{"package":"golang.org/x/crypto","version":"0.57.0","advisory":"GO-2026-5932","severity":"medium","fixedVersion":"0.58.1-0.20261009181718-2f1f834330b2","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":"6cd7106ed5e30ba5c8a458cf02a77f22728f3b4284e3319bf2599b56b9dfe1fc"},"properties":{"dependency":{"package":"stdlib","version":"1.26.4","advisory":"GO-2026-4970","aliases":["BIT-golang-2026-111943","BIT-golang-2026-33818","BIT-golang-2026-39822","BIT-golang-2026-42505","BIT-golang-2026-46600","BIT-golang-2026-56853","BIT-golang-2026-56857","BIT-golang-2026-56858","BIT-golang-2026-56859","BIT-golang-2026-56860","BIT-golang-2026-56862","BIT-golang-2026-56866","BIT-golang-2026-78659","BIT-golang-2026-78660","BIT-golang-2026-78663","BIT-golang-2026-78667","BIT-golang-2026-78669","BIT-golang-2026-94439","BIT-golang-2026-94440","BIT-golang-2026-94448","BIT-golang-2026-97030","BIT-golang-2026-97031","BIT-golang-2026-97032","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","GO-2026-5026","GO-2026-5856","GO-2026-5942","GO-2026-5972","GO-2026-6088","GO-2026-6089","GO-2026-6090","GO-2026-6091","GO-2026-6218","GO-2026-6599","GO-2026-6600","GO-2026-6603","GO-2026-6604","GO-2026-6605","GO-2026-6607","GO-2026-6608","GO-2026-6609","GO-2026-6610","GO-2026-6611","GO-2026-6612","GO-2026-6613","GO-2026-6617","GO-2026-6809","GO-2026-6859","RUSTSEC-2026-0381","RUSTSEC-2026-0382","RUSTSEC-2026-0383"],"severity":"medium","fixedVersion":"1.26.5","relation":"direct","declaredRange":"1.26.4","reachability":{"kind":"production","file":"smart_contracts/fabric/custompin-sample/chaincode/mocks/clientidentity.go","line":5}}}},{"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":"5b1856b65d1f83612477e3ab1ab1ec362271674f14b811afb7e046bf2017e509"},"properties":{"dependency":{"package":"golang.org/x/net","version":"0.60.0","advisory":"GO-2026-6860","aliases":["[CVE redacted]","[CVE redacted]","GO-2026-6866"],"severity":"medium","fixedVersion":"0.62.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0c263bf36a56cc9b2d8af7b58c9d82e13802aac83506dc0c65e106f372965c1a"},"properties":{"dependency":{"package":"stdlib","version":"1.26.4","advisory":"GO-2026-4970","aliases":["BIT-golang-2026-111943","BIT-golang-2026-33818","BIT-golang-2026-39822","BIT-golang-2026-42505","BIT-golang-2026-46600","BIT-golang-2026-56853","BIT-golang-2026-56857","BIT-golang-2026-56858","BIT-golang-2026-56859","BIT-golang-2026-56860","BIT-golang-2026-56862","BIT-golang-2026-56866","BIT-golang-2026-78659","BIT-golang-2026-78660","BIT-golang-2026-78663","BIT-golang-2026-78667","BIT-golang-2026-78669","BIT-golang-2026-94439","BIT-golang-2026-94440","BIT-golang-2026-94448","BIT-golang-2026-97030","BIT-golang-2026-97031","BIT-golang-2026-97032","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","GO-2026-5026","GO-2026-5856","GO-2026-5942","GO-2026-5972","GO-2026-6088","GO-2026-6089","GO-2026-6090","GO-2026-6091","GO-2026-6218","GO-2026-6599","GO-2026-6600","GO-2026-6603","GO-2026-6604","GO-2026-6605","GO-2026-6607","GO-2026-6608","GO-2026-6609","GO-2026-6610","GO-2026-6611","GO-2026-6612","GO-2026-6613","GO-2026-6617","GO-2026-6809","GO-2026-6859","RUSTSEC-2026-0381","RUSTSEC-2026-0382","RUSTSEC-2026-0383"],"severity":"medium","fixedVersion":"1.26.5","relation":"direct","declaredRange":"1.26.4","reachability":{"kind":"production","file":"smart_contracts/fabric/firefly-go/chaincode/mocks/clientidentity.go","line":5}}}},{"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":"195f4ba607a021f832f3d904e031a123e713344ee7f182115a9daf118d1cf11e"},"properties":{"dependency":{"package":"golang.org/x/net","version":"0.60.0","advisory":"GO-2026-6860","aliases":["[CVE redacted]","[CVE redacted]","GO-2026-6866"],"severity":"medium","fixedVersion":"0.62.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9459485ddfc11319e4bb3f33e07e06fc37b03a4f5df97e66ce8890ee7314ee7a"},"properties":{"dependency":{"package":"bn.js","version":"4.12.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"4.12.3","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":"6e3a98e566ffb7e4019da4be430d1cfd7c0a819fc3855052bc052a7883a3edfc"},"properties":{"dependency":{"package":"ajv","version":"8.12.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"8.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":"2d1e03ce1a5d6ba571fc73211f16d98dfd09348378c48dc8194498b05e7ba523"},"properties":{"dependency":{"package":"bn.js","version":"5.2.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"5.2.3","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":"5373a796a9fce9cdc6ccf17546b42779b96ec1327bc53bc35997eee0d3b69e24"},"properties":{"dependency":{"package":"bn.js","version":"4.11.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"4.12.3","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":"9f253fc89034f2546fa384fc513a5462648bce089377545d01ca14cafaa26bf1"},"properties":{"dependency":{"package":"follow-redirects","version":"1.15.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"1.16.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":"caacdcab436ef4b3c02be83a4348d4203d8759c0b07c9a6c2aeccdb542320790"},"properties":{"dependency":{"package":"qs","version":"6.12.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"medium","fixedVersion":"6.16.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":"a6ccb92c7a48a73521e65062ceffab114f5644af76da300b26696835958338d3"},"properties":{"dependency":{"package":"uuid","version":"8.3.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]"],"severity":"medium","fixedVersion":"11.1.1","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5a082803d61e1607f34a24964e19f41d92da38c7e87126dc0c1b1472b5ffcaa1"},"properties":{"dependency":{"package":"bn.js","version":"4.12.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"4.12.3","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":"59e2e7ad86ed74ed60ee51c31711d5af0756b0160ad89016cb62f3c034d714da"},"properties":{"dependency":{"package":"bn.js","version":"4.12.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"4.12.3","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":"e9ac417240f7988dcef565329892bbcd4e12e19656f80339b5b279e8ca50008d"},"properties":{"dependency":{"package":"ajv","version":"8.12.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"8.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":"0bc888aa172a2eea480ecc61c35812e5f9c1ba6adf1387c2f11215e1d3191c9d"},"properties":{"dependency":{"package":"bn.js","version":"5.2.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"5.2.3","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":"5ad88cf905e54d5e22f6cf2884e6fcef931ccfa971ec027a12939c8f54bf6975"},"properties":{"dependency":{"package":"bn.js","version":"4.11.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"4.12.3","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":"6545898b5a3bd448f3b06e73bf98ee94c5f377e1e379860f0f94d97ad9266538"},"properties":{"dependency":{"package":"follow-redirects","version":"1.15.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"1.16.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":"60dc03bcc2afc25c989732d4b296a40559ed3b0aa5c99f81b40ebd10c892b6b7"},"properties":{"dependency":{"package":"pbkdf2","version":"3.1.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"3.1.7","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":"6adf3a9d26e0dc5a9c07623431a2e91488de83cde6acd8006490c6c9ce8d99b6"},"properties":{"dependency":{"package":"qs","version":"6.12.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"medium","fixedVersion":"6.16.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":"077d2c224483df624e83306590fa4b20a5b728f92013a2b869250689263ca9ae"},"properties":{"dependency":{"package":"uuid","version":"8.3.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]"],"severity":"medium","fixedVersion":"11.1.1","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5167028f660b4f8e350ebcdf95c9bd56ba4e0fc7e5e10dd79e1351c1c49037da"},"properties":{"dependency":{"package":"diff","version":"5.2.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"low","fixedVersion":"5.2.2","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"730ba8dd9e1bc3af0b90ebf238213e3e8bbb7ecf4456c9838f088895aedb3bbf"},"properties":{"dependency":{"package":"elliptic","version":"6.6.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"low","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8a8730efbcecc86701365b218f2d142daa3fe0673ede8bad5a077c8730c1f8b2"},"properties":{"dependency":{"package":"diff","version":"4.0.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"low","fixedVersion":"4.0.4","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ea5b85e6f55d7980620e17b727403d927e52ea0daee503787be1aa4f367cc38e"},"properties":{"dependency":{"package":"diff","version":"5.2.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"low","fixedVersion":"5.2.2","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c5b4502835c464a1cc1284b92a9d424a13489278447bf4410957657693a8dbbb"},"properties":{"dependency":{"package":"elliptic","version":"6.6.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"low","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0caa80a167c4ee532e8d117c144e1f3302486baaf9c8a8a82db5c0b5b1db9bdd"},"properties":{"dependency":{"package":"diff","version":"4.0.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"low","fixedVersion":"4.0.4","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ac5bffce91314a2a0886b4b90a4262f95ff1af5026ac7318ac57dad865aba67c"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2a91c744a60e36dddac934c1cda23810dc9c32fb607803b30b3814d36d5618a7"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9a8db11f6e5a12f42a9a0779ed189e80af4ce409f323c3bcc7ed271eec65001b"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ae2dfb06bfe0dcadfc949c881aa237cb2a4aac5b1cc69adf101d9e003549ef46"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9ff1ee9dd5615e2d512c1b5a7eb9a731208830cdc6ec1c07d8913d2a5c081e3c"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5cfed0ee4e80785ce23c7083cffdead9acc6c64f9dce56a00ca7178bd3d7bee5"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3ff6e0b92b1756ec959676edf0a6c56390d42e230fac37b1849eaee914f661e2"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9bb6a5bd947ce2c14f70e677d50c2d416dc67fa83e890358ccd58c94938a6f7f"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"431b340e01561095e10732c7160d91d0a55b24b752089f8b8b98fdbae30f37a1"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dfb72add10bd169484e6f5e6b3c06ccee551a9b90e856bb1a7213d0450e372a5"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4a25f11c92270d05e8d2fbcb955e545abc33875eca128af0552add0724087670"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: route_post_contract_api_invoke.go \u2194 route_post_contract_invoke.go: \u0060internal/apiserver/route_post_contract_api_invoke.go\u0060 and \u0060internal/apiserver/route_post_contract_invoke.go\u0060 change together 75% of the time (9 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 9 shared commits counted here, the most recent 3 are \u006056d344c4\u0060 Document the confirm option on the generated invoke APIs; \u0060a4972b7f\u0060 disable contract routes when missing blockchain; \u0060adc2e48c\u0060 Add namespace to contract API database queries \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/apiserver/route_post_contract_api_invoke.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d080daafdfc32b2a229cca3aa1d2ee7b0dac06664b9a8faef9e240ee9e9b48f8"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: route_post_new_contract_api.go \u2192 route_post_contract_invoke.go, route_post_new_contract_interface.go, route_put_contract_api.go: \u0060internal/apiserver/route_post_new_contract_api.go\u0060 changes together with 3 other files \u2014 \u0060internal/apiserver/route_post_contract_invoke.go\u0060, \u0060internal/apiserver/route_post_new_contract_interface.go\u0060, \u0060internal/apiserver/route_put_contract_api.go\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/apiserver/route_post_new_contract_api.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae18ed2841c1f3e06562b86053bdef60a68b78a19cd5de806bfb1629779b02de"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: route_post_new_contract_interface.go \u2194 route_put_contract_api.go: \u0060internal/apiserver/route_post_new_contract_interface.go\u0060 and \u0060internal/apiserver/route_put_contract_api.go\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u006018ea8703\u0060 -update: custom topics; \u006056d344c4\u0060 Document the confirm option on the generated invoke APIs; \u0060a4972b7f\u0060 disable contract routes when missing blockchain \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/apiserver/route_post_new_contract_interface.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3fec52bb0c137d3dafc8cec110ba75f65ca8d721a2b20ca4995d715e9e5223b"}},{"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":"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":"17d87de61b498cfaeb7dd1c121983a061ace59849f3a414464952db2c70b70a5"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb304bfca793660f2a5eee9182f22e635edca03862cf56f54fce93b4fea01e78"},"taxa":[{"id":"CICD-SEC-5","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":"4f1e7684f8281bd255ddef97105c7055c2ebae06964c8745716b83e174debe83"}},{"ruleId":"D44","level":"warning","message":{"text":"End-of-life runtime: Ruby 3.1: .ruby-version declares Ruby 3.1 as this project\u0027s version file, and Ruby 3.1, support ended 2025-03-26. An unsupported runtime receives no security patches, so every vulnerability disclosed in it since 2025-03-26 is present and unfixable without moving off it. This is a migration rather than an upgrade: there is no newer release of a runtime that has ended."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".ruby-version"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"14361b818e92b028b2e213a924316bff2bc605f906c024f243a6d3edfd182957"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: Manager (24 methods): \u0060Manager\u0060 declares 24 methods: \u0060CreateTokenPool\u0060, \u0060ActivateTokenPool\u0060, \u0060GetTokenPools\u0060, \u0060GetTokenPoolByLocator\u0060, \u0060GetTokenPoolByNameOrID\u0060, \u0060GetTokenPoolByID\u0060, \u0060ResolvePoolMethods\u0060, \u0060DeleteTokenPool\u0060, \u0060GetTokenBalances\u0060, \u0060GetTokenAccounts\u0060, \u0060GetTokenAccountPools\u0060, \u0060GetTokenTransfers\u0060, \u0060GetTokenTransferByID\u0060, \u0060NewTransfer\u0060, \u0060MintTokens\u0060, \u0060BurnTokens\u0060, \u0060TransferTokens\u0060, \u0060GetTokenConnectors\u0060, \u0060NewApproval\u0060, \u0060TokenApproval\u0060, \u0060GetTokenApprovals\u0060, \u0060PrepareOperation\u0060, \u0060RunOperation\u0060, \u0060Start\u0060. Counted over the exported method specs the interface itself declares, once per name; an embedded interface is a role it composes, judged on its own declaration, and is not counted here. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/assets/manager.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8445d77a252b83c3d70cad59f04cfef17464ee297368c3cbfcd91d7d996b334"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: Manager (30 methods): \u0060Manager\u0060 declares 30 methods: \u0060GetFFI\u0060, \u0060GetFFIWithChildren\u0060, \u0060GetFFIByID\u0060, \u0060GetFFIByIDWithChildren\u0060, \u0060GetFFIMethods\u0060, \u0060GetFFIEvents\u0060, \u0060GetFFIs\u0060, \u0060ResolveFFI\u0060, \u0060ResolveFFIReference\u0060, \u0060DeleteFFI\u0060, \u0060DeployContract\u0060, \u0060InvokeContract\u0060, \u0060InvokeContractAPI\u0060, \u0060GetContractAPI\u0060, \u0060GetContractAPIInterface\u0060, \u0060GetContractAPIs\u0060, \u0060ResolveContractAPI\u0060, \u0060DeleteContractAPI\u0060, \u0060UpsertContractAPI\u0060, \u0060ConstructContractListenerSignature\u0060, \u0060AddContractListener\u0060, \u0060AddContractAPIListener\u0060, \u0060GetContractListenerByNameOrID\u0060, \u0060GetContractListenerByNameOrIDWithStatus\u0060, \u0060GetContractListeners\u0060, \u0060GetContractAPIListeners\u0060, \u0060DeleteContractListenerByNameOrID\u0060, \u0060GenerateFFI\u0060, \u0060PrepareOperation\u0060, \u0060RunOperation\u0060. Counted over the exported method specs the interface itself declares, once per name; an embedded interface is a role it composes, judged on its own declaration, and is not counted here. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/contracts/manager.go"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"019f6cc33c5b0b4e379ccbab24a2029b0d39809c3dd1b7700bc96ec15da8a7b3"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: Manager (18 methods): \u0060Manager\u0060 declares 18 methods: \u0060CheckDatatype\u0060, \u0060ValidateAll\u0060, \u0060GetMessageWithDataCached\u0060, \u0060GetMessageDataCached\u0060, \u0060PeekMessageCache\u0060, \u0060UpdateMessageCache\u0060, \u0060UpdateMessageIfCached\u0060, \u0060UpdateMessageStateIfCached\u0060, \u0060ResolveInlineData\u0060, \u0060WriteNewMessage\u0060, \u0060BlobsEnabled\u0060, \u0060UploadJSON\u0060, \u0060UploadBlob\u0060, \u0060DownloadBlob\u0060, \u0060DeleteData\u0060, \u0060HydrateBatch\u0060, \u0060Start\u0060, \u0060WaitStop\u0060. Counted over the exported method specs the interface itself declares, once per name; an embedded interface is a role it composes, judged on its own declaration, and is not counted here. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/data/data_manager.go"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f38f325330420db4b44cb3815ad28e4ac7b11220bf1d8f5dee5f29377f80038"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: EventManager (22 methods): \u0060EventManager\u0060 declares 22 methods: \u0060NewPins\u0060, \u0060NewEvents\u0060, \u0060NewSubscriptions\u0060, \u0060SubscriptionUpdates\u0060, \u0060DeletedSubscriptions\u0060, \u0060DeleteDurableSubscription\u0060, \u0060CreateUpdateDurableSubscription\u0060, \u0060EnrichEvent\u0060, \u0060EnrichEvents\u0060, \u0060FilterHistoricalEventsOnSubscription\u0060, \u0060QueueBatchRewind\u0060, \u0060ResolveTransportAndCapabilities\u0060, \u0060Start\u0060, \u0060WaitStop\u0060, \u0060BlockchainEventBatch\u0060, \u0060DXEvent\u0060, \u0060SharedStorageBatchDownloaded\u0060, \u0060SharedStorageBlobDownloaded\u0060, \u0060TokenPoolCreated\u0060, \u0060TokensTransferred\u0060, \u0060TokensApproved\u0060, \u0060GetPlugins\u0060. Counted over the exported method specs the interface itself declares, once per name; an embedded interface is a role it composes, judged on its own declaration, and is not counted here. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/events/event_manager.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbdbbba666716e668be263c16254dbbb207f2e6a2ff250f205e7140e14d33461"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: Manager (16 methods): \u0060Manager\u0060 declares 16 methods: \u0060ResolveInputSigningIdentity\u0060, \u0060ResolveInputVerifierRef\u0060, \u0060ResolveInputSigningKey\u0060, \u0060ResolveQuerySigningKey\u0060, \u0060ResolveIdentitySigner\u0060, \u0060ResolveMultipartyRootVerifier\u0060, \u0060FindIdentityForVerifier\u0060, \u0060CachedIdentityLookupByID\u0060, \u0060CachedIdentityLookupMustExist\u0060, \u0060CachedIdentityLookupNilOK\u0060, \u0060GetLocalNode\u0060, \u0060GetLocalNodeDID\u0060, \u0060GetRootOrgDID\u0060, \u0060GetRootOrg\u0060, \u0060VerifyIdentityChain\u0060, \u0060ValidateNodeOwner\u0060. Counted over the exported method specs the interface itself declares, once per name; an embedded interface is a role it composes, judged on its own declaration, and is not counted here. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/identity/identitymanager.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2050994bdbc18621d2b1671136440898ba257709859a1bd30e8b2654854f9cd"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: Manager (22 methods): \u0060Manager\u0060 declares 22 methods: \u0060RegisterOrganization\u0060, \u0060RegisterNode\u0060, \u0060RegisterNodeOrganization\u0060, \u0060RegisterIdentity\u0060, \u0060UpdateIdentity\u0060, \u0060CheckNodeIdentityStatus\u0060, \u0060GetOrganizationByNameOrID\u0060, \u0060GetOrganizations\u0060, \u0060GetOrganizationsWithVerifiers\u0060, \u0060GetNodeByNameOrID\u0060, \u0060GetNodes\u0060, \u0060GetIdentityByID\u0060, \u0060GetIdentityByIDWithVerifiers\u0060, \u0060GetIdentityByDID\u0060, \u0060GetIdentityByDIDWithVerifiers\u0060, \u0060GetIdentities\u0060, \u0060GetIdentitiesWithVerifiers\u0060, \u0060GetIdentityVerifiers\u0060, \u0060GetVerifiers\u0060, \u0060GetVerifierByHash\u0060, \u0060GetDIDDocForIndentityByID\u0060, \u0060GetDIDDocForIndentityByDID\u0060. Counted over the exported method specs the interface itself declares, once per name; an embedded interface is a role it composes, judged on its own declaration, and is not counted here. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/networkmap/manager.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d4d9cc2820a30e69a8e683d9350e1029764affe2c1a02c42456eb1959fa373a"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: Orchestrator (63 methods): \u0060Orchestrator\u0060 declares 63 methods: \u0060PreInit\u0060, \u0060Init\u0060, \u0060Start\u0060, \u0060WaitStop\u0060, \u0060MultiParty\u0060, \u0060BatchManager\u0060, \u0060Broadcast\u0060, \u0060PrivateMessaging\u0060, \u0060Assets\u0060, \u0060DefinitionSender\u0060, \u0060Contracts\u0060, \u0060Data\u0060, \u0060Events\u0060, \u0060NetworkMap\u0060, \u0060Operations\u0060, \u0060Identity\u0060, \u0060GetStatus\u0060, \u0060GetMultipartyStatus\u0060, \u0060GetSubscriptions\u0060, \u0060GetSubscriptionByID\u0060, \u0060GetSubscriptionByIDWithStatus\u0060, \u0060GetSubscriptionEventsHistorical\u0060, \u0060CreateSubscription\u0060, \u0060CreateUpdateSubscription\u0060, \u0060DeleteSubscription\u0060, \u0060GetNamespace\u0060, \u0060GetTransactionByID\u0060, \u0060GetTransactionOperations\u0060, \u0060GetTransactionBlockchainEvents\u0060, \u0060GetTransactionStatus\u0060, \u0060GetTransactions\u0060, \u0060GetMessageByID\u0060, \u0060GetMessageByIDWithData\u0060, \u0060GetMessages\u0060, \u0060GetMessagesWithData\u0060, \u0060GetMessageTransaction\u0060, \u0060GetMessageEvents\u0060, \u0060GetMessageData\u0060, \u0060GetMessagesForData\u0060, \u0060GetBatchByID\u0060, and 23 more. Counted over the exported method specs the interface itself declares, once per name; an embedded interface is a role it composes, judged on its own declaration, and is not counted here. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/orchestrator/orchestrator.go"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"589de380406e4d02a71debb89a2ba62e04622e9760c59b33a2975c26a213bb64"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: Plugin (31 methods): \u0060Plugin\u0060 declares 31 methods: \u0060InitConfig\u0060, \u0060Init\u0060, \u0060StartNamespace\u0060, \u0060StopNamespace\u0060, \u0060SetHandler\u0060, \u0060SetOperationHandler\u0060, \u0060Capabilities\u0060, \u0060VerifierType\u0060, \u0060ResolveSigningKey\u0060, \u0060SubmitBatchPin\u0060, \u0060SubmitNetworkAction\u0060, \u0060DeployContract\u0060, \u0060ParseInterface\u0060, \u0060ValidateInvokeRequest\u0060, \u0060InvokeContract\u0060, \u0060QueryContract\u0060, \u0060AddContractListener\u0060, \u0060DeleteContractListener\u0060, \u0060GetContractListenerStatus\u0060, \u0060GetFFIParamValidator\u0060, \u0060GenerateFFI\u0060, \u0060NormalizeContractLocation\u0060, \u0060GenerateEventSignature\u0060, \u0060GenerateEventSignatureWithLocation\u0060, \u0060CheckOverlappingLocations\u0060, \u0060GenerateErrorSignature\u0060, \u0060GetNetworkVersion\u0060, \u0060GetAndConvertDeprecatedContractConfig\u0060, \u0060AddFireflySubscription\u0060, \u0060RemoveFireflySubscription\u0060, \u0060GetTransactionStatus\u0060. Counted over the exported method specs the interface itself declares, once per name; an embedded interface is a role it composes, judged on its own declaration, and is not counted here. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/blockchain/plugin.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"71ed2fc713e3e8711855211f183447fc0e6c6314a3547b2930de943e5aebe1ea"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: Plugin (16 methods): \u0060Plugin\u0060 declares 16 methods: \u0060InitConfig\u0060, \u0060Init\u0060, \u0060SetHandler\u0060, \u0060SetOperationHandler\u0060, \u0060StartNamespace\u0060, \u0060StopNamespace\u0060, \u0060Capabilities\u0060, \u0060ConnectorName\u0060, \u0060CreateTokenPool\u0060, \u0060ActivateTokenPool\u0060, \u0060DeactivateTokenPool\u0060, \u0060CheckInterface\u0060, \u0060MintTokens\u0060, \u0060BurnTokens\u0060, \u0060TransferTokens\u0060, \u0060TokensApproval\u0060. Counted over the exported method specs the interface itself declares, once per name; an embedded interface is a role it composes, judged on its own declaration, and is not counted here. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/tokens/plugin.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff39f11a4f2800d753eb10bc2208bd6b9b22ba67a00b01087489fe0478719473"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: doc-site/docs/contributors/dev_environment_setup.md names Go 1.22, but go.mod:3 requires \u0060go 1.26.0\u0060 (the lowest of 4 declarations): the code does not build on Go 1.22. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-site/docs/contributors/dev_environment_setup.md"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9c4b1245d9ce76ecde2cdd645451b58b090d576cd1b69881d9504541ee9b353"}},{"ruleId":"P3","level":"note","message":{"text":"Dependabot does not watch gradle: \u0060.github/dependabot.yml\u0060 schedules updates, but no \u0060package-ecosystem\u0060 entry covers \u0060gradle\u0060, which this tree depends on \u2014 so those dependencies get no update pull requests and no advisory pressure, however complete the dep-scan credit looks. Add the missing entry to the \u0060updates:\u0060 list."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/dependabot.yml"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f3bff8eed2eb29302c3d10644f1ecba23171c77cd6c406b6dfa078dfc05ad87"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060http.Get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auditevents/main.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9d2430ad1d533edb40eb0f945168b1809232ca88321fefa9f002daee5f0a818"}},{"ruleId":"PF1","level":"note","message":{"text":"Benchmarks don\u0027t track allocations: A Go testing.B suite exists but nothing turns on its allocation measurement \u2014 allocations (the main way hot code pressures a garbage collector or allocator) aren\u0027t being measured."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/contracts/manager_bench_test.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e70fb4aaa532e460f84866e802a7098e0d05bf25abe336027f9fa8cfc51c90e2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060config.GetBool(coreconfig.DeprecatedMetricsEnabled) || config.GetBool(coreconfig.MonitoringEnabled)\u0060 appears character-identically in 2 files \u2014 internal/metrics/metrics.go, internal/namespace/manager.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/metrics/metrics.go"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"26af0d67a441292fa8c748231002e0d8a28ab5b0c1d2f17f02e89e9269e0418a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060conflictTestOk \u0026\u0026 conflictErr.IsConflictError()\u0060 appears character-identically in 2 files \u2014 internal/batch/batch_processor.go, internal/operations/manager.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/batch/batch_processor.go"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"31d996d46a30490d4706d6014b3cce7dc297b9f00053484ba9b30cc634ce5831"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060dh.multiparty \u0026\u0026 identity.Type == core.IdentityTypeNode\u0060 appears character-identically in 2 files \u2014 internal/definitions/handler_identity_claim.go, internal/definitions/handler_identity_update.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/definitions/handler_identity_claim.go"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bcb14204d1774f5be8c79ad05aa288ac5d47ec9d492a967ced7b1961f389143"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060err != nil \u0026\u0026 err != fftypes.DeleteRecordNotFound\u0060 appears character-identically in 3 files \u2014 internal/database/sqlcommon/tokenapproval_sql.go, internal/database/sqlcommon/tokenbalance_sql.go, internal/database/sqlcommon/tokentransfer_sql.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/database/sqlcommon/tokenapproval_sql.go"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"43e48359223b3258b0e3c09531915d913e5c6c62911a1b256596b2acb376c8bb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060firstEvent == \u0022\u0022 || firstEvent == string(core.SubOptsFirstEventNewest) || firstEvent == \u0022latest\u0022\u0060 appears character-identically in 2 files \u2014 internal/blockchain/ethereum/eventstream.go, internal/blockchain/fabric/eventstream.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/blockchain/ethereum/eventstream.go"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfb4ec0a1cc59c44b91927c640decd4db8cca35199ea6346b582c2ca409629a1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060msg != nil \u0026\u0026 msg.State == core.MessageStateStaged\u0060 appears character-identically in 2 files \u2014 internal/events/tokens_approved.go, internal/events/tokens_transferred.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/events/tokens_approved.go"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"573069f122de3d5d94e2d8d36799db24db1d22afda23f3953b7b706ff9025997"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060okNotFound \u0026\u0026 res.StatusCode() == http.StatusNotFound\u0060 appears character-identically in 3 files \u2014 internal/blockchain/ethereum/eventstream.go, internal/blockchain/fabric/eventstream.go, internal/blockchain/tezos/eventstream.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/blockchain/ethereum/eventstream.go"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"64408c19ed6c05c935034bb9ffdee56e88196827089439c408cba5fa5f49e617"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060res != nil \u0026\u0026 res.StatusCode() == http.StatusConflict\u0060 appears character-identically in 2 files \u2014 internal/blockchain/common/common.go, internal/tokens/fftokens/fftokens.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/blockchain/common/common.go"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"c114d6235beb3f41c73fb49ef5441ca6e982492955729957e6426782aa1b8a67"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060sBlockNumber == \u0022\u0022 || sTransactionHash == \u0022\u0022\u0060 appears character-identically in 2 files \u2014 internal/blockchain/cardano/cardano.go, internal/blockchain/ethereum/ethereum.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/blockchain/cardano/cardano.go"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"094e3aa7af202814be42a8b5c49fe7eff5c409520576beccaf72e18a12e0b6d7"}},{"ruleId":"X2","level":"note","message":{"text":"Not all functions that make a request accept a context.Context: Only 0/1 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: get: \u0060get\u0060 calls \u0060http.Get(\u2026)\u0060 but takes no context.Context and reaches none its caller controls, so its caller cannot cancel the request once it has started. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it: \u0060http.NewRequestWithContext(ctx, \u2026)\u0060, \u0060(\u0026net.Dialer{}).DialContext(ctx, \u2026)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auditevents/main.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"15bd196487b93f95f1b088c5a56ca159430ba2aaf305bff37c0468e281083fad"}},{"ruleId":"X26","level":"warning","message":{"text":"Collection crosses a callback boundary unsynchronised: \u0060submitBlobTransfersToDX\u0060 starts a goroutine on every pass of a loop, and each one writes \u0060firstError\u0060, a variable declared before the loop \u2014 \u0060firstError = \u2026\u0060 on line 270. The loop never waits on \u0060wg\u0060 before its next pass, so the goroutines of successive passes run at the same time and each one\u0027s write races the next one\u0027s; waiting on \u0060wg\u0060 after the loop orders only what follows the wait. A goroutine\u0027s closure captures \u0060firstError\u0060 by reference, so every goroutine and the body use ONE variable, and a plain variable has no synchronisation of its own: by the Go memory model a write concurrent with any other access to it is a data race (the race detector reports it), a racing \u0060\u002B\u002B\u0060 loses updates, and a racing read sees a stale or torn value. \u0060wg\u0060 is a \u0060sync.WaitGroup\u0060, which orders the handoff\u0027s signal and takes no exclusion over the variable\u0027s own state. Guard every write to \u0060firstError\u0060 with one \u0060sync.Mutex\u0060, or have each goroutine send its result on a channel that this body alone receives from and writes into \u0060firstError\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/privatemessaging/privatemessaging.go"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"553848a998fdd6fc5502ab2065b8ed84b6c6c4eadb3cb5c7ea76fee1d4c67153"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060b, _ := json.Marshal(\u0026bm)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060b\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060b\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 \u0060b\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":"pkg/core/batch.go"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"7275e74b5bd23835de54f90ba9fb8ff8be73ec63b9ce0d463412c23e7fa8ce3d"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060b, _ := json.Marshal(\u0026ma)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060b\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060b\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 \u0060b\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":"pkg/core/batch.go"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"81615df08759a05244ed2ff71be8d77633913dc4ac8afdc732035b8c46588e48"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060bytes, _ := json.Marshal(fse)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060bytes\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060bytes\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 \u0060bytes\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":"pkg/core/contract_listener.go"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"3673adcbf85d6920375234d9fc90024af7f6456ecb5a1b7e71eb95335cc8231b"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060bytes, _ := json.Marshal(o)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060bytes\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060bytes\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 \u0060bytes\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":"pkg/core/contract_listener.go"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"def72bc88e1e6d788fcb06c87a42af3720e0e664af86573fe6494b4dcb0040df"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060bytes, _ := json.Marshal(lf)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060bytes\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060bytes\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 \u0060bytes\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":"pkg/core/contract_listener.go"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"d44971843844dea7f5dd9540e1f0ae5e918406902980127bfbf08a670790d151"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060b, _ := json.Marshal(\u0026d)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060b\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060b\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 \u0060b\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":"pkg/core/data.go"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"4441cea0f15356fbe5e33def9cdbccbbb7d44df9e169afb0a9d069984c8f313b"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060b, _ := json.Marshal(\u0026man)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060b\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060b\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 \u0060b\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":"pkg/core/group.go"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"79072d663484cf483674027bec72032c0f3c747793683e75dc3f693ca94bfee0"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060b, _ := json.Marshal(\u0026h)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060b\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060b\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 \u0060b\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":"pkg/core/message.go"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"f040a2d88ad6d7bd6a841fac6cefc003ad84aa923959a8ba6b710fe6c4158ef6"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060namespace, _, _ := core.ParseNamespacedOpID(ctx, nsOpID)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060namespace\u0060 as if the call succeeded. When \u0060core.ParseNamespacedOpID\u0060 fails, \u0060namespace\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 \u0060namespace\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/tokens/fftokens/fftokens.go"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3c64b46e2d8c6862618c3eef742ef2f6cee99b1a79db3ed04539f480f2e7042"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060b, _ := json.Marshal(startCmd)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060b\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060b\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 \u0060b\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/tokens/fftokens/fftokens.go"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d86285a731d2aeade729bcc559553c10127f2a5ba27384ea28a482fe7fd2143"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060ack, _ := json.Marshal(wsAck{ WSActionBase: core.WSActionBase{ Type: core.WSClientActionAck, }, ID: msg.ID, })\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060ack\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060ack\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 \u0060ack\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/tokens/fftokens/fftokens.go"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e7f71e7d15092d785413c1504ebcdc383e08dd7c433ebfefcaa1bd70366ca6d"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060data, _ := json.Marshal(tokenData)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060data\u0060 as if the call succeeded. When \u0060json.Marshal\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/tokens/fftokens/fftokens.go"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"e208dc25173e3b5f0a91b6731b0c0f6f3a85954c1a443a217e17a7a35c93fa32"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060data, _ := json.Marshal(tokenData{ TX: mint.TX.ID, TXType: mint.TX.Type, Message: mint.Message, MessageHash: mint.MessageHash, })\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060data\u0060 as if the call succeeded. When \u0060json.Marshal\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/tokens/fftokens/fftokens.go"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"806cbdbbe17b9dbae00a698e583cfdc2e05a5c0f772cec9a1d0479bc1863b9bb"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060data, _ := json.Marshal(tokenData{ TX: burn.TX.ID, TXType: burn.TX.Type, Message: burn.Message, MessageHash: burn.MessageHash, })\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060data\u0060 as if the call succeeded. When \u0060json.Marshal\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/tokens/fftokens/fftokens.go"},"region":{"startLine":966}}}],"partialFingerprints":{"codehealthFindingId/v1":"2548b2072479d6419df14929f6d04fcffd5cde5f246c9ed2453b20756b0a2054"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060data, _ := json.Marshal(tokenData{ TX: transfer.TX.ID, TXType: transfer.TX.Type, Message: transfer.Message, MessageHash: transfer.MessageHash, })\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060data\u0060 as if the call succeeded. When \u0060json.Marshal\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/tokens/fftokens/fftokens.go"},"region":{"startLine":1001}}}],"partialFingerprints":{"codehealthFindingId/v1":"50926ed162cef29d8b637327a90e2c7cc657f10de4cfa1d947a6df213f0b0de9"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060data, _ := json.Marshal(tokenData{ TX: approval.TX.ID, TXType: approval.TX.Type, Message: approval.Message, MessageHash: approval.MessageHash, })\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060data\u0060 as if the call succeeded. When \u0060json.Marshal\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/tokens/fftokens/fftokens.go"},"region":{"startLine":1037}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bb5bc0a8c146bc39c2063385adbb877da584536ea242fc0ce94ff10890ed1cc"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060markdown, _, _ := generateObjectReferenceMarkdown(ctx, true, nil, reflect.TypeOf(simpleType), []string{}, simpleTypeNames, []string{}, outputPath)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060markdown\u0060 as if the call succeeded. When \u0060generateObjectReferenceMarkdown\u0060 fails, \u0060markdown\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 \u0060markdown\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/reference/reference.go"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"92e8503628fd648e164698fb1feb9247692526e7fea1fd70c413bed29d08fd54"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060subFieldMarkdown, newTableNames, _ := generateObjectReferenceMarkdown(ctx, false, nil, fieldType, rootPageNames, simpleTypeNames, generatedTableNames, outputPath)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060subFieldMarkdown\u0060 as if the call succeeded. When \u0060generateObjectReferenceMarkdown\u0060 fails, \u0060subFieldMarkdown\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 \u0060subFieldMarkdown\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/reference/reference.go"},"region":{"startLine":921}}}],"partialFingerprints":{"codehealthFindingId/v1":"01d36b067b4c8b7bbf267b52e549b4ad4bece5fa3a3eb51fec4ab3bcec4608fd"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060prepOp, _ := om.PrepareOperation(ctx, nextInitializedOp)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060prepOp\u0060 as if the call succeeded. When \u0060om.PrepareOperation\u0060 fails, \u0060prepOp\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 \u0060prepOp\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/operations/manager.go"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"611d5820ae05d363f7c9c2f28de83cbe5283f0d2ed5e9f8665a128b944f13e18"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060b, _ := json.Marshal(viperTree)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060b\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060b\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 \u0060b\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/namespace/configreload.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"3144892b4d67d1ed612bd40b75ec9adb9252ec808b9701b37133e12dafd09203"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060ie, _ := eifactory.GetPlugin(ctx, system.SystemEventsTransport)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060ie\u0060 as if the call succeeded. When \u0060eifactory.GetPlugin\u0060 fails, \u0060ie\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 \u0060ie\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/events/event_manager.go"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"53fc4238afe2e6dbbbc4c24f2c43a63090220391d74433aef2644e50286c44d0"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060def1, _ := json.Marshal(existing)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060def1\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060def1\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 \u0060def1\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/events/event_manager.go"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ef2b52053d9dfbb89819f1ff50d60871fefdf04fd5a3f7354636eae3f40d6d3"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060def2, _ := json.Marshal(subDef)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060def2\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060def2\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 \u0060def2\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/events/event_manager.go"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c40f9389df68a8e6c56913360775a414062693425dd641fc044a80b42a09d7e"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060b, _ := json.Marshal(\u0026fftypes.RESTError{ Error: gwErr.Error(), })\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060b\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060b\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 \u0060b\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/events/webhooks/webhooks.go"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e7b53ffe13aeb7f5d90b0b02097de64358d30a827b523e46bbeeb1784ca78b8"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060b, _ := json.Marshal(\u0026res)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060b\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060b\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 \u0060b\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/events/webhooks/webhooks.go"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"9afe915d7f9045ceeac32737d0d002bc1cecc7c39c583c80d801af37aa3df2f8"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060namespace, _, _ := core.ParseNamespacedOpID(ctx, update.NamespacedOpID)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060namespace\u0060 as if the call succeeded. When \u0060core.ParseNamespacedOpID\u0060 fails, \u0060namespace\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 \u0060namespace\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/dataexchange/ffdx/ffdx.go"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"33955ad0a1d62bff638fdc83ffb7873aff5a919fea9b5a1be39a4f86e928f0d4"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060existing, _, _ := s.GetTransactions(ctx, transaction.Namespace, fb.Eq(\u0022idempotencykey\u0022, (string)(transaction.IdempotencyKey)))\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060existing\u0060 as if the call succeeded. When \u0060s.GetTransactions\u0060 fails, \u0060existing\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 \u0060existing\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/database/sqlcommon/transaction_sql.go"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"7348e3d9502d360adeed6c7c51fe5e50bc8a3d9ddf322b30f58f5da01e363f85"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060b, _ := json.Marshal(\u0026do)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060b\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060b\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 \u0060b\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/data/blobstore.go"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"bae9d08d4a2d75af8790c9d07bf1c10306cad27c84b886d6378ae7639a022978"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060filterJSON, _ := json.Marshal(filter)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060filterJSON\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060filterJSON\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 \u0060filterJSON\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/blockchain/tezos/eventstream.go"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3f8c8902d99165b360eb80070a33a8810b3adf05a09cbcc44adbbd967600b18"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060version, _ := t.GetNetworkVersion(ctx, contract.Location)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060version\u0060 as if the call succeeded. When \u0060t.GetNetworkVersion\u0060 fails, \u0060version\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060version\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/blockchain/tezos/tezos.go"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"586768930f44c224ec9edc2858c1edcc85279c131d31e81692bba6a748b2677a"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060eventSignature, _ := t.GenerateEventSignature(ctx, event)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060eventSignature\u0060 as if the call succeeded. When \u0060t.GenerateEventSignature\u0060 fails, \u0060eventSignature\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 \u0060eventSignature\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/blockchain/tezos/tezos.go"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"95f346f82ea29b36f1d0a5c0bc29498f96050c99422522503fabdab1603f0d94"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060b, _ = json.Marshal(\u0026tezosWSCommandPayload{ Type: \u0022listenreplies\u0022, })\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060b\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060b\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 \u0060b\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/blockchain/tezos/tezos.go"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"94b074ce89731938b368ecaa11bb79eb967fdeaa406bf1b9fc8b6ca6a8c1d6b6"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060schemaBytes, _ := json.Marshal(payloadSchema)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060schemaBytes\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060schemaBytes\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 \u0060schemaBytes\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/blockchain/tezos/tezos.go"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"b61c1fe42698a84b93f70384aabd0c502acba506c9f6b8b0dd7db4374846a149"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060ack, _ := json.Marshal(\u0026tezosWSCommandPayload{ Type: \u0022ack\u0022, Topic: t.pluginTopic, })\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060ack\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060ack\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 \u0060ack\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/blockchain/tezos/tezos.go"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3ba7a59dd2762fe9c7270b0bbad937c3ed9c3afd698d422b72ec660032ff247"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060b, _ = json.Marshal(\u0026fabWSCommandPayload{ Type: \u0022listenreplies\u0022, })\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060b\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060b\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 \u0060b\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/blockchain/fabric/fabric.go"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6dfcb4ad4c8d4892069a28f9686b6afb7c0e3d9cb7e4a88b30a9b848b493df5"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060ackOrNack, _ = json.Marshal(map[string]string{\u0022type\u0022: \u0022error\u0022, \u0022topic\u0022: topic, \u0022message\u0022: err.Error()})\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060ackOrNack\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060ackOrNack\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 \u0060ackOrNack\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/blockchain/fabric/fabric.go"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"c94a6c09161e28ac037878e3bac62077e5569fed7582250e94a56ed979788886"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060input, _ := jsonEncodeInput(pinInput)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060input\u0060 as if the call succeeded. When \u0060jsonEncodeInput\u0060 fails, \u0060input\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 \u0060input\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/blockchain/fabric/fabric.go"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"b45d1487ba1a1bb3dd2c290c9db6574aae63f4c193771101cf00c24f881e2974"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060input, _ := jsonEncodeInput(pinInput)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060input\u0060 as if the call succeeded. When \u0060jsonEncodeInput\u0060 fails, \u0060input\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 \u0060input\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/blockchain/fabric/fabric.go"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c59bec826327d16f73d558f3ef255932fbace539d24da4371d0dfdbef4a0327"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060batchPinBytes, _ := json.Marshal(batchPin)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060batchPinBytes\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060batchPinBytes\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 \u0060batchPinBytes\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/blockchain/fabric/fabric.go"},"region":{"startLine":814}}}],"partialFingerprints":{"codehealthFindingId/v1":"9753b63c04c8310988cbafc4727cac65718f91c3267920d30213fd9726e89505"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060b, _ = json.Marshal(\u0026ethWSCommandPayload{ Type: \u0022listenreplies\u0022, })\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060b\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060b\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 \u0060b\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/blockchain/ethereum/ethereum.go"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2ef70d56986663bdd4bfef51fd89e1eb919218ccb4d639fa0f62c5536eea3e4"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060ack, _ := json.Marshal(\u0026ethWSCommandPayload{ Type: \u0022ack\u0022, Topic: topic, })\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060ack\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060ack\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 \u0060ack\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/blockchain/ethereum/ethereum.go"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"549833dcd52f3af6f94cdd2e9b13eb103012ef678c9d3d3fd8da0e8f7fe3e8a5"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060b, _ := json.Marshal(\u0026ackOrNack)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060b\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060b\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 \u0060b\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/blockchain/ethereum/ethereum.go"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a893ab706ece3c4cc33a7e6c3924cdee2f859fff4c11e832d75874172f463a4"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060jsonBody, _ := json.Marshal(finalBody)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060jsonBody\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060jsonBody\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 \u0060jsonBody\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/blockchain/ethereum/ethereum.go"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"c62023e54bec0247c4e28568b2da6484c1760057cd9da13821aeeb6cbc7dd90e"}},{"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/blockchain/ethereum/ethereum.go"},"region":{"startLine":1049}}}],"partialFingerprints":{"codehealthFindingId/v1":"128bcc033b08c6b249321cd45bc68a1919f10d9d8df5f098559b557135386584"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060namespace, _, _ := core.ParseNamespacedOpID(ctx, nsOpID)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060namespace\u0060 as if the call succeeded. When \u0060core.ParseNamespacedOpID\u0060 fails, \u0060namespace\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 \u0060namespace\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/blockchain/common/common.go"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"efca23db59232e61c423678d058465d01fd9754775787576709d72e57b3981f9"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060opNamespace, _, _ := core.ParseNamespacedOpID(ctx, reply.Headers.ReceiptID)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060opNamespace\u0060 as if the call succeeded. When \u0060core.ParseNamespacedOpID\u0060 fails, \u0060opNamespace\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 \u0060opNamespace\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/blockchain/common/common.go"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ded660f9b2ec42b89cf4d7d3c6871c428770e680e76f3ad3c119f9d0b1c0505"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060opNamespace, _, _ := core.ParseNamespacedOpID(ctx, reply.Headers.ReceiptID)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060opNamespace\u0060 as if the call succeeded. When \u0060core.ParseNamespacedOpID\u0060 fails, \u0060opNamespace\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 \u0060opNamespace\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/blockchain/common/common.go"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"cee3a9be1057114558df56894eee35587e22e8540a1e2c8a20ab89a95e597edf"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060b, _ := json.Marshal(\u0026cardanoWSCommandPayload{ Type: \u0022listen\u0022, Topic: topic, })\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060b\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060b\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 \u0060b\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/blockchain/cardano/cardano.go"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"1469d9b1bc230fe4084d8476d94f5deafbff2eceeffead95a6c6801cc8bf6e4f"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060b, _ = json.Marshal(\u0026cardanoWSCommandPayload{ Type: \u0022listenreplies\u0022, })\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060b\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060b\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 \u0060b\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/blockchain/cardano/cardano.go"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d181ea381ea7d966ddba318b513068223f946212a8bfde4df1628b54f1a79fe"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060version, _ := c.GetNetworkVersion(ctx, contract.Location)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060version\u0060 as if the call succeeded. When \u0060c.GetNetworkVersion\u0060 fails, \u0060version\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060version\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/blockchain/cardano/cardano.go"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"8750727286337c2f5756eb0db7a405508c4e84f2f8e9897301f9c6c00a09a7e0"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060signature, _ := c.GenerateEventSignature(ctx, \u0026f.Event.FFIEventDefinition)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060signature\u0060 as if the call succeeded. When \u0060c.GenerateEventSignature\u0060 fails, \u0060signature\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 \u0060signature\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/blockchain/cardano/cardano.go"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3b667849c24a4cf8449f41537f49c5c2d74ed98cf352b42278eb5787f46122c"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060eventSignature, _ := c.GenerateEventSignature(ctx, event)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060eventSignature\u0060 as if the call succeeded. When \u0060c.GenerateEventSignature\u0060 fails, \u0060eventSignature\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 \u0060eventSignature\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/blockchain/cardano/cardano.go"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"e970630482ceb40986fa94dc083dea5f29ddd39925348b61384f2e6a0dddb5ce"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060ack, _ := json.Marshal(\u0026cardanoWSCommandPayload{ Type: \u0022ack\u0022, Topic: topic, })\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060ack\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060ack\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 \u0060ack\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/blockchain/cardano/cardano.go"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"a919d3ac074b1c766e7f91fc190c9abfa302215848ec1440a93348da8c229880"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060b, _ := json.Marshal(\u0026ackOrNack)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060b\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060b\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 \u0060b\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/blockchain/cardano/cardano.go"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"f232e1a349a71feee13796580e302b7aec4a39e7a7136a77db4a55b1c387e1da"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060msgBytes, _ := json.Marshal(msgMap)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060msgBytes\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060msgBytes\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 \u0060msgBytes\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/blockchain/cardano/cardano.go"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"879c7d05e829276d2c980a0a46206495a4a8a3649610b66825eb695bd982830b"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060ffLogo16, _ = base64.StdEncoding.DecodeString(ffLogo16b64)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060ffLogo16\u0060 as if the call succeeded. When \u0060base64.StdEncoding.DecodeString\u0060 fails, \u0060ffLogo16\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 \u0060ffLogo16\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/apiserver/favicons.go"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"bec5d5675d909a1376cb2b4857b164fde12205140cdf3e71faf1a8480c159a40"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060ffLogo32, _ = base64.StdEncoding.DecodeString(ffLogo32b64)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060ffLogo32\u0060 as if the call succeeded. When \u0060base64.StdEncoding.DecodeString\u0060 fails, \u0060ffLogo32\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 \u0060ffLogo32\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/apiserver/favicons.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"141c32d3d400afe2c38ec14d25220e0319d9da8f6824205a26d98b8462e9c87a"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060subscription, _ := cr.or.GetSubscriptionByID(cr.ctx, r.PP[\u0022subid\u0022])\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060subscription\u0060 as if the call succeeded. When \u0060cr.or.GetSubscriptionByID\u0060 fails, \u0060subscription\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 \u0060subscription\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/apiserver/route_get_subscription_events_filtered.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3ecdf386a299b40604c4213717fb7376c0a1ed5c1e99cde02e8d278addfbefa"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060ws, _ := eifactory.GetPlugin(cr.ctx, \u0022websockets\u0022)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060ws\u0060 as if the call succeeded. When \u0060eifactory.GetPlugin\u0060 fails, \u0060ws\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 \u0060ws\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/apiserver/route_get_websockets.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"745a71b7e2d1b745a1f098bb957477b755eb0ed4917caf80fbd651799dd7d56e"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060ws, _ := eifactory.GetPlugin(ctx, \u0022websockets\u0022)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060ws\u0060 as if the call succeeded. When \u0060eifactory.GetPlugin\u0060 fails, \u0060ws\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 \u0060ws\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/apiserver/server.go"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"704df2bd7f769753460339a433741ea2bd620dc239784deb339fe2a34495c2d5"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-1104","guid":"4c918cb5-b2a6-6c55-9963-a44ee464305e","name":"Use of Unmaintained Third Party Components","shortDescription":{"text":"Use of Unmaintained Third Party Components"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.html"},{"id":"CWE-1352","guid":"5257f322-5cfc-6b52-bedd-0b9a526b4c7d","name":"CWE-1352","shortDescription":{"text":"CWE-1352"},"helpUri":"https://cwe.mitre.org/data/definitions/1352.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-248","guid":"64b58946-d244-a556-a48a-f82fcd4f4186","name":"Uncaught Exception","shortDescription":{"text":"Uncaught Exception"},"helpUri":"https://cwe.mitre.org/data/definitions/248.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-352","guid":"2afe7bdb-7330-195f-b3bf-8cf5b789b3ae","name":"Cross-Site Request Forgery (CSRF)","shortDescription":{"text":"Cross-Site Request Forgery (CSRF)"},"helpUri":"https://cwe.mitre.org/data/definitions/352.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-502","guid":"f7d3b296-aac0-5c5a-b706-e07faba26c36","name":"Deserialization of Untrusted Data","shortDescription":{"text":"Deserialization of Untrusted Data"},"helpUri":"https://cwe.mitre.org/data/definitions/502.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-540","guid":"1a9db5db-e5bb-ae5d-935a-d1b4e9ee080b","name":"Inclusion of Sensitive Information in Source Code","shortDescription":{"text":"Inclusion of Sensitive Information in Source Code"},"helpUri":"https://cwe.mitre.org/data/definitions/540.html"},{"id":"CWE-563","guid":"81263256-a108-5e53-9ac3-46df5a71b0b0","name":"CWE-563","shortDescription":{"text":"CWE-563"},"helpUri":"https://cwe.mitre.org/data/definitions/563.html"},{"id":"CWE-704","guid":"50bd74b4-a921-5159-8671-99fd7e78c810","name":"CWE-704","shortDescription":{"text":"CWE-704"},"helpUri":"https://cwe.mitre.org/data/definitions/704.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"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-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-7","guid":"4c4af28d-49e3-2d51-b597-e1396c49658b","name":"Insecure System Configuration","shortDescription":{"text":"Insecure System Configuration"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-07-Insecure-System-Configuration"},{"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":193,"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."]}]}