{"$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":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"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":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"],"owasp":"A02:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AC1","name":"Text alternatives","shortDescription":{"text":"Text alternatives"},"helpUri":"https://codehealth.canine.dev/dimensions/AC1"},{"id":"AC2","name":"Forms \u0026 labels","shortDescription":{"text":"Forms \u0026 labels"},"helpUri":"https://codehealth.canine.dev/dimensions/AC2"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AC5","name":"ARIA correctness","shortDescription":{"text":"ARIA correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/AC5"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R11","name":"Import Boundaries","shortDescription":{"text":"Import Boundaries"},"helpUri":"https://codehealth.canine.dev/dimensions/R11"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R4","name":"Test Coverage","shortDescription":{"text":"Test Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/R4"},{"id":"R5","name":"Dependency Freshness","shortDescription":{"text":"Dependency Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/R5"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"S1","name":"Web-Security Posture","shortDescription":{"text":"Web-Security Posture"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"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":"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":"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":"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":"anchor_syn::parser::accounts::constraints::parse_token (cyclomatic 61): anchor_syn::parser::accounts::constraints::parse_token has cyclomatic complexity 61 (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":"lang/syn/src/parser/accounts/constraints.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"216ad49eb4b64c48791caaf4cadf3aa64ec3911df73b9ed0a2bd9185562adc2b"}},{"ruleId":"D1","level":"warning","message":{"text":"anchor_syn::idl::defined::gen_idl_type (cyclomatic 59): anchor_syn::idl::defined::gen_idl_type has cyclomatic complexity 59 (threshold 15). Of this number, 54 points are the body\u0027s own statements and 5 belong to 4 function items inside it that branch. 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":"lang/syn/src/idl/defined.rs"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"490cf6c1439f6b4af86349ee22ddbf9655d29c4b588c6a4336803e149b1d5305"}},{"ruleId":"D1","level":"warning","message":{"text":"ConstraintGroupBuilder::build (cyclomatic 51): ConstraintGroupBuilder::build has cyclomatic complexity 51 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lang/syn/src/parser/accounts/constraints.rs"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"78b17c933d1f1b119afdaf8c74a5b4c3e0bc24aecd1c24ab62678044a08e618e"}},{"ruleId":"D1","level":"warning","message":{"text":"anchor_syn::codegen::accounts::constraints::generate_constraint_init_group (cyclomatic 50): anchor_syn::codegen::accounts::constraints::generate_constraint_init_group has cyclomatic complexity 50 (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":"lang/syn/src/codegen/accounts/constraints.rs"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ed2d72b16d6e257a040226f3d59b2f647dc03606334652ba1723be22841c0df"}},{"ruleId":"D1","level":"warning","message":{"text":"anchor_syn::parser::accounts::constraints_cross_checks (cyclomatic 41): anchor_syn::parser::accounts::constraints_cross_checks has cyclomatic complexity 41 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lang/syn/src/parser/accounts/mod.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc5da5029b1de540924746b9fb82608df86b2fc03fffda6fc1de498fb6d92cc0"}},{"ruleId":"D1","level":"warning","message":{"text":"anchor_cli::program::program_deploy (cyclomatic 33): anchor_cli::program::program_deploy has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/program.rs"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"6edc5d5e1abfd47acd09729b33fba89b67b125e91050c1af6ad2890124d3d42b"}},{"ruleId":"D1","level":"warning","message":{"text":"IdlCoder.typeSizeWithContext (cyclomatic 32): IdlCoder.typeSizeWithContext has cyclomatic complexity 32 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/src/coder/borsh/idl.ts"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d0b22cee987678d23fcb994b43d2dd386553d22df060565549235acbd068f2e"}},{"ruleId":"D1","level":"warning","message":{"text":"IdlCoder.resolveGenericArgs (cyclomatic 30): IdlCoder.resolveGenericArgs has cyclomatic complexity 30 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/src/coder/borsh/idl.ts"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4ab1a39f8e0513b893ce82b80af688799766209b86d76c4506a378133bef275"}},{"ruleId":"D1","level":"warning","message":{"text":"_Validator::merge (cyclomatic 29): _Validator::merge has cyclomatic complexity 29 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/config.rs"},"region":{"startLine":1646}}}],"partialFingerprints":{"codehealthFindingId/v1":"801f7141f651af65dc0c5a40cbb3f82033501dd8250a4b8a086fb11c299f90ca"}},{"ruleId":"D1","level":"warning","message":{"text":"anchor_cli::deserialize_idl_type_to_json (cyclomatic 29): anchor_cli::deserialize_idl_type_to_json has cyclomatic complexity 29 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This is NOT this file\u0027s highest cyclomatic complexity: anchor_cli::process_command (cyclomatic 34) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/lib.rs"},"region":{"startLine":4330}}}],"partialFingerprints":{"codehealthFindingId/v1":"881873c4c043e96d45435dbf2d810aa377afb8d41cb99d1864f87275bf6bdb7e"}},{"ruleId":"D1","level":"warning","message":{"text":"IdlCoder.fieldLayoutWithContext (cyclomatic 29): IdlCoder.fieldLayoutWithContext 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":"ts/packages/anchor/src/coder/borsh/idl.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"b33f15bea59c2c78f2048953ae726972390af8459af1a101f009280235790eda"}},{"ruleId":"D1","level":"warning","message":{"text":"anchor_attribute_program::declare_program::common::convert_idl_type_to_str (cyclomatic 27): anchor_attribute_program::declare_program::common::convert_idl_type_to_str has cyclomatic complexity 27 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lang/attribute/program/src/declare_program/common.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d428f00152f5ea4841daa2483a3a15937cd4a9d97844bdc64c64aefa1fb123b"}},{"ruleId":"D1","level":"warning","message":{"text":"scroll-area.ScrollArea (cyclomatic 26): scroll-area.ScrollArea has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 9 of the 26 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 52, 65, 75). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/components/ui/scroll-area.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"d83de538adfca5f3e525d43f2fd7d9d4e0e4edd763edcf1111730688111bb552"}},{"ruleId":"D1","level":"warning","message":{"text":"avm::entry (cyclomatic 24): avm::entry has cyclomatic complexity 24 (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":"avm/src/main.rs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"63fd42fb33312d678d54f1fde0ccb39a11946ff6b1989ab037aed3ec875c023e"}},{"ruleId":"D1","level":"warning","message":{"text":"avm::install_version (cyclomatic 23): avm::install_version 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":"avm/src/lib.rs"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"acb29237387268026e6c6d68937718c37dc27bf78934692b869d69570fda4ccc"}},{"ruleId":"D1","level":"warning","message":{"text":"anchor_cli::codama::type_node_from_anchor (cyclomatic 23): anchor_cli::codama::type_node_from_anchor has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/codama.rs"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a958e116a358fb9b21b9440cbe18a0dfec7b5abd66df4ab03f5b0d0030da661"}},{"ruleId":"D1","level":"warning","message":{"text":"Field::ty_decl (cyclomatic 23): Field::ty_decl has cyclomatic complexity 23 (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":"lang/syn/src/lib.rs"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"be63b2615b1434d3a4db7df4f241b01f13bed2962fcf4baea8aa34e562e5b27e"}},{"ruleId":"D1","level":"warning","message":{"text":"anchor_cli::init (cyclomatic 22): anchor_cli::init has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: anchor_cli::process_command (cyclomatic 34) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/lib.rs"},"region":{"startLine":1781}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd7dfb1185ee510bb1a77b15c685a94e3c87213959e767d9bd8f40e17b4e972d"}},{"ruleId":"D1","level":"warning","message":{"text":"anchor_cli::run_test_suite (cyclomatic 21): anchor_cli::run_test_suite has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: anchor_cli::process_command (cyclomatic 34) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/lib.rs"},"region":{"startLine":5047}}}],"partialFingerprints":{"codehealthFindingId/v1":"00536d54561ecb97a52286d8ef1bda98ca19aff448231d484dc1351eff857fec"}},{"ruleId":"D1","level":"warning","message":{"text":"anchor_cli::validator_config_flags (cyclomatic 21): anchor_cli::validator_config_flags has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: anchor_cli::process_command (cyclomatic 34) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/lib.rs"},"region":{"startLine":5735}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea0eeb2accb5ef29f44111dcd5a06f9c5c13e7f0387b95ec39a85ae8a829f46"}},{"ruleId":"D1","level":"warning","message":{"text":"anchor_cli::codama::instruction_account_node_from_anchor (cyclomatic 21): anchor_cli::codama::instruction_account_node_from_anchor has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/codama.rs"},"region":{"startLine":1112}}}],"partialFingerprints":{"codehealthFindingId/v1":"42da2e0ca10bc10200925ad5541daf4b6bde84dd27cdac7ba78d5b0416717b25"}},{"ruleId":"D1","level":"warning","message":{"text":"search.setupSearch (cyclomatic 20): search.setupSearch has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 3 of the 20 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 193, a function literal at line 183, open, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/client/search.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"c99cc6c5544fdee758f9c3ec80c48de9a323272b28c235db8e0bca6ad02f4c24"}},{"ruleId":"D1","level":"warning","message":{"text":"anchor_syn::codegen::accounts::__cpi_client_accounts::generate_with_opts (cyclomatic 19): anchor_syn::codegen::accounts::__cpi_client_accounts::generate_with_opts 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":"lang/syn/src/codegen/accounts/__cpi_client_accounts.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c84b4c08a9f658b48a5ba43e63355a32825db1e2230dce4b098da54c0378dfc"}},{"ruleId":"D1","level":"warning","message":{"text":"anchor_cli::override_toolchain (cyclomatic 18): anchor_cli::override_toolchain has cyclomatic complexity 18 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 7 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: anchor_cli::process_command (cyclomatic 34) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/lib.rs"},"region":{"startLine":1265}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8be88385b5bf17174bb39d3965b67f7bb2ab7512ac3e96a5bc38ebdd193acb6"}},{"ruleId":"D1","level":"warning","message":{"text":"anchor_cli::debugger::arena::build_session (cyclomatic 18): anchor_cli::debugger::arena::build_session 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":"cli/src/debugger/arena.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"1705eb67464faec193bde3b134abadc99d4dd52b7f69977b8f0dcbe4623ad94f"}},{"ruleId":"D1","level":"warning","message":{"text":"avm::ensure_paths (cyclomatic 17): avm::ensure_paths 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":"avm/src/lib.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d4333cc45c5969355d1dc19dda5ad3f0b21ef2b26368f25de4a8bda1fac3b77"}},{"ruleId":"D1","level":"warning","message":{"text":"anchor_cli::test (cyclomatic 17): anchor_cli::test has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: anchor_cli::process_command (cyclomatic 34) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/lib.rs"},"region":{"startLine":4439}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b5cc07e772aabcfde41c9f79de62eb0320f2c5682815c2f3fb66f808dbc67a1"}},{"ruleId":"D1","level":"warning","message":{"text":"anchor_cli::surfpool_flags (cyclomatic 17): anchor_cli::surfpool_flags has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: anchor_cli::process_command (cyclomatic 34) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/lib.rs"},"region":{"startLine":5850}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7969b35bc09fcc9b1d6cb8e97dbd9741f21b8e76208af3da8b0ed9bfd8dfaac"}},{"ruleId":"D1","level":"warning","message":{"text":"anchor_cli::debugger::cargo_deps::discover_dep_src_roots (cyclomatic 17): anchor_cli::debugger::cargo_deps::discover_dep_src_roots 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":"cli/src/debugger/cargo_deps.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"54eea5115511bfde9d4dbbff504dcbeb61131b9732ddeab35dfb2214b4fd73bd"}},{"ruleId":"D1","level":"warning","message":{"text":"anchor_cli::fetch::idl_fetch_historical (cyclomatic 17): anchor_cli::fetch::idl_fetch_historical has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/fetch/mod.rs"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"92d69246592226a00f567e788f0a03d14db302d725e20210be9e5780ffbb8f88"}},{"ruleId":"D1","level":"warning","message":{"text":"pda-seeds-flow.Block (cyclomatic 17): pda-seeds-flow.Block has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 5 of the 17 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 138, 196, 127, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/components/pda-seeds-flow.tsx"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2725d6c77e41cbaa9809aa8f65d64f377a427920eda5523ac81048525bddfc9"}},{"ruleId":"D1","level":"warning","message":{"text":"pda-seeds-flow.Block (cyclomatic 17): pda-seeds-flow.Block has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 5 of the 17 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 149, 211, 138, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/app/components/pda-seeds-flow.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef4e7edb01009415c12cef40962c1e8e43dc1fefd53567aba4cc9714d7f258d3"}},{"ruleId":"D1","level":"warning","message":{"text":"anchor_cli::materialize_validator_accounts (cyclomatic 16): anchor_cli::materialize_validator_accounts 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. This is NOT this file\u0027s highest cyclomatic complexity: anchor_cli::process_command (cyclomatic 34) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/lib.rs"},"region":{"startLine":5365}}}],"partialFingerprints":{"codehealthFindingId/v1":"592319d674a1f51ef499ef6e529e7989fb47354bdad8b1e396f735db140ee220"}},{"ruleId":"D1","level":"warning","message":{"text":"anchor_cli::debugger::tui::resolve_src_path (cyclomatic 16): anchor_cli::debugger::tui::resolve_src_path 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":"cli/src/debugger/tui.rs"},"region":{"startLine":1014}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7b3590d70e753e2610e03565d8fabd9bc9445692f927c327961ae29e6b57b78"}},{"ruleId":"D1","level":"warning","message":{"text":"anchor_cli::fetch::rpc::fetch_signatures_for_address (cyclomatic 16): anchor_cli::fetch::rpc::fetch_signatures_for_address 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":"cli/src/fetch/rpc.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa7975ef0ef533bf89b3792f021ad8cdbefa37983fed9ea1fc0cdce0f0379047"}},{"ruleId":"D1","level":"warning","message":{"text":"anchor_cli::program::program_set_upgrade_authority (cyclomatic 16): anchor_cli::program::program_set_upgrade_authority 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":"cli/src/program.rs"},"region":{"startLine":1815}}}],"partialFingerprints":{"codehealthFindingId/v1":"a105fafd61951c5ba23715e0cd3e92b126874b4f39c891a77f80e8d184a4373f"}},{"ruleId":"D1","level":"warning","message":{"text":"anchor_attribute_account::zero_copy (cyclomatic 16): anchor_attribute_account::zero_copy 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":"lang/attribute/account/src/lib.rs"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"b23b0d82c974d0f89bbacc803aa19393ef73159adf1cebdb23f449c211ddc2c0"}},{"ruleId":"D1","level":"warning","message":{"text":"anchor_syn::codegen::accounts::constraints::linearize (cyclomatic 16): anchor_syn::codegen::accounts::constraints::linearize 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. This is NOT this file\u0027s highest cyclomatic complexity: anchor_syn::codegen::accounts::constraints::generate_constraint (cyclomatic 17) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lang/syn/src/codegen/accounts/constraints.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2c7906d0267a24577c913004bdc90e3da9a943bf3acf2fab7909bcc10bc2daf"}},{"ruleId":"D1","level":"warning","message":{"text":"anchor_syn::codegen::accounts::constraints::generate_constraint_mint (cyclomatic 16): anchor_syn::codegen::accounts::constraints::generate_constraint_mint 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. This is NOT this file\u0027s highest cyclomatic complexity: anchor_syn::codegen::accounts::constraints::generate_constraint (cyclomatic 17) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lang/syn/src/codegen/accounts/constraints.rs"},"region":{"startLine":1493}}}],"partialFingerprints":{"codehealthFindingId/v1":"5928b7563921eb448d54c501acf0bcf3623c88c5d7c60d9123393716f76bd034"}},{"ruleId":"D1","level":"warning","message":{"text":"anchor_derive_space::len_from_type (cyclomatic 16): anchor_derive_space::len_from_type 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":"lang/derive/space/src/lib.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a99a20efe24cbc685c98f372f73e3b20395ae54643811348b597bcee9abc87e"}},{"ruleId":"D1","level":"warning","message":{"text":"provider.sendAndConfirmRawTransaction (cyclomatic 16): provider.sendAndConfirmRawTransaction has cyclomatic complexity 16 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/src/provider.ts"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc54fc24a0da9c0f76cae87324c9d883c6efd57dbf609f00b484e5a64783c190"}},{"ruleId":"D2","level":"warning","message":{"text":"ConstraintGroupBuilder::build (cognitive 79): ConstraintGroupBuilder::build has cognitive complexity 79 (threshold 15). Drivers by points: if/else 37 (62 pts), match/switch 8 (12 pts), boolean chains 5 (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lang/syn/src/parser/accounts/constraints.rs"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba7951e407924ed51aa675745aefa2c2eb67761dc2f226ef6e7cf35654b60fc3"}},{"ruleId":"D2","level":"warning","message":{"text":"anchor_syn::codegen::accounts::constraints::generate_constraint_init_group (cognitive 79): anchor_syn::codegen::accounts::constraints::generate_constraint_init_group has cognitive complexity 79 (threshold 15). Drivers by points: match/switch 30 (47 pts), if/else 19 (28 pts), boolean chains 4 (nesting depth added 26). 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":"lang/syn/src/codegen/accounts/constraints.rs"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdb33bfe2aa50c67862164abc43dfd7092c57ffe8beba9bb798ac5181ad5a7ee"}},{"ruleId":"D2","level":"warning","message":{"text":"anchor_syn::idl::defined::gen_idl_type (cognitive 79): anchor_syn::idl::defined::gen_idl_type has cognitive complexity 79 (threshold 15). Drivers by points: if/else 16 (41 pts), match/switch 11 (30 pts), boolean chains 4, loops 1 (4 pts) (nesting depth added 47). Of this number, 73 points are the body\u0027s own statements and 6 belong to 4 function items 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":"lang/syn/src/idl/defined.rs"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"264abdc1aeffc62d99763cd60bbd8c6ad53c16e3f793ba1238a014af1abb9a0f"}},{"ruleId":"D2","level":"warning","message":{"text":"anchor_syn::parser::accounts::constraints_cross_checks (cognitive 76): anchor_syn::parser::accounts::constraints_cross_checks has cognitive complexity 76 (threshold 15). Drivers by points: if/else 18 (36 pts), match/switch 11 (28 pts), boolean chains 7, loops 3 (5 pts) (nesting depth added 37). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lang/syn/src/parser/accounts/mod.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"db5703c027a8de242721e47bac7ed48b25300c210631558098eb91038a296c64"}},{"ruleId":"D2","level":"warning","message":{"text":"anchor_cli::codama::instruction_account_node_from_anchor (cognitive 75): anchor_cli::codama::instruction_account_node_from_anchor has cognitive complexity 75 (threshold 15). Drivers by points: if/else 16 (69 pts), loops 1 (3 pts), boolean chains 2, match/switch 1 (nesting depth added 55). 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":"cli/src/codama.rs"},"region":{"startLine":1112}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc7d45a16507a6917311410b21698fbd4ded1bb0fc0dfe14a98a9f655ba80b2e"}},{"ruleId":"D2","level":"warning","message":{"text":"IdlCoder.resolveGenericArgs (cognitive 69): IdlCoder.resolveGenericArgs has cognitive complexity 69 (threshold 15). Drivers by points: if/else 20 (57 pts), boolean chains 7, ternaries 1 (4 pts), loops 1 (nesting depth added 40). Of this number, 61 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":"ts/packages/anchor/src/coder/borsh/idl.ts"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"169caf7125ab80e62ad3645505e6a703faccaa05be8a2876e1f552d0bf3ad4fd"}},{"ruleId":"D2","level":"warning","message":{"text":"anchor_cli::validator_config_flags (cognitive 63): anchor_cli::validator_config_flags has cognitive complexity 63 (threshold 15). Drivers by points: if/else 15 (34 pts), loops 6 (22 pts), match/switch 1 (5 pts), boolean chains 2 (nesting depth added 39). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/lib.rs"},"region":{"startLine":5735}}}],"partialFingerprints":{"codehealthFindingId/v1":"3673f7eea4f163721bd84dc37a4435a0513362918bfdfdee2432cf5c97a75872"}},{"ruleId":"D2","level":"warning","message":{"text":"anchor_cli::program::program_deploy (cognitive 63): anchor_cli::program::program_deploy has cognitive complexity 63 (threshold 15). Drivers by points: if/else 31 (51 pts), boolean chains 4, loops 2 (4 pts), match/switch 2 (4 pts) (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/program.rs"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"59ae9fbebcdef1577d34a41c3f58b65a3ad68f8ae94e0e125187a96ea5dd02c9"}},{"ruleId":"D2","level":"warning","message":{"text":"_Validator::merge (cognitive 59): _Validator::merge has cognitive complexity 59 (threshold 15). Drivers by points: match/switch 19 (37 pts), loops 6 (18 pts), boolean chains 2, if/else 1 (2 pts) (nesting depth added 31). 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":"cli/src/config.rs"},"region":{"startLine":1646}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cee1bab340f74934608719ba7aff14431f0d945e340b4c7d855ef53356e733d"}},{"ruleId":"D2","level":"warning","message":{"text":"anchor_cli::override_toolchain (cognitive 57): anchor_cli::override_toolchain has cognitive complexity 57 (threshold 15). Drivers by points: if/else 15 (44 pts), match/switch 3 (13 pts) (nesting depth added 39). Of this number, 32 points are the body\u0027s own statements and 25 belong to 2 function items 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":"cli/src/lib.rs"},"region":{"startLine":1265}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c595abc570e19a7218e37c877b6c37339f64982e1083c4e3b1557fbbd24bcbc"}},{"ruleId":"D2","level":"warning","message":{"text":"anchor_client::parse_logs (cognitive 56): anchor_client::parse_logs has cognitive complexity 56 (threshold 15). Drivers by points: if/else 13 (53 pts), loops 1 (3 pts) (nesting depth added 42). 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":"client/src/lib.rs"},"region":{"startLine":929}}}],"partialFingerprints":{"codehealthFindingId/v1":"380ca85ff50bd04c381090e28854f7f625c6141b6333e60ffe967a25e8efdb15"}},{"ruleId":"D2","level":"warning","message":{"text":"anchor_syn::parser::accounts::constraints::parse_token (cognitive 54): anchor_syn::parser::accounts::constraints::parse_token has cognitive complexity 54 (threshold 15). Drivers by points: match/switch 16 (38 pts), if/else 8 (16 pts) (nesting depth added 30). 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":"lang/syn/src/parser/accounts/constraints.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"a641a044b5e3a9880251b937b0e4a9aa2a5d1a0c33577bdfc68858c8bfd43452"}},{"ruleId":"D2","level":"warning","message":{"text":"avm::ensure_paths (cognitive 43): avm::ensure_paths has cognitive complexity 43 (threshold 15). Drivers by points: if/else 19 (43 pts) (nesting depth added 24). 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":"avm/src/lib.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"801f9e3fc1842568370a01c5ad67c978c81f3a42fa316a4e5fb95db40536d750"}},{"ruleId":"D2","level":"warning","message":{"text":"avm::install_version (cognitive 41): avm::install_version has cognitive complexity 41 (threshold 15). Drivers by points: if/else 20 (34 pts), match/switch 3 (5 pts), boolean chains 2 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"avm/src/lib.rs"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"87516235183758391382352f654bd4a43910652e262358bd164f8142cfa09e84"}},{"ruleId":"D2","level":"warning","message":{"text":"_TestToml::merge (cognitive 39): _TestToml::merge has cognitive complexity 39 (threshold 15). Drivers by points: if/else 7 (16 pts), match/switch 5 (15 pts), loops 2 (8 pts) (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/config.rs"},"region":{"startLine":1292}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9653fbb61008587ace4db55a34911a206a01d53b19be6962ee35530254bce34"}},{"ruleId":"D2","level":"warning","message":{"text":"anchor_cli::test (cognitive 39): anchor_cli::test has cognitive complexity 39 (threshold 15). Drivers by points: if/else 20 (35 pts), loops 1 (2 pts), match/switch 1 (2 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/lib.rs"},"region":{"startLine":4439}}}],"partialFingerprints":{"codehealthFindingId/v1":"886479e99bddd0b8b6f4a33a06ebfd8de6a00adb6782c0db606b2f91d7ce7167"}},{"ruleId":"D2","level":"warning","message":{"text":"anchor_syn::codegen::accounts::__cpi_client_accounts::generate_with_opts (cognitive 39): anchor_syn::codegen::accounts::__cpi_client_accounts::generate_with_opts has cognitive complexity 39 (threshold 15). Drivers by points: if/else 19 (27 pts), match/switch 6 (10 pts), boolean chains 1, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lang/syn/src/codegen/accounts/__cpi_client_accounts.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"f64faf08a1c957eef7bc6fcd3205d94cc8b11eda9054cb7f9b8a271660b18aa9"}},{"ruleId":"D2","level":"warning","message":{"text":"anchor_cli::run_test_suite (cognitive 38): anchor_cli::run_test_suite has cognitive complexity 38 (threshold 15). Drivers by points: if/else 15 (25 pts), loops 2 (6 pts), match/switch 3 (5 pts), boolean chains 2 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/lib.rs"},"region":{"startLine":5047}}}],"partialFingerprints":{"codehealthFindingId/v1":"1359705366ee408ecc7853ec48a1e94005fd5a27f7e8b3bb93757f9e63ac6dd3"}},{"ruleId":"D2","level":"warning","message":{"text":"anchor_cli::debugger::arena::build_session (cognitive 38): anchor_cli::debugger::arena::build_session has cognitive complexity 38 (threshold 15). Drivers by points: if/else 10 (21 pts), loops 5 (9 pts), match/switch 2 (8 pts) (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/debugger/arena.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"70a5fff758b05c42994357152af59f602e32a2692141b56cab7d9f981eb3fc4f"}},{"ruleId":"D2","level":"warning","message":{"text":"anchor_cli::debugger::cargo_deps::discover_dep_src_roots (cognitive 38): anchor_cli::debugger::cargo_deps::discover_dep_src_roots has cognitive complexity 38 (threshold 15). Drivers by points: if/else 11 (27 pts), loops 3 (7 pts), match/switch 1 (3 pts), boolean chains 1 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/debugger/cargo_deps.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b5b2e3d34215c78e07fd8d70112268b4b6dc62aa8b1ca3355be47308078d024"}},{"ruleId":"D2","level":"warning","message":{"text":"anchor_cli::fetch::rpc::fetch_signatures_for_address (cognitive 37): anchor_cli::fetch::rpc::fetch_signatures_for_address has cognitive complexity 37 (threshold 15). Drivers by points: if/else 11 (31 pts), loops 2 (3 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/fetch/rpc.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"24aeca215cc8c2f297129a3ac1b386b9b292dabd26c7ba8ddfb3de6059b687a5"}},{"ruleId":"D2","level":"warning","message":{"text":"anchor_cli::materialize_validator_accounts (cognitive 35): anchor_cli::materialize_validator_accounts has cognitive complexity 35 (threshold 15). Drivers by points: if/else 14 (25 pts), loops 3 (6 pts), match/switch 1 (3 pts), boolean chains 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/lib.rs"},"region":{"startLine":5365}}}],"partialFingerprints":{"codehealthFindingId/v1":"6072f7890227462b73a529d414f5ce5a2b6399426a7a5d52664a4122066b0bc0"}},{"ruleId":"D2","level":"warning","message":{"text":"anchor_cli::debugger::rustc_wrapper::rewrite_args (cognitive 35): anchor_cli::debugger::rustc_wrapper::rewrite_args has cognitive complexity 35 (threshold 15). Drivers by points: if/else 10 (30 pts), loops 2 (5 pts) (nesting depth added 23). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/debugger/rustc_wrapper.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"a77438ff05dfae06be3dc3d651c1de1f236a70b16e97616c0b7162d46dfc83ce"}},{"ruleId":"D2","level":"warning","message":{"text":"anchor_cli::debugger::tui::resolve_src_path (cognitive 35): anchor_cli::debugger::tui::resolve_src_path has cognitive complexity 35 (threshold 15). Drivers by points: if/else 12 (31 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 20). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/debugger/tui.rs"},"region":{"startLine":1014}}}],"partialFingerprints":{"codehealthFindingId/v1":"22f2f41acbf206c8924dbc71208a4b150e1b293a6c60e66d91dc567afd7a7fe8"}},{"ruleId":"D2","level":"warning","message":{"text":"avm::entry (cognitive 32): avm::entry has cognitive complexity 32 (threshold 15). Drivers by points: if/else 10 (16 pts), match/switch 6 (12 pts), loops 1 (4 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"avm/src/main.rs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"f61969e53165fc0620c40f369217c70e6ee93d5ffc9e3943848ed730688992af"}},{"ruleId":"D2","level":"warning","message":{"text":"anchor_cli::program::program_show (cognitive 32): anchor_cli::program::program_show has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (27 pts), match/switch 2 (5 pts) (nesting depth added 21). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/program.rs"},"region":{"startLine":1976}}}],"partialFingerprints":{"codehealthFindingId/v1":"b27f7bdfbdac68cc7abd9bc6d6b94d9e978bf50284e1f8b255085575e167ceb1"}},{"ruleId":"D2","level":"warning","message":{"text":"anchor_syn::codegen::accounts::__client_accounts::generate (cognitive 31): anchor_syn::codegen::accounts::__client_accounts::generate has cognitive complexity 31 (threshold 15). Drivers by points: if/else 13 (20 pts), match/switch 6 (10 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":"lang/syn/src/codegen/accounts/__client_accounts.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef8a0e1a5128562ffe17f2aaaad4acf0e4f30312f65c3201094125326b9ae5f2"}},{"ruleId":"D2","level":"warning","message":{"text":"AnchorProvider.sendAll (cognitive 31): AnchorProvider.sendAll has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (17 pts), ternaries 2 (9 pts), boolean chains 2, error handling 1 (2 pts), loops 1 (nesting depth added 15). Of this number, 23 points are the body\u0027s own statements and 8 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/src/provider.ts"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"736832b7272c2d35ae66eae6d7ae3c9cb30728c63faa70cad98a979f3ab86cbd"}},{"ruleId":"D2","level":"warning","message":{"text":"anchor_cli::init (cognitive 30): anchor_cli::init has cognitive complexity 30 (threshold 15). Drivers by points: if/else 23 (28 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/lib.rs"},"region":{"startLine":1781}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d84060a321fd3ee799e4db5bbac61135dffc579b4c3ae0edaf857cf79d25f1a"}},{"ruleId":"D2","level":"warning","message":{"text":"AnchorProvider.sendAndConfirm (cognitive 29): AnchorProvider.sendAndConfirm has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (16 pts), ternaries 2 (7 pts), loops 1 (3 pts), boolean chains 2, error handling 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/src/provider.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"f40468c33509c1f12f5d84dc4421ceb17247587abd6bab5e7e841f4529d320e1"}},{"ruleId":"D2","level":"warning","message":{"text":"anchor_cli::surfpool_flags (cognitive 28): anchor_cli::surfpool_flags has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (20 pts), loops 3 (7 pts), match/switch 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/lib.rs"},"region":{"startLine":5850}}}],"partialFingerprints":{"codehealthFindingId/v1":"50039ad952ff2749f7755ade2eab90f500cb40a812051bef015fcb545a4e9666"}},{"ruleId":"D2","level":"warning","message":{"text":"IdlCoder.typeSizeWithContext (cognitive 28): IdlCoder.typeSizeWithContext has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (21 pts), match/switch 2 (4 pts), ternaries 1 (3 pts) (nesting depth added 16). Of this number, 25 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. 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":"ts/packages/anchor/src/coder/borsh/idl.ts"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"c141f825ba68f6ca7153054a242b2369ed622dfbbd5be8524975b18f54fbfe2e"}},{"ruleId":"D2","level":"warning","message":{"text":"anchor_cli::deserialize_idl_defined_type_to_json (cognitive 27): anchor_cli::deserialize_idl_defined_type_to_json has cognitive complexity 27 (threshold 15). Drivers by points: loops 4 (16 pts), match/switch 3 (7 pts), if/else 2 (4 pts) (nesting depth added 18). 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":"cli/src/lib.rs"},"region":{"startLine":4249}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cd8376e061c8370f9b926a92b09543c3049af34fd496db501b8845ed7b329fb"}},{"ruleId":"D2","level":"warning","message":{"text":"anchor_attribute_account::zero_copy (cognitive 27): anchor_attribute_account::zero_copy has cognitive complexity 27 (threshold 15). Drivers by points: if/else 14 (20 pts), match/switch 2 (3 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":"lang/attribute/account/src/lib.rs"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb886d63cb869911244ccb09b59e1ead592c3a37c5e8e9eb61f18001f1bdc0e6"}},{"ruleId":"D2","level":"warning","message":{"text":"IdlCoder.fieldLayoutWithContext (cognitive 27): IdlCoder.fieldLayoutWithContext has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (26 pts), match/switch 1 (nesting depth added 16). 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":"ts/packages/anchor/src/coder/borsh/idl.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b226c1bf39695d3d94c9593fb00e01311e2aff043975cb1781ea2357efff60a"}},{"ruleId":"D2","level":"warning","message":{"text":"anchor_cli::order_programs_by_metadata (cognitive 26): anchor_cli::order_programs_by_metadata has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (21 pts), loops 4 (5 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/lib.rs"},"region":{"startLine":2530}}}],"partialFingerprints":{"codehealthFindingId/v1":"f843c4ad90330276fb7cfc7aa6d5ddaa98e48e38d213a7fabb2e5548bff00a4e"}},{"ruleId":"D2","level":"warning","message":{"text":"anchor_cli::keys_sync (cognitive 26): anchor_cli::keys_sync has cognitive complexity 26 (threshold 15). Drivers by points: if/else 5 (15 pts), loops 4 (8 pts), match/switch 1 (3 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":"cli/src/lib.rs"},"region":{"startLine":7041}}}],"partialFingerprints":{"codehealthFindingId/v1":"decae15be69a8a850599715a5994ac1b59b822adc1910291c8a142299c491bda"}},{"ruleId":"D2","level":"warning","message":{"text":"anchor_syn::codegen::accounts::try_accounts::generate (cognitive 26): anchor_syn::codegen::accounts::try_accounts::generate has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (19 pts), match/switch 5 (6 pts), boolean chains 1 (nesting depth added 10). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lang/syn/src/codegen/accounts/try_accounts.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"80c65f71b3efdc85c3793962963fb5ab1dff0a269f4675c3c59bdce39b19b215"}},{"ruleId":"D2","level":"warning","message":{"text":"_TestToml::from_path (cognitive 25): _TestToml::from_path has cognitive complexity 25 (threshold 15). Drivers by points: loops 4 (13 pts), if/else 6 (12 pts) (nesting depth added 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/config.rs"},"region":{"startLine":1218}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff1c38271d362ff1e7be10893738520bec03771311d60a4afa34c79129e6bcc6"}},{"ruleId":"D2","level":"warning","message":{"text":"anchor_cli::debugger::loose::discover_programs (cognitive 25): anchor_cli::debugger::loose::discover_programs has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (21 pts), loops 3 (4 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/debugger/loose.rs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"c605129ede1e7143d261abd26ca0c1fc756cdbc3a1ea3a9dea8187593b92ff94"}},{"ruleId":"D2","level":"warning","message":{"text":"anchor_cli::fetch::idl_fetch_historical (cognitive 25): anchor_cli::fetch::idl_fetch_historical has cognitive complexity 25 (threshold 15). Drivers by points: if/else 17 (22 pts), boolean chains 2, loops 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/fetch/mod.rs"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"28a293683f0472320cd46ca06a7053ed52036a460b5ece389a2ea8f56c09d410"}},{"ruleId":"D2","level":"warning","message":{"text":"anchor_cli::flamegraph::trace::load_function_map (cognitive 25): anchor_cli::flamegraph::trace::load_function_map has cognitive complexity 25 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 3 (7 pts), match/switch 1 (5 pts) (nesting depth added 16). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/flamegraph/trace.rs"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"312bb87439dce477626e133e066c3ca29795f24214e9022df6622a2bf943641e"}},{"ruleId":"D2","level":"warning","message":{"text":"anchor_cli::account::print_hex_dump (cognitive 24): anchor_cli::account::print_hex_dump has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 4 (8 pts), boolean chains 3 (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":"cli/src/account.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cacf96a5f9e4ec2333274b7bae374053771c25f1d0a72ee88ffd8ee1c30de42"}},{"ruleId":"D2","level":"warning","message":{"text":"anchor_cli::coverage::generate_lcov (cognitive 24): anchor_cli::coverage::generate_lcov has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 4 (8 pts), match/switch 1 (2 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/coverage.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"8204979f9b61e4e016842d6c6e8637aabd0da65d493e89d011709068741d5d74"}},{"ruleId":"D2","level":"warning","message":{"text":"provider.sendAndConfirmRawTransaction (cognitive 24): provider.sendAndConfirmRawTransaction has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 6, error handling 1 (2 pts), loops 1, ternaries 1 (nesting depth added 8). Of this number, 20 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":"ts/packages/anchor/src/provider.ts"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"823ef95b8d878575ed3e7a0f94e1f93a05ca8e38e05053f5fd16767a7743c91f"}},{"ruleId":"D2","level":"warning","message":{"text":"anchor_cli::codama::type_node_from_anchor (cognitive 23): anchor_cli::codama::type_node_from_anchor has cognitive complexity 23 (threshold 15). Drivers by points: if/else 15 (19 pts), match/switch 2 (4 pts) (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/codama.rs"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c1f4c6d79f0ba85cb6c364324685ddfac110d7526e83ba5315fd28a842e1c88"}},{"ruleId":"D2","level":"warning","message":{"text":"anchor_cli::program::program_set_upgrade_authority (cognitive 23): anchor_cli::program::program_set_upgrade_authority has cognitive complexity 23 (threshold 15). Drivers by points: if/else 17 (21 pts), boolean chains 1, match/switch 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/program.rs"},"region":{"startLine":1815}}}],"partialFingerprints":{"codehealthFindingId/v1":"17af4e8e1928e33712f1fb94b2d9e96c1294c454d58980846d30551ff1b4abff"}},{"ruleId":"D2","level":"warning","message":{"text":"anchor_cli::program::program_upgrade (cognitive 23): anchor_cli::program::program_upgrade has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (18 pts), match/switch 2 (4 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/program.rs"},"region":{"startLine":2056}}}],"partialFingerprints":{"codehealthFindingId/v1":"432bfcffce512715f1892e5794ec8f121775e955404337da45cbdb426e2139b2"}},{"ruleId":"D2","level":"warning","message":{"text":"App::draw_source (cognitive 22): App::draw_source has cognitive complexity 22 (threshold 15). Drivers by points: if/else 13 (16 pts), loops 1 (3 pts), match/switch 2 (3 pts) (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/debugger/tui.rs"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"7326483b6baa067f3e06ef099f05e0bed7bea5930f08a388a0331a6fcc07f7cb"}},{"ruleId":"D2","level":"warning","message":{"text":"anchor_cli::debugger::cargo_deps::discover_path_dep_roots (cognitive 22): anchor_cli::debugger::cargo_deps::discover_path_dep_roots has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 2 (3 pts), match/switch 1 (3 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/debugger/cargo_deps.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"363c44acb423de1532e8ec69252f688dbcd39c274f797854e8790b06e861b11a"}},{"ruleId":"D2","level":"warning","message":{"text":"anchor_cli::debugger::cargo_deps::find_crate_dir_in_checkout::recurse (cognitive 22): anchor_cli::debugger::cargo_deps::find_crate_dir_in_checkout::recurse has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (19 pts), boolean chains 2, loops 1 (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/debugger/cargo_deps.rs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"71f7f79c1fedb7543ae95e37604af3de34b3eb1e9b7df4411cfe5a99ddc16e70"}},{"ruleId":"D2","level":"warning","message":{"text":"search.setupSearch (cognitive 22): search.setupSearch has cognitive complexity 22 (threshold 15). Drivers by points: if/else 13 (14 pts), boolean chains 4, ternaries 3 (4 pts) (nesting depth added 2). Most of this is not in the body itself: 2 of the 22 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 193, a function literal at line 183, open, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/client/search.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecd02a0e89713830fcd6c428e8a365676b67e858b4d43a41d729469a7ab81ef8"}},{"ruleId":"D2","level":"warning","message":{"text":"expressive-code-output-separators.pluginOutputSeparators (cognitive 22): expressive-code-output-separators.pluginOutputSeparators has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 3, ternaries 1 (3 pts), loops 1 (nesting depth added 8). None of this is in the body itself: all 22 points belong to one function literal inside it that branches (line 45). 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":"docs-v2/src/lib/expressive-code-output-separators.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"64fe3d55d91935d5845c8c6c8f1e143f879fb018dde9622041da227e23aa7cbe"}},{"ruleId":"D2","level":"warning","message":{"text":"AccountsResolver.resolveConst (cognitive 22): AccountsResolver.resolveConst has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (19 pts), boolean chains 2, loops 1 (nesting depth added 13). 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":"ts/packages/anchor/src/program/accounts-resolver.ts"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"78a6a89726020cc96ad2a2967eaf3785688cd1c6d355c387c306ae6c4a5b22e0"}},{"ruleId":"D2","level":"warning","message":{"text":"anchor_cli::validator_deploy_flags (cognitive 21): anchor_cli::validator_deploy_flags has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 2 (4 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/lib.rs"},"region":{"startLine":5662}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a18c63b4b8396189ab7f630ae78870b1720f1f6626643251ea05d809811daf1"}},{"ruleId":"D2","level":"warning","message":{"text":"anchor_cli::fetch::pmp::fetch_pmp_idl_from_transaction (cognitive 21): anchor_cli::fetch::pmp::fetch_pmp_idl_from_transaction has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (18 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/fetch/pmp.rs"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ced72a12af33d8a43c3a12c632d45a17c19fda55ad02d1a1f3548c919d19456"}},{"ruleId":"D2","level":"warning","message":{"text":"mcp.POST (cognitive 21): mcp.POST has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (11 pts), ternaries 2 (6 pts), boolean chains 3, error handling 1 (nesting depth added 7). Of this number, 19 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/api/mcp.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"e889eb152ccf0d5256035eeae3ebd846b00849079377b7c20185202615e48265"}},{"ruleId":"D2","level":"warning","message":{"text":"anchor_syn::parser::accounts::parse (cognitive 20): anchor_syn::parser::accounts::parse has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (10 pts), match/switch 3 (8 pts), loops 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lang/syn/src/parser/accounts/mod.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6a784139def806b4984db0f408400abc2c202040e6dc2af14d82d1b02ea0089"}},{"ruleId":"D2","level":"warning","message":{"text":"EventParser.parseLogs (cognitive 20): EventParser.parseLogs has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 2, 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":"ts/packages/anchor/src/program/event.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebc93ebefc1d50e89402c2026550e3318d735862fca1c59b18d625a1746f855b"}},{"ruleId":"D2","level":"warning","message":{"text":"anchor_cli::clean (cognitive 19): anchor_cli::clean has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (14 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/lib.rs"},"region":{"startLine":6481}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd43a28c2b75cc014ee3088ab819da9890b8dc44e578ab1bef11fb94d835f12a"}},{"ruleId":"D2","level":"warning","message":{"text":"anchor_cli::codama::instruction_account_nodes_from_anchor (cognitive 19): anchor_cli::codama::instruction_account_nodes_from_anchor has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (11 pts), match/switch 2 (6 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":"cli/src/codama.rs"},"region":{"startLine":1067}}}],"partialFingerprints":{"codehealthFindingId/v1":"bac085e5401840d749fa09c8ff627e5afc6d60d1d3c3bc4c26c13768f4b24bd9"}},{"ruleId":"D2","level":"warning","message":{"text":"anchor_cli::flamegraph::trace::discover_invocations (cognitive 19): anchor_cli::flamegraph::trace::discover_invocations has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (13 pts), match/switch 2 (4 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":"cli/src/flamegraph/trace.rs"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"866e13d9870628a8ed4c2b495f210b9f5ad8eeaa29803b5f2c1c2cb73f6d7843"}},{"ruleId":"D2","level":"warning","message":{"text":"scroll-area.ScrollArea (cognitive 19): scroll-area.ScrollArea has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 14, if/else 4, ternaries 1. Most of this is not in the body itself: 8 of the 19 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 52, 75, 65). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/components/ui/scroll-area.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e5960ee7fb52fb8313d4c09163129e383ca63df13b2468bc775be044f537d16"}},{"ruleId":"D2","level":"warning","message":{"text":"rehype-code-paths.dimPlaceholders (cognitive 19): rehype-code-paths.dimPlaceholders has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 2 (4 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/rehype-code-paths.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"79d24892de91f80d52988b2d4a56c47300536701c114864b9d3d3c84a7c7f00c"}},{"ruleId":"D2","level":"warning","message":{"text":"index.encodeLayout (cognitive 18): index.encodeLayout has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (14 pts), error handling 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 10). Of this number, 11 points are the body\u0027s own statements and 7 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/borsh/src/index.ts"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ab1d1c01b003e71516ac8bfdce7a054af8fec34b65d772290eb438a4684574f"}},{"ruleId":"D2","level":"warning","message":{"text":"avm::solana::install_solana_cli_with_options (cognitive 17): avm::solana::install_solana_cli_with_options has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 1, match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"avm/src/solana.rs"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2d53e59af8b5517a2516922b1330f5c8a60cdb27c841e04fc52c57d8b970f86"}},{"ruleId":"D2","level":"warning","message":{"text":"anchor_cli::stream_solana_logs (cognitive 17): anchor_cli::stream_solana_logs has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (6 pts), match/switch 2 (6 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/lib.rs"},"region":{"startLine":6051}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ab45f97a0c9bd5959d04d12844c0e124028016538249397f545a32cf3b974bd"}},{"ruleId":"D2","level":"warning","message":{"text":"anchor_cli::debugger::gdb::drive_session (cognitive 17): anchor_cli::debugger::gdb::drive_session has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 2, 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":"cli/src/debugger/gdb.rs"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"9747979e86bfbcd38f7c686c1c98756b044adc7c913947bc9be894b5843de586"}},{"ruleId":"D2","level":"warning","message":{"text":"anchor_cli::debugger::loose::walk_declare_ids (cognitive 17): anchor_cli::debugger::loose::walk_declare_ids has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 2, 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":"cli/src/debugger/loose.rs"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"42264117e3e7e812e4ac015002b3d6cb52f017f546ab93030e5efeecba1c8e62"}},{"ruleId":"D2","level":"warning","message":{"text":"anchor_lang_idl::convert::legacy::invert_relations (cognitive 17): anchor_lang_idl::convert::legacy::invert_relations has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (7 pts), loops 4 (6 pts), match/switch 2 (4 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (anchor_lang_idl::convert::legacy::invert_relations_legacy) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"idl/src/convert.rs"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"61efc902029e1539e2ebb0b13efbd78d0a3ae526de33828134a9016284531a78"}},{"ruleId":"D2","level":"warning","message":{"text":"anchor_lang_idl::convert::legacy::invert_relations_legacy (cognitive 17): anchor_lang_idl::convert::legacy::invert_relations_legacy has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (7 pts), loops 4 (6 pts), match/switch 2 (4 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (anchor_lang_idl::convert::legacy::invert_relations) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"idl/src/convert.rs"},"region":{"startLine":877}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2872f94db617eaff16c3d136e99a249a2fb12612cb7e4299c979869e5128a68"}},{"ruleId":"D2","level":"warning","message":{"text":"Field::from_account_info (cognitive 17): Field::from_account_info has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (15 pts), match/switch 2 (nesting depth added 5). 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":"lang/syn/src/lib.rs"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"a54c221c8631b114eed78eb19d25d863ac2e6500a352a7e135cefb9689ff8e29"}},{"ruleId":"D2","level":"warning","message":{"text":"anchor_syn::codegen::program::instruction::can_derive_common_trait (cognitive 17): anchor_syn::codegen::program::instruction::can_derive_common_trait has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (15 pts), boolean chains 1, match/switch 1 (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lang/syn/src/codegen/program/instruction.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"f26dcd3f813493defd6746be981192646d9128588232784e3b01052e71ba23e6"}},{"ruleId":"D2","level":"warning","message":{"text":"anchor_syn::idl::accounts::gen_idl_build_impl_accounts_struct (cognitive 17): anchor_syn::idl::accounts::gen_idl_build_impl_accounts_struct has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 5 (8 pts), if/else 4 (6 pts), loops 1 (3 pts) (nesting depth added 7). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lang/syn/src/idl/accounts.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"5106fac31700ee3d11f6167545eb00b27e5cb632aea7cf452a53ef0e4a0677ae"}},{"ruleId":"D2","level":"warning","message":{"text":"anchor_syn::idl::defined::gen_idl_type_def (cognitive 17): anchor_syn::idl::defined::gen_idl_type_def has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (11 pts), match/switch 4 (5 pts), loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lang/syn/src/idl/defined.rs"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c8dd1106a503c28152516ec7fa9f0a9cefc8ab85c04295bf787dba19d93b291"}},{"ruleId":"D2","level":"warning","message":{"text":"IdlCoder.assertNonRecursiveType (cognitive 17): IdlCoder.assertNonRecursiveType has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (13 pts), match/switch 1 (2 pts), ternaries 1 (2 pts) (nesting depth added 5). Of this number, 15 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/src/coder/borsh/idl.ts"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"03709c4e64323836ca6d76fb4618b1da3dc72ddaaf728a584edbd9e3f06f233c"}},{"ruleId":"D2","level":"warning","message":{"text":"AccountsResolver.resolve (cognitive 17): AccountsResolver.resolve has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (15 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":"ts/packages/anchor/src/program/accounts-resolver.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1b887162c879e640ab73496721bb4e960d59e9252780fefe44126d28a3a29e3"}},{"ruleId":"D2","level":"warning","message":{"text":"AccountsResolver.resolvePdasAndRelations (cognitive 17): AccountsResolver.resolvePdasAndRelations has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (14 pts), boolean chains 2, 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":"ts/packages/anchor/src/program/accounts-resolver.ts"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"52228d85baf7c44de7fe00dec555e8b586ea952f185a5615b70d280acfdaa2ce"}},{"ruleId":"D2","level":"warning","message":{"text":"avm::ensure_nightly_installed (cognitive 16): avm::ensure_nightly_installed has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 2, match/switch 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"avm/src/lib.rs"},"region":{"startLine":1015}}}],"partialFingerprints":{"codehealthFindingId/v1":"277063ed630bf1ebd9a1f54c742208b188740a2138fcdd7b0f11d7c5cdd3f8eb"}},{"ruleId":"D2","level":"warning","message":{"text":"Manifest::discover_from_path (cognitive 16): Manifest::discover_from_path has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (13 pts), loops 2 (3 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":"cli/src/config.rs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"81a154c3d63f1afe8f6f2c726521baf1c80043778d81fc5d31624a773fb15eba"}},{"ruleId":"D2","level":"warning","message":{"text":"Config::_discover (cognitive 16): Config::_discover has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (12 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/config.rs"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"9119e7bdd2433152c3c66ee1f3af73622cd33e4d85f2d96e1d5c6c70ffe4d5be"}},{"ruleId":"D2","level":"warning","message":{"text":"anchor_cli::localnet (cognitive 16): anchor_cli::localnet has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (9 pts), loops 2 (5 pts), match/switch 2 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/lib.rs"},"region":{"startLine":7178}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab550ce10cc98bfbe92421f77f112b4f01e8faea06c6d0909e6e51ff3ae5c209"}},{"ruleId":"D2","level":"warning","message":{"text":"anchor_cli::debugger::gdb::regular_invocation_stems (cognitive 16): anchor_cli::debugger::gdb::regular_invocation_stems has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (15 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":"cli/src/debugger/gdb.rs"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"8540cc548b00a251fdd068f639de43f556cdb3267d523441c5c84dde90e45b8d"}},{"ruleId":"D2","level":"warning","message":{"text":"anchor_cli::flamegraph::trace::stream_trace (cognitive 16): anchor_cli::flamegraph::trace::stream_trace has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/flamegraph/trace.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b98b2b5e3a55551b09b69f76208581cef341cc1f0c74cf55da181bda862f2a8"}},{"ruleId":"D2","level":"warning","message":{"text":"anchor_cli::legacy_idl::idl_set_buffer (cognitive 16): anchor_cli::legacy_idl::idl_set_buffer has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), match/switch 1 (3 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":"cli/src/legacy_idl.rs"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"542ecb901129b0a1f1e808aa399ae05a185c06a41a7e87b8b07953baeb3bb04c"}},{"ruleId":"D2","level":"warning","message":{"text":"anchor_cli::program::discover_solana_programs_from_path (cognitive 16): anchor_cli::program::discover_solana_programs_from_path has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/program.rs"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a4bb2962877fb9bd7b1bb3f786b9028567c485b69db5d99a2042be8c1c5f1f5"}},{"ruleId":"D2","level":"warning","message":{"text":"anchor_attribute_account::account (cognitive 16): anchor_attribute_account::account has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12 (13 pts), match/switch 2 (3 pts) (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lang/attribute/account/src/lib.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"8743c2cdc7fe538212251c0c39bf0bac8225afe53c8436b6a340bf0ece92dbb2"}},{"ruleId":"D2","level":"warning","message":{"text":"ConstraintGroupBuilder::add_init (cognitive 16): ConstraintGroupBuilder::add_init has cognitive complexity 16 (threshold 15). Drivers by points: if/else 15 (16 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lang/syn/src/parser/accounts/constraints.rs"},"region":{"startLine":1327}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dcf03f9dd3058f3299639e93551c94d8d57daaa9505378181d939673f1ce470"}},{"ruleId":"D2","level":"warning","message":{"text":"pda-seeds-flow.Block (cognitive 16): pda-seeds-flow.Block has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 7 (8 pts), boolean chains 4, if/else 4 (nesting depth added 1). Most of this is not in the body itself: 5 of the 16 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 196, 127, 138, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/components/pda-seeds-flow.tsx"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5e62c982dc28efca35f51da3bb8a0a9d53051747b1eac6df2ca828accebbed0"}},{"ruleId":"D2","level":"warning","message":{"text":"pda-seeds-flow.Block (cognitive 16): pda-seeds-flow.Block has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 7 (8 pts), boolean chains 4, if/else 4 (nesting depth added 1). Most of this is not in the body itself: 5 of the 16 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 211, 138, 149, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/app/components/pda-seeds-flow.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"ece65fc0a6b3b58dbb535f18910d2df6bf6904b5c7e5454c6136e4a8a08efe1c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 5310 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 157 free functions. The bar is 500 significant lines; this is 4810 over it, 10.62\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":"cli/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d2323eaffa0249a15c0369979f802ed98f883b142e128d5ee0eba5500d894c9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/program.ts: FileTooLong \u2014 3151 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2651 over it, 6.30\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":"ts/packages/spl-governance/src/program.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d70857346dd99036e9e2d9274967fcc277000fd9c86bce3660f49d2aa296e0db"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/program.rs: FileTooLong \u2014 1974 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 45 free functions. The bar is 500 significant lines; this is 1474 over it, 3.95\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/program.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"99e4b5cedd7219e7a202fb79aceba1ef23076dca67536ca08cab38af9c4e0f89"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ConstraintGroupBuilder.build: MethodTooLong \u2014 build runs 390 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 290 over it, 3.90\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lang/syn/src/parser/accounts/constraints.rs"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0efe073c877a42fcf1d5f39e7dd295a63f3540382779eddf5b4ed3510510a72"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: anchor_syn::parser::accounts::constraints::parse_token: FunctionTooLong \u2014 anchor_syn::parser::accounts::constraints::parse_token runs 354 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 254 over it, 3.54\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lang/syn/src/parser/accounts/constraints.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5a8aeafe5d6ed0735c1ac3daf4630d196ae801404813220eb8c3f2e2f42cef1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/program.ts: FileTooLong \u2014 1732 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1232 over it, 3.46\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":"ts/packages/spl-stake-pool/src/program.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0749b2ff41e168fe0389d868e371b22be9e7794daf521bd13e3d6250dd850a60"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: anchor_syn::idl::defined::gen_idl_type: FunctionTooLong \u2014 anchor_syn::idl::defined::gen_idl_type runs 322 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 222 over it, 3.22\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":"lang/syn/src/idl/defined.rs"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"e428a1084bf5ede3f45390dc52cf906c9f2fff0065a811bdf705c351cc1c5737"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/template.rs: FileTooLong \u2014 1509 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 53 free functions. The bar is 500 significant lines; this is 1009 over it, 3.02\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/template.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e401485eda2f3c95a2ccab90f6584bf0076c38ccdd57006b2a4843ba9ee9cbd8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/program.ts: FileTooLong \u2014 1446 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 946 over it, 2.89\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":"ts/packages/spl-token-lending/src/program.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"acf30cbbf6da5dbdfcb8a9ae506f1fc53558950d3b2ebc95e1df4780c4a937fd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: anchor_cli::program::program_deploy: FunctionTooLong \u2014 anchor_cli::program::program_deploy runs 288 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 188 over it, 2.88\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/program.rs"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"037dd95a3e7bf46e7061661f7efe781b1d4f246a50aa48a80c3535430f59dbea"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/config.rs: FileTooLong \u2014 1340 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 840 over it, 2.68\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/config.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"806dc5f41900ce03cbf2c9982862785da98bae9ab227d5225a6e2bf28a3b1eaa"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: accounts/constraints.rs: FileTooLong \u2014 1321 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 71% of them inside a single declaration: ConstraintGroupBuilder (2 blocks, 646-1942). The bar is 500 significant lines; this is 821 over it, 2.64\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":"lang/syn/src/parser/accounts/constraints.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f7f8f22a47dca1c58821d9d496a0c048cf2247877c163a680513f14fea4c453"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: anchor_cli::process_command: FunctionTooLong \u2014 anchor_cli::process_command runs 239 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 139 over it, 2.39\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":"cli/src/lib.rs"},"region":{"startLine":1506}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb1a53bbdeb3f772f4bab95b13b8394400b9ba5ed58ddb9721d072f7048c491c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ConstraintGroupBuilder: ClassTooLong \u2014 944 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 44 methods, 2 blocks, lines 646-1942. The bar is 400 significant lines; this is 544 over it, 2.36\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lang/syn/src/parser/accounts/constraints.rs"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"d30e83a9a0dd3b6f897b3111d2d9e0924b9abaabd401725d7cf6a3f8ed717cd7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 1069 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 80 free functions. The bar is 500 significant lines; this is 569 over it, 2.14\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"avm/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed9985f34bad6ace7c96ae73f34cf7514f5b8cbb93076f1e3d4f7e0a0bdc2a77"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/codama.rs: FileTooLong \u2014 1015 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 40 free functions. The bar is 500 significant lines; this is 515 over it, 2.03\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/codama.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"59453ea23a72bd98da7be3e7cc4b447afb5f420bda7dbbba713435efe75307c8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: coder/accounts.ts: FileTooLong \u2014 957 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 457 over it, 1.91\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":"ts/packages/spl-governance/src/coder/accounts.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b97019f2d3e0c39d158c3b6cfbacfe41b592885b74bc94d879d18b595f321d6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: anchor_cli::materialize_validator_accounts: FunctionTooLong \u2014 anchor_cli::materialize_validator_accounts runs 187 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 87 over it, 1.87\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/lib.rs"},"region":{"startLine":5365}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bf774749c4b279371e85885428493fb5548ebcf4cb4b3013211e6c528ad911f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/program.ts: FileTooLong \u2014 885 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 385 over it, 1.77\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-token/src/program.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f583001240b5e08999f4520e6fdcfb6703bfb8daed0786e6271a91bf077a784b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: anchor_syn::parser::accounts::constraints_cross_checks: FunctionTooLong \u2014 anchor_syn::parser::accounts::constraints_cross_checks runs 176 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 76 over it, 1.76\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":"lang/syn/src/parser/accounts/mod.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"867971dc3afd02bc3834e0ad6a047f85ebc99602edf321ecfff6dcd74cb31e2b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 870 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 370 over it, 1.74\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lang/syn/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b78bf1d8d972b0f4d6c608ec9d2c45d416a9bb7589f907d020d921a5fd131339"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: anchor_cli::test: FunctionTooLong \u2014 anchor_cli::test runs 168 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 68 over it, 1.68\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":"cli/src/lib.rs"},"region":{"startLine":4439}}}],"partialFingerprints":{"codehealthFindingId/v1":"db792c8d0c67675c48e9fc357c53ca1f42c250bbdb8bdfb09ce0ab1982ab6a97"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/program.ts: FileTooLong \u2014 822 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 322 over it, 1.64\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-token-swap/src/program.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0df72452b5d9bb1886426857a08ecbdf822c029b73eaaed970b9a1075e4c42f2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/convert.rs: FileTooLong \u2014 794 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 294 over it, 1.59\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":"idl/src/convert.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"449f4ec9ca5ccbdef2a01f56c59f3c0e0d158a39fe3394568e335b99b0a99c07"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: anchor_attribute_account::lazy::gen_lazy: FunctionTooLong \u2014 anchor_attribute_account::lazy::gen_lazy runs 156 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 56 over it, 1.56\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":"lang/attribute/account/src/lazy.rs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"18339fcc1e88213d91d323edb8453a0bf05342b9eec60b806a01d1d37ce141d3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: avm::install_version: FunctionTooLong \u2014 avm::install_version runs 153 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 53 over it, 1.53\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"avm/src/lib.rs"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"7077faf82b13207711b9759360877bbf21aafd05e861d37b2a0b3b053c31f0c9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: anchor_cli::program::program_upgrade: FunctionTooLong \u2014 anchor_cli::program::program_upgrade runs 153 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 53 over it, 1.53\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/program.rs"},"region":{"startLine":2056}}}],"partialFingerprints":{"codehealthFindingId/v1":"54a5f883ce6dbfc29395344a3f3ed82153ea4de2e07a73609401abe6909ae403"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: coder/instructions.ts: FileTooLong \u2014 740 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 240 over it, 1.48\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":"ts/packages/spl-governance/src/coder/instructions.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b40f618058fe96e68d22c66998ee16034f5d560aafeeb2e70336b071eb13594d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ConstraintGroupBuilder: TooManyMethods \u2014 44 methods. The bar is 30 methods; this is 14 over it, 1.47\u00D7 the bar. This type is on a published API surface \u2014 a cargo-semver-checks gate in CI (.github/workflows/semver-checks.yaml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lang/syn/src/parser/accounts/constraints.rs"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"46348ee03c992521cbcdaa878071482507980cb2fbd9cf4efc9fa1c13fdcaf12"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: App: ClassTooLong \u2014 570 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 26 methods, 3 blocks, lines 99-983. 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":"cli/src/debugger/tui.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"740f0d7729b42a53274e62d0cf8c9306dfa0edb0a9be279cd388ad243a465428"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: ConstraintGroupBuilder: TooManyFields \u2014 42 stored fields beside 44 methods. The bar is 30 stored fields; this is 12 over it, 1.40\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lang/syn/src/parser/accounts/constraints.rs"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"45e5ee11a13f8b90ef3d614f6343f77fbb4ed9576831a191faa679d5eeac4939"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: debugger/tui.rs: FileTooLong \u2014 685 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 83% of them inside a single declaration: App (3 blocks, 99-983). The bar is 500 significant lines; this is 185 over it, 1.37\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/debugger/tui.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4849cdeea4015963ee1ea2c1d51d93b1e0fa02540ad3f5409a2f6a625ee7f0bf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: idl/defined.rs: FileTooLong \u2014 677 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 177 over it, 1.35\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lang/syn/src/idl/defined.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c6c4f02b393dde7a7d37f4733bf0d00692ba40ce240cfe79dfea0c1266d52f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/metadata.rs: FileTooLong \u2014 672 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 172 over it, 1.34\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":"spl/src/metadata.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"60c79f6a36b8b814814d81bc752a9ccf8d66addef64c82e7f570276fe82e1751"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: IdlCoder: ClassTooLong \u2014 533 significant lines (blank, comment-only and punctuation-only lines excluded), 9 methods. The bar is 400 significant lines; this is 133 over it, 1.33\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/src/coder/borsh/idl.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"1964c7073158b2b678698baf0602875120ed3275b02297718562fa0c185b9e82"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: anchor_cli::debugger::arena::build_session: FunctionTooLong \u2014 anchor_cli::debugger::arena::build_session runs 132 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 32 over it, 1.32\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/debugger/arena.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"3832ea645167a642d279feee2adc2888d941c2b245c3405aeee4c9d6a265fcfa"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: pda-seeds-flow.Block: FunctionTooLong \u2014 Block runs 131 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 31 over it, 1.31\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/app/components/pda-seeds-flow.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"807f6eed18ae345b9321657ae2ddc061ccfee195124cf220758d56a9b6d19548"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: anchor_attribute_program::declare_program::common::convert_idl_type_def_to_ts: FunctionTooLong \u2014 anchor_attribute_program::declare_program::common::convert_idl_type_def_to_ts runs 131 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 31 over it, 1.31\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lang/attribute/program/src/declare_program/common.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"06c1d7307c69bb31d0bf3b78c8ea0e59bb8b3358efc2a9cec272dd7085e8acd9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: avm::entry: FunctionTooLong \u2014 avm::entry runs 130 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 30 over it, 1.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"avm/src/main.rs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c4e947a7755f80fe2430e40a2b398e80c9c9cf085078d49a1c887ca6b4a2811"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: IdlCoder.typeSizeWithContext: MethodTooLong \u2014 typeSizeWithContext runs 129 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 29 over it, 1.29\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/src/coder/borsh/idl.ts"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"57dd43b347156a74c7faa070adf5880169ab67bb62bd2aeba0ec4920f4457f45"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/legacy_idl.rs: FileTooLong \u2014 644 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 144 over it, 1.29\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/legacy_idl.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c26d1a2505eae54bf9df61e8cd6f0399f35bc187839e02ba6c1fc4fe949f56fc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: fetch/pmp.rs: FileTooLong \u2014 627 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 127 over it, 1.25\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/fetch/pmp.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"532d7154724b4fca514307ac23896da2fd81b1d6f56a9e520b6c0e142009925c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: anchor_cli::override_toolchain: FunctionTooLong \u2014 anchor_cli::override_toolchain runs 125 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 25 over it, 1.25\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/lib.rs"},"region":{"startLine":1265}}}],"partialFingerprints":{"codehealthFindingId/v1":"e48407fe93dc01cda841c8f69b9372ef2c4b6cf00c380ed8a2b6152cf583b2c2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: anchor_cli::init: FunctionTooLong \u2014 anchor_cli::init runs 125 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 25 over it, 1.25\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/lib.rs"},"region":{"startLine":1781}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fbd3e142aaf3ae12ec3c9ceb511b9c5e783b9fab37115e2756c86713b55902a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: anchor_attribute_account::account: FunctionTooLong \u2014 anchor_attribute_account::account runs 125 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 25 over it, 1.25\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lang/attribute/account/src/lib.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5e6ac507228d29f4f2ba896214c8bd2438528541c400f1b6fda556edf4cf97b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: anchor_cli::idl: FunctionTooLong \u2014 anchor_cli::idl runs 122 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\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":"cli/src/lib.rs"},"region":{"startLine":3325}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f19db5200c0ef924193c02fc5ecbd6b4c03409f803570258fab7fa8f97b3451"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: pda-seeds-flow.Block: FunctionTooLong \u2014 Block runs 120 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 20 over it, 1.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/components/pda-seeds-flow.tsx"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a381931fd174c462cbec0bfecf5990f478919181df29747d72ffe0259e09ff2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: borsh/idl.ts: FileTooLong \u2014 578 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: IdlCoder (75-849). The bar is 500 significant lines; this is 78 over it, 1.16\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/src/coder/borsh/idl.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d26ffe6435dd148b86a26874d78c174aa6a9eaa57807f9f0b90b50130a1df6ab"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: App.draw_source: MethodTooLong \u2014 draw_source runs 115 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/debugger/tui.rs"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c53a20cb85e527cef72fbbbe3fbd729eb90831c4e25231290b62a1af22fe52d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/main.rs: FileTooLong \u2014 572 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 72 over it, 1.14\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"avm/src/main.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ee15d06a4c11f248099c4cfdf8182406f07d64c5cda4d662c0ea1fac98a9cf"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: IdlCoder.fieldLayoutWithContext: MethodTooLong \u2014 fieldLayoutWithContext runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/src/coder/borsh/idl.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc0ba0048bfa2dd76fd97861187aae9d844e594fea8fa3d4bdcfc830597113e8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 569 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 69 over it, 1.14\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a2ace5331f1660c2200504bc907a33f7322e0db9458a4e0adf1c1fdafcaec6d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: accounts/mod.rs: FileTooLong \u2014 566 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 66 over it, 1.13\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":"lang/syn/src/parser/accounts/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a349ffd0fe169e93f8f6f79cca335ed3f69d90d1340ed745ff043c3826db8e6c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: anchor_cli::run_test_suite: FunctionTooLong \u2014 anchor_cli::run_test_suite runs 113 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/lib.rs"},"region":{"startLine":5047}}}],"partialFingerprints":{"codehealthFindingId/v1":"a888bf13af927796e96ac68eed10665735d32213a04c83ce010aecdb25c4d928"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/token_2022.rs: FileTooLong \u2014 564 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 64 over it, 1.13\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":"spl/src/token_2022.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2df4c7731b9102f7d1af8af277a51241c1e2d609b7ac89af146c5b142e3a45fc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: anchor_cli::fetch::idl_fetch_historical: FunctionTooLong \u2014 anchor_cli::fetch::idl_fetch_historical runs 111 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 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":"cli/src/fetch/mod.rs"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"54e225f36b4aebae68b37ae010a84f2f815156a036f8f7681b71b91532683050"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: anchor_cli::codama::type_node_from_anchor: FunctionTooLong \u2014 anchor_cli::codama::type_node_from_anchor runs 110 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/codama.rs"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"18c20b2e38b1444f3535d1a2e1060e97b02c3f71fa8f51f9dab8e66ce9ea64c0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _Validator.merge: MethodTooLong \u2014 merge runs 110 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/config.rs"},"region":{"startLine":1646}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d6045a76df142aea10f8ac35e7d2a8c1cf52d45dd2bd56e0017cd0e443bc2ad"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: anchor_cli::build: FunctionTooLong \u2014 anchor_cli::build runs 110 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/lib.rs"},"region":{"startLine":2330}}}],"partialFingerprints":{"codehealthFindingId/v1":"4372404f5f15d0267a18bc54a08a290735b68c5160f7e62568bf9f41a23aee5d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: anchor_cli::program::program: FunctionTooLong \u2014 anchor_cli::program::program runs 109 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/program.rs"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3045420d1276ee9f9f445f7cbed9b73a7061754951029699d5b7e8dae580051"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: anchor_syn::idl::accounts::gen_idl_build_impl_accounts_struct: FunctionTooLong \u2014 anchor_syn::idl::accounts::gen_idl_build_impl_accounts_struct runs 109 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lang/syn/src/idl/accounts.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d6ffaf2fc793ffccb3bb8722cf6f91a3706d8bee6293a3eee7a9b11743dcf2a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/solana.rs: FileTooLong \u2014 542 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 37 free functions. The bar is 500 significant lines; this is 42 over it, 1.08\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":"avm/src/solana.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fe5fd0b782d27b1976213c6ad0b5cee5d5b4cbe7e87a7bf45ad0ee6d72c4dc2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: anchor_cli::program::program_set_upgrade_authority: FunctionTooLong \u2014 anchor_cli::program::program_set_upgrade_authority runs 107 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/program.rs"},"region":{"startLine":1815}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf8f9d072a901c95978286301d2a37fd621cfb6d4f07550b160e752619d1179a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: anchor_syn::idl::defined::gen_idl_type_def: FunctionTooLong \u2014 anchor_syn::idl::defined::gen_idl_type_def runs 101 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lang/syn/src/idl/defined.rs"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"788f6c1b6f37c67dabf6b2c3658970d575be5945b69de889dc56ec72caef0b6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (149 shared lines): lang/syn/src/codegen/accounts/__client_accounts.rs:14-244 | lang/syn/src/codegen/accounts/__cpi_client_accounts.rs:39-313 \u2014 These two members are variants of one another: 149 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":"lang/syn/src/codegen/accounts/__client_accounts.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"825f87aab8643df52dfc992f4910a8503f6172145fd58f6a237b5c3cf867175b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): lang/src/accounts/account.rs:398-405 | lang/src/accounts/migration.rs:405-412 | lang/src/accounts/program.rs:213-220 | lang/src/accounts/signer.rs:85-92 | lang/src/accounts/system_account.rs:53-60 \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":"lang/src/accounts/account.rs"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a62d79451e12d9e82552383f7cbf0c53539e364064a9a88f68edbb7dac73e02"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): spl/src/token_2022_extensions/group_member_pointer.rs:17-30 | spl/src/token_2022_extensions/group_pointer.rs:17-30 | spl/src/token_2022_extensions/interest_bearing_mint.rs:17-30 | spl/src/token_2022_extensions/metadata_pointer.rs:17-30 | spl/src/token_2022_extensions/transfer_hook.rs:17-30 \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":"spl/src/token_2022_extensions/group_member_pointer.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"5de2f64576be1064b0aa5c85be7e3f61e0fafdd52971b9ae9c6aecd892c2a183"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): cli/src/legacy_idl.rs:332-397 | cli/src/legacy_idl.rs:626-686 | cli/src/legacy_idl.rs:693-773 | cli/src/legacy_idl.rs:780-845 \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":"cli/src/legacy_idl.rs"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"21f27bb882855f2b77989529d14267e1197740652e59186704721c79095e5fa4"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): spl/src/token.rs:226-244 | spl/src/token.rs:246-264 | spl/src/token_2022.rs:267-285 | spl/src/token_2022.rs:287-305 \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":"spl/src/token.rs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecf1c2a9b9fdd70628299727c28b483b8e0ef406b4d65b9a9f720de85781c761"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): spl/src/token_2022_extensions/cpi_guard.rs:19-36 | spl/src/token_2022_extensions/cpi_guard.rs:44-62 | spl/src/token_2022_extensions/memo_transfer.rs:15-32 | spl/src/token_2022_extensions/memo_transfer.rs:36-54 \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":"spl/src/token_2022_extensions/cpi_guard.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"482d463a17f774ca0b0143e8ae3fa851cb207511a7e1da698059b02eb1c9140a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): lang/attribute/program/src/declare_program/mods/parsers.rs:26-70 | lang/attribute/program/src/declare_program/mods/parsers.rs:72-116 \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":"lang/attribute/program/src/declare_program/mods/parsers.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2425609d81e0064687ae6cb74e63fb69af787174622bf157280c68c0181f20b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): idl/src/convert.rs:384-423 | idl/src/convert.rs:877-912 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"idl/src/convert.rs"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac1aa428b7a9626cfca3705a8d42dc23ce6d80701501585bc202382a48c207b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): cli/src/lib.rs:3465-3509 | cli/src/lib.rs:3518-3559 \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":"cli/src/lib.rs"},"region":{"startLine":3465}}}],"partialFingerprints":{"codehealthFindingId/v1":"9da613ab28b861bc29b8a2ef5e16b87a16ef00d166490a6beb237c85a440a2d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): lang/error/src/lib.rs:474-520 | lang/error/src/lib.rs:565-610 \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":"lang/error/src/lib.rs"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"89411aa9ff260a858207b1fd6c10bd08baf2495fb42e22631a3e465a5ed04a05"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): cli/src/legacy_idl.rs:479-525 | cli/src/legacy_idl.rs:574-616 \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":"cli/src/legacy_idl.rs"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2a29e65e72132e6606366906a94f32a166e060475bea9edc87186d931a1c7f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): lang/derive/space/src/lib.rs:256-289 | lang/syn/src/idl/defined.rs:248-277 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lang/derive/space/src/lib.rs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3e5ac693be34f3a6e021ccb59f7203b90540335a38637d228912210553a83f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): cli/src/program.rs:1490-1538 | cli/src/program.rs:1644-1704 \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":"cli/src/program.rs"},"region":{"startLine":1490}}}],"partialFingerprints":{"codehealthFindingId/v1":"551ae695b1e3f8fabef344038b7522a04b6d0d3268b391ae9644e488a8c6bb3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): avm/src/resolve.rs:103-123 | avm/src/resolve.rs:340-368 \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":"avm/src/resolve.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"c22da1b5028c9c155c9eb6e2fb7155c028ae0b4b7438a9b977ceb3bcc11c33bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): avm/src/lib.rs:1283-1303 | avm/src/lib.rs:1305-1334 \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":"avm/src/lib.rs"},"region":{"startLine":1283}}}],"partialFingerprints":{"codehealthFindingId/v1":"4048156f0824e3bcdb3b23bff5a9687560389fc11e81d802bcdfaedab2fdf74f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): avm/src/platform_tools.rs:209-239 | avm/src/platform_tools.rs:324-357 \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":"avm/src/platform_tools.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"19e9804a69c8c01c24c4dbc703975702c5b63e568ffa6ca8116eba2f95b50381"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): lang/syn/src/parser/accounts/constraints.rs:1434-1456 | lang/syn/src/parser/accounts/constraints.rs:1486-1507 \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":"lang/syn/src/parser/accounts/constraints.rs"},"region":{"startLine":1434}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd8b17d9c31e41a3bfe93e935be7a3ad93691ebeb5efbb16362eb33cd184df47"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): cli/src/config.rs:1567-1596 | cli/src/config.rs:1600-1625 \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":"cli/src/config.rs"},"region":{"startLine":1567}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ec7a6081c387f72dee53b22639d8ae6aa3fe744c2fc96f15116a10267ec33cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): lang/src/accounts/account_loader.rs:205-223 | lang/src/accounts/account_loader.rs:226-252 \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":"lang/src/accounts/account_loader.rs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"b08d1f70e8ca3a0b9550dcbe2210330f35911f78575971bbd26e1bd89846bcf3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): cli/src/debugger/loose.rs:313-330 | cli/src/debugger/loose.rs:334-351 \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":"cli/src/debugger/loose.rs"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"530fc401f3c5b578a5da5ddcd0dfddf4edf4d068982fe1409f2cfa5236ab7942"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): lang/syn/src/codegen/program/accounts.rs:6-37 | lang/syn/src/codegen/program/cpi.rs:132-160 \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":"lang/syn/src/codegen/program/accounts.rs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bcf0be1a00b81f7511f2bf13045de53e5cdc178ec1193ca7d727e50df7c1890"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): lang/attribute/program/src/declare_program/common.rs:373-398 | lang/attribute/program/src/declare_program/common.rs:400-426 \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":"lang/attribute/program/src/declare_program/common.rs"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed490cd2e82babf3d76851e3a1d43df5f6ae96eb966519b5adee8752445a7928"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): spl/src/token_2022.rs:369-388 | spl/src/token_2022.rs:415-434 \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":"spl/src/token_2022.rs"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"4132b4c9a206820c2bcef15a56d6a7b7ecdf1464b49d569da493e0681b0bb4bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): cli/src/debugger/gdb.rs:182-208 | cli/src/debugger/loose.rs:480-511 \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":"cli/src/debugger/gdb.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"76848d88284d8d539229043eb56b14131105151bc64dc46b089bbe3fd66d2f9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): lang/src/system_program.rs:248-271 | lang/src/system_program.rs:286-315 \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":"lang/src/system_program.rs"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"93b63bce113e0f95af98779df76d841f15303c0520ca7156602d24cfe6df7ab2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): avm/src/solana.rs:636-667 | avm/src/solana.rs:669-700 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"avm/src/solana.rs"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dca5d9c57f6177e3c595ad12304e8af453b10ce750beceb381ae3c7a6772df1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): spl/src/stake.rs:29-47 | spl/src/stake.rs:59-79 \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":"spl/src/stake.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd2930ffdcb6326fd31d335b1106f4b84f13ed8a7c2ed3a02a65cc72ce27787e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): spl/src/token_2022_extensions/transfer_fee.rs:117-129 | spl/src/token_2022_extensions/transfer_fee.rs:172-192 \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":"spl/src/token_2022_extensions/transfer_fee.rs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ce38404c2a048f4d42d761849efe678844ee8070f9aca1037d34f3b18682fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): avm/src/resolve.rs:242-258 | avm/src/resolve.rs:452-468 \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":"avm/src/resolve.rs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"0562817ad84f343b88f3809e9e75b95e58b3e16d5049baf6703d8ec76c1e210d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): docs-v2/src/content/docs/v1/tokens/spl-token-basics/_transfer-tokens/lib_pda.rs:13-25 | docs-v2/src/content/docs/v1/tokens/spl-token-basics/_transfer-tokens/lib_pda.rs:27-43 \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":"docs-v2/src/content/docs/v1/tokens/spl-token-basics/_transfer-tokens/lib_pda.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"beed8be617c23281e7b0413bf25cd647afdd84b7f8f0864bc13771fc04d3156a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): cli/src/codama.rs:799-816 | cli/src/codama.rs:1026-1043 \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":"cli/src/codama.rs"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"07e66a78c1751b6c8452b84b94deddeb9fcd80e094934141f5d67c099732cad1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): avm/src/solana.rs:707-726 | avm/src/solana.rs:728-750 \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":"avm/src/solana.rs"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7400930cfff7785998b4d88e4ca7bb49ef8e5b944ecbdd3369a3e8328e250bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 11\u002B corresponding lines): lang/src/accounts/account.rs:330-340 | lang/src/accounts/account.rs:346-356 | lang/src/accounts/migration.rs:301-313 | lang/src/accounts/migration.rs:320-332 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lang/src/accounts/account.rs"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"2361dfbebfcb8882885a9e5899c1f53879161887d9f6ac23be4d8d21134b465d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): avm/src/main.rs:706-720 | avm/src/solana.rs:587-600 \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":"avm/src/main.rs"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"c28800738b5a174e9ebfa767b4fac63ddbda78fa5ce4f906fd01179f8a8e4f9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 17\u002B corresponding lines): spl/src/metadata.rs:288-305 | spl/src/metadata.rs:310-327 | spl/src/metadata.rs:332-350 | spl/src/metadata.rs:355-373 | spl/src/metadata.rs:510-526 | spl/src/metadata.rs:531-548 \u2014 These 6 members are one piece of code written 6 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spl/src/metadata.rs"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"313e184fcd7bbe962320e20b4647c5de2a6091504ed1b2b7375e4ad766cfe634"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): spl/src/metadata.rs:377-392 | spl/src/metadata.rs:396-411 \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":"spl/src/metadata.rs"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"10431201bac76bbf509dd622b4f661a523fb0fdf0acdb707a6abc5473af4f027"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 18\u002B corresponding lines): spl/src/metadata.rs:15-33 | spl/src/metadata.rs:102-119 | spl/src/metadata.rs:127-153 | spl/src/metadata.rs:185-206 | spl/src/metadata.rs:484-505 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spl/src/metadata.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"c162eb2f23243a7bd32bb266dbc21f060f9eca261a39b1fc32ea698454c1e14d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): avm/src/lib.rs:971-983 | avm/src/lib.rs:1397-1409 \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":"avm/src/lib.rs"},"region":{"startLine":971}}}],"partialFingerprints":{"codehealthFindingId/v1":"16e6d607851f60635a3aa8dc8df0dafaa2fb1c925fb794ff4c941af09b455fc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): spl/src/metadata.rs:39-58 | spl/src/metadata.rs:265-283 \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":"spl/src/metadata.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c43e2d6520b01485a71b482d28026440ef51c4b9b231c3e86c72c64deb9452b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): cli/src/metadata.rs:151-174 | cli/src/metadata.rs:284-302 \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":"cli/src/metadata.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"535ac7e9ecb7c1da7fbaaa2910067a95e8a9a371699fe8bc83e14d5a6c218cc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): avm/src/lib.rs:1222-1240 | avm/src/platform_tools.rs:673-691 \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":"avm/src/lib.rs"},"region":{"startLine":1222}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee0a62a3a5983d920438929be24fbb9c99943e73e29768b59ecdb91f334002ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): cli/src/debugger/gdb.rs:540-549 | cli/src/debugger/gdb.rs:558-576 \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":"cli/src/debugger/gdb.rs"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb2519b87c0429c498cbe29e3a5956086c34a3d6b9dfdcac2483b2bbf070a695"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): cli/src/debugger/path_label.rs:70-80 | cli/src/debugger/path_label.rs:142-158 \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":"cli/src/debugger/path_label.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"05c984c076c9bf5aad4d635a1208423a18d5800627aba14b263a23e392ed1a96"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): cli/src/debugger/tui.rs:312-323 | cli/src/debugger/tui.rs:325-337 \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":"cli/src/debugger/tui.rs"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"edbe5fdc54842374d9fe6fc5d02a7fa4cffae6549185c6cecfb1a2c081098d3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 20\u002B corresponding lines): spl/src/token.rs:101-120 | spl/src/token.rs:126-148 | spl/src/token_2022.rs:147-166 | spl/src/token_2022.rs:172-194 \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":"spl/src/token.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"6807ce67dda92a0ed7d32389f90f131dc8e2106e19da3c73488451ad54d8dae7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 18\u002B corresponding lines): spl/src/token_2022_extensions/group_member_pointer.rs:41-59 | spl/src/token_2022_extensions/group_pointer.rs:41-59 | spl/src/token_2022_extensions/pausable.rs:37-54 | spl/src/token_2022_extensions/pausable.rs:58-75 | spl/src/token_2022_extensions/transfer_fee.rs:46-65 | spl/src/token_2022_extensions/transfer_hook.rs:41-59 \u2014 These 6 members are one piece of code written 6 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spl/src/token_2022_extensions/group_member_pointer.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab6ef522e191e607c29a38f7d71fb518efe84a1122c9e15fcb5e7a04f3aefdd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (10 members, 16\u002B corresponding lines): spl/src/token.rs:16-31 | spl/src/token.rs:37-59 | spl/src/token.rs:64-79 | spl/src/token.rs:81-96 | spl/src/token_2022.rs:17-33 | spl/src/token_2022.rs:39-61 | spl/src/token_2022.rs:66-81 | spl/src/token_2022.rs:87-103 | spl/src/token_2022.rs:105-120 | spl/src/token_2022.rs:126-142 \u2014 These 10 members are one piece of code written 10 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 10 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spl/src/token.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"214e0cb4255f91c41b387b4863ccfce6107156d55b6b58b7e3c3a67d545a6084"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): cli/src/program/deploy_v3.rs:204-233 | cli/src/program/deploy_v4.rs:186-213 \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":"cli/src/program/deploy_v3.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bd41f66ecc4b90e0d08f38322dbc972ef9f535a52536dd2cbfb676abad1121e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 19\u002B corresponding lines): spl/src/token.rs:204-222 | spl/src/token_2022.rs:245-263 | spl/src/token_2022.rs:487-505 | spl/src/token_2022_extensions/transfer_fee.rs:139-159 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spl/src/token.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"54e5dc3cff1c46dcd7b2295f23d82d5c3ea0e9670e467ef40b7326647f813521"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): cli/src/config.rs:1108-1124 | cli/src/config.rs:1128-1144 \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":"cli/src/config.rs"},"region":{"startLine":1108}}}],"partialFingerprints":{"codehealthFindingId/v1":"e46c74328b7b70a280ae6ea9719bcf83a6bbb37d1a9027f085c87024b0dcc4c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): spl/src/token.rs:308-323 | spl/src/token_2022.rs:344-359 \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":"spl/src/token.rs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa7f31a47fe446a256dea0c3f1d3abc83e56f605f5ae6614c5d37f39dad32bb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 19\u002B corresponding lines): cli/src/lib.rs:3899-3917 | cli/src/lib.rs:3923-3943 | cli/src/lib.rs:3950-3968 | cli/src/lib.rs:3977-3997 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/lib.rs"},"region":{"startLine":3899}}}],"partialFingerprints":{"codehealthFindingId/v1":"5459b140e2e55066b33d0acc2bca852942e479d01c36a5707bfe532f12dd774a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 19\u002B corresponding lines): spl/src/token_2022_extensions/token_group.rs:13-33 | spl/src/token_2022_extensions/token_metadata.rs:19-42 | spl/src/token_2022_extensions/token_metadata.rs:90-108 | spl/src/token_2022_extensions/token_metadata.rs:121-139 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spl/src/token_2022_extensions/token_group.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef4c582daeac215d4865bb33e9edcb5aadb72a14d9fc670fd47ab7e4d6d8bdf6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lang/src/accounts/interface_account.rs:229-236 | lang/src/accounts/interface_account.rs:241-248 \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":"lang/src/accounts/interface_account.rs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cc5c050eb1bae7019a45f75af972ee287de3c2ad026edb2f8f4af16c4b39feb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): lang/syn/src/idl/defined.rs:178-193 | lang/syn/src/idl/defined.rs:198-213 \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":"lang/syn/src/idl/defined.rs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb8407b52352d87ba46da90b2bc4661bce1c6d6aceb427210bc2d28386014eaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): spl/src/token.rs:150-163 | spl/src/token_2022.rs:196-209 \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":"spl/src/token.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d97a01913385e16b0ff3bc5a8ca40b1784ba27cc26b3f104f198eba259f3033"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): spl/src/token_2022_extensions/default_account_state.rs:17-29 | spl/src/token_2022_extensions/default_account_state.rs:40-59 \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":"spl/src/token_2022_extensions/default_account_state.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9a39deca7a29346ddfda5a7c6542c5ad2cf6a9d2d536cfabfd381d0ec953ccd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (66 corresponding lines): cli/src/template.rs:602-667 | cli/src/template.rs:673-739 \u2014 These two members are one piece of code written twice and then edited apart: 66 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/template.rs"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7971c0104fd6b8f77a7b1d2baf16bb60d29a9cc25f4825b97585af762583c68"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 10\u002B corresponding lines): spl/src/token.rs:167-185 | spl/src/token.rs:189-202 | spl/src/token_2022.rs:213-230 | spl/src/token_2022.rs:234-243 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spl/src/token.rs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"3497ac7e5c73f1eb3802bc3a188638c3919c96bc675653f1695679e1133102e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): avm/src/lib.rs:1070-1085 | avm/src/lib.rs:1533-1549 \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":"avm/src/lib.rs"},"region":{"startLine":1070}}}],"partialFingerprints":{"codehealthFindingId/v1":"826eb1f72a9d6588d883fcc363e3b23050419854fd5ebaea51437695e6d091f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 14\u002B corresponding lines): lang/src/system_program.rs:67-81 | lang/src/system_program.rs:114-127 | lang/src/system_program.rs:163-177 | lang/src/system_program.rs:192-205 | lang/src/system_program.rs:219-235 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lang/src/system_program.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"33bfc656d8b165636c1dec71821da90601cfb2c91191280b0c5b763a77c21fb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): lang/syn/src/parser/accounts/constraints.rs:1458-1470 | lang/syn/src/parser/accounts/constraints.rs:1472-1484 \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":"lang/syn/src/parser/accounts/constraints.rs"},"region":{"startLine":1458}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ee24c75851066c463891df6199c4ef90cef4939eafd54117b1c6e6c5d84e20f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): lang/syn/src/parser/accounts/constraints.rs:1750-1762 | lang/syn/src/parser/accounts/constraints.rs:1764-1776 \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":"lang/syn/src/parser/accounts/constraints.rs"},"region":{"startLine":1750}}}],"partialFingerprints":{"codehealthFindingId/v1":"327a931a688b320f6aa17679cf9017a7a072ba2d3d4b52d617b80a89da1ec4c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): lang/src/system_program.rs:138-150 | lang/src/system_program.rs:354-369 | lang/src/system_program.rs:381-400 \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":"lang/src/system_program.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"495ec5175265bb554f897394d232eba01d38e42f5c3031481d0c072bf0dfe84d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): spl/src/metadata.rs:415-428 | spl/src/metadata.rs:449-461 | spl/src/metadata.rs:465-477 \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":"spl/src/metadata.rs"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"72fb43b8c7b3cbc90b6cf9be2ce66b8e4116c7b089fc8eb19625ceb11ef0559a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): lang/syn/src/parser/accounts/constraints.rs:1517-1529 | lang/syn/src/parser/accounts/constraints.rs:1531-1543 \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":"lang/syn/src/parser/accounts/constraints.rs"},"region":{"startLine":1517}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce537d3ada3b1e31b0337a90f18f8cd5af4e32aa55cee26d7ed08bb0670eb649"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): spl/src/token_2022_extensions/immutable_owner.rs:15-26 | spl/src/token_2022_extensions/non_transferable.rs:15-26 \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":"spl/src/token_2022_extensions/immutable_owner.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"21eb1e38b9e5162a8d494ec74a97dd86e95d1b9820d019f35a91ce29c696492b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): cli/src/legacy_idl.rs:314-324 | cli/src/legacy_idl.rs:423-431 \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":"cli/src/legacy_idl.rs"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd7e95165bbb9647019121a328d107e1377ad75285469b1752c4976b7305c18e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): cli/src/debugger/loose.rs:516-523 | cli/src/lib.rs:4116-4122 \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":"cli/src/debugger/loose.rs"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"60510f319a3834183287db82632d60da8a2f620dab2ff0d0d3be84c74d407a4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 10\u002B corresponding lines): spl/src/token.rs:271-285 | spl/src/token.rs:292-302 | spl/src/token_2022.rs:312-322 | spl/src/token_2022.rs:329-338 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spl/src/token.rs"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"5524ed80ee5c25118f95898a636a204e48288f06c580a614b9e4f20c32f74fc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): spl/src/token_2022.rs:393-400 | spl/src/token_2022_extensions/mint_close_authority.rs:16-28 | spl/src/token_2022_extensions/permanent_delegate.rs:16-28 \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":"spl/src/token_2022.rs"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"e427bd9b0fc1e8413b495b744c629605349dc30eb811f7fd71adcc03bb81914f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): avm/src/platform_tools.rs:525-534 | avm/src/solana.rs:541-548 \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":"avm/src/platform_tools.rs"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c6044a99870afe57a48ad42d3f188fca897f0eeeff151ef4eca3e503edf0d30"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): cli/src/fetch/chunks.rs:36-44 | cli/src/fetch/pmp.rs:697-705 \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":"cli/src/fetch/chunks.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"84eb7d0d03664f5fde309527cfda1b44ee6bc00af7eee3343e4c6780b54e28e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): lang/src/accounts/interface.rs:87-93 | lang/src/accounts/program.rs:168-173 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lang/src/accounts/interface.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"704c5b8d8a1cd3e839191fb1b58cc0dba9d6746d1e5329daf90ec17ac3fd6570"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (61\u201365 lines \u00D7 2): docs-v2/src/content/docs/v1/clients/_declare-program/client.rs:22-82 | docs-v2/src/content/docs/v1/clients/_rust/main.rs:18-82 \u2014 before extracting anything, compare \u0060docs-v2/src/content/docs/v1/clients/_declare-program/client.rs\u0060 and \u0060docs-v2/src/content/docs/v1/clients/_rust/main.rs\u0060 as WHOLE FILES: 90% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"docs-v2/src/content/docs/v1/clients/_declare-program/client.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"b83ff97e4108d2cc20aaf5593c11dc8c3e7b1a5b761b5cc4219fbccfed50cc13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (47\u201350 lines \u00D7 2): lang/syn/src/codegen/accounts/__client_accounts.rs:22-71 | lang/syn/src/codegen/accounts/__cpi_client_accounts.rs:47-93 \u2014 before extracting anything, compare \u0060lang/syn/src/codegen/accounts/__client_accounts.rs\u0060 and \u0060lang/syn/src/codegen/accounts/__cpi_client_accounts.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 173 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 \u0060lang/syn/src/codegen/accounts/__client_accounts.rs:22\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":"lang/syn/src/codegen/accounts/__client_accounts.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb4b0a1a8ab98864fd5a7d8e7f17a980ad18e1f10d4b3466f18452ab2ab35729"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30\u201331 lines \u00D7 2): lang/syn/src/codegen/accounts/__client_accounts.rs:149-178 | lang/syn/src/codegen/accounts/__cpi_client_accounts.rs:188-218 \u2014 before extracting anything, compare \u0060lang/syn/src/codegen/accounts/__client_accounts.rs\u0060 and \u0060lang/syn/src/codegen/accounts/__cpi_client_accounts.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 173 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 \u0060lang/syn/src/codegen/accounts/__client_accounts.rs:149\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":"lang/syn/src/codegen/accounts/__client_accounts.rs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"54c200d76ff547a624cb704b9a9c8445638974359a0dc5f600c636ffd9e88fed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): lang/syn/src/codegen/accounts/__client_accounts.rs:108-137 | lang/syn/src/codegen/accounts/__cpi_client_accounts.rs:136-165 \u2014 before extracting anything, compare \u0060lang/syn/src/codegen/accounts/__client_accounts.rs\u0060 and \u0060lang/syn/src/codegen/accounts/__cpi_client_accounts.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 173 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 \u0060lang/syn/src/codegen/accounts/__client_accounts.rs:108\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":"lang/syn/src/codegen/accounts/__client_accounts.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"c26a268c93fedc5bc349f1acd7ee310d3636011d1f38d55b16c793d4d86cbc55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): cli/src/keygen.rs:196-217 | cli/src/keygen.rs:323-344 \u2014 both copies are in the same file, so extract the block 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":"cli/src/keygen.rs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"f861597758173c7ca6e04a46c4f2d69ab024241103a5a2a444bbaf2d28e94450"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): cli/src/lib.rs:3477-3498 | cli/src/lib.rs:3528-3549 \u2014 both copies are in the same file, so extract the block 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 \u0060cli/src/lib.rs:3477\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":"cli/src/lib.rs"},"region":{"startLine":3477}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7cebe52c837173dd60ec5b34428fa79e9e5220b19cf1af34cea625dad5fab3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201322 lines \u00D7 2): cli/src/program.rs:1096-1117 | cli/src/program.rs:2179-2196 \u2014 both copies are in the same file, so extract the block 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 \u0060cli/src/program.rs:1096\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":"cli/src/program.rs"},"region":{"startLine":1096}}}],"partialFingerprints":{"codehealthFindingId/v1":"47b22ce66e9d5846eb917f256a44f33f4d15707a925eaee369017e1ef2c85872"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201322 lines \u00D7 2): lang/syn/src/codegen/accounts/__client_accounts.rs:77-98 | lang/syn/src/codegen/accounts/__cpi_client_accounts.rs:108-126 \u2014 before extracting anything, compare \u0060lang/syn/src/codegen/accounts/__client_accounts.rs\u0060 and \u0060lang/syn/src/codegen/accounts/__cpi_client_accounts.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 173 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 \u0060lang/syn/src/codegen/accounts/__client_accounts.rs:77\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":"lang/syn/src/codegen/accounts/__client_accounts.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd1ff525d006733cc2507fa7fef9fc7a163deef56a04605430868004f1e57deb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): lang/syn/src/codegen/accounts/__client_accounts.rs:181-202 | lang/syn/src/codegen/accounts/__cpi_client_accounts.rs:221-242 \u2014 before extracting anything, compare \u0060lang/syn/src/codegen/accounts/__client_accounts.rs\u0060 and \u0060lang/syn/src/codegen/accounts/__cpi_client_accounts.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 173 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 \u0060lang/syn/src/codegen/accounts/__client_accounts.rs:181\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":"lang/syn/src/codegen/accounts/__client_accounts.rs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cf4d53b1bf8c865a88fcf77b1c7eb8446a20fc57547d2faa326a001bebb7ee5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201321 lines \u00D7 2): cli/src/program.rs:1420-1436 | cli/src/program.rs:2516-2536 \u2014 both copies are in the same file, so extract the block 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 \u0060cli/src/program.rs:1420\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/program.rs"},"region":{"startLine":1420}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ff0ae8769cec752dcee237db8684427d42a642503906aef9f060ee43dd644e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): lang/attribute/program/src/declare_program/mods/cpi.rs:116-135 | lang/syn/src/codegen/program/cpi.rs:104-123 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lang/attribute/program/src/declare_program/mods/cpi.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"f43df1c89bf303d35fe803a33a1a307cfd9b8bc2c947d8412d38701b89448847"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201320 lines \u00D7 2): lang/derive/space/src/lib.rs:259-278 | lang/syn/src/idl/defined.rs:251-267 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lang/derive/space/src/lib.rs:259\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lang/derive/space/src/lib.rs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"1192e5baaa71255766627bfa42917a3acb61938d3d9c3d4badfc3ac2a0688e6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201320 lines \u00D7 2): lang/syn/src/codegen/program/accounts.rs:12-31 | lang/syn/src/codegen/program/cpi.rs:138-154 \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 \u0060lang/syn/src/codegen/program/accounts.rs:12\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":"lang/syn/src/codegen/program/accounts.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ee390543e3f75db7844c7b37ae65b28a42f5efd52dadd205db37b862b8d22a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): lang/syn/src/idl/defined.rs:81-100 | lang/syn/src/idl/defined.rs:131-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 \u0060lang/syn/src/idl/defined.rs:81\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lang/syn/src/idl/defined.rs:101\u0060 calls \u0060into_iter\u0060, \u0060flatten\u0060 and \u0060lang/syn/src/idl/defined.rs:153\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":"lang/syn/src/idl/defined.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b56d92c3f60f07680d44a6e1195950c60ac8e0b95b02a9eb34081b81e396769"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): spl/src/token.rs:40-59 | spl/src/token_2022.rs:42-61 \u2014 before extracting anything, compare \u0060spl/src/token.rs\u0060 and \u0060spl/src/token_2022.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 152 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 \u0060spl/src/token.rs:40\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spl/src/token.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"5049b1b2d5c15ad87787cd6f6f83b5c204aac89ffed47a8723b47655975e35a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): spl/src/token.rs:129-148 | spl/src/token_2022.rs:175-194 \u2014 before extracting anything, compare \u0060spl/src/token.rs\u0060 and \u0060spl/src/token_2022.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 152 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 \u0060spl/src/token.rs:129\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":"spl/src/token.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed1366424f04021c9c4895de1491e208d47f8424db5767a3aa6f5c04118a2030"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): avm/src/lib.rs:1285-1303 | avm/src/lib.rs:1316-1334 \u2014 both copies are in the same file, so extract the block 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 \u0060avm/src/lib.rs:1285\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":"avm/src/lib.rs"},"region":{"startLine":1285}}}],"partialFingerprints":{"codehealthFindingId/v1":"e941a28f969b7361c5c65721290c1bff3fd89c61cd2e838ab2f113b8eef7675e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): cli/src/program.rs:2344-2362 | cli/src/program.rs:2479-2497 \u2014 both copies are in the same file, so extract the block 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 \u0060cli/src/program.rs:2344\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060cli/src/program.rs:2475\u0060 calls \u0060Err\u0060 and \u0060cli/src/program.rs:2341\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":"cli/src/program.rs"},"region":{"startLine":2344}}}],"partialFingerprints":{"codehealthFindingId/v1":"a837cb252330d6a444eb50907648f5fb8b25092e91b476e255436507f864718f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): spl/src/associated_token.rs:16-34 | spl/src/associated_token.rs:40-58 \u2014 both copies are in the same file, so extract the block 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 \u0060spl/src/associated_token.rs:16\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":"spl/src/associated_token.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"03218db3b9a01a834d60737af91690f6a3f20af38bae4cc27aed4b0dabd9f879"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201318 lines \u00D7 4): lang/syn/src/codegen/accounts/__client_accounts.rs:32-49 | lang/syn/src/codegen/accounts/__client_accounts.rs:78-95 | lang/syn/src/codegen/accounts/__cpi_client_accounts.rs:57-71 | lang/syn/src/codegen/accounts/__cpi_client_accounts.rs:109-123 \u2014 before extracting anything, compare \u0060lang/syn/src/codegen/accounts/__client_accounts.rs\u0060 and \u0060lang/syn/src/codegen/accounts/__cpi_client_accounts.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 173 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 \u0060lang/syn/src/codegen/accounts/__client_accounts.rs:32\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":"lang/syn/src/codegen/accounts/__client_accounts.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"916d153bdfc779644584fd15218328144858beaa622e82e1823d12d0e7a73e3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): lang/syn/src/codegen/accounts/try_accounts.rs:148-165 | lang/syn/src/codegen/accounts/try_accounts.rs:202-218 \u2014 both copies are in the same file, so extract the block 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 \u0060lang/syn/src/codegen/accounts/try_accounts.rs:148\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lang/syn/src/codegen/accounts/try_accounts.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"6667f34b9408efcaefd1242c40a1adb29294eddf1c179c471f45b79acef7f5e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 4): spl/src/token_2022_extensions/cpi_guard.rs:21-36 | spl/src/token_2022_extensions/cpi_guard.rs:46-62 | spl/src/token_2022_extensions/memo_transfer.rs:17-32 | spl/src/token_2022_extensions/memo_transfer.rs:39-54 \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 \u0060spl/src/token_2022_extensions/cpi_guard.rs:21\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":"spl/src/token_2022_extensions/cpi_guard.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2ce6bcb56345da0767c51895e37502115d3f3cdc1887f19a3103e9452db434c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201317 lines \u00D7 2): lang/error/src/lib.rs:507-520 | lang/error/src/lib.rs:594-610 \u2014 both copies are in the same file, so extract the block 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 \u0060lang/error/src/lib.rs:507\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":"lang/error/src/lib.rs"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"3085bed9e997afa811c8f1354b63ed9eca8ec013aa9ab2571f832b47ea6b5fe5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): lang/syn/src/parser/accounts/mod.rs:230-245 | lang/syn/src/parser/accounts/mod.rs:350-366 \u2014 both copies are in the same file, so extract the block 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 \u0060lang/syn/src/parser/accounts/mod.rs:230\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":"lang/syn/src/parser/accounts/mod.rs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"e37b95a9c7ebd626afd203e19795bfbfbd6673d27b63d0968e1cb62e527fb00d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): spl/src/token.rs:104-120 | spl/src/token_2022.rs:150-166 \u2014 before extracting anything, compare \u0060spl/src/token.rs\u0060 and \u0060spl/src/token_2022.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 152 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 \u0060spl/src/token.rs:104\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":"spl/src/token.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3ae7fddb763387335aabbe9a4e2ea60068877ab5ccd659347a71aaa99b9e689"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): spl/src/token_2022_extensions/group_member_pointer.rs:43-59 | spl/src/token_2022_extensions/transfer_hook.rs:43-59 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060spl/src/token_2022_extensions/group_member_pointer.rs:43\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":"spl/src/token_2022_extensions/group_member_pointer.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"862d262d531b2fbc726bac7cd8b6543dcf1a7a119530219d0df09599e0da53a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): spl/src/token_2022_extensions/token_metadata.rs:92-108 | spl/src/token_2022_extensions/token_metadata.rs:123-139 \u2014 both copies are in the same file, so extract the block 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 \u0060spl/src/token_2022_extensions/token_metadata.rs:92\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":"spl/src/token_2022_extensions/token_metadata.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"88537bb10f70798dd268bd089b3c21e0e8d374525757526b2a6d1e59a54c063d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): spl/src/token.rs:229-244 | spl/src/token.rs:249-264 | spl/src/token_2022.rs:270-285 | spl/src/token_2022.rs:290-305 \u2014 before extracting anything, compare \u0060spl/src/token.rs\u0060 and \u0060spl/src/token_2022.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 152 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 \u0060spl/src/token.rs:229\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":"spl/src/token.rs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"074e6f2086d5d666a39971f0cf221abd52c0797682616dfcba63ed54f51a7e0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201316 lines \u00D7 3): cli/src/config.rs:1690-1705 | cli/src/config.rs:1709-1724 | cli/src/config.rs:1727-1733 \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 \u0060cli/src/config.rs:1690\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060cli/src/config.rs:1690\u0060 calls \u0060Some\u0060 and \u0060cli/src/config.rs:1727\u0060 does not \u2014 after which the two agree again for 5 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/config.rs"},"region":{"startLine":1690}}}],"partialFingerprints":{"codehealthFindingId/v1":"590949a7e0d4e101264a18d1f0206bf7ee54684ef5f0bcd467e5fd0dc07991fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): cli/src/keygen.rs:128-143 | cli/src/keygen.rs:257-272 \u2014 both copies are in the same file, so extract the block 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 \u0060cli/src/keygen.rs:128\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/keygen.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ec349f44d3c21e977737cd521db95d09422496a2f0a18a8135973b861e03f81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): spl/src/token.rs:207-222 | spl/src/token_2022.rs:248-263 \u2014 before extracting anything, compare \u0060spl/src/token.rs\u0060 and \u0060spl/src/token_2022.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 152 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 \u0060spl/src/token.rs:207\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":"spl/src/token.rs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"f748d16c32380e17b6f288f8cbd016fb328122fe2655a0c25a11375256bdd29e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): spl/src/token_2022_extensions/pausable.rs:39-54 | spl/src/token_2022_extensions/pausable.rs:60-75 \u2014 both copies are in the same file, so extract the block 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 \u0060spl/src/token_2022_extensions/pausable.rs: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":"spl/src/token_2022_extensions/pausable.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"797ca1ea0efd471d3fb4950b885b07038e9960ba34d6bffeb02eb1cb77f8fa68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): avm/src/solana.rs:708-721 | avm/src/solana.rs:729-743 \u2014 both copies are in the same file, so extract the block 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"avm/src/solana.rs"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6f81e01899985b70e58801669b5fc628b7e74ccbfc74ba1127ec3ad5964b930"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): cli/src/config.rs:1654-1668 | cli/src/config.rs:1754-1768 \u2014 both copies are in the same file, so extract the block 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 \u0060cli/src/config.rs:1654\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":"cli/src/config.rs"},"region":{"startLine":1654}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d8b9e283f2bd0d329576c43a3d722aa366eb8b46bcfc6917e0d1a44f8463fc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): cli/src/legacy_idl.rs:378-392 | cli/src/legacy_idl.rs:668-682 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/legacy_idl.rs:378\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":"cli/src/legacy_idl.rs"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eb5c87fc308ea5077978dcee080a2bf2fb0b9329cbb4e053fc2ac067bb46735"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lang/syn/src/codegen/accounts/constraints.rs:675-689 | lang/syn/src/codegen/accounts/constraints.rs:755-769 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lang/syn/src/codegen/accounts/constraints.rs:675\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lang/syn/src/codegen/accounts/constraints.rs:769\u0060 calls \u0060generate_check\u0060 and \u0060lang/syn/src/codegen/accounts/constraints.rs:689\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lang/syn/src/codegen/accounts/constraints.rs"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"95de99e15f239a830f60e2301ef9e1754eb2d2d8611f9576146e8892398c2781"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): lang/syn/src/lib.rs:466-478 | lang/syn/src/lib.rs:489-503 \u2014 both copies are in the same file, so extract the block 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 \u0060lang/syn/src/lib.rs:466\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lang/syn/src/lib.rs"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"25e8cc5f4ec568682f847ae7d1cf9396bc6d54361724d6900f1676278f6e3226"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): cli/src/legacy_idl.rs:373-386 | cli/src/legacy_idl.rs:663-676 | cli/src/legacy_idl.rs:742-755 \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 \u0060cli/src/legacy_idl.rs:373\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/legacy_idl.rs"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"b695938e57e2343b4a5d3e5fbd1aa0b96d07f26e7dc0a5010000d597be707b56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): cli/src/debugger/loose.rs:314-327 | cli/src/debugger/loose.rs:335-348 \u2014 both copies are in the same file, so extract the block 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 \u0060cli/src/debugger/loose.rs:314\u0060 it does not close everything it opens, so those exact 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":"cli/src/debugger/loose.rs"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcc1336682f4354f572f8e5b83d827843c0439d0e7bd5498ff3609062a99b6d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): cli/src/program.rs:1517-1534 | cli/src/program.rs:1601-1614 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cli/src/program.rs:1517\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":"cli/src/program.rs"},"region":{"startLine":1517}}}],"partialFingerprints":{"codehealthFindingId/v1":"25b8d0ff35b1dc48ae78024f9e12675c0ab86f688a118a04cc98c871677d25e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): lang/syn/src/parser/accounts/mod.rs:744-757 | lang/syn/src/parser/accounts/mod.rs:778-790 \u2014 both copies are in the same file, so extract the block 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 \u0060lang/syn/src/parser/accounts/mod.rs:744\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lang/syn/src/parser/accounts/mod.rs"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"a46e9d34e4555ef4e86e1bdb54525a29c7960e79ec1ca871dd4aff453dd6e60a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): cli/src/lib.rs:2770-2782 | cli/src/lib.rs:3101-3112 \u2014 both copies are in the same file, so extract the block 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":"cli/src/lib.rs"},"region":{"startLine":2770}}}],"partialFingerprints":{"codehealthFindingId/v1":"41c9f31c5d391c23cd38892c461c91c31caa42d0717e4338362ce6df352ff433"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): cli/src/lib.rs:5439-5451 | cli/src/lib.rs:5534-5546 \u2014 both copies are in the same file, so extract the block 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 \u0060cli/src/lib.rs:5439\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/lib.rs"},"region":{"startLine":5439}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f606af7b8173c03da54435633b00431f03fa6c82652cdd2a8831c7554cbfce8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): cli/src/lib.rs:6093-6105 | cli/src/lib.rs:6126-6138 \u2014 both copies are in the same file, so extract the block 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 \u0060cli/src/lib.rs:6093\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/lib.rs"},"region":{"startLine":6093}}}],"partialFingerprints":{"codehealthFindingId/v1":"efc31eaf707624203e7cf3eaac51857e49f3702af2b75888ba350b84564b4de3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lang/syn/src/codegen/accounts/constraints.rs:997-1009 | lang/syn/src/codegen/accounts/constraints.rs:1029-1041 \u2014 both copies are in the same file, so extract the block 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 \u0060lang/syn/src/codegen/accounts/constraints.rs:997\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lang/syn/src/codegen/accounts/constraints.rs"},"region":{"startLine":997}}}],"partialFingerprints":{"codehealthFindingId/v1":"c94acb8041472a48ef3a112c450ffab68d8cf1c36fd199348410fcfd9e7d9222"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lang/syn/src/lib.rs:509-521 | lang/syn/src/lib.rs:526-538 \u2014 both copies are in the same file, so extract the block 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 \u0060lang/syn/src/lib.rs:509\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":"lang/syn/src/lib.rs"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"6523670eda2916fcbd094d69b416c57ada2158aa4695d84a2e324b4e4279216e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): spl/src/metadata.rs:338-350 | spl/src/metadata.rs:361-373 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060spl/src/metadata.rs:338\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":"spl/src/metadata.rs"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ee01ca1c828cbd246bf469636c356ae620fb5dc75b889c3e92623909e792905"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): spl/src/metadata.rs:380-392 | spl/src/metadata.rs:399-411 \u2014 both copies are in the same file, so extract the block 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 \u0060spl/src/metadata.rs:380\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":"spl/src/metadata.rs"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"528f0c28f2f6b357c6fee4072369f82ea0141b15f5dc08807695ccfd3b32331a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): spl/src/token.rs:19-31 | spl/src/token_2022.rs:21-33 \u2014 before extracting anything, compare \u0060spl/src/token.rs\u0060 and \u0060spl/src/token_2022.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 152 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 \u0060spl/src/token.rs:19\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":"spl/src/token.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"6813a5fbbbecdeb9d424ddb729b2a35192f2c2a1b284cd0935759036fd04f959"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): spl/src/token.rs:67-79 | spl/src/token_2022.rs:69-81 \u2014 before extracting anything, compare \u0060spl/src/token.rs\u0060 and \u0060spl/src/token_2022.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 152 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 \u0060spl/src/token.rs:67\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":"spl/src/token.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"02094bc0f403746df595b1b06e1b9389c23622e46b252dafbfcb9d3204a884e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): spl/src/token.rs:84-96 | spl/src/token_2022.rs:108-120 \u2014 before extracting anything, compare \u0060spl/src/token.rs\u0060 and \u0060spl/src/token_2022.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 152 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 \u0060spl/src/token.rs:84\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spl/src/token.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f26a3d41c319087695b21a0033bef5695cfb23d5a5276c1026262bcad1d2719"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): spl/src/token.rs:311-323 | spl/src/token_2022.rs:347-359 \u2014 before extracting anything, compare \u0060spl/src/token.rs\u0060 and \u0060spl/src/token_2022.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 152 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 \u0060spl/src/token.rs:311\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":"spl/src/token.rs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"74030ef916575565a58267aabd53077c9f1407b9840343cef5f254dddabedf0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): spl/src/token_2022.rs:376-388 | spl/src/token_2022.rs:446-458 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060spl/src/token_2022.rs:376\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spl/src/token_2022.rs"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b91999ca0353065c4cdc91d1fc0194e5221a023675f05c4da4a1f60bf6a89e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5): spl/src/token_2022_extensions/group_member_pointer.rs:19-30 | spl/src/token_2022_extensions/group_pointer.rs:19-30 | spl/src/token_2022_extensions/interest_bearing_mint.rs:19-30 | spl/src/token_2022_extensions/metadata_pointer.rs:19-30 | spl/src/token_2022_extensions/transfer_hook.rs:19-30 \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 5 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060spl/src/token_2022_extensions/group_member_pointer.rs:19\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":"spl/src/token_2022_extensions/group_member_pointer.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"b560c6113ada02955c18847011f63c0cc4779b8a6a2bbeee1d4608e4c2868779"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): spl/src/metadata.rs:294-305 | spl/src/metadata.rs:316-327 | spl/src/metadata.rs:537-548 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060spl/src/metadata.rs:294\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":"spl/src/metadata.rs"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"20b5a0ca1d0f7be18f4124f53c15cca076e4c4bf7235a67c900cc0700186b9d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): cli/src/debugger/gdb.rs:330-341 | cli/src/flamegraph/trace.rs:335-346 \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":"cli/src/debugger/gdb.rs"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"caf0d7b944fe83997a4c3edaca8aa68e281823c30fabdcaa674891d640533a50"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): cli/src/lib.rs:5174-5185 | cli/src/lib.rs:7277-7288 \u2014 both copies are in the same file, so extract the block 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":"cli/src/lib.rs"},"region":{"startLine":5174}}}],"partialFingerprints":{"codehealthFindingId/v1":"5af397303d29d8206b1a6c9467a0867a8ca2c912c5df9b2612c41c123b234221"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): cli/src/lib.rs:5452-5464 | cli/src/lib.rs:5548-5559 \u2014 both copies are in the same file, so extract the block 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 \u0060cli/src/lib.rs:5452\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060cli/src/lib.rs:5468\u0060 calls \u0060validator_supplied_account_pubkeys\u0060 and \u0060cli/src/lib.rs:5562\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":"cli/src/lib.rs"},"region":{"startLine":5452}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ec1f3beb17e38ae7c377a078fb6884cba7009e19f371c2bb50e0dce72aaa62c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): cli/src/lib.rs:5695-5706 | cli/src/lib.rs:5866-5875 \u2014 both copies are in the same file, so extract the block 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 \u0060cli/src/lib.rs:5695\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":"cli/src/lib.rs"},"region":{"startLine":5695}}}],"partialFingerprints":{"codehealthFindingId/v1":"d07da3407a9cd7ceb3eb24d03a0b718be6b1aaecebebe5893f9d37448577c84f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): cli/src/program.rs:1336-1347 | cli/src/program.rs:2446-2457 \u2014 both copies are in the same file, so extract the block 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 \u0060cli/src/program.rs:1336\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":"cli/src/program.rs"},"region":{"startLine":1336}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aa45350a29a20c05dd40a5aa947ef25fb4c95b336f655fe455e2625efe0e919"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): cli/src/program.rs:1797-1808 | cli/src/program.rs:2583-2594 \u2014 both copies are in the same file, so extract the block 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 \u0060cli/src/program.rs:1797\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":"cli/src/program.rs"},"region":{"startLine":1797}}}],"partialFingerprints":{"codehealthFindingId/v1":"358c17ccb77a901186599b06025b126c1bf86cbbc5df6213ebbd651d03276a35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lang/attribute/event/src/lib.rs:49-60 | lang/attribute/program/src/declare_program/mods/events.rs:24-35 \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":"lang/attribute/event/src/lib.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"87cc0975d169a918b202385d7d5315725fcce7b59789cda48f94f4907063ae1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201311 lines \u00D7 3): lang/syn/src/codegen/accounts/constraints.rs:986-996 | lang/syn/src/codegen/accounts/constraints.rs:1006-1013 | lang/syn/src/codegen/accounts/constraints.rs:1026-1033 \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 \u0060lang/syn/src/codegen/accounts/constraints.rs:986\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lang/syn/src/codegen/accounts/constraints.rs"},"region":{"startLine":986}}}],"partialFingerprints":{"codehealthFindingId/v1":"38a4ad270e021c014c9f19c53b90aec751d10e4bd5ab8b6a71140cfc2166c5e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lang/src/accounts/account_loader.rs:208-218 | lang/src/accounts/account_loader.rs:235-245 \u2014 both copies are in the same file, so extract the block 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":"lang/src/accounts/account_loader.rs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ee562e83291b11dbe92ace910685e8ed4cfc39ef92e1275d049a1e887a1f25c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lang/syn/src/parser/accounts/mod.rs:706-716 | lang/syn/src/parser/accounts/mod.rs:744-754 \u2014 both copies are in the same file, so extract the block 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 \u0060lang/syn/src/parser/accounts/mod.rs:706\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lang/syn/src/parser/accounts/mod.rs"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfdf08d530c44d69decd5c0e886234602f545b44fafbf11d03da5b8241b4e9bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): spl/src/metadata.rs:451-461 | spl/src/metadata.rs:467-477 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060spl/src/metadata.rs:451\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":"spl/src/metadata.rs"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c76e7103371c2ab578abdbc2233e2ebc6718b387fba24555b0dc7117e7d12cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): spl/src/token.rs:153-163 | spl/src/token_2022.rs:199-209 \u2014 before extracting anything, compare \u0060spl/src/token.rs\u0060 and \u0060spl/src/token_2022.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 152 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 \u0060spl/src/token.rs:153\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spl/src/token.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"76f067a201d8dbdc443d850d714af344105137013d9e50fa404a99bd085b1a6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): spl/src/token_2022.rs:417-427 | spl/src/token_2022.rs:441-451 \u2014 both copies are in the same file, so extract the block 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 \u0060spl/src/token_2022.rs:417\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":"spl/src/token_2022.rs"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c280b45e8f7e0f57b0868aea317f2ed89028c74543486e4f6b968e5e587dd49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): spl/src/token_2022_extensions/mint_close_authority.rs:18-28 | spl/src/token_2022_extensions/permanent_delegate.rs:18-28 \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 \u0060spl/src/token_2022_extensions/mint_close_authority.rs:18\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":"spl/src/token_2022_extensions/mint_close_authority.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"b39ce8fc438290571c6ece1495891d07f9a202c07f87e5e969634eded0519e75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 12): lang/syn/src/parser/accounts/constraints.rs:161-170 | lang/syn/src/parser/accounts/constraints.rs:206-215 | lang/syn/src/parser/accounts/constraints.rs:237-246 | lang/syn/src/parser/accounts/constraints.rs:268-277 | lang/syn/src/parser/accounts/constraints.rs:299-308 | lang/syn/src/parser/accounts/constraints.rs:320-329 | lang/syn/src/parser/accounts/constraints.rs:341-350 | lang/syn/src/parser/accounts/constraints.rs:368-377 | lang/syn/src/parser/accounts/constraints.rs:392-401 | lang/syn/src/parser/accounts/constraints.rs:425-434 | lang/syn/src/parser/accounts/constraints.rs:470-479 | lang/syn/src/parser/accounts/constraints.rs:514-523 \u2014 all 12 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 \u0060lang/syn/src/parser/accounts/constraints.rs: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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lang/syn/src/parser/accounts/constraints.rs:468\u0060 calls \u0060peek\u0060 and \u0060lang/syn/src/parser/accounts/constraints.rs:235\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":"lang/syn/src/parser/accounts/constraints.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"65e382e99434dc6e2bd8040fa4cf53a0c2e75938804dccedee5bb83b6426ca32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 4): cli/src/legacy_idl.rs:370-379 | cli/src/legacy_idl.rs:662-669 | cli/src/legacy_idl.rs:741-748 | cli/src/legacy_idl.rs:820-829 \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 \u0060cli/src/legacy_idl.rs:370\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":"cli/src/legacy_idl.rs"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"6da673df6417cbaf6546fa2b46d079dbfcbce02bc47e6a48f478fe27971a87fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): lang/syn/src/parser/accounts/mod.rs:579-588 | lang/syn/src/parser/accounts/mod.rs:702-711 | lang/syn/src/parser/accounts/mod.rs:740-749 \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 \u0060lang/syn/src/parser/accounts/mod.rs:579\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lang/syn/src/parser/accounts/mod.rs:699\u0060 calls \u0060parse_account\u0060, \u0060tts_to_string\u0060, \u0060replace\u0060 and \u0060lang/syn/src/parser/accounts/mod.rs:738\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":"lang/syn/src/parser/accounts/mod.rs"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffd631f2c325f6fa93b6e0092ae0965caaffa1ef276bfb1469e9d1eae38cb67d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): cli/src/debugger/cargo_deps.rs:214-221 | cli/src/flamegraph/trace.rs:736-745 \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 \u0060cli/src/debugger/cargo_deps.rs:214\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/debugger/cargo_deps.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c1609ff7a77264ac8c4475904cf50aa45359593feb0ebdd8f4de91924f30f1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): cli/src/lib.rs:7065-7073 | cli/src/lib.rs:7155-7164 \u2014 both copies are in the same file, so extract the block 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 \u0060cli/src/lib.rs:7065\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":"cli/src/lib.rs"},"region":{"startLine":7065}}}],"partialFingerprints":{"codehealthFindingId/v1":"e301f605b970e9112eabd68c6cd08592bf57da098225455c4c3587dc84e6bb92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lang/attribute/account/src/lib.rs:260-269 | lang/attribute/program/src/declare_program/mods/accounts.rs:42-51 \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 \u0060lang/attribute/account/src/lib.rs:260\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":"lang/attribute/account/src/lib.rs"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"4db0db653db0d83f0c5588f8e8b80cfa503869574d632762934ace31892d966b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lang/src/accounts/migration.rs:302-311 | lang/src/accounts/migration.rs:321-330 \u2014 both copies are in the same file, so extract the block 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":"lang/src/accounts/migration.rs"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"363096415ab913695915499cb0d71ee2ec12ef04309e88d067951ddd5400564d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lang/syn/src/lib.rs:387-396 | lang/syn/src/lib.rs:620-629 \u2014 both copies are in the same file, so extract the block 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":"lang/syn/src/lib.rs"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"44f3fad50f1ca82c192e261713e899d8780bcae9f578d23c7fcc13222abd7f7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): lang/src/accounts/account_loader.rs:137-145 | lang/src/accounts/account_loader.rs:207-215 | lang/src/accounts/account_loader.rs:234-242 | lang/src/accounts/lazy_account.rs:220-228 \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. 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":"lang/src/accounts/account_loader.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa1e83f8fe0da38179305d926fde9833dbc74edb8b033642d0d93f64757d692a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): cli/src/legacy_idl.rs:485-493 | cli/src/legacy_idl.rs:575-583 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060cli/src/legacy_idl.rs:495\u0060 calls \u0060serialize_idl_ix\u0060 and \u0060cli/src/legacy_idl.rs:585\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":"cli/src/legacy_idl.rs"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c92d3f7f7426d931c83201e950dd6a3b4533beea933190955ce49fb36905816"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): cli/src/lib.rs:4811-4819 | cli/src/lib.rs:4905-4913 \u2014 both copies are in the same file, so extract the block 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 \u0060cli/src/lib.rs:4811\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/lib.rs"},"region":{"startLine":4811}}}],"partialFingerprints":{"codehealthFindingId/v1":"37261ed9b261653f435a36f91f1c3da26424e10bd7d41375c62bdd6085b4189f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): cli/src/lib.rs:7055-7063 | cli/src/lib.rs:7145-7153 \u2014 both copies are in the same file, so extract the block 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 \u0060cli/src/lib.rs:7055\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/lib.rs"},"region":{"startLine":7055}}}],"partialFingerprints":{"codehealthFindingId/v1":"d15b222b5f87505a01a0241319e1d8bbc39f81b52991603f81dfb05abe27e4ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): cli/src/program/deploy_v3.rs:159-167 | cli/src/program/deploy_v4.rs:97-105 \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 \u0060cli/src/program/deploy_v3.rs:159\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/program/deploy_v3.rs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"b498f3dc578d7bcb7cea74153dd44c081f4adda409f78639864ca463e9b57c43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lang/syn/src/codegen/accounts/constraints.rs:1557-1565 | lang/syn/src/codegen/accounts/constraints.rs:1575-1583 \u2014 both copies are in the same file, so extract the block 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 \u0060lang/syn/src/codegen/accounts/constraints.rs:1557\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lang/syn/src/codegen/accounts/constraints.rs"},"region":{"startLine":1557}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a12f7fd95242cf24cfbcbf4e0ec23e0236b4e9bae3d6dbb2a71387eb02781e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lang/syn/src/codegen/accounts/constraints.rs:1593-1601 | lang/syn/src/codegen/accounts/constraints.rs:1611-1619 \u2014 both copies are in the same file, so extract the block 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 \u0060lang/syn/src/codegen/accounts/constraints.rs:1593\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lang/syn/src/codegen/accounts/constraints.rs"},"region":{"startLine":1593}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a34f6aee390ed6c2d104fb3d4825c3f2702249b61fad4a8c0594ae81cc99636"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lang/syn/src/codegen/accounts/constraints.rs:1629-1637 | lang/syn/src/codegen/accounts/constraints.rs:1647-1655 \u2014 both copies are in the same file, so extract the block 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 \u0060lang/syn/src/codegen/accounts/constraints.rs:1629\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lang/syn/src/codegen/accounts/constraints.rs"},"region":{"startLine":1629}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa9fa3e0db839e68bec5438cc3b814d192ada57aa9d890e4e53256fdafcd302e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20139 lines \u00D7 3): lang/syn/src/codegen/accounts/constraints.rs:1701-1709 | lang/syn/src/codegen/accounts/constraints.rs:1719-1727 | lang/syn/src/codegen/accounts/constraints.rs:1736-1741 \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 \u0060lang/syn/src/codegen/accounts/constraints.rs:1701\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lang/syn/src/codegen/accounts/constraints.rs"},"region":{"startLine":1701}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a44841c281c2dd59e6c45cf0411f4e6918a886216a4248390b02c1b32ce3b4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lang/syn/src/parser/accounts/constraints.rs:762-770 | lang/syn/src/parser/accounts/constraints.rs:859-867 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lang/syn/src/parser/accounts/constraints.rs:762\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":"lang/syn/src/parser/accounts/constraints.rs"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9d6c44c1e483743c03a5da07373d7bc0ccbd3c3659e3d4df2f2ef888745e924"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20138 lines \u00D7 4): lang/syn/src/codegen/accounts/constraints.rs:989-994 | lang/syn/src/codegen/accounts/constraints.rs:1006-1011 | lang/syn/src/codegen/accounts/constraints.rs:1026-1031 | lang/syn/src/codegen/accounts/constraints.rs:1038-1045 \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 \u0060lang/syn/src/codegen/accounts/constraints.rs:989\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lang/syn/src/codegen/accounts/constraints.rs"},"region":{"startLine":989}}}],"partialFingerprints":{"codehealthFindingId/v1":"f24a0bb5965df50bc69c2b500bd59d8bd6bc497fcd9b63f84ee3777c5d6a533e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): cli/src/config.rs:153-160 | cli/src/config.rs:692-699 \u2014 both copies are in the same file, so extract the block 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 \u0060cli/src/config.rs:153\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/config.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"0605a99ae47a973213f1c6de41436b1618316e07b10af8250cbec273d42eb7b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): idl/src/convert.rs:403-410 | idl/src/convert.rs:894-901 \u2014 both copies are in the same file, so extract the block 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 \u0060idl/src/convert.rs:403\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":"idl/src/convert.rs"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e40ce37d1fbc6553b39d36f6a18d4ef839e0ec6a2e9ba2025965c1a64dd1931"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lang/attribute/account/src/lib.rs:220-233 | lang/attribute/account/src/lib.rs:271-284 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lang/attribute/account/src/lib.rs:220\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lang/attribute/account/src/lib.rs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4bc4941a10b17946b904fa97b20b37fb5839fcdfd2c4d3a598c134421fe70c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lang/src/accounts/account.rs:331-338 | lang/src/accounts/account.rs:347-354 \u2014 both copies are in the same file, so extract the block 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":"lang/src/accounts/account.rs"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a1222c7273a35812742e4f34c4a1668c5be84ddb4e1eded98cc0c725efb1fd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lang/src/accounts/account_loader.rs:245-252 | lang/src/accounts/account_loader.rs:275-282 \u2014 both copies are in the same file, so extract the block 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 \u0060lang/src/accounts/account_loader.rs:245\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lang/src/accounts/account_loader.rs:244\u0060 calls \u0060check_size\u0060 and \u0060lang/src/accounts/account_loader.rs:273\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":"lang/src/accounts/account_loader.rs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f743590fbadd2bf4ca62d84aded999cf93fa99349aa804ae9f9ef1c24cf5e8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): lang/src/accounts/account.rs:399-405 | lang/src/accounts/migration.rs:406-412 | lang/src/accounts/program.rs:214-220 | lang/src/accounts/signer.rs:86-92 | lang/src/accounts/system_account.rs:54-60 \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 5 call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lang/src/accounts/account.rs"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b9d15eb6275e818863aaef0aa64407f20b551115420173d3e62f469861f83d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u20137 lines \u00D7 3): lang/attribute/account/src/lib.rs:223-227 | lang/attribute/account/src/lib.rs:274-278 | lang/attribute/program/src/declare_program/mods/accounts.rs:23-29 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lang/attribute/account/src/lib.rs:223\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lang/attribute/account/src/lib.rs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab38db5815b760f294f24e589a0e231db1bfd7a88ff50325cb60be58d585c780"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): cli/src/debugger/source.rs:182-188 | cli/src/flamegraph/trace.rs:778-784 \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":"cli/src/debugger/source.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"39bcdeab35e41f6b9e458ac6eeda8865ed4738d1db09ea136a11b30876a20f97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): idl/src/convert.rs:395-401 | idl/src/convert.rs:886-892 \u2014 both copies are in the same file, so extract the block 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 \u0060idl/src/convert.rs:395\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060items\u0060 to \u0060\u0026mut [t::IdlInstructionAccountItem]\u0060 in one and \u0060\u0026mut [IdlAccountItem]\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":"idl/src/convert.rs"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d412e75b6242354fb2c862aed507ebf8a0c99de0c71e45cc5519f5bd0aa091e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lang/derive/space/src/lib.rs:57-63 | lang/derive/space/src/lib.rs:94-100 \u2014 both copies are in the same file, so extract the block 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 \u0060lang/derive/space/src/lib.rs:57\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":"lang/derive/space/src/lib.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"d007f1e2bf4d8ae7a52901046c106b123967ee15f2fd9e85808709dba742bced"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lang/syn/src/codegen/accounts/constraints.rs:1462-1471 | lang/syn/src/codegen/accounts/constraints.rs:1543-1549 \u2014 both copies are in the same file, so extract the block 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 \u0060lang/syn/src/codegen/accounts/constraints.rs:1462\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060c\u0060 to \u0060\u0026ConstraintTokenAccountGroup\u0060 in one and \u0060\u0026ConstraintTokenMintGroup\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":"lang/syn/src/codegen/accounts/constraints.rs"},"region":{"startLine":1462}}}],"partialFingerprints":{"codehealthFindingId/v1":"13a6752aa1935d74f2f8116b9fe0cac2c063b4630505d883743469a580e1d415"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): avm/src/resolve.rs:243-248 | avm/src/resolve.rs:453-458 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060avm/src/resolve.rs:243\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"avm/src/resolve.rs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"67fbad3758f0b4ecbafe7abe3ced1b00b9b5c10bb0494479cf2831b83c6063dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): cli/src/fetch/pmp.rs:366-371 | cli/src/fetch/pmp.rs:642-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 \u0060cli/src/fetch/pmp.rs:366\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":"cli/src/fetch/pmp.rs"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"b05ba0f978462abdadabf5032a6ea5ec9702d9774118b7b251a394491c97bfc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lang/attribute/program/src/declare_program/mods/internal.rs:168-176 | lang/attribute/program/src/declare_program/mods/parsers.rs:174-179 \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 \u0060lang/attribute/program/src/declare_program/mods/internal.rs:168\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":"lang/attribute/program/src/declare_program/mods/internal.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"d867abd2c5ffa01976c7b712c0e082d7e34df3a1cf46b9b884748f594e78627a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): avm/src/resolve.rs:104-109 | avm/src/resolve.rs:341-346 \u2014 both copies are in the same file, so extract the block 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":"avm/src/resolve.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"659b08437905a9ba9c05c2374cbffb3844fc52bc31501af1da5f90514e8e61a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lang/attribute/account/src/lib.rs:284-289 | lang/attribute/program/src/declare_program/mods/accounts.rs:56-61 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lang/attribute/account/src/lib.rs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"b669fcce870ec57ef41fd96edd97a729157f41521ecc70dbfacf19ec1a343dba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lang/src/accounts/interface_account.rs:230-234 | lang/src/accounts/interface_account.rs:242-246 \u2014 both copies are in the same file, so extract the block 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":"lang/src/accounts/interface_account.rs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"0caee06e469d81f4b9d694a998bdfe2ab9ef6fd93319142c28c6948a46bf8be5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): docs-v2/src/content/docs/v1/clients/_declare-program/callee.rs:9-22 | docs-v2/src/content/docs/v1/clients/_rust/lib.rs:9-22 | docs-v2/src/content/docs/v1/clients/_typescript/lib.rs:9-22 \u2014 before extracting anything, compare \u0060docs-v2/src/content/docs/v1/clients/_declare-program/callee.rs\u0060 and \u0060docs-v2/src/content/docs/v1/clients/_rust/lib.rs\u0060 as WHOLE FILES: 93% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/content/docs/v1/clients/_declare-program/callee.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"d583c1626cc8863945a7dd7d1329ab0faf8cb40f3f8f40bfc10d3e9f4a42e3e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): cli/src/debugger/arena.rs:581-587 | cli/src/flamegraph/trace.rs:477-483 \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":"cli/src/debugger/arena.rs"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"17defa7b49196e78ded79f06dade3827f380e67da871509ec92244d92231d740"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): cli/src/debugger/cargo_deps.rs:176-181 | cli/src/debugger/path_label.rs:218-223 \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":"cli/src/debugger/cargo_deps.rs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd2f55515db8f7f2877c608b5deb9882af4c4c3154ca6802121acfeeee71eb74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): lang/src/accounts/interface.rs:115-122 | lang/src/accounts/interface_account.rs:277-284 | lang/src/accounts/migration.rs:347-354 \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 \u0060lang/src/accounts/interface.rs:115\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":"lang/src/accounts/interface.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9e032f21d0e618faeb2d4c0ec33c7ace7294a1c12001150569daf510f9c2b5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6): lang/src/accounts/account.rs:371-378 | lang/src/accounts/lazy_account.rs:287-294 | lang/src/accounts/program.rs:184-191 | lang/src/accounts/program.rs:202-209 | lang/src/accounts/signer.rs:72-79 | lang/src/accounts/system_account.rs:40-47 \u2014 there are 6 copies across 5 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 6 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lang/src/accounts/account.rs:371\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lang/src/accounts/account.rs"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"721b1ae39ded171484f7a08be87dc636062a1f42916ed85220af9ae752ec166c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lang/src/accounts/account_loader.rs:155-161 | lang/src/accounts/lazy_account.rs:234-241 \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 \u0060lang/src/accounts/account_loader.rs:155\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":"lang/src/accounts/account_loader.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"377557f988f20e3017792a6360bb2535f0e3dec35a0a26b65123fa4bcd2be155"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): avm/src/solana.rs:646-662 | avm/src/solana.rs:679-695 \u2014 both copies are in the same file, so extract the block 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 \u0060avm/src/solana.rs:646\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":"avm/src/solana.rs"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"48dfd6cf09aa62498c6088f8753f8edf3836b7f30cdf2297cfad1131cbe5ad98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): cli/src/codama.rs:901-912 | cli/src/codama.rs:993-1004 \u2014 both copies are in the same file, so extract the block 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":"cli/src/codama.rs"},"region":{"startLine":901}}}],"partialFingerprints":{"codehealthFindingId/v1":"0116514b11f3a0b1ee3283b71a88623739db26c01bf57b4a63e558252e203326"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): avm/src/lib.rs:1229-1240 | avm/src/platform_tools.rs:680-691 \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 \u0060avm/src/lib.rs:1229\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":"avm/src/lib.rs"},"region":{"startLine":1229}}}],"partialFingerprints":{"codehealthFindingId/v1":"1531bebf98491df6da27bc5e7cdfc10aa93f65b0a7a4d366eadae5f4af2f88f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): avm/src/main.rs:280-287 | avm/src/main.rs:296-307 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"avm/src/main.rs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"d59199d6404f63e6cfa233c58559f69462eef41d5ed8968138159a4a2e5cadb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): cli/src/program.rs:1523-1534 | cli/src/program.rs:1603-1614 | cli/src/program.rs:1690-1700 \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 \u0060cli/src/program.rs:1690\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":"cli/src/program.rs"},"region":{"startLine":1523}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb913f703badac88b3496357f52076f8685dcff6ce442cd797d03487d1e98c05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lang/syn/src/parser/accounts/mod.rs:150-161 | lang/syn/src/parser/accounts/mod.rs:326-335 \u2014 both copies are in the same file, so extract the block 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":"lang/syn/src/parser/accounts/mod.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"80501101d06a8d563059f2f0fbf2d3ec5f2de380f5ce0f629a35be02efd8c682"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lang/syn/src/parser/accounts/mod.rs:492-501 | lang/syn/src/parser/accounts/mod.rs:707-717 \u2014 both copies are in the same file, so extract the block 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 \u0060lang/syn/src/parser/accounts/mod.rs: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":"lang/syn/src/parser/accounts/mod.rs"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"2096ff8df06fb60b06971eb0740e1e64d4866d17de64ce4b054a57c76a7ed888"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): cli/src/keygen.rs:253-263 | cli/src/keygen.rs:356-365 \u2014 both copies are in the same file, so extract the block 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":"cli/src/keygen.rs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"699e94f69c8df5f63c3482df2074c7f4bdc79135a95103ea3ed5c55db2cb8ad5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lang/syn/src/parser/accounts/constraints.rs:190-199 | lang/syn/src/parser/accounts/constraints.rs:415-424 \u2014 both copies are in the same file, so extract the block 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 \u0060lang/syn/src/parser/accounts/constraints.rs:190\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":"lang/syn/src/parser/accounts/constraints.rs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"44e81ee6a52f60ad694147a85bf2e5f1cf3e4a558e1df02fe4ee1bd5feec3236"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lang/syn/src/parser/accounts/mod.rs:676-684 | lang/syn/src/parser/accounts/mod.rs:757-765 \u2014 both copies are in the same file, so extract the block 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 \u0060lang/syn/src/parser/accounts/mod.rs:676\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":"lang/syn/src/parser/accounts/mod.rs"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ba86ae2e5ac509e60c83b683b3ddad8a9f99aea9e19c617b4a753463842cff4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): cli/src/debugger/arena.rs:84-91 | cli/src/profile.rs:47-54 \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 \u0060cli/src/debugger/arena.rs:84\u0060 it does not close everything it opens, so those exact 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":"cli/src/debugger/arena.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"275f8f26993418368a5dd23fd3611a821894ae6108a9f7c3dec20f59c3778d7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): cli/src/lib.rs:3467-3474 | cli/src/lib.rs:3520-3525 \u2014 both copies are in the same file, so extract the block 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 \u0060cli/src/lib.rs:3467\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/lib.rs"},"region":{"startLine":3467}}}],"partialFingerprints":{"codehealthFindingId/v1":"797a8f0f1af7510cb5efdc30e9f8dfb0b0d2f3489e8770b9981fc6669d3f6714"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lang/syn/src/codegen/program/cpi.rs:25-31 | lang/syn/src/codegen/program/handlers.rs:40-46 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lang/syn/src/codegen/program/cpi.rs:25\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lang/syn/src/codegen/program/cpi.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"a69611ab87abb02f07439b13cc7dcc99d1e655199e59aca945ba46c833d2d617"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): cli/src/lib.rs:5407-5413 | cli/src/lib.rs:5564-5570 \u2014 both copies are in the same file, so extract the block 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 \u0060cli/src/lib.rs:5407\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":"cli/src/lib.rs"},"region":{"startLine":5407}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c842de3a11dff7f7afaf3e5cb2e8bf7f45668c5fe90ce5ecaa96cc62b0c4b91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): cli/src/lib.rs:2230-2235 | cli/src/lib.rs:2350-2354 \u2014 both copies are in the same file, so extract the block 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":"cli/src/lib.rs"},"region":{"startLine":2230}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f9aff913fffc5da76fba5aee4104a11d927e4f4f92edacf384316c0c7122c3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): avm/src/lib.rs:1136-1140 | avm/src/platform_tools.rs:577-582 \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 \u0060avm/src/lib.rs:1136\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":"avm/src/lib.rs"},"region":{"startLine":1136}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeaf7305a428cd2f7821f4abe0ad6a3d8ce5cc74922755fef1a153bff2017ca6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lang/syn/src/parser/accounts/mod.rs:594-598 | lang/syn/src/parser/accounts/mod.rs:602-606 \u2014 both copies are in the same file, so extract the block 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 \u0060lang/syn/src/parser/accounts/mod.rs:594\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":"lang/syn/src/parser/accounts/mod.rs"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"d78f443bf89dc0875f175498dc7e76d78517740c6145b00c6074aa9175fca597"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lang/syn/src/codegen/accounts/constraints.rs:738-746 | lang/syn/src/codegen/accounts/constraints.rs:809-817 \u2014 both copies are in the same file, so extract the block 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 \u0060lang/syn/src/codegen/accounts/constraints.rs:738\u0060 it does not close everything it opens, so those exact 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":"lang/syn/src/codegen/accounts/constraints.rs"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7074430a5aa2b99dc3b0c298865ffe4e43bfd949806dc65ea86c22396b3bb79"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (67 corresponding lines): client/example/src/blocking.rs:99-165 | client/example/src/nonblocking.rs:103-177 \u2014 These two members are one piece of code written twice and then edited apart: 67 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/example/src/blocking.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"a56ff8ee114373232949f36f6636fdc8ac24e92b962fd89a35844679a93a4b11"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (54 corresponding lines): client/example/src/blocking.rs:275-328 | client/example/src/nonblocking.rs:287-342 \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":"client/example/src/blocking.rs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"6034fa512e0cae21817d2bab27d686407e61a78a5e0c9653fb02dec76b162f85"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): client/example/src/blocking.rs:236-267 | client/example/src/nonblocking.rs:249-282 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/example/src/blocking.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfa4230e252bd9f839ce43709da500191727f42f53677c2505ddf72ece97d54d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): client/example/src/blocking.rs:205-231 | client/example/src/nonblocking.rs:215-244 \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":"client/example/src/blocking.rs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d9e62a3d106113aa1517cafeb368c98a84db879e192d25fcc156d9424c8af45"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 28\u002B corresponding lines): client/example/src/blocking.rs:173-200 | client/example/src/nonblocking.rs:64-98 | client/example/src/nonblocking.rs:182-210 \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":"client/example/src/blocking.rs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dde47c89a2c975ae2987fd38ff2562b6cb833816850a1f7c874c607fc42de82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): client/example/src/blocking.rs:136-153 | client/example/src/nonblocking.rs:147-164 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/example/src/blocking.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"7da90efa0b1c3d8c0312b1427fe0a81774846698f28927155715a082d3b25033"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): client/example/src/blocking.rs:237-248 | client/example/src/nonblocking.rs:250-262 \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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/example/src/blocking.rs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1abfbf899e1abe42d9e3d0bae9ab5e2b00dde7b80cda9e934021c4116da1118"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): client/example/src/blocking.rs:131-137 | client/example/src/blocking.rs:154-160 \u2014 both copies are in the same file, so extract the block 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 \u0060client/example/src/blocking.rs:131\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":"client/example/src/blocking.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7c8b840257b41e2c1e4aebaa6c04b2c607f90d72ccb803646b98a0172dded3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): client/example/src/nonblocking.rs:141-147 | client/example/src/nonblocking.rs:165-171 \u2014 both copies are in the same file, so extract the block 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 \u0060client/example/src/nonblocking.rs:141\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":"client/example/src/nonblocking.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"24347045eeb83f5f38e91444aeabfba527f5ed5f4ef931dca86a40157153a0b2"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: anchor-lang-idl: anchor-lang-idl: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 3 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0e84c8acce504e2875ba00d01058229ec6e5718a6c421550e5a1ff05b8549054"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: anchor-syn: anchor-syn: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 7 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b6cc943168475c653a9e3838661acb67951b78b63be7364f2c5cf1fe9b51c59c"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: @anchor-lang/borsh: @anchor-lang/borsh: abstractness 0.10, instability 0.00, distance 0.90 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"25b38b6d6d6137d023451bdfef261f1024f1410291c506e9292ad54f63b40e69"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: @anchor-lang/core: @anchor-lang/core: abstractness 0.08, instability 0.13, distance 0.79 \u2014 zone of pain \u2014 concrete and depended on by 13 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9f285f235b9f69add97fe5131767aaae4e6d3a7ba191a8da564298b57de2e29c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Parses multiple instructions: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/tests/events.spec.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"322df5cf39b6d7cddbaacc4a97d6046461979e282595ab32edefee503010346c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Upgrade event check: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/tests/events.spec.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"79a6215551c545573c5ce095bb75680d120419967a69e76030c47c0250c9a631"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Listen to different program and send other program logs with same name: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/tests/events.spec.ts"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"e667f0e9cc5b5f79f388c58f41f46ba2d7e8320ff019fda985eb15b3e7d0e7ce"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Handles malicious log injection attempts: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/tests/events.spec.ts"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"597050e35bfad63932001a24513de605cfeb5883e30b1285cbf705ad899b37b6"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Errors when setting an out of bounds index: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/zero-copy/tests/zero-copy.js"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"126537c706baf91aa5409d22e43d2b3bf98f268f71acc90f0ada049cfea19498"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Is initialized!: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/typescript/tests/typescript.spec.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e83b12981f8898d7657784266d7ce407361713c36938cfdddda642d578be419"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Initialize Dashboard: No conventional assertion call was detected, and 13 of 13 tests in \u0060tests/tictactoe\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/tictactoe/tests/tictactoe.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"90d1d1181b1ef0ba148285d7eb38ae57c229091e754af9c3006fff4a2694a44d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Initialize Game: No conventional assertion call was detected, and 13 of 13 tests in \u0060tests/tictactoe\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/tictactoe/tests/tictactoe.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"984e1ceb517e1374dcb873247fc106723f2b5413d7dab35f7ac87742be1dd5f3"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Player O joins: No conventional assertion call was detected, and 13 of 13 tests in \u0060tests/tictactoe\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/tictactoe/tests/tictactoe.js"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"d86d7f08ecd679af315cfedf1480e5fd650866aea2c24549dd4edefbe0edf060"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Player X plays: No conventional assertion call was detected, and 13 of 13 tests in \u0060tests/tictactoe\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/tictactoe/tests/tictactoe.js"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fb6a68dead9caee336020a92bbaad2cbbdff092f781bbc1136de750c2159868"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Player O plays: No conventional assertion call was detected, and 13 of 13 tests in \u0060tests/tictactoe\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/tictactoe/tests/tictactoe.js"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"2deb3952f01a9e0a2bf51d4847049d823b1bc38743dca97a6445949a0f72cad9"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Player X plays: No conventional assertion call was detected, and 13 of 13 tests in \u0060tests/tictactoe\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/tictactoe/tests/tictactoe.js"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2d65478168163625cdf3dd33112de658e89811669ffd14f4df373b3c9e4b234"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Player O plays: No conventional assertion call was detected, and 13 of 13 tests in \u0060tests/tictactoe\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/tictactoe/tests/tictactoe.js"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"acc8a084071fb7b221b88490c5b65441817f42b1fe9afea908b5ad317844107e"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Player X plays: No conventional assertion call was detected, and 13 of 13 tests in \u0060tests/tictactoe\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/tictactoe/tests/tictactoe.js"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c612e695124dbdcb3236cdc1aae510f8f05cb86539834ff434431c5d71666ba"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Player O plays: No conventional assertion call was detected, and 13 of 13 tests in \u0060tests/tictactoe\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/tictactoe/tests/tictactoe.js"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e11f4ccfe5b74b0bd5ada2f5f1b359e186d318cd1da5934e13f580529bf1ec0"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Player X plays: No conventional assertion call was detected, and 13 of 13 tests in \u0060tests/tictactoe\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/tictactoe/tests/tictactoe.js"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"af9ee3ef1ddd4709a45532bba4d3a0c5bec18a79c0c76414dc0786868fd3ce4d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Player O plays: No conventional assertion call was detected, and 13 of 13 tests in \u0060tests/tictactoe\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/tictactoe/tests/tictactoe.js"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7f83d544bda12fd6e46cbab62aea94cced1df6253f343e031a5f9257068f11b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Player X plays: No conventional assertion call was detected, and 13 of 13 tests in \u0060tests/tictactoe\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/tictactoe/tests/tictactoe.js"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4428986b4048d41d1622de3f54e6806ffbdf1bfde0eb5015e4cdf06d4d3ff3a"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Status: No conventional assertion call was detected, and 13 of 13 tests in \u0060tests/tictactoe\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/tictactoe/tests/tictactoe.js"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"5571f503987213e23cad17b31bae053454a23fd4f0b2212d90a7b199ef5db1d1"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Is initialized!: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/sysvars/tests/sysvars.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"6be1b1764f96cfcd0a8fa500e1333de267816b462d580be7ed7d2d49a60299a8"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Is initialized!: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/system-accounts/tests/system-accounts.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"802d8bdc6f86d7036103754f61c072984c9787d336678eff9a736b8ea7773e5b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Initializes test state: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/spl/token-proxy/tests/token-proxy.js"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1951144eb2304fa3d944e122c7045df1ebc93d5409ec1cb779708b9d38a14d2"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Creates a mint: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/spl/token-proxy/tests/token-proxy.js"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"24cb233b414da1938dde1bceed50d77ee2ae6c24805734d2d50f1dee2c61f12f"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: airdrop payer: No conventional assertion call was detected, and 9 of 16 tests in \u0060tests/spl/token-extensions\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/spl/token-extensions/tests/token-extensions.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"0127b04e5b0956d4da8c4dc726319a0c3111bb6361d12c364323513783be5912"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create mint account test passes: No conventional assertion call was detected, and 9 of 16 tests in \u0060tests/spl/token-extensions\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/spl/token-extensions/tests/token-extensions.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce0c9d08cef559397f0f40dfe42b7fb6d0185d417d3fd5eb4438046a6b3ddeba"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: mint extension constraints test passes: No conventional assertion call was detected, and 9 of 16 tests in \u0060tests/spl/token-extensions\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/spl/token-extensions/tests/token-extensions.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8e86bed83ed5db402e81911ac21d7de9e52a051b80ac1b64060ab76ec9b5341"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: creates a reusable mint with token extensions: No conventional assertion call was detected, and 9 of 16 tests in \u0060tests/spl/token-extensions\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/spl/token-extensions/tests/token-extensions.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"780a95ddb823091a068fa0fafae664ac1d2f651c617cc85d9897d49aa9a9082c"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create mint with group pointer extension: No conventional assertion call was detected, and 9 of 16 tests in \u0060tests/spl/token-extensions\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/spl/token-extensions/tests/token-extensions.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"b70279e7d1b7e9502227768e91b1390adc24454c16a299d0f8b5ce7703b86c80"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Update group pointer via CPI succeeds: No conventional assertion call was detected, and 9 of 16 tests in \u0060tests/spl/token-extensions\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/spl/token-extensions/tests/token-extensions.ts"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"71b26d5f197a76de6e56d540ce9412b236d43c4e64ed5cc9d83b16e01c57dfa0"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Update group pointer to None via CPI succeeds: No conventional assertion call was detected, and 9 of 16 tests in \u0060tests/spl/token-extensions\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/spl/token-extensions/tests/token-extensions.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b094d009d580cfc5f0377eccf6252fbc5a23e38bbcccdcaa04465d0dec90f98"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: pausable toggle test passes: No conventional assertion call was detected, and 9 of 16 tests in \u0060tests/spl/token-extensions\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/spl/token-extensions/tests/token-extensions.ts"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf89ac87dbe2cf8ad470d28da34f52eb48ea4200a5eac3db8e5bdb62ec8f98bf"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: mint metadata update and remove test passes: No conventional assertion call was detected, and 9 of 16 tests in \u0060tests/spl/token-extensions\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/spl/token-extensions/tests/token-extensions.ts"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e277fd3cadfbbc4afbe380e3654b1f13dc3852f9990bd154fc525b2cde08585"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Builds and deploys: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/spl/metadata/tests/metadata.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bb753b13f1fed79e5dce078d7a93591ac48828734e8e8244bc002a4789e02ca"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Inits the base account: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/relations-derivation/tests/typescript.spec.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"595386d0af951e274c47940d16d4a45e3b5fb0c5265cdf5d4ac8e5629d06ed21"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Inits the base account: No conventional assertion call was detected, and 8 of 13 tests in \u0060tests/pda-derivation\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/pda-derivation/tests/typescript.spec.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd0a9a3321ab92510a8974aedecba61d093f1d56f177402f7b734c7ef7930cd5"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Can use constant seed ref: No conventional assertion call was detected, and 8 of 13 tests in \u0060tests/pda-derivation\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/pda-derivation/tests/typescript.spec.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c26533b52d6595adce0739c482772df7c013f7228d73fc203ed14df28a5f5c8"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Can resolve associated token accounts: No conventional assertion call was detected, and 8 of 13 tests in \u0060tests/pda-derivation\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/pda-derivation/tests/typescript.spec.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b03e0952e73f70a528d9d06d0dc786076bd75463db738bb96970023ac6941bb"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Can use unsupported expressions: No conventional assertion call was detected, and 8 of 13 tests in \u0060tests/pda-derivation\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/pda-derivation/tests/typescript.spec.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"bab18137d0d8b0b38fd7ce381b489b844c87ff801199d0ebc08fe052253933bb"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Can resolve call expressions with no arguments: No conventional assertion call was detected, and 8 of 13 tests in \u0060tests/pda-derivation\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/pda-derivation/tests/typescript.spec.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e0fb6f543750a681dca883c1f5d0c9e30ba27396afdcc97c4c7397646025597"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Can use \u0060Pubkey\u0060 constants with \u0060seeds::program\u0060: No conventional assertion call was detected, and 8 of 13 tests in \u0060tests/pda-derivation\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/pda-derivation/tests/typescript.spec.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"93a3bef1433ce12c8be453ac903c2738dbb28c8273717c6c76698d500e6d15a4"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Can use accounts with \u0060seeds::program\u0060: No conventional assertion call was detected, and 8 of 13 tests in \u0060tests/pda-derivation\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/pda-derivation/tests/typescript.spec.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"d52abf6a1a7de5d58ce245b2f5a052ed4c20bb4915f204d70d0adf50e993c9e3"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Can use arguments with \u0060seeds::program\u0060: No conventional assertion call was detected, and 8 of 13 tests in \u0060tests/pda-derivation\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/pda-derivation/tests/typescript.spec.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"040b677ad763b44318a26e63f9076551b103bb59c93d50673ee243649402e119"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Succeeds with missing optional accounts at the end with the feature on: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/optional/tests/optional.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f02e39cacfbfc1794db5e074af958ee4570c5888b33bc2c0f92e7b695a16d1"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Can update with invalid explicit pda bump with no pda: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/optional/tests/optional.ts"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"48089caaa2de772d0fee7f7328879b49f51d8043a0a820f45392d3bbe311cca6"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Is initialized!: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/multiple-suites-run-single/tests/should-run/shouldRun.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"71cec0a64bef9d679590b80298ea5bcbc828999b4f24fa19e97f8bbcf1dc4211"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Should not be executed: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/multiple-suites-run-single/tests/should-not-run/shouldNotRun.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"8858af2097fc0004e011ad66a72b1ffd8011bb883a1a15a9a26cb68809feac1c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Works with a plain (single-segment) Accounts struct: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/modularized-program/tests/modularized-program.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddd936d1b62a3c70eb2e52488525f736ee1fa92de6077268668cc19bc19ba22f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: allows non-rent exempt accounts: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/misc/miscNonRentExempt.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a3eb822201e711721734978a6e43c92bb492d9b4498356c51e54263218d2bc9"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: allows rent exemption to be skipped: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/misc/miscNonRentExempt.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dd82eed5552eeb64142e2ad2038d5b142be678c907595a21a0595e6d908a6a1"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Panics on overflow add: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/misc/tests/overflow-checks/overflow-checks.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a5dad03386b17194950b5290de2bd9b2c82aa76be6c25a441ca659af99dc8b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Panics on overflow sub: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/misc/tests/overflow-checks/overflow-checks.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"7121d0c7ff75edfd6e34396a5ab0bafefd418569bd35e3d915cf50863341809b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Panics on overflow mul: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/misc/tests/overflow-checks/overflow-checks.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"d16151d3b85e9a2f866480277af70c4cd671e362536f9b6243c61904932c0712"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Fails to build when \u0060overflow-checks\u0060 is not explicitly specified: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/misc/tests/overflow-checks/overflow-checks.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"4af0b77d9930eb353c6f06d7c7d43adca0cfc19341a3a7214c11b8002429d8e4"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Can use the owner constraint: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/misc/tests/misc/misc.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb52734c692d600a38f947042d9dc645cc61b470d487e23eb7ca6a89f0910cf6"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Can use the executable attribute: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/misc/tests/misc/misc.ts"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d133edbca83143e169ab113159d1c820e5bd6267863d30e0dae3ff016bd694"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Can use instruction data in accounts constraints: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/misc/tests/misc/misc.ts"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"215fb1f06c1fe0e850ad3d88acfe0efbdc604bcb800055610b2ed08790112da3"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: init_if_needed pass if mint exists with token program: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/misc/tests/misc/misc.ts"},"region":{"startLine":1863}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfa634e6d13f40af8edabb4b1f42466488f6292f7140cd0d896e827455b9f225"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: init_if_needed pass if token exists with token program: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/misc/tests/misc/misc.ts"},"region":{"startLine":2024}}}],"partialFingerprints":{"codehealthFindingId/v1":"891fc92938027d91182648cffb7ea4585172075b8cb9576acde312e7c4f74314"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: init_if_needed pass if associated token exists: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/misc/tests/misc/misc.ts"},"region":{"startLine":2285}}}],"partialFingerprints":{"codehealthFindingId/v1":"67e160402a2b630c354ab1fc44a90320b5fc8631240034c26f7cc2afabeb9198"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: init_if_needed pass if associated token exists with token program: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/misc/tests/misc/misc.ts"},"region":{"startLine":2328}}}],"partialFingerprints":{"codehealthFindingId/v1":"77eda7f05deae3a0a81887bfaa6a44a3567ea55f1db5a6e873626dbf54a00978"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Can initialize 5 associated token accounts in one instruction: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/misc/tests/misc/misc.ts"},"region":{"startLine":2467}}}],"partialFingerprints":{"codehealthFindingId/v1":"855f72550a6b7e4d118fe5e8785548954f8efe25430ab5a3934979c3ef849c5a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Works with different accounts (multiple \u0060zero\u0060): This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/misc/tests/misc/misc.ts"},"region":{"startLine":3381}}}],"partialFingerprints":{"codehealthFindingId/v1":"69fb11146ce2513de98ab399ef01c3b44e66c72e6c202db1917f2e8f83d03539"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Works with different accounts (\u0060init\u0060 and \u0060zero\u0060): This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/misc/tests/misc/misc.ts"},"region":{"startLine":3417}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca74a9f6b2254fe343d3891e7a6a62882b16b0e40cee649e29abf9877dbe4704"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Can transfer from/to PDA: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/misc/tests/lamports/lamports.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d03958d9a5e9068babb81982b76b163936c0acd98e3e5c7b40a7ee8800bc2ff"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Returns an error on overflow: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/misc/tests/lamports/lamports.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cfaeb0f7873b3da61b5187ddbc2ebc925ff4239f0babc984e0f3951d785bc6a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Sets up initial test state: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/lockup/tests/lockup.js"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"a250b14efd7c2ed6df9d7f896f9bd318237a59bb70c9948b938c1528c1e46f81"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Deletes the default whitelisted addresses: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/lockup/tests/lockup.js"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"915fff0bf2f92776a14f8fa76ecd1dd769f2c6e8d2d4c18f970de9aebffca444"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Waits for a vesting period to pass: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/lockup/tests/lockup.js"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"f77da1f08f6cf2d21007b1639efbd7a723b1e77de09ff32a550291f6e9b851f5"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Creates registry genesis: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/lockup/tests/lockup.js"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"746ec47dff7887d0c5003cc0d47f5c8202eef2fe48c082d007426046ae0b7056"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Can read: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/lazy-account/tests/lazy-account.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"cad7c962ddb3f08568dffd0d2f1465456519323667325ebe543085213aa4202d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Allows old exptected accounts: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/interface-account/tests/interface-account.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fde0c3fe4020890d172c20548aa94f66b7abc58e01bf3819be1fd65982149cd"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Allows new exptected accounts: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/interface-account/tests/interface-account.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"30ea94023fe6ece178dd4143674c481ab3df53f26d810f1541877deba5d8e51d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Works when instructions have no case conversion in IDL: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/idl/tests/idl.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"4712ac82b644a506f1579498dbb6b92aa2967a37382eefb1d7abb26115c63780"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Can send empty ix(no arg, no account): This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/idl/tests/idl.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a9e6b6eeafeb4601d39c5736e5e9fddb93f695a99602d877f42023a482096dc"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Includes constants marked with \u0060#[constant]\u0060: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/idl/tests/idl.ts"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"605b87e57209d4dcc89599768a3e8e554d61f44def932fd7a791d45b9f443629"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Throws on unauthorized invocation: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/events/tests/events.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"769130fd17a6fc7c92309ca4e37e374e4be49cd576e3997155d227700e3a20da"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Returns \u0027multiple errors\u0027 error on builds: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/errors/tests/multiple-errors.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"08d5d4e43ab81e765b07b7647a5c130ba2a5372847ff08c976860991d73ef354"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Initialize accounts: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/duplicate-mutable-accounts/tests/duplicate-mutable-accounts.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e73713a9984aefc1d6cb4095bc78473ba1fa99d41499bf4b4fc5690d947da01"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Should allow duplicate in remainingAccounts: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/duplicate-mutable-accounts/tests/duplicate-mutable-accounts.ts"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbe8a11508d083031a855c67d42988260ceb3a95f2ed8d6d70e1bd8486caa995"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Produces correct IDL: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/declare-program/tests/declare-program.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e705b11b5c9e9fdd19f9c6ce1a3e699eb7455da95eb99c2d9ad53618114947f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Returns ambiguous discriminator error on builds: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/custom-discriminator/tests/ambiguous-discriminator.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"a65db1cccedbf153d10526b5c227a26b0abce872ec83a50e2fca997eaace0fa2"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: rejects zeroed account discriminators on no-idl builds: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/custom-discriminator/tests/zeroed-discriminator.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"741bc4994a5e3b93ef84c9c69db36ec38dc5a93c55680380dca085e4f223cd36"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Creates a token for bob: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/custom-coder/tests/spl-token-coder.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"1da1c607d4035d0707acf49ed772ba084e8a3667c83bc9fb4e3aa87763c4fc05"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: can initialize: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/cpi-returns/tests/cpi-return.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbd131503bd8fe2ca29bf6487df5895d8830bb27dc4841b84a2033b9a4c019f9"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Sets up initial test state: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/cashiers-check/tests/cashiers-check.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"679c7cc082fc5163e0791321473a007ea00c3087d6fdeb16920b39465c553534"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Measure binary size: No conventional assertion call was detected, and 18 of 18 tests in \u0060tests/bench\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/bench/tests/binary-size.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"025d30e2e22bd5dd1254b84d2286d6becd82a79a1eaa3f4247d64af562d99713"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: AccountInfo: No conventional assertion call was detected, and 18 of 18 tests in \u0060tests/bench\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/bench/tests/compute-units.ts"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"c422ea0bf905be9b5742d72fb858a56577a3b5048fa7c037730cf1cd9439cb1e"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Account Empty: No conventional assertion call was detected, and 18 of 18 tests in \u0060tests/bench\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/bench/tests/compute-units.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"930532e4098115c878c7218b8dfa8ef63dcd75e025cf0adf4652594662390b21"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Account Sized: No conventional assertion call was detected, and 18 of 18 tests in \u0060tests/bench\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/bench/tests/compute-units.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"c05a09ba1dfafd5bda63177228105ea592f0600ec236658d78963052a051fd26"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Account Unsized: No conventional assertion call was detected, and 18 of 18 tests in \u0060tests/bench\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/bench/tests/compute-units.ts"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdb84196328da2a2f86cf48c32dd384b56af6add1b937fe449902a0999ec302d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Boxed Account Empty: No conventional assertion call was detected, and 18 of 18 tests in \u0060tests/bench\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/bench/tests/compute-units.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"08ab982f13598bf0abc390d47a54740c62c0f22edfe2b32650c8025bfe7fa9e3"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Boxed Account Sized: No conventional assertion call was detected, and 18 of 18 tests in \u0060tests/bench\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/bench/tests/compute-units.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cd7dca94a1476583cd283e92363f6e78772d84c669c4574263b98e98afd6186"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Boxed Account Unsized: No conventional assertion call was detected, and 18 of 18 tests in \u0060tests/bench\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/bench/tests/compute-units.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8d43edfe5de0772ed76042cc5600013f5a0666fd8f11a3b86f592dc22e8591e"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Boxed Interface Account Mint: No conventional assertion call was detected, and 18 of 18 tests in \u0060tests/bench\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/bench/tests/compute-units.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c49f1f7d6b6b5ccfd8bc5bb81d4890522dd22e3a4e883311f89677b3808e16a"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Boxed Interface Account Token: No conventional assertion call was detected, and 18 of 18 tests in \u0060tests/bench\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/bench/tests/compute-units.ts"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fc18e6acbf3db97b6f04b06568877b843ca6b2dff9069ca4bccfd80ec339c2e"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Interface Account Mint: No conventional assertion call was detected, and 18 of 18 tests in \u0060tests/bench\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/bench/tests/compute-units.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"65b6711917fcd4f8aa64123449e8d284217628428e64a6d022c18b09fa1a7960"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Interface Account Token: No conventional assertion call was detected, and 18 of 18 tests in \u0060tests/bench\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/bench/tests/compute-units.ts"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"08f7cf9c34c27db17fa18878f062e393099c9b4c046f9a78f801b1384776f0ca"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Interface: No conventional assertion call was detected, and 18 of 18 tests in \u0060tests/bench\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/bench/tests/compute-units.ts"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e58e4d2aaebde21b1ca4089e1919fe096b34006c2e4dc171c49f6128e45720e"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Program: No conventional assertion call was detected, and 18 of 18 tests in \u0060tests/bench\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/bench/tests/compute-units.ts"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e6f2b5e00af9cd4d9eaa05eb50ed5b995d63d445900ce41630b5389cf6851aa"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Signer: No conventional assertion call was detected, and 18 of 18 tests in \u0060tests/bench\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/bench/tests/compute-units.ts"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"e60c46515365e832644ea1b16f904943c96386741507a95f18ada8c8af745dcf"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: SystemAccount: No conventional assertion call was detected, and 18 of 18 tests in \u0060tests/bench\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/bench/tests/compute-units.ts"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cf52f8addfa4cb607cfa7a336ad88e069589141f7fe97bf6c5d267c4add84de"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: UncheckedAccount: No conventional assertion call was detected, and 18 of 18 tests in \u0060tests/bench\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/bench/tests/compute-units.ts"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"07a5ee9c3f422d6ab9e1ab3d4d11ab268e44852dacc452d3665e06f3c16b8e1f"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Measure stack memory usage: No conventional assertion call was detected, and 18 of 18 tests in \u0060tests/bench\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/bench/tests/stack-memory.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"c721978a131fc8e17532510b13e662351b162594795bc0072a8d2d9ff18109e4"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Creates an NFT mint: No conventional assertion call was detected, and 14 of 16 tests in \u0060tests/auction-house\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/auction-house/tests/auction-house.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fa1bc504841a0f19f2853648981a043b0c3b7b50b85ce17de434c1a3805b1b1"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Creates token accounts for the NFT: No conventional assertion call was detected, and 14 of 16 tests in \u0060tests/auction-house\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/auction-house/tests/auction-house.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"c02bd94eb68218d2ee31feb9429e1e236443ac67870433f826a6d9d811382f5a"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Creates auction house program clients representing the buyer and seller: No conventional assertion call was detected, and 14 of 16 tests in \u0060tests/auction-house\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/auction-house/tests/auction-house.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"53df5b78707908b8e61f62f6dc92206f1f81d371329accfa1607867790ebc5cc"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Initializes constants: No conventional assertion call was detected, and 14 of 16 tests in \u0060tests/auction-house\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/auction-house/tests/auction-house.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"28387dfa7db96b7935dbc6b577f2d6b4754aca3649edf81c08466b05403ad061"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Funds the buyer with lamports so that it can bid: No conventional assertion call was detected, and 14 of 16 tests in \u0060tests/auction-house\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/auction-house/tests/auction-house.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c65a876e0912b97031f3117bed69b0361c021a6e4f885cff5dd2d42f06c99d9"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Creates an auction house: No conventional assertion call was detected, and 14 of 16 tests in \u0060tests/auction-house\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/auction-house/tests/auction-house.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"457ac70289edda2015f48ee28982f6e8ed3421a3bd92d3fbb7cdcb0d7539498b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Deposits into an escrow account: No conventional assertion call was detected, and 14 of 16 tests in \u0060tests/auction-house\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/auction-house/tests/auction-house.ts"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c4bd82a8d7245ea4b251b812e3c956450f5f0887eb45325b434173a1a9cfb28"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Withdraws from an escrow account: No conventional assertion call was detected, and 14 of 16 tests in \u0060tests/auction-house\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/auction-house/tests/auction-house.ts"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"94e440be69621f4ed6e00b3b33308232dc6df0116e3a5921df0644a68ff36837"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Posts an offer: No conventional assertion call was detected, and 14 of 16 tests in \u0060tests/auction-house\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/auction-house/tests/auction-house.ts"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"c300f890098b38759e8e444d19d76a278a3798b5113043daa5bbffae7e0b3435"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Cancels an offer: No conventional assertion call was detected, and 14 of 16 tests in \u0060tests/auction-house\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/auction-house/tests/auction-house.ts"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b2972422c7ae58dd4348125f6458cf36ba7ffc8338f3bf7edf1e44c6632afa6"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Posts an offer (again): No conventional assertion call was detected, and 14 of 16 tests in \u0060tests/auction-house\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/auction-house/tests/auction-house.ts"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"48d07a3f8497238803b332e1d7b8a0f1896d4c1c02c4fd9d8456c755ffcdc9ca"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Posts a bid: No conventional assertion call was detected, and 14 of 16 tests in \u0060tests/auction-house\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/auction-house/tests/auction-house.ts"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"7794be2259e2a26180c89d64378b5a8412090a5a10fa7e6ce11ac59d824f0957"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Withdraws from the fee account: No conventional assertion call was detected, and 14 of 16 tests in \u0060tests/auction-house\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/auction-house/tests/auction-house.ts"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"b040a8a81f5f6847b7550cdc045ed7537c17f6e9ad17bb8a0aef55f361750ff0"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Withdraws from the treasury account: No conventional assertion call was detected, and 14 of 16 tests in \u0060tests/auction-house\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/auction-house/tests/auction-house.ts"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa1e2457e9f0d77383563a968183f176efdc55dd15234ac4742b9499fdd9fb9b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Can initialize IDL account: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/anchor-cli-idl/tests/idl.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"17d2d0548c70dd2b1ea952cafe76aa46fa68a34a1c7ed5500588ff33a195cb12"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: basic-5: Robot actions!: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/tutorial/basic-5/tests/basic-5.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"1396b6e6ce4130c00a6f5a9f7fc6dce47260e70b67639533ec9042786f63755e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Uses the workspace to invoke the initialize instruction: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/tutorial/basic-0/tests/basic-0.js"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"99f12d89debf3d4eea2e2248498edf146445b53c8e353b9472fd6db2dea055d7"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Is initialized!: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/content/docs/v1/clients/_declare-program/caller.test.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"273472772d9baac11e8a6e80b782e5b6efd218254c2843f91dbbcce7a6d8a4cd"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Increment: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/content/docs/v1/clients/_declare-program/caller.test.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"738e6699d0be360703a5a3fca1b96407dd26acb4ab2aa1fc17d2bde1132947bc"}},{"ruleId":"D10","level":"warning","message":{"text":"Test project verifies nothing: docs-v2: No conventional assertion call was detected in 2 of 2 tests in \u0060docs-v2\u0060 \u2014 the project as a whole, not one method. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a suite that genuinely checks nothing. If it is the latter, this project passes unconditionally and cannot fail."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/content/docs/v1/clients/_declare-program/caller.test.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"23d2d35f2f19301326b81cf27254d522511b2100d6ed35c0f06ac21797da3018"}},{"ruleId":"D10","level":"warning","message":{"text":"Test project verifies nothing: examples/tutorial/basic-0: No conventional assertion call was detected in 1 of 1 tests in \u0060examples/tutorial/basic-0\u0060 \u2014 the project as a whole, not one method. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a suite that genuinely checks nothing. If it is the latter, this project passes unconditionally and cannot fail."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/tutorial/basic-0/tests/basic-0.js"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"031d5024d32f42b5a26f9da4126999887864df5dc335cb52a1422ffde003bd97"}},{"ruleId":"D10","level":"warning","message":{"text":"Test project verifies nothing: examples/tutorial/basic-5: No conventional assertion call was detected in 1 of 1 tests in \u0060examples/tutorial/basic-5\u0060 \u2014 the project as a whole, not one method. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a suite that genuinely checks nothing. If it is the latter, this project passes unconditionally and cannot fail."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/tutorial/basic-5/tests/basic-5.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"f45e5ddb09a9d70f75f7f64a1459b0c01a6ecd30a6036a0044d25880812d7c50"}},{"ruleId":"D10","level":"note","message":{"text":"Test project verifies nothing: tests/bench: No conventional assertion call was detected in 18 of 18 tests in \u0060tests/bench\u0060 \u2014 the project as a whole, not one method. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a suite that genuinely checks nothing. If it is the latter, this project passes unconditionally and cannot fail."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/bench/tests/binary-size.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"634ea2f7cb55b1834ce31773725d7805a8721859c828abaec44ec154d93464d6"}},{"ruleId":"D10","level":"warning","message":{"text":"Test project verifies nothing: tests/multiple-suites-run-single: No conventional assertion call was detected in 2 of 2 tests in \u0060tests/multiple-suites-run-single\u0060 \u2014 the project as a whole, not one method. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a suite that genuinely checks nothing. If it is the latter, this project passes unconditionally and cannot fail."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/multiple-suites-run-single/tests/should-run/shouldRun.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"70fbf3f8076e74a296610f729aa254d13b11189e30de8ba5b5528282ccc1c986"}},{"ruleId":"D10","level":"warning","message":{"text":"Test project verifies nothing: tests/spl/metadata: No conventional assertion call was detected in 1 of 1 tests in \u0060tests/spl/metadata\u0060 \u2014 the project as a whole, not one method. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a suite that genuinely checks nothing. If it is the latter, this project passes unconditionally and cannot fail."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/spl/metadata/tests/metadata.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc0a9bf7cb13a644d97e9ad5c1ec2b8b2564cf9ebe7f2748e1d1b07e50d466a3"}},{"ruleId":"D10","level":"note","message":{"text":"Test project verifies nothing: tests/tictactoe: No conventional assertion call was detected in 13 of 13 tests in \u0060tests/tictactoe\u0060 \u2014 the project as a whole, not one method. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a suite that genuinely checks nothing. If it is the latter, this project passes unconditionally and cannot fail."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/tictactoe/tests/tictactoe.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"b48b700801b5bf12955cd420d9a459d11cbc4bdc902ab1aa5ba17f22564a906f"}},{"ruleId":"D10","level":"warning","message":{"text":"Test project verifies nothing: tests/typescript: No conventional assertion call was detected in 1 of 1 tests in \u0060tests/typescript\u0060 \u2014 the project as a whole, not one method. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a suite that genuinely checks nothing. If it is the latter, this project passes unconditionally and cannot fail."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/typescript/tests/typescript.spec.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"4802b67b4ad364c7a42308c406a898cf7468d2cd316db06d4c0f3dd3269aa6d7"}},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"92054c1ed72c318aebd2304d1a5ccc0da24ed892593a805d85f48571f666beb9"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lang/syn/src/codegen/accounts/constraints.rs: lang/syn/src/codegen/accounts/constraints.rs changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 50 in anchor_syn::codegen::accounts::constraints::generate_constraint_init_group at line 530. 6 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 15:34:14 \u002B00:00\u0027 --until=\u00272026-11-12 15:34:14 \u002B00:00\u0027 --full-history --no-merges -- lang/syn/src/codegen/accounts/constraints.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lang/syn/src/codegen/accounts/constraints.rs"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"eebf1d4729f8282ca9297b7a808b3e8ad38e88c0723b746a16ca8e7ca0e32062"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lang/syn/src/idl/defined.rs: lang/syn/src/idl/defined.rs changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 59 in anchor_syn::idl::defined::gen_idl_type at line 499. 6 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 15:34:14 \u002B00:00\u0027 --until=\u00272026-11-12 15:34:14 \u002B00:00\u0027 --full-history --no-merges -- lang/syn/src/idl/defined.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lang/syn/src/idl/defined.rs"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c4c11ead25472bcd62cd7108a0d574418ba9ad38b40a23ba922710724c4c184"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: cli/src/lib.rs: cli/src/lib.rs changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in anchor_cli::init at line 1781. 5 of those changes were fix/bug commits, and the other 14 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 15:34:14 \u002B00:00\u0027 --until=\u00272026-11-12 15:34:14 \u002B00:00\u0027 --full-history --no-merges -- cli/src/lib.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/lib.rs"},"region":{"startLine":1781}}}],"partialFingerprints":{"codehealthFindingId/v1":"abd6b7da70f02d32b7517793b3839817fe278fc23c341bfbcef6f2e5a78426bc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: cli/src/program.rs: cli/src/program.rs changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in anchor_cli::program::program_deploy at line 925. 2 of those changes were fix/bug commits, and the other 7 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 15:34:14 \u002B00:00\u0027 --until=\u00272026-11-12 15:34:14 \u002B00:00\u0027 --full-history --no-merges -- cli/src/program.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/program.rs"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ef50fdcb034411959c191e45e056a15f493bccde544384830007ccc91f5686a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lang/syn/src/parser/accounts/constraints.rs: lang/syn/src/parser/accounts/constraints.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 51 in ConstraintGroupBuilder::build at line 742. 1 of those changes was a fix/bug commit, and the other 2 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 15:34:14 \u002B00:00\u0027 --until=\u00272026-11-12 15:34:14 \u002B00:00\u0027 --full-history --no-merges -- lang/syn/src/parser/accounts/constraints.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lang/syn/src/parser/accounts/constraints.rs"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"247429eac61a4db631133f1fd0d2c29b966093ca4a142a0886b68d2d4c9decde"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lang/attribute/program/src/declare_program/common.rs: lang/attribute/program/src/declare_program/common.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in anchor_attribute_program::declare_program::common::convert_idl_type_to_str at line 84. 4 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 15:34:14 \u002B00:00\u0027 --until=\u00272026-11-12 15:34:14 \u002B00:00\u0027 --full-history --no-merges -- lang/attribute/program/src/declare_program/common.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lang/attribute/program/src/declare_program/common.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"53c08ac45c8c49ab97ec36168f76ee992d32bb8b4a50071d96f28708295c1113"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: avm/src/main.rs: avm/src/main.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in avm::entry at line 220. 1 of those changes was a fix/bug commit, and the other 3 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 15:34:14 \u002B00:00\u0027 --until=\u00272026-11-12 15:34:14 \u002B00:00\u0027 --full-history --no-merges -- avm/src/main.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"avm/src/main.rs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"84b868e3f0ffad84b3e93b8489f740f6d8b7a5baa72e4c7ba201ad5c282fc9a3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lang/syn/src/codegen/accounts/__cpi_client_accounts.rs: lang/syn/src/codegen/accounts/__cpi_client_accounts.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in anchor_syn::codegen::accounts::__cpi_client_accounts::generate_with_opts at line 35. 3 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 15:34:14 \u002B00:00\u0027 --until=\u00272026-11-12 15:34:14 \u002B00:00\u0027 --full-history --no-merges -- lang/syn/src/codegen/accounts/__cpi_client_accounts.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lang/syn/src/codegen/accounts/__cpi_client_accounts.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba52b4a4fde916af66ceab11da68acd95c7c6d944626701eef7aee3c8bd6c732"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: idl/src/convert.rs: idl/src/convert.rs changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 15 (its worst body is anchor_lang_idl::convert::legacy::const_seed_bytes at line 684), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(idl): convert string const seeds and relations correctly from legacy IDLs (#5257)\u201D; \u201Cidl: Fix legacy const seed conversion (#5127)\u201D; \u201Cfix(deps): bump heck 0.3 -\u003E 0.5 to drop the unbounded edition2024 landmine (#4960)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 15:34:14 \u002B00:00\u0027 --until=\u00272026-11-12 15:34:14 \u002B00:00\u0027 --full-history --no-merges -- idl/src/convert.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"idl/src/convert.rs"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c45a5eb03e61def7bec0a4eb2013ee517d249cb026984409af60715d5f0de44"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: lang/attribute/program/src/declare_program/mods/internal.rs: lang/attribute/program/src/declare_program/mods/internal.rs changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is anchor_attribute_program::declare_program::mods::internal::gen_internal_accounts_common at line 124), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(deps): bump heck 0.3 -\u003E 0.5 to drop the unbounded edition2024 landmine (#4960)\u201D; \u201Cfix(lang): emit \u0060\u0027info\u0060 lifetime on CPI client accounts struct with no fields (#4737)\u201D; \u201Cfix(lang): Improve program namespace qualification\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 15:34:14 \u002B00:00\u0027 --until=\u00272026-11-12 15:34:14 \u002B00:00\u0027 --full-history --no-merges -- lang/attribute/program/src/declare_program/mods/internal.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lang/attribute/program/src/declare_program/mods/internal.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"c41b5d5852f9c053c5f4cf741d611d24e646b940b1953482d9fb1f824da936e8"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: lang/syn/src/codegen/accounts/try_accounts.rs: lang/syn/src/codegen/accounts/try_accounts.rs changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 12 (its worst body is anchor_syn::codegen::accounts::try_accounts::generate at line 14), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(lang): stop \u0060zero\u0060 from aliasing an \u0060init\u0060 account (#4871)\u201D; \u201Cfix(lang/syn): Fix macro hygiene to avoid shadowing between user code and macro generated variables (#5105)\u201D; \u201CFix path hygiene for composite fields in #[derive(Accounts)] (#4668)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 15:34:14 \u002B00:00\u0027 --until=\u00272026-11-12 15:34:14 \u002B00:00\u0027 --full-history --no-merges -- lang/syn/src/codegen/accounts/try_accounts.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lang/syn/src/codegen/accounts/try_accounts.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"09e4ebe53d59f24b5ca414409fdcf05b6a242abba0676ce7248741d5739a6a8e"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: lang/syn/src/codegen/program/cpi.rs: lang/syn/src/codegen/program/cpi.rs changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 4 (its worst body is anchor_syn::codegen::program::cpi::generate at line 14), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(deps): bump heck 0.3 -\u003E 0.5 to drop the unbounded edition2024 landmine (#4960)\u201D; \u201Cfix(lang/syn): Fix macro hygiene to avoid shadowing between user code and macro generated variables (#5105)\u201D; \u201Cfix(lang): Store CPI return data in Vec (#4931)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 15:34:14 \u002B00:00\u0027 --until=\u00272026-11-12 15:34:14 \u002B00:00\u0027 --full-history --no-merges -- lang/syn/src/codegen/program/cpi.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lang/syn/src/codegen/program/cpi.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"b59b89773bee652d876beeda18967481b3da68c2c1e62f0bdc89c7b2da4faef2"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: lang/attribute/program/src/declare_program/mods/cpi.rs: lang/attribute/program/src/declare_program/mods/cpi.rs changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 4 (its worst body is anchor_attribute_program::declare_program::mods::cpi::gen_cpi_instructions at line 25), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(deps): bump heck 0.3 -\u003E 0.5 to drop the unbounded edition2024 landmine (#4960)\u201D; \u201Cfix(lang): emit \u0060\u0027info\u0060 lifetime on CPI client accounts struct with no fields (#4737)\u201D; \u201Cfix(lang): Store CPI return data in Vec (#4931)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 15:34:14 \u002B00:00\u0027 --until=\u00272026-11-12 15:34:14 \u002B00:00\u0027 --full-history --no-merges -- lang/attribute/program/src/declare_program/mods/cpi.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lang/attribute/program/src/declare_program/mods/cpi.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"13d0448d6ab70116d4c385cc8c37b1d6e9d7c07f87da6173cee33b0e509e7756"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 4 significant file(s) lose their only recent owner: avm/src/solana.rs, docs-v2/src/components/performance-benchmarks.tsx, avm/src/attestation.rs, docs-v2/src/lib/landing-benchmarks.ts. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"acd5a3b8d0994941d542cf7042c9e2617f170fd6d3f482d8f64b93741cd08147"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 4 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (8 single-owned of 201 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 201 of the 384 production source files in this repository met that bar). They are anonymized user #2 (1 file(s)), anonymized user #3 (1 file(s)), anonymized user #4 (1 file(s)), anonymized user #5 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: ts/packages/anchor-errors/src/index.ts, ts/packages/anchor/src/program/namespace/account.ts, ts/packages/anchor/src/coder/borsh/accounts.ts, ts/packages/anchor/src/index.ts."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this should work but it\u0027s not tested \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":"ts/tests/src/spl/stake-pool.ts"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"56fca5cea428c9e44bcb6822c4661d8b193982958eef93d3e91030e8d772e4e7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this should work but it\u0027s not tested \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":"ts/tests/src/spl/stake-pool.ts"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"c543f73386411d825e86d7c926bd8cba7cb0ebd63988a393e7d86869a0b079be"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: don\u0027t rely on the error string. web3.js should preserve the error \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":"ts/packages/anchor/src/error.ts"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e1a928f1cb7cf09fc703a322c2a238bf631527c0765d978dcd3b8b0f13f9d1b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this should be configurable to avoid unnecessary requests. \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":"ts/packages/anchor/src/program/accounts-resolver.ts"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f4d7dc721313bae7dafa9b3af2f1ebeb1a4a6bafc154334fd7a5123f618acf2"}},{"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":"ts/packages/anchor/src/program/event.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"71c54624ae6bbc92d8c841470e95ae5dcc13377a0cd18283a1af71df15169c41"}},{"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":"cli/src/lib.rs"},"region":{"startLine":4395}}}],"partialFingerprints":{"codehealthFindingId/v1":"8470f2bf15ccab0b8e5f4387be27b9f9971129ae8e124c23562ce76bfdec6358"}},{"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":"ts/packages/anchor/src/program/namespace/instruction.ts"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"12d9a3da9d4772b3f4342f3ff7e1bd304217b3865f1d35f2e1d268d3d4e31dee"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Infer event types \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":"ts/packages/anchor/src/program/namespace/simulate.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"29912c0a993ad020ccb0dfc1480e0fa4c10d14477c06d856acdb0971c5bad3b8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this won\u0027t use the appendData. \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":"ts/packages/anchor/src/coder/system/accounts.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5f8b7fe2067e4c4942c7ce538b05805d773f809273f756e0e95cb9737f9ae52"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Support multisig signers \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":"tests/spl/token-proxy/programs/token-proxy/src/lib.rs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"beb758ac437a568f5ad702d0707a81c14ead5222637010982a670e8fd27c95b0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Support more expressions in the IDL e.g. math operations? \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":"tests/pda-derivation/tests/typescript.spec.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f8360ba5dd26eb4f55490b54ea9956dcbb9de210259c0b18fed88a6e0e67d30"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Confirm USDC mint address on mainnet or leave open as an option for other stables \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":"tests/ido-pool/programs/ido-pool/src/lib.rs"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"bea534b8bcc6d976c80a819e24b1af2550775b04fff4db0a28fab578d026e9bb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO replace these with the ATA constraints when possible \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":"tests/ido-pool/programs/ido-pool/src/lib.rs"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"30d1ed6c7cc29f7db979412850d414c97afaace4ddca6ec6554c2187d3678d36"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO replace with ATA constraints \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":"tests/ido-pool/programs/ido-pool/src/lib.rs"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a87446224f7953ddffccb55ad633cef02fca366c54a03382ce706cc87af30cc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Fix types \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":"tests/idl/tests/idl.ts"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8f48341a5a265cc88ccbc5a8ec7a0325538c158afd8ce090e83203b8c3888f9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove this declaration and automatically resolve it from \u0060solana-program\u0060. \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":"tests/idl/programs/idl/src/lib.rs"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8ba507ca9319889a6db97c9e6063d040417788a1d437ff1bc885842b93c455c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Use this from client-side (instead of hardcoding) once \u0060program.constants\u0060 is supported \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":"tests/idl/programs/idl/src/lib.rs"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1df010442949a08802947a2c68169256c35cf19935211217a7aed96a254416b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add a utility type that does this? \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":"tests/declare-program/tests/declare-program.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"be1b57d8d9269b85d660785ad939b928c4c17d96f10c4dd303a8631fa25538b6"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Port this to the new create-buffer/write-buffer subcommands \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":"tests/anchor-cli-idl/tests/idl.ts"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d5df6c9e18bbdcdd96ebcef32a9f44474b131f9db4e58e9ee915abc626efbc0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Find a better way to handle discriminators of wrapped external accounts. \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":"spl/src/idl_build.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"3369fc1f5312af5116ece5bd5203be8d40a4a0f8a5f2b4334f8b9f11e3bd3733"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: support multisig \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":"spl/src/token.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fdc188194aaf1ce13bc3778cdff092b20da633ed42a5ab5fcf69d1a5f9287cb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: support multisig \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":"spl/src/token_2022.rs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"da2b8d4ed9d128ea8994afd55f9a925b8e829e3a50b190913e2da8535e635888"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Support multisig signers. \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":"spl/src/token.rs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"aee1de9ce14f619f9a069572134243db186b90c626f30c98bfb99086b5a911ee"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Support multisig signers. \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":"spl/src/token.rs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"f886571147274c7600387b7baedc96b6694aceea900fe70585ebf00b121d375d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Support multisig signers. \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":"spl/src/token.rs"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c99c3b74aa558e1366f9f1c09072119934d0c845a93be03a7a9c85cb370de2a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Support multisig signers. \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":"spl/src/token_2022.rs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"65569c22e270bfe0e319005d8d06887f8dddad99db4a3898ae653055afe6b447"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Support multisig signers. \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":"spl/src/token_2022.rs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea7b417c87e2f4e137c2cea8184215bca7efe8d1bbd3fcfdc0c05549616dfb89"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Support multisig signers. \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":"spl/src/token_2022.rs"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bebf00f3df0fd6659dff6f7f17af1de0d3990552298f7e0d508f510c1ae472e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this whole method is a hack. Do something more idiomatic. \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":"lang/syn/src/parser/accounts/mod.rs"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f1e1a8bfb9df22a8ba1212ea4f3be42fea23ffaacab12d8d09dbc1d4efa150e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: allow segmented paths. \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":"lang/syn/src/parser/accounts/mod.rs"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ebc189031a38c6444f0cae7cf59a59a962eeef4707b2520d5b5dfa3e63c2b04"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove this once either \u0060bincode\u0060 serialization is supported \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":"lang/syn/src/idl/accounts.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"14885b972e6f1536d3337afec4f6da75ad4d90388997c211473fc96d33457d35"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Struct and enum \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":"lang/syn/src/idl/external.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7683ad1bb60f408e64083a76ccc49cfc5cb4c8e77ba581b87763319c5cffba1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: calculate the account size and add it as a constant field to \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":"lang/syn/src/codegen/program/accounts.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a7964fd83b6710d068f327123ed181353e98ec2457ab5118fb5e5b2f695da6e"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // Hacky workaround because of some internals to how account attribute \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lang/syn/src/codegen/program/idl.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"a221afaaebc649842ec0f0f9e0590cb1ae91f2c2472a3ecded718032fa9335cc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Should we drop the initialized fields manually? \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":"lang/src/accounts/lazy_account.rs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"497c2f55481e4e69dd48eda367fabcded892f91e4a9694002e82451e11c91dda"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Consider storing the default enum variant in IDL \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":"lang/attribute/program/src/declare_program/common.rs"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2b963ca50c6f6f151b8dcbc243800401aa7a717b78e530d2dd1bc101a3643d4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This method can be optimized to *only* serialize the fields that we have \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":"lang/attribute/account/src/lazy.rs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b3c00915f5ce71792a274e43f235356f6d71632260a8eed463d2104978b432c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Move to utils crate \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":"idl/spec/src/lib.rs"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"a273b9624bfe8bb45414a7cec48b6df82d3a20788cf8d113b57a0081d98c866b"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Inline a no-spinner version of \u0060RpcClient::send_and_confirm_transaction\u0060 \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":"client/src/lib.rs"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"928f12ebd52f6b64a8a02c5edf0e2df07c81dfefc0ae22ca22995333630f2882"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Consider making this a hard error in \u0060deploy\u0060 instead \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":"cli/src/lib.rs"},"region":{"startLine":2369}}}],"partialFingerprints":{"codehealthFindingId/v1":"99cf13bd7618e29a0ddc94beaf1f88e787ca18b72c002147e1a36aff72cba0cc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Generics \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":"cli/src/lib.rs"},"region":{"startLine":4424}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9aa77bccdeec64ae3f4a36389e3b59fb36aef0d858489d24c0b9eba41a4e026"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060anchor\u0060 is a published package (\u0060package.json\u0060 without \u0060\u0022private\u0022: true\u0060) and neither \u0060ts/packages/anchor/README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"459eda893a958ee7593c0d73bcd48fe483ab1cd6fdbb831e6edc66fcabf589e9"}},{"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 \u0060cli/Cargo.toml\u0060 makes this repository a deployable product (line 15)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/Cargo.toml"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee59286c118d7f684176f93f8b78191695c358d4e05a536183a2fa28c8f99ebf"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Fetch the counter account\u0022 repeats the code it sits on: 3 of its 3 words (fetch, counter, account) are already in \u0060const counterAccount = await program.account.counter.fetch(counter.publicKey)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/content/docs/v1/clients/_typescript/example_client.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"055cfb3453948debf60d9bca32e8b85d48fdc49c673402443fb13d70fe18c747"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Find matching config based on URL\u0022 repeats the code it sits on: 4 of its 5 words (find, matching, config, url) are already in \u0060const matchingPattern = Object.keys(tabConfig).find(pattern =\u003E\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/app/components/inkeep/useInkeepConfig.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"17f1b99eb2b336106e6290df01bd934fa662ee00488c632f7b9a6ce73ef1ce6b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u00223003 = AccountDidNotDeserialize\u0022 repeats the code it sits on: 4 of its 4 words (3003, account, not, deserialize) are already in \u0060assert.strictEqual(\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/accountloader-realloc/tests/accountloader-realloc.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"4616ab0821af1308fcd1acb4f0f7daab9e740bb6f7dca0b3e7a70486bb302329"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Upgrade the IDL of program one to the IDL of program two to test upgrade\u0022 repeats the code it sits on: 4 of its 5 words (upgrade, idl, program, two) are already in \u0060execSync(\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/anchor-cli-idl/tests/idl.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4e62c495f10ae665b95ffe516fd01f6cf3c37ea2cffcb0b8a79acb29e44c346"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create token accounts for the mint.\u0022 repeats the code it sits on: 4 of its 4 words (create, token, accounts, mint) are already in \u0060buyerTokenAccount = await nftMintClient.createAssociatedTokenAccount(\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/auction-house/tests/auction-house.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"7380d0bf493446fb2a9c3f8fe4dd6b8e203d5f5772a6801cef10d063bc56163d"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Cache lock file in ./locks\u0022 repeats the code it sits on: 4 of its 4 words (cache, lock, file, locks) are already in \u0060await LockFile.cache(newVersion);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/bench/scripts/bump-version.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"93258aecc72dc17558c618fe2c606b2580e133efd6328486822bc1abdd54d698"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Update version data\u0022 repeats the code it sits on: 3 of its 3 words (update, version, data) are already in \u0060markdown.updateVersion({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/bench/scripts/sync-markdown.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c6da18080c09b8ab0dba6befd192d907c43996ef717d1a06267e10b4a7d7e98"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Wait until the IDO has ended on-chain.\u0022 repeats the code it sits on: 4 of its 5 words (wait, until, ido, ended) are already in \u0060await waitUntilClusterTime(provider.connection, idoTimes.endIdo.toNumber());\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/ido-pool/tests/ido-pool.js"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"53382c79617a8d1d6bbc172c459ea3716fb2a6b01b4b719c2964ee6754570014"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Initialize the expected account of the old program\u0022 repeats the code it sits on: 4 of its 5 words (expected, account, old, program) are already in \u0060await oldProgram.methods\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/interface-account/tests/interface-account.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"d875127c4570efa96f6091a00c0a4be8d973c4abd1b9ab3ccb65b070e328f947"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Initialize the expected account of the new program\u0022 repeats the code it sits on: 4 of its 5 words (expected, account, new, program) are already in \u0060await newProgram.methods\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/interface-account/tests/interface-account.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb8e81c4ca303b63280c251edaf33b819bc9ad27e39cbd82964a5ccdcadeebe0"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Other owner approves transaction.\u0022 repeats the code it sits on: 3 of its 3 words (owner, approves, transaction) are already in \u0060await program.rpc.approve({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/multisig/tests/multisig.js"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd6a6369f06ddbf9ed3a0a1beed34bed77390ec68b8ed3b6ef1d93cfc0fa0c40"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Aggregate price updater.\u0022 repeats the code it sits on: 3 of its 3 words (aggregate, price, updater) are already in \u0060const aggregatePriceUpdaterAccountKey = new web3.PublicKey(\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/pyth/tests/oracleUtils.ts"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaffbed66b5a41c1cc6a0cd33e73106b03bbeba3584a21d02872e7e1e065a652"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022update_and_remove_token_metadata\u0022 repeats the code it sits on: 4 of its 4 words (update, remove, token, metadata) are already in \u0060await program.methods\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/spl/token-extensions/tests/token-extensions.ts"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b2d4c2fe1c0e28f54344bd53827f5e0e5ab1b592ffe45885df050b77bb4548c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Initialize the extra metas\u0022 repeats the code it sits on: 3 of its 3 words (initialize, extra, metas) are already in \u0060await program.methods\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/spl/transfer-hook/tests/transfer-hook.ts"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"78f5c52b3ec4a6e730423c5e8812f5d464dd2361d0b840446a08ac1e21359ada"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022IDL instruction errors.\u0022 repeats the code it sits on: 3 of its 3 words (idl, instruction, errors) are already in \u0060export const ANCHOR_ERROR__IDL_INSTRUCTION_STUB = 1000;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor-errors/src/index.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4a63c9161bee604e086ce81ad29dfa55147f418d34518b37efa3d6a88630483"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Handles logs from *this* program.\u0022 repeats the code it sits on: 3 of its 3 words (handles, logs, program) are already in \u0060private handleProgramLog(\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/src/program/event.ts"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"d28bdbbfb051a20be21a65f0c502a42a2d7abb47e015a34cf72350b0bfd28b32"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Get current slot\u0022 repeats the code it sits on: 3 of its 3 words (get, current, slot) are already in \u0060const currentSlot = await provider.connection.getSlot();\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/tests/src/spl/binary-oracle-pair.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b6ff4e3ba1b0a45ab099c82d800733c39982ebbed51e70b0c22cd235b6ccfba"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create colleteral supply account\u0022 repeats the code it sits on: 4 of its 4 words (create, colleteral, supply, account) are already in \u0060const colleteralSupplyAccountKp = new Keypair();\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/tests/src/spl/token-lending.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef46245a5b1fcb3236cb8a6f51a57db4522612a874ab6317ccd548b982b6b59e"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create user colleteral account\u0022 repeats the code it sits on: 4 of its 4 words (create, user, colleteral, account) are already in \u0060const userColleteralAccountKp = new Keypair();\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/tests/src/spl/token-lending.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"32957eccdf75020c618abe5f002681aadecaf4ff5a0faa645410c82a148761fb"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create liquidity supply account\u0022 repeats the code it sits on: 4 of its 4 words (create, liquidity, supply, account) are already in \u0060const liquiditySupplyAccountKp = new Keypair();\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/tests/src/spl/token-lending.ts"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"d08c5077a638d74783d5eb2faef8df93fa41e6094339f1e89043d9807211b6a6"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create liquidity fee receiver account\u0022 repeats the code it sits on: 4 of its 5 words (create, fee, receiver, account) are already in \u0060const liquitidyFeeReceiverAccountKp = new Keypair();\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/tests/src/spl/token-lending.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"83fc07136c447376d0d9315995e95e2b4f4bec7673a062481065d4b1d51bb0f6"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 3 of 38 project(s) overshoot their size bounds, lowering Project Cohesion to 8.5/10. The most over is \u0060cli\u0060 (27610 LoC, 127 module-visible types across 6 directories). 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":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"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":"e57a2962499b5bc05fcbc9c69ea7de1dc7f66368deefc9aaa00fbdbdf1d4412a"},"properties":{"commitSha":"1053b717dc827272ab4edc848149dc014dabcee4"}},{"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":"aed04295a80b6a7535c436c2bc54bcb33adf85383031f56e2566c91ce855eb3f"},"properties":{"commitSha":"4004c4e964ffa2399999e6fc900232df6d164f41"}},{"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":"ab2e016d3c8e4eb4abc44cf575332593af013515a73d44026c575a8a91a1f839"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b089e1f3fc9371d43aacceff95282a490ff7e390c639e5af751290b9dd9fb93a"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6cb36c07958e32659bd809133e76b291cb7030556f59149358c92db74296ef19"},"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":"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":"da42368e56ec152179a10cb066025d2d433b3a63f3df44804eaaeed182bebb08"},"taxa":[{"id":"CWE-125","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":"ea38b213bfc33652d9855fb8d833f209d8f8eb792edd2c54115b11cdda29af35"},"taxa":[{"id":"CWE-125","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":"7b7abf5947507fd6dbeacbb3dec0e371f0c1b2256bd84588abe51aa1bd51a1a0"},"taxa":[{"id":"CWE-125","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":"f3e4ec7dc17dcf4747837dbf4f7cd0aaf38bef77970686c6194bbcae28fb87fb"},"taxa":[{"id":"CWE-125","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":"d453f7e1b0713c13afab8074049a36006ba2e880f6e6d33ffe24ced7b86004e8"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06: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":"d24a1354d7532ba17eea94a1fa0922e706c7f1c6fbd675cdaf1c0e4a098232bc"},"properties":{"dependency":{"package":"astro","version":"6.0.2","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]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f4a77ce265513afceb6f6bd572e386a0f08e272b036987569875745b0f207b77"},"properties":{"dependency":{"package":"form-data","version":"3.0.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"30ac563a6a338312fb0d8a9e6db97f6f1af18fbaee727840da63ced2786f1fe1"},"properties":{"dependency":{"package":"js-yaml","version":"4.1.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"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":"4992d3c51ec70fc7c54f2ae7705f7a4f36bc3774530383e434f4bffdc3e075c5"},"properties":{"dependency":{"package":"nanoid","version":"3.3.12","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"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":"465cb801adfc37e5b6a315a64e39569d172a53a6d97b90b6b1a13731ece57a4c"},"properties":{"dependency":{"package":"svgo","version":"4.0.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"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":"98ac59ff651bc13d46468fd8095de5a064f8618158f96e54aaddfabfce3ce289"},"properties":{"dependency":{"package":"brace-expansion","version":"5.0.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"350124b9bcb53207ac287dab956df70a4b30f13f8ae9bf8535aacf2d39b15901"},"properties":{"dependency":{"package":"fast-uri","version":"3.1.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"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":"65ebd19a87b8f6399682a5183809e9d90ad2f0d483cb90f5b28d0a06df2346bb"},"properties":{"dependency":{"package":"vite","version":"7.3.3","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]"],"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":"39a2b9d6a7480880996d5d32fc06e607c241f66aa59ad28fae7ac39521d4c419"},"properties":{"dependency":{"package":"source-map-js","version":"1.2.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"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":"63d9b5e317b3ab576983bb49a7d664041a6269d4642118ccde745045b0050dd9"},"properties":{"dependency":{"package":"browserslist","version":"4.28.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"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":"243ece894dcd6a211a44b9cb91ef7b5f337aacd21e6829ff0654977ca6239181"},"properties":{"dependency":{"package":"smol-toml","version":"1.6.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[GHSA redacted]"],"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":"ef2a49b692b3b988e85397e21a1fbadf4bd6f7ed029265097058777f5c434aa8"},"properties":{"dependency":{"package":"devalue","version":"5.8.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]"],"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":"b8f2a9a324fb4bdf3ae8f6dfe9815eddaa0be26bb00b8343ae851bc8a41cfbd8"},"properties":{"dependency":{"package":"zod","version":"4.4.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a116e018038c9071abdc6800bb7d76c05e2dafb24d8949e0dd5d67cc9fc05442"},"properties":{"dependency":{"package":"postcss","version":"8.5.15","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3c4d69c05edca9fed860214ee384dc9a390a2208fe7918e4de758a31dfef34f9"},"properties":{"dependency":{"package":"brace-expansion","version":"5.0.6","advisory":"[CVE redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]"],"reachability":{"kind":"unknown"}}},"taxa":[{"id":"CWE-400","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-674","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f70f7073cdb0f355978a6f78140aa5562519b321e4cf964cbe0439d3f79bdc1d"},"properties":{"dependency":{"package":"vite","version":"7.3.3","advisory":"[CVE redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]"],"reachability":{"kind":"not-imported"}}},"taxa":[{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05: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":"f8bda5f59b5ea12f25f2b0b7838665383757b25d40c4ab932213f2ee0b81b9a4"},"properties":{"dependency":{"package":"fast-uri","version":"3.1.2","advisory":"[CVE redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]"],"reachability":{"kind":"not-imported"}}},"taxa":[{"id":"CWE-436","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-551","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06: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":"b09006fd3e4247da236f646b63feaff6434d20f8b56a4d6f2fa1131edc55ea05"},"properties":{"dependency":{"package":"js-yaml","version":"4.1.1","advisory":"[CVE redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}},"taxa":[{"id":"CWE-407","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e68fe5587c03ccc725a93434dd6a2ed945b7ae581a37fd5331084eb69c555c66"},"properties":{"dependency":{"package":"nanoid","version":"3.3.12","advisory":"[CVE redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}},"taxa":[{"id":"CWE-835","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1e3d11cd6848eecb6fdba3db7db857191841f0ec920ad4a39f1de95e657379b7"},"properties":{"dependency":{"package":"browserslist","version":"4.28.2","advisory":"[CVE redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}},"taxa":[{"id":"CWE-1321","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10: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":"055c95bef72b0cf6b55696a3e8df24b5c2f6250b03250c1b758fbadf39157826"},"properties":{"dependency":{"package":"postcss","version":"8.5.15","advisory":"[CVE redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}},"taxa":[{"id":"CWE-22","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d88c00d2355087bbd3034d5eff9036a87d269167c8e09e9b0e647e10170c2783"},"properties":{"dependency":{"package":"svgo","version":"4.0.1","advisory":"[CVE redacted]","aliases":["[CVE redacted]","[CVE redacted]"],"reachability":{"kind":"not-imported"}}},"taxa":[{"id":"CWE-184","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"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":"3e7beccfb72e587ad4bacb43302825134062a9dff76f612ae9842af5221fd809"},"properties":{"dependency":{"package":"smol-toml","version":"1.6.1","advisory":"[CVE redacted]","aliases":["[GHSA redacted]"],"reachability":{"kind":"not-imported"}}},"taxa":[{"id":"CWE-606","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-835","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e610e742b0758db269eb6b9feb512ed4a9137fc954c081a1246e39b07038dfcc"},"properties":{"dependency":{"package":"devalue","version":"5.8.1","advisory":"[CVE redacted]","aliases":["[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}},"taxa":[{"id":"CWE-200","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-226","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":"67c6989af702049e5a4253fe764e5b892d51f1997cfbf60d109b5bca98ea4a57"},"properties":{"dependency":{"package":"source-map-js","version":"1.2.1","advisory":"[CVE redacted]","reachability":{"kind":"not-imported"}}},"taxa":[{"id":"CWE-1284","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4cff98976d165f1b7ce47b2313a601d18b5c15d618a953b77c3e1be554ec51f6"},"properties":{"dependency":{"package":"sharp","version":"0.34.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ac2a12142014cc6b35110556d6bc99ffa4ae93b4974ba8f8a20b059eba9afe20"},"properties":{"dependency":{"package":"bigint-buffer","version":"1.1.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2e8ab1c5f7866ee8d3fb239c424e03fcfd7661761f71b094820445c3a3166ea7"},"properties":{"dependency":{"package":"brace-expansion","version":"2.1.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d512c9fe50c1f63aea73d4da67a1972efb51b3dc6b5cbea5bff309f6c370bfa2"},"properties":{"dependency":{"package":"js-yaml","version":"4.1.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90b6862410dff04866239edc6d38b114d263a514366d29c3122cf54322d23e1c"},"properties":{"dependency":{"package":"toml","version":"3.0.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"af3908892413d7a3386f21cdcd7651a4df96a20b0747772af3482a6ce2351145"},"properties":{"dependency":{"package":"rollup","version":"2.70.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c6fd7094e9e3d07af7f7c6b6f41f1ee674859a83ac201e996941911cffd1dbe7"},"properties":{"dependency":{"package":"rollup","version":"2.70.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e8220a20e04c2d146e61e71099d4ed4a6e867f0ba62a8ad3fd5322c24c5aba8b"},"properties":{"dependency":{"package":"rollup","version":"2.70.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a9b5b4a767ddc6b33e9f4ea4cdb560cd172c4489d8bcaf88bff7e199930b2703"},"properties":{"dependency":{"package":"rollup","version":"2.70.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4ded332c1154ed342f93db6a16f4c38c78808a6ab7b676114794c550ad30aeef"},"properties":{"dependency":{"package":"rollup","version":"2.70.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ee772b34652a46a7f7d2c88702e5f25e28f10642bf3bd6266169e54a3c935006"},"properties":{"dependency":{"package":"rollup","version":"2.70.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6e905c5cf09624224d4c209ae975ed995db9dd55e6010937788dfc3f282615f9"},"properties":{"dependency":{"package":"rollup","version":"2.70.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"30a64057696b02e2c4a81a1aa66470043ee88da4b5b2e7d8992ef84f778ad7df"},"properties":{"dependency":{"package":"rollup","version":"2.70.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bc6e5701aa37f0094bf55e0147a77fde328c5602d7b154cefa9525eeab6a7dcf"},"properties":{"dependency":{"package":"rollup","version":"2.70.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"35ff7a08f7b12bce137ca99f70be829d11de3102cee536fb23adc4ecc3d04860"},"properties":{"dependency":{"package":"rollup","version":"2.70.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dd9a4c547e1ad8f5d06e1fd4f2fc201fc03b7f7a1cdc1b6fa1df031684866fa1"},"properties":{"dependency":{"package":"rollup","version":"2.70.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"aa6ce1b09d764f4e32d21e529cbee9354e3e202715903de6a19aefc653e1053f"},"properties":{"dependency":{"package":"rollup","version":"2.70.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"147de6a01b4007e7cd956bb744726c64edf1c39262ae7a186b81d0f2c3e7bca0"},"properties":{"dependency":{"package":"rollup","version":"2.70.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c51d0d9d6704ef7540979020e0e94df52d8217efeea27a6db4ee30b907cf9c6f"},"properties":{"dependency":{"package":"bigint-buffer","version":"1.1.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"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":"266be589fdec4966d673498a3a954c63b5a9c4b7c23df9f4cdab267c469c209a"},"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]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3b12acf734c9f1b8f6bae5b0d0fa370cc46357521424809da399b4410497893b"},"properties":{"dependency":{"package":"brace-expansion","version":"2.1.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"15c201a53f42a8c8e72253b56ff54d788755aa89afc1b9e1e70d81898220bace"},"properties":{"dependency":{"package":"braces","version":"3.0.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e13aaef2d1b7cb2ee9efc884e97e8292dfe6a4e8fa1a2badfff362f15732ae26"},"properties":{"dependency":{"package":"browserslist","version":"4.21.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"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":"1321878150cdcad1243fce076426e764ca5f8cfa337f7dce19914d2abe8bfb47"},"properties":{"dependency":{"package":"cross-spawn","version":"7.0.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"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":"87d73a8f201ae85325d5dacc9330315a410b4a68d50148b78451950caa84a226"},"properties":{"dependency":{"package":"flatted","version":"3.2.7","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"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":"30b7cd13244c14c0dcc21a73b70595e11c0174d2eb6dfd754197a2d660ab1fc5"},"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]"],"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":"51b88f82a376853600674eaf4ab8dea64b7809994ee89bc271350d3642edea37"},"properties":{"dependency":{"package":"minimatch","version":"3.1.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"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":"5b79daf8398f45bde07bc752e35ca7b8e5e2477547b044df2fcbd3b9551d2d39"},"properties":{"dependency":{"package":"picomatch","version":"2.3.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"85ceb23e3b4b0bc67eb86ce4b9dbcd936ec238a2bf8f343383b52bdf3e16eab5"},"properties":{"dependency":{"package":"rollup","version":"2.79.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"test-or-tooling","file":"ts/packages/anchor/package.json"}}}},{"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":"8cff263bfdde585038e083f82042b0395985e18b3b28e903b1f1b78bf987ecd5"},"properties":{"dependency":{"package":"semver","version":"5.7.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"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":"ea7ae2ea0bf8bdc267e1c6b3f8178e1cc82ca7f7f88e8f60472f575bdd9adccc"},"properties":{"dependency":{"package":"semver","version":"7.3.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"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":"d97fd0fcf16172b3739debc4a099824a0fee75c009440984b337f7f405e1085b"},"properties":{"dependency":{"package":"semver","version":"7.3.8","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"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":"375ff7f9f583c1a4e26341fce1adf8ad8421f1f695aa2eb737d39a7d88548e10"},"properties":{"dependency":{"package":"semver","version":"6.3.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"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":"399b641a1002e75c8bff8b9c396c66ba0c165468034e5af1632a4a0b59ea9a3e"},"properties":{"dependency":{"package":"ansi_term","version":"0.12.1","advisory":"RUSTSEC-2021-0139","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b066a2b58ae4db7be6d042309847a8825c9fbea4c10daa49bc531dab4309fb0b"},"properties":{"dependency":{"package":"atty","version":"0.2.14","advisory":"RUSTSEC-2024-0375","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fd5c585b8c54c369819773fdb0ddd1383b1d0b3ca7573d38678c34407fbff305"},"properties":{"dependency":{"package":"atty","version":"0.2.14","advisory":"RUSTSEC-2021-0145","aliases":["[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4975822701b3b96654c82dada9bad969e348a6adefa52cd3bba1b6cfd71c3bb7"},"properties":{"dependency":{"package":"bincode","version":"1.3.3","advisory":"RUSTSEC-2025-0141","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ffd98c2d4fff4aca337654c827c9a4705f647de283621c5887a11a6c94642c5a"},"properties":{"dependency":{"package":"borsh","version":"0.10.4","advisory":"[GHSA redacted]","aliases":["RUSTSEC-2023-0033"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cc4db900d7247116e90ac1f55322889d7c04a2f09430308fea72e799e9229468"},"properties":{"dependency":{"package":"crypto-bigint","version":"0.5.5","advisory":"RUSTSEC-2026-0387","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"109eb8c2be00952287a6643744da7dcc2c9a7a6618d7cac60ea6539c1687dfd6"},"properties":{"dependency":{"package":"ctutils","version":"0.4.2","advisory":"RUSTSEC-2026-0385","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"45f6c0dd73434ccd86356af3cc9622ade7a0e177107528134623e6a917ba7888"},"properties":{"dependency":{"package":"quinn-proto","version":"0.11.18","advisory":"RUSTSEC-2026-0523","aliases":["[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0524"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"28f0bc6d34596072b24d37b19b745b7394ed4ce99a53e032439b262379e02dc1"},"properties":{"dependency":{"package":"quinn-udp","version":"0.5.15","advisory":"RUSTSEC-2026-0538","aliases":["[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e9cf74773a6e34d2f2cd5f4cc024a1a57cb07e5917cf84c703df779cadb57013"},"properties":{"dependency":{"package":"rustix","version":"1.1.5","advisory":"RUSTSEC-2026-0486","aliases":["[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"22995033016ae3861d571b2c92ada6244555e3aeec08bc870b909cda12b35c06"},"properties":{"dependency":{"package":"rustls","version":"0.23.45","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0346","RUSTSEC-2026-0347","RUSTSEC-2026-0348","RUSTSEC-2026-0349"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d38736f2611cc8a68dd6d9310c78b5d2d83dfcca00f3553b710b7486c0d08717"},"properties":{"dependency":{"package":"ruzstd","version":"0.7.3","advisory":"RUSTSEC-2026-0344","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e274d07c7eaa2c82d1766af95694654337418f6597bdcd93b9c182a5c9b742f4"},"properties":{"dependency":{"package":"ruzstd","version":"0.8.3","advisory":"RUSTSEC-2026-0344","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c64e30c28e3c0e2ac4c865fc1656b78d3404e0bf0484e55f9176b7c5f283f360"},"properties":{"dependency":{"package":"tokio","version":"1.53.1","advisory":"RUSTSEC-2026-0386","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2b5cc6a78fe02a95b2f6755616011982ae866dcba8c2aeaae7b037f36ce19be5"},"properties":{"dependency":{"package":"unsafe-libyaml","version":"0.2.11","advisory":"RUSTSEC-2024-0449","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5ceb9040e13548b3df718b94867858f8e5659519eb178fbf2fd0e4e23343e0da"},"properties":{"dependency":{"package":"yaml-rust","version":"0.4.5","advisory":"RUSTSEC-2024-0320","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f4999ef69e42f46a403f3866a4a634365963f93fdd6e82c0c4a8e528a960ab52"},"properties":{"dependency":{"package":"zstd","version":"0.13.3","advisory":"RUSTSEC-2026-0391","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"06e8dc8c07565b965cad3fead890e0d682e96e4f994ab4a0654e3f10afe7962d"},"properties":{"dependency":{"package":"zstd-safe","version":"7.3.0","advisory":"RUSTSEC-2026-0395","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"414bb4a49ee404ddc9dbe92931374dee643d4d3104e067391ed93041a77ff631"},"properties":{"dependency":{"package":"zstd-safe","version":"7.3.0","advisory":"RUSTSEC-2026-0396","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d67834474e5564706ab5d6117a7537fa7ddd9f89e1070ff0f40846a68262b203"},"properties":{"dependency":{"package":"zstd-safe","version":"7.3.0","advisory":"RUSTSEC-2026-0397","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"64bc44f41a35cd29a5d01a7b192ce2cc5f1d458c15d9df1d5239ebb5b7c6fd43"},"properties":{"dependency":{"package":"zstd-safe","version":"7.3.0","advisory":"RUSTSEC-2026-0399","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a79bcf37fda3b3cfb40243fa81b1818f80a0fe095c267b68e3c7eee6f042ddc9"},"properties":{"dependency":{"package":"zstd-safe","version":"7.3.0","advisory":"RUSTSEC-2026-0400","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"21df614167acad094349de8aa7cfc685e485f636d67b1ded35b43230df65a136"},"properties":{"dependency":{"package":"zstd-safe","version":"7.3.0","advisory":"RUSTSEC-2026-0401","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fd61c6a1a6d23109e3da0a091cdbb2ecd3102dd1235e0548e2d8ffd7db2a7005"},"properties":{"dependency":{"package":"zstd-safe","version":"7.3.0","advisory":"RUSTSEC-2026-0402","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a910032c7367726c7f26107809b36a5b0ab01a6e3af6f2b0cf67b659ecca9e49"},"properties":{"dependency":{"package":"zstd-safe","version":"7.3.0","advisory":"RUSTSEC-2026-0404","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d11388e41908d6112e7f61d01d0c0d9062830b07945356073c8069de5b88d627"},"properties":{"dependency":{"package":"zstd-safe","version":"7.3.0","advisory":"RUSTSEC-2026-0405","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dbb5f2efe8d9cca6344840981b65d21b774960589fc9976e6690dc84fce97102"},"properties":{"dependency":{"package":"zstd-safe","version":"7.3.0","advisory":"RUSTSEC-2026-0406","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d7870b77ea4843334d11fffa265d6d0542e94eec7f4c8e852762d55c28578136"},"properties":{"dependency":{"package":"zstd-safe","version":"7.3.0","advisory":"RUSTSEC-2026-0398","aliases":["RUSTSEC-2026-0403"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"84f9b61ffb7d87f7a0ea344424bcbd7389e2ed41eb01432b04fba9f732cd312c"},"properties":{"dependency":{"package":"zstd-sys","version":"2.1.0\u002Bzstd.1.5.7","advisory":"RUSTSEC-2026-0410","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"273bf2fef101a8dd492ea6055dfc47e55715215d1ccaf39ad7c8990d795d8147"},"properties":{"dependency":{"package":"ansi_term","version":"0.12.1","advisory":"RUSTSEC-2021-0139","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"14c63770ed231adea929edd0c0be4877846375259c56e3c523e18476a396d56f"},"properties":{"dependency":{"package":"bincode","version":"1.3.3","advisory":"RUSTSEC-2025-0141","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"57b9e93136182aa558c2ef2f32c68eaa46e31b2149029dcd4291abe4bfccb522"},"properties":{"dependency":{"package":"crypto-bigint","version":"0.5.5","advisory":"RUSTSEC-2026-0387","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"30c64d31d545ce98a39cca6bda4ff9764323c5b6240a9d6729b40acfddb4b4b8"},"properties":{"dependency":{"package":"ctutils","version":"0.4.2","advisory":"RUSTSEC-2026-0385","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b510bc99e6e4d889680e37c8b43ff3070b9b05e9372d5027b5ede6130d759b7e"},"properties":{"dependency":{"package":"derivative","version":"2.2.0","advisory":"RUSTSEC-2024-0388","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8ede607df07aba82df7379cbecb4a1f0ea9893d86de21f1a7abcc6e51677d2d1"},"properties":{"dependency":{"package":"libsecp256k1","version":"0.7.2","advisory":"RUSTSEC-2025-0161","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a773669bc823ef484a4057fe59c46a1e21e9891a18cda3d21239628e20cf87ea"},"properties":{"dependency":{"package":"paste","version":"1.0.15","advisory":"RUSTSEC-2024-0436","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ae7de9aca0968c4085ca068be7699716625828597e9c81a8d96c7471b158e56f"},"properties":{"dependency":{"package":"yaml","version":"2.7.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"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":"c593fff0860034c2f39c1acf0a9a78bfed3be0140c2f9d25be7a8d41c6d56511"},"properties":{"dependency":{"package":"minimatch","version":"10.2.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"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":"510e3902ba74bfe20e449e467de32bdcfabb537a59ccc995807bcf7612cd7691"},"properties":{"dependency":{"package":"fflate","version":"0.7.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"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":"dfcb633864d8402afdb94d0f4a3d29cca4472e32580315473d1755684aa99e1e"},"properties":{"dependency":{"package":"postcss-selector-parser","version":"6.1.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"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":"a7aa0d05543cc316b9e6a917d3fa5e975c9d00e750f10b9dec0a59c5e38164e3"},"properties":{"dependency":{"package":"baseline-browser-mapping","version":"2.10.31","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"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":"457d378647bbf78ea4a984b9e9641fb3617dde9f0d28a0e97c3b77320ca000ec"},"properties":{"dependency":{"package":"satori","version":"0.25.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"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":"0c356987433ec01f229b00cc6692f8e038f5cb734844257261d122d67b99874d"},"properties":{"dependency":{"package":"postcss-selector-parser","version":"6.1.2","advisory":"[CVE redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}},"taxa":[{"id":"CWE-400","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-407","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1567c73d5a0ff2d465f89974592a077126a688b84d3dae7814e525407cd5a570"},"properties":{"dependency":{"package":"minimatch","version":"10.2.5","advisory":"[CVE redacted]","reachability":{"kind":"not-imported"}}},"taxa":[{"id":"CWE-405","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e67218698636c8d1d9bd8f909457bee2402860996fdefe05e3f13986deb1314"},"properties":{"dependency":{"package":"baseline-browser-mapping","version":"2.10.31","advisory":"[CVE redacted]","reachability":{"kind":"not-imported"}}},"taxa":[{"id":"CWE-705","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-755","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"50d65535e3966171cd2b5c218b27dc75b15d0580c27b6c0968aa27f4e74bc456"},"properties":{"dependency":{"package":"fflate","version":"0.7.4","advisory":"[CVE redacted]","reachability":{"kind":"not-imported"}}},"taxa":[{"id":"CWE-400","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-835","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4f4b312864dca20221118e46974d68c32abbf7d1537ceb66347e025dc636bd93"},"properties":{"dependency":{"package":"satori","version":"0.25.0","advisory":"[CVE redacted]","reachability":{"kind":"not-imported"}}},"taxa":[{"id":"CWE-116","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"0691b125825c235dd9f0076587af370db02ca510e70326b37761eee54000fa22"},"properties":{"dependency":{"package":"@babel/helpers","version":"7.20.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"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":"f31e4f45e94eb200a5aeb6ea5a230c0be10731161f9f212c6630038a89175b5b"},"properties":{"dependency":{"package":"ajv","version":"6.12.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"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":"c15fd888c067ea466bf1576c2fb1edba82ceff143bbb979efef851d1f23954bb"},"properties":{"dependency":{"package":"ajv","version":"8.11.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"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":"90a3c0eb68c5644846155a46f4a21fac3ac6afc0ace87a1bb22043260f923d1c"},"properties":{"dependency":{"package":"micromatch","version":"4.0.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"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":"9eabdcb2d9473d39f0040105e5d9f5ef61bedff23e67b478dd14f4ccf67491ac"},"properties":{"dependency":{"package":"minimatch","version":"9.0.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"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":"60aed1ee368efb15d24c506d6c129154e85d9932df824310eec306637033df5f"},"properties":{"dependency":{"package":"stream-json","version":"1.9.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"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":"1afa3b9605b3a53071dfb84ef1b818c5eabe1660bf5f17c6089984716ba5c420"},"properties":{"dependency":{"package":"word-wrap","version":"1.2.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"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":"e673fdcc666724398a49ba9aa6804a058525d1c7f3fc7c162850f00d215b42bc"},"properties":{"dependency":{"package":"yaml","version":"1.10.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"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":"08798e883db8e0346dae6729674ebf552eb6cde7cfcb15a3fec707403fb63453"},"properties":{"dependency":{"package":"fast-xml-parser","version":"5.8.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"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":"019f74087039ebd3b89a1dd51a309ca3de9d3e22c8bf456f62d897257a9eb6a7"},"properties":{"dependency":{"package":"@babel/core","version":"7.29.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"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":"26fc9498e92d338450e8b78629daa5bd0aace47eac1b156dbe45cf4f353055bf"},"properties":{"dependency":{"package":"esbuild","version":"0.27.7","advisory":"[GHSA redacted]","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":"dd0d2499aa4311a3780970ea9b3033220d50b279e625ca9b33c0c415b3b44ea1"},"properties":{"dependency":{"package":"fast-xml-parser","version":"5.8.0","advisory":"[CVE redacted]","reachability":{"kind":"not-imported"}}},"taxa":[{"id":"CWE-407","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"729125dc425cb75c16ae817959bda371eb65c6507375fdb049fd7400662a409a"},"properties":{"dependency":{"package":"@babel/core","version":"7.29.0","advisory":"[CVE redacted]","reachability":{"kind":"not-imported"}}},"taxa":[{"id":"CWE-200","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-22","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"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":"3b69cae972139ec1ac365bdb6e2cf8f21a2271d78af5c97aa922eee1a012e2a3"},"properties":{"dependency":{"package":"esbuild","version":"0.27.7","advisory":"[GHSA redacted]","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":"1bda5929bf50da1abb22e52c54cec06f83c6c0bb94e5053c7d2fef9aaa285685"},"properties":{"dependency":{"package":"katex","version":"0.16.45","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"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":"54fb102cdd083d9638fc11bd5e3982168e96ed235c9506245919c7bf9d2d1b52"},"properties":{"dependency":{"package":"serialize-javascript","version":"7.0.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"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":"d1d3faea823e401c160d79b8248ebe0062992e994f1d80a60c1048f0fccd54a4"},"properties":{"dependency":{"package":"@babel/core","version":"7.20.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"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":"f455a483ad2da4b9383121a2e1ecee8a46b8f22a2db74a87dbb77e4e122dfcba"},"properties":{"dependency":{"package":"@tootallnate/once","version":"1.1.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"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":"d59ac7df76af1d6ff5a7f396496696587982b89a7dea97ab5e9131d353633322"},"properties":{"dependency":{"package":"deepmerge","version":"4.2.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"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":"4828016739e73086639bc4ec8ffe9a834c4bedaf2f8bab19099d04b96ad37a0a"},"properties":{"dependency":{"package":"diff","version":"4.0.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"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":"9a90ec7f274841be66e888aaa1fa6a0719b1a28ee23e5b77fe5f0bb87a7055c4"},"properties":{"dependency":{"package":"serialize-javascript","version":"7.0.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"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":"958a34f40bdff6367b7371bd5857af7e5437d75286a98c5dc91b52140692ef8b"}},{"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":"2a1fb879e0a16311e63e34f1dc5d72e426eac353a80af850fcdd1920f9a7665b"}},{"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":"a7bef07f4bdadc775c4bdedb7dc04e895e5a10f72295c6bf81bb5329bce6f04b"}},{"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":"4a3155e70a9c084eb3d448a6abb9d337d0c68d90c1396fdff729585da8a521ce"},"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":"8d0c94a011814f1ad4e71112eadbbd9893cf972a4199f1ab6bd8bc835e0f5667"},"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":"ce5997c7fcfe9065a53aa0c44a3d5ddc6b0fff555193c5e2f3624ed3ed2f01cb"},"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":"63ea86f8f36ae10cf9ef26e69b048d826ae4708fbf9551c2fb579689b127ea78"},"taxa":[{"id":"CWE-1357","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-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":"f80056802c2d7a649fbddf204bac23e18ecbac2f09766edd724265efcf99df5f"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spl/src/metadata.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"43ce6820b77b8068f67f7631d7b9fba14974334311a380e3d5c9e887367b4c05"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spl/src/token_2022.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7489a7b714a7e3f50a503091549239421f66ae198861124e27552b01889f65eb"}},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 43 smaller file(s) also have no living knowledge \u2014 folded into the freshness score and metrics rather than raised one row each \u2014 most significant first: docs-v2/src/lib/sidebar.ts, spl/src/token.rs, docs-v2/src/pages/og/[...slug].png.ts, docs-v2/src/lib/client/rotating-banner.ts, docs-v2/src/lib/code-annotations.ts, docs-v2/src/lib/client/sidebar.ts, docs-v2/src/lib/client/toc-sidebar.ts, ts/packages/anchor/src/coder/system/instruction.ts (and 35 more) (45 orphaned of 201 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 201 of the 384 production source files in this repository met that bar). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/sidebar.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0c7dbdbd17fe8b3e22dd00d1edef685c1305e6afce78f8e59077a7352547a2e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spl/src/token.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"59e62cba642929f3696dca230c719b3113ffd6bdc16f8a136661467f77348e3a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/pages/og/[...slug].png.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6d09dfc3e9a84ab512063e61b631fc0c1f5df935283c09b0f686b4a268f2ca1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/client/rotating-banner.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f73fafe75daa5a03498457e0bc346dd4067b02159f939d403a8eedac8f575ed4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/code-annotations.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e61f4d1340018d3e69281bf3d11ebfd26e33ce1278218772754319a85c869cb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/client/sidebar.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f91ff9329f990de3084c3af0d56596f2c74dc87257ce331cea2eac878b04a40e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/client/toc-sidebar.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a480fb38106b01589b9bceb697bfc05a93d647404ea435ef75d9e0c1d8aedf8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/src/coder/system/instruction.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6a083877d679bec3a539d8037027aa54fc8ef208d048b01bbb9255fe4e94897"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/components/ui/scroll-area.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b5e776967badf6e28bc644fad17c032eb2ecb8aad295010c4f877ce8263edf8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/src/utils/rpc.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"617c0685807e4bcb0f3a9bc7486735aa50c27b24fbac6a8f743fd44db558b62b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/client/search.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ea5028f3a92bc2cf487a1a188e5ef841667ec5cf36eb1f5098b719ee16c2f1b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/client/toc-header.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"300211b2bb41edbf3f0ff78b13a5bcb97144ba123afd50fc6233a5641e9ad074"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/client/tabs.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"145111f011b7f983d09b689fcd6d45c45e97d267dffae8ae2339a07d5f3511c3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spl/src/token_2022_extensions/transfer_fee.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"124c1e5990910d935e74f146278760535ac8a5d9011a945f1c75d0c9a8d2c8e1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/client/scroll-group.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f7cc5fd1e1da20181c282d0ec5857b8794645125a78a00ab6ad0f5c7e0cbd0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/client/toc.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"908666ec05253bc5af5c0f0de06d9edf2a14608045c09564d28f1379e69add44"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/src/program/namespace/instruction.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb6453f45fe03129c7f44843f22df10822edbe7a2286479616ac0854fe9871b4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/api/mcp.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ae51b82491df65d8b2518c86d49abf3de348d313486e61000f0619aeb923015"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/banner-graphics.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"88bdb5ef4fa0c487c1d7fa02b4a1a526d632e7abf42d3128da7da9b1b2b4b12f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lang/src/accounts/interface.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"529d0f0e8f4b32890fbd1195e499f3a8453faf202b0a6b5370a8654626c2b02f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/rehype-code-paths.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f28141b485681327daacb3078c7ea549e2d45cb346a0c4aa73e1cc2da4e9f925"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/client/horizontal-scroll-fade.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9b35135a00e45ea72c487eef8a79c455d45fecefab39120e5f0064b48f6dea0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lang/attribute/error/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"92b1c2541775619dd0b0cf0c3a7bbb9cc5922b7222dcd604ab8b7525f6097b84"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/src/program/namespace/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fee92269aad68450be5c15d35b94c8c8834c2884da5f78302b89ac1b81eddd61"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/src/program/token-account-layout.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7804204ca9d4bb12d40cf52178ec190afa7bfee1678a2a765e1500c1214d0b2f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/src/program/namespace/simulate.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"217d492b1cd15d090f51b9ffc2629b40005ce434a40b2c14496976fa2051bf06"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/expressive-code-config.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcc88d086e7e6484b80e96e0cee0b6155bd03a90f07b0b75184f09ce4a36d304"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lang/syn/src/codegen/error.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac8ff4ea13c1146a2a7d8b8ab7e5557e7f6676d7161689458907059a1e724e49"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/rehype-link-icons.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a16c5498b6d1f87e8a17679d1d95a5ed3960999ff0541c682e020a0d4015315b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lang/syn/src/codegen/accounts/exit.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"82ce8469bbe21907d38c77c050ef843271dd025030ab13c8fa0c01f2cfdd2493"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/client/version-switcher.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c85766b1aea17450a6d985eb8fe351b49d3bf0ea17fc1db51da16fe622f677d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lang/src/accounts/option.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce7a9ce660697ff18457ba1909c0fab0703fbe8c4f4d06f8b71a09f55228d3c1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/expressive-code-output-separators.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"60ae0b896bd0cef6573f22e6a190fff127eab8294d8f988a1284877df9ded204"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/rehype-copyable-shell-commands.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9618b2e9d14581fdb0ffc4e24c971a870bec1f7eb684873a98905fe9de130fee"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/docs.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"590144405a61959287cc0ff92f5d77bb54b40935a61db7ef65d7ef0c8fd0b010"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/src/coder/system/accounts.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ee82ed15122c269d782ae9266330e26781b3d1ebc55e41e59e6b4d53d7f0f13"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lang/src/vec.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e73ef85d4c9ff84ee88586ca78fa0a7e0c559dfde77fadd7f5514d8667dfee63"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/render-description.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73401758e1c262411ab38c8b8ec6b8c30e2fd8e138420e20da5dfcf284beb818"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spl/src/governance.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b66a3be114931a93efa9bc0011bc1a2fd11876fa3fc808ebc14fe70532510b2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/src/program/context.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"07401891e986b74493633208db67b316b58fb0cb251df2b1abd43234f2c3162a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lang/src/bpf_upgradeable_state.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa87f4f5e0b22e75d9f9d9953a31adad081377b78ae71ea1fbc9c57c050386a7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/client/mdx-aside.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9b3c86b134711383addafa19636f492501477c364dd80c2aa0a6ea933dba6eb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/src/program/namespace/rpc.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fc4f05918a42766a15dbde9c915b8eec9fd7376a7c14ba86c2c04222a15aeb8"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d657599f6f99da1927d3377533dfc0888b34c4d84aa7d5579841fd72d0e39bce"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/components/docs/search.astro"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c1d27a55d24ab1f2151b92ef9a73f8ba7ad29df4350e36c689885159781f049"}},{"ruleId":"AC3","level":"error","message":{"text":"Document without a \u003Ctitle\u003E: A page with no \u003Ctitle\u003E gives no name in the tab, history or screen-reader page list. Declare it the way this router does \u2014 Next App Router \u0060export const metadata = { title }\u0060, React Router/Remix \u0060export function meta\u0060, TanStack Start \u0060head\u0060, or a Helmet/Head component."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/app/layout.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"c86ee234669443e93dd50177bf87dcf34736ffc0f5bbbcf8b00a74f666710308"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/components/docs/search.astro"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"261ab0b8cabce0118942cccafbbecf1bbed8ba60e5a1f531d961808709c087e0"}},{"ruleId":"AX8","level":"error","message":{"text":"Production project references a test project: anchor-lang-idl \u2192 anchor-lang-idl-spec: \u0060anchor-lang-idl\u0060 (production) references the test project \u0060anchor-lang-idl-spec\u0060. Production must never depend on test code \u2014 it pulls a unit-test framework and test fixtures into the shipped product and inverts the only correct direction (tests depend on production, never the reverse). Move any shared helper into a production support library, or invert the reference."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7ec372899083b56547c938027940cb95a2b1fb7343636d89a229eb1efffa0b59"}},{"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":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"P12","level":"warning","message":{"text":"Pull-request path filter skips the test gate for source changes: \u0060paths-ignore: docs/**\u0060 matches compiled source (\u0060docs/next.config.mjs\u0060, \u0060docs/postcss.config.js\u0060, \u0060docs/prettier.config.mjs\u0060) \u2014 a pull request that changes only those files merges without running the tests. Ignore only documentation and other files no build reads."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/tests.yaml"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"345a0a902cf15e51994b0df027c855ed21ce75ca037bf363728f40466a270732"}},{"ruleId":"P12","level":"warning","message":{"text":"Pull-request path filter skips the test gate for source changes: \u0060paths-ignore: docs-v2/**\u0060 matches compiled source (\u0060docs-v2/astro.config.ts\u0060, \u0060docs-v2/api/mcp.ts\u0060, \u0060docs-v2/src/consts.ts\u0060) \u2014 a pull request that changes only those files merges without running the tests. Ignore only documentation and other files no build reads."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/tests.yaml"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"90633df97652cd84ffc753c9c297dae25dfef63f954deb7e12b7b1410ceb212c"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 7/14 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060.\u0060, \u0060avm\u0060, \u0060cli\u0060, \u0060cli/npm-package\u0060, \u0060client\u0060 and 2 more."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060docs-v2/package.json\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/package.json"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"502f2d9f9718b520cd2d394b73275824a42e9115b28042ee31742110b47f3992"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060main\u0060 is async and calls thread::sleep \u2014 a blocking call inside async code stalls the executor thread, and every task scheduled on it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/content/docs/v1/clients/_declare-program/client.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a00c9338aea392d283465843aa2f9e3652cd194d6e3e2edae99a4210ad7411d"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060main\u0060 is async and calls thread::sleep \u2014 a blocking call inside async code stalls the executor thread, and every task scheduled on it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/content/docs/v1/clients/_rust/main.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5c6cf33ad267da676efb090fe40304bcc6fe54a18bd5dc704e081f6eac51f14"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 15 sibling directories (60 clone groups): 60 duplicated blocks under ts/packages/ have copies in at least two of the sibling directories anchor, borsh, spl-associated-token-account, spl-binary-option, spl-binary-oracle-pair, spl-feature-proposal (\u002B9 more sibling(s) not listed) \u2014 34 of them are reported below, and 26 are counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 60 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 60 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module \u2014 a common library every sibling imports \u2014 rather than 60 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-token-lending/src/coder/accounts.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"c67e1f4db742a0da901ce49f2fca45d99f359cfa27604a451c5a9f4b0c8ffb7b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (98 matched lines \u00D7 2 locations): ts/packages/spl-token-lending/src/coder/accounts.ts:6 \u00B7 ts/packages/spl-token/src/coder/accounts.ts:6 \u2014 the two spans are one implementation copied and then locally edited \u2014 513 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-token-lending/src/coder/accounts.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c5056c9d943449dc9e51b9b4a10cf8bcc350baa79926b0b0f0faa9c3fcd9ed3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (62 lines \u00D7 5 locations): ts/packages/spl-binary-option/src/coder/accounts.ts:6 \u00B7 ts/packages/spl-binary-oracle-pair/src/coder/accounts.ts:6 \u00B7 ts/packages/spl-name-service/src/coder/accounts.ts:6 \u00B7 ts/packages/spl-record/src/coder/accounts.ts:6 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 5 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-binary-option/src/coder/accounts.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a2148b08ef39c78fe5be07bff112f449b93d04b06caed29a3f147a2bb38c018"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (56 lines \u00D7 2 locations): ts/packages/spl-governance/src/program.ts:1194 \u00B7 ts/packages/spl-governance/src/program.ts:1538 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-governance/src/program.ts"},"region":{"startLine":1194}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0ccc7d0dc78b0ab39c86407dddbc0a3207d322b10d997bad4ca10f93cf58fff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (50 matched lines \u00D7 2 locations): ts/packages/anchor/src/program/token-account-layout.ts:25 \u00B7 ts/packages/borsh/src/index.ts:88 \u2014 the two spans are one implementation copied and then locally edited \u2014 420 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/src/program/token-account-layout.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"7af230f4efce236c7ef0939b331450d5104546d2744e26b91eaa48bda0810da5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (50 lines \u00D7 2 locations): ts/packages/spl-governance/src/program.ts:1388 \u00B7 ts/packages/spl-governance/src/program.ts:1760 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-governance/src/program.ts"},"region":{"startLine":1388}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1ac278ca1d07eb2b4ff2ba1a993e6f2258993e3651fc4096fe8f4f4cfecbbcc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (44 lines \u00D7 13 locations): ts/packages/spl-associated-token-account/rollup.config.ts:7 \u00B7 ts/packages/spl-binary-option/rollup.config.ts:7 \u00B7 ts/packages/spl-binary-oracle-pair/rollup.config.ts:7 \u00B7 ts/packages/spl-feature-proposal/rollup.config.ts:7 \u00B7 \u002B9 more site(s) not listed \u2014 the 13 copies are spread across 13 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-associated-token-account/rollup.config.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed69a39435298b2a34240ae2a9ea2051087e50b26a9c95eb0738e889a4fb239c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 5 locations): ts/packages/spl-governance/src/coder/instructions.ts:138 \u00B7 ts/packages/spl-governance/src/coder/instructions.ts:192 \u00B7 ts/packages/spl-governance/src/coder/instructions.ts:355 \u00B7 ts/packages/spl-governance/src/coder/instructions.ts:410 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-governance/src/coder/instructions.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9da14c3dde13cf9e9e357f2e50c54070a464238ec5e100fd9c12aab3e0aeb60"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2 locations): ts/packages/spl-governance/src/program.ts:1074 \u00B7 ts/packages/spl-governance/src/program.ts:1344 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-governance/src/program.ts"},"region":{"startLine":1074}}}],"partialFingerprints":{"codehealthFindingId/v1":"369d33a2d5d3d4a4fa7c30387ca064708141d1d3282bcad9b9d8fd12fbb62c36"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2 locations): ts/packages/spl-memo/src/coder/accounts.ts:5 \u00B7 ts/packages/spl-stateless-asks/src/coder/accounts.ts:6 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-memo/src/coder/accounts.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9ba3bddba66f523e3d8886cc082101fd83c8ed8d5cf8d406ba815a149e68a7c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2 locations): ts/packages/spl-governance/src/program.ts:1124 \u00B7 ts/packages/spl-governance/src/program.ts:1484 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-governance/src/program.ts"},"region":{"startLine":1124}}}],"partialFingerprints":{"codehealthFindingId/v1":"cea6da17c5bb6978c5862f83a6003eb7b194aaf825f96ed0d3e5a77a2af7fa35"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2 locations): ts/packages/spl-governance/src/program.ts:1442 \u00B7 ts/packages/spl-governance/src/program.ts:1670 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-governance/src/program.ts"},"region":{"startLine":1442}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e411d66dbb891d85b9aa1b1adc2eac6754f8bd74deca1e92aa1f8545fc0ea85"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2 locations): ts/packages/anchor/src/coder/borsh/idl.ts:289 \u00B7 ts/packages/anchor/src/coder/borsh/idl.ts:331 \u2014 both copies are in the same file, so extract the block 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":"ts/packages/anchor/src/coder/borsh/idl.ts"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0eb4f75c15acb7305064cc4b98ef49e9bdab4ffcbe6795c41a6f5533cbe8113"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2 locations): ts/packages/spl-token-lending/src/program.ts:458 \u00B7 ts/packages/spl-token-lending/src/program.ts:519 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-token-lending/src/program.ts"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"f48b06467ca9f1d309548cb8b02fb7a2574f3368c82e122c717633994e6377c4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 3 locations): ts/packages/spl-associated-token-account/src/coder/accounts.ts:6 \u00B7 ts/packages/spl-memo/src/coder/accounts.ts:5 \u00B7 ts/packages/spl-stateless-asks/src/coder/accounts.ts:6 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-associated-token-account/src/coder/accounts.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb78551b34bcf85476ca9a778d69233f10b550532e5cbf79d92249f7e3d7fe44"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2 locations): ts/packages/spl-governance/src/program.ts:793 \u00B7 ts/packages/spl-governance/src/program.ts:855 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-governance/src/program.ts"},"region":{"startLine":793}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e73b7ec2db2f7bd20f0d54209ab1da68df424c2649621a76cf9d13ece0a8ee8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2 locations): ts/packages/spl-token-swap/src/program.ts:178 \u00B7 ts/packages/spl-token-swap/src/program.ts:316 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-token-swap/src/program.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1e2122cbded150ed1e1e21c0cf266ab0359e53d0d28bb9f2afc3db002898b5a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2 locations): ts/packages/anchor/src/coder/borsh/idl.ts:485 \u00B7 ts/packages/anchor/src/coder/borsh/idl.ts:617 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/src/coder/borsh/idl.ts"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"66ce4ae592b74fe5ec6c9fec96f40564aa143b111e4c68d0eccedfb271faeae6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2 locations): ts/packages/spl-associated-token-account/src/program.ts:35 \u00B7 ts/packages/spl-associated-token-account/src/program.ts:65 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-associated-token-account/src/program.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c971d0302dc1c53954638412b6101faf2dbcc390d898267342975de9292770d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): ts/packages/spl-associated-token-account/src/coder/instructions.ts:2 \u00B7 ts/packages/spl-name-service/src/coder/instructions.ts:2 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-associated-token-account/src/coder/instructions.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"2946682bb20a49f8dee24ca361dfabb9f5d5c84861024d75177d97c9cb7466e0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 4 locations): ts/packages/spl-governance/src/coder/accounts.ts:80 \u00B7 ts/packages/spl-stake-pool/src/coder/accounts.ts:20 \u00B7 ts/packages/spl-token-lending/src/coder/accounts.ts:20 \u00B7 ts/packages/spl-token/src/coder/accounts.ts:20 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-governance/src/coder/accounts.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbe4bfcb6a8d13e94de3264bc5819a9c2575d5befbfa894319878e688f64c2b1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 14 locations): ts/packages/anchor/rollup.config.ts:6 \u00B7 ts/packages/spl-associated-token-account/rollup.config.ts:7 \u00B7 ts/packages/spl-binary-option/rollup.config.ts:7 \u00B7 ts/packages/spl-binary-oracle-pair/rollup.config.ts:7 \u00B7 \u002B10 more site(s) not listed \u2014 the 14 copies are spread across 14 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/rollup.config.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fce0c78fe8ff931e655e62aef0173427145c6238301a73e0c621f962f04b731"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): ts/packages/anchor/src/provider.ts:192 \u00B7 ts/packages/anchor/src/provider.ts:371 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/src/provider.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"3993c8bfa98bd1c27f41ea718f24408adae710b3bff387e59026abfc658c5ac9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): ts/packages/spl-governance/src/coder/accounts.ts:361 \u00B7 ts/packages/spl-governance/src/coder/accounts.ts:590 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-governance/src/coder/accounts.ts"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"445630f92fe5f92bf6906ab4c4b267343617ed1e0b7e888c020cb92dca086e60"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 9 locations): ts/packages/spl-binary-option/src/program.ts:2 \u00B7 ts/packages/spl-binary-oracle-pair/src/program.ts:2 \u00B7 ts/packages/spl-feature-proposal/src/program.ts:3 \u00B7 ts/packages/spl-memo/src/program.ts:2 \u00B7 \u002B5 more site(s) not listed \u2014 the 9 copies are spread across 9 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-binary-option/src/program.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2011209706be95cc555155cba0a787188e80ee85b9f56c292a4cad0041f4e03"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 7 locations): ts/packages/anchor/src/coder/system/accounts.ts:15 \u00B7 ts/packages/spl-binary-option/src/coder/accounts.ts:14 \u00B7 ts/packages/spl-binary-oracle-pair/src/coder/accounts.ts:14 \u00B7 ts/packages/spl-feature-proposal/src/coder/accounts.ts:14 \u00B7 \u002B3 more site(s) not listed \u2014 the 7 copies are spread across 7 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/src/coder/system/accounts.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"72797e70b1fb5503237fffd81e30d81dbf294c91e126dc1d11a81a730b796a96"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 7 locations): ts/packages/spl-governance/src/coder/accounts.ts:701 \u00B7 ts/packages/spl-governance/src/coder/accounts.ts:926 \u00B7 ts/packages/spl-governance/src/coder/instructions.ts:610 \u00B7 ts/packages/spl-governance/src/coder/instructions.ts:653 \u00B7 \u002B3 more site(s) not listed \u2014 the 7 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-governance/src/coder/accounts.ts"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9a9f290b0da3d9d9464cb095de410a9ed9b8ca750215182f3919f4b7710a54e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): ts/packages/spl-token-lending/src/coder/accounts.ts:172 \u00B7 ts/packages/spl-token-lending/src/coder/instructions.ts:146 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-token-lending/src/coder/accounts.ts"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ca84fe97f5d23f9a6ed92f0f109375b7eea919a5e85b2df1f2e9c095d25b854"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3 locations): ts/packages/anchor/src/coder/system/accounts.ts:69 \u00B7 ts/packages/anchor/src/program/token-account-layout.ts:34 \u00B7 ts/packages/borsh/src/index.ts:97 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/src/coder/system/accounts.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"af8ba6ca7f9ef441668a3598a52f6aa9e56e72bc4bdbde934ec995f829ae0172"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): ts/packages/anchor/src/program/namespace/methods.ts:359 \u00B7 ts/packages/anchor/src/program/namespace/methods.ts:409 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/src/program/namespace/methods.ts"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"b782f2d700928cee062ce093b4a15f0d917625f1c2eb9bb135688279ec77152c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): ts/packages/spl-feature-proposal/src/coder/instructions.ts:10 \u00B7 ts/packages/spl-token-swap/src/coder/instructions.ts:22 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-feature-proposal/src/coder/instructions.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5672592034315cbfdd335fe4287e4876a932b17d1a8715a8c911e32e8d7a51a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3 locations): ts/packages/spl-governance/src/coder/accounts.ts:275 \u00B7 ts/packages/spl-stake-pool/src/coder/accounts.ts:83 \u00B7 ts/packages/spl-token-lending/src/coder/accounts.ts:83 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-governance/src/coder/accounts.ts"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f29e69f621f7f060fe42ebfae1a89827ffcb8d6c83f3c60a6c7eaf26012b8be"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): ts/packages/spl-token-swap/src/coder/accounts.ts:82 \u00B7 ts/packages/spl-token-swap/src/coder/instructions.ts:140 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-token-swap/src/coder/accounts.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0c273d8159ebea1273dc0221df24b3267c0ccd0f1c21478a4e0d1184683ec34"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): ts/packages/anchor/src/coder/borsh/idl.ts:720 \u00B7 ts/packages/anchor/src/coder/borsh/idl.ts:739 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/src/coder/borsh/idl.ts"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"28b58b309464e2c434adbb0967835a9942e6722ad4d58d78bb84b919d3d1cc64"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): ts/packages/spl-governance/src/coder/accounts.ts:1107 \u00B7 ts/packages/spl-governance/src/coder/instructions.ts:706 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-governance/src/coder/accounts.ts"},"region":{"startLine":1107}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa3dfb983003c0b82191d19d023353b0a463436edd214d853de5848279122ca3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): ts/packages/spl-memo/src/coder/instructions.ts:4 \u00B7 ts/packages/spl-stateless-asks/src/coder/instructions.ts:5 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-memo/src/coder/instructions.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"761a007c09523811074b79f690f5867a79968ea33a5c7d1eed5ba472fef22c73"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): ts/packages/spl-stake-pool/src/coder/instructions.ts:64 \u00B7 ts/packages/spl-stateless-asks/src/coder/instructions.ts:10 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-stake-pool/src/coder/instructions.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad65ac04c94bdca4d52e754f37a818c6b71029e71e95ff06037153f1a905db9f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): ts/packages/borsh/src/index.ts:297 \u00B7 ts/packages/borsh/src/index.ts:344 \u2014 both copies are in the same file, so extract the block 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":"ts/packages/borsh/src/index.ts"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3c553025321b726fd1b7faf9867acf44552dbbd587723c3f53eb2c42b98ceb0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): ts/packages/spl-governance/src/coder/instructions.ts:105 \u00B7 ts/packages/spl-governance/src/coder/instructions.ts:535 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-governance/src/coder/instructions.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"566dc1be33a9ec6d0dd6ba02a2a2f1021ec275e46869a079e242116f6bfa62fa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): ts/packages/spl-governance/src/coder/instructions.ts:228 \u00B7 ts/packages/spl-governance/src/coder/instructions.ts:391 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-governance/src/coder/instructions.ts"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbd2fb13f502660ee781bfd58aa9b7e813e999301b27c5c406b7228441f620aa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): ts/packages/spl-governance/src/coder/instructions.ts:515 \u00B7 ts/packages/spl-stake-pool/src/coder/instructions.ts:211 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-governance/src/coder/instructions.ts"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"e52b1853a6f40552d2cd22b17621832a08da6de98207217dd542e1d06d5aa812"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3 locations): ts/packages/spl-governance/src/coder/instructions.ts:668 \u00B7 ts/packages/spl-governance/src/coder/instructions.ts:782 \u00B7 ts/packages/spl-governance/src/coder/instructions.ts:826 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-governance/src/coder/instructions.ts"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"0008f150a35d65298f526362a44aac86f0ebeaa20d3adbc8055bcfb5d27f4318"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): ts/packages/borsh/src/index.ts:397 \u00B7 ts/packages/borsh/src/index.ts:723 \u2014 both copies are in the same file, so extract the block 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":"ts/packages/borsh/src/index.ts"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"3616b19c843ea21fcbd7e44d12cf2e974486e898e3fadb171a23c1a6dd6e8e03"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): ts/packages/spl-token/src/coder/instructions.ts:95 \u00B7 ts/packages/spl-token/src/coder/instructions.ts:199 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-token/src/coder/instructions.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"10b1657198af35c35fc09cf565344f5ecf54c242c85c542d366bfec6ad867261"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): ts/packages/anchor/src/coder/borsh/event.ts:53 \u00B7 ts/packages/anchor/src/coder/borsh/instruction.ts:412 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/src/coder/borsh/event.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef3f5060ad5916fef41a8eef193d180be63a05970ab278a9678d521b1de02b35"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 11 locations): ts/packages/anchor/src/coder/system/instruction.ts:4 \u00B7 ts/packages/spl-associated-token-account/src/coder/instructions.ts:3 \u00B7 ts/packages/spl-binary-option/src/coder/instructions.ts:3 \u00B7 ts/packages/spl-binary-oracle-pair/src/coder/instructions.ts:3 \u00B7 \u002B7 more site(s) not listed \u2014 the 11 copies are spread across 11 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/src/coder/system/instruction.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a75d77069f127ba771ccc9c0f0711e17dcf79db99bd3c020dfac36fc3606ff0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): ts/packages/spl-governance/src/coder/instructions.ts:573 \u00B7 ts/packages/spl-governance/src/coder/instructions.ts:903 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-governance/src/coder/instructions.ts"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1cd120405efb524756aca2858fd418ba52a5e948322fe0b29a641914d0b718e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): ts/packages/anchor/src/coder/borsh/idl.ts:183 \u00B7 ts/packages/anchor/src/coder/borsh/instruction.ts:572 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/src/coder/borsh/idl.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"95f510912b4e9ff66199527803d196c09ee316602d5c9712e240bf3e0f16c2e5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4 locations): ts/packages/spl-governance/src/coder/accounts.ts:6 \u00B7 ts/packages/spl-stake-pool/src/coder/accounts.ts:6 \u00B7 ts/packages/spl-token-lending/src/coder/accounts.ts:6 \u00B7 ts/packages/spl-token/src/coder/accounts.ts:6 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-governance/src/coder/accounts.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"54eb8226b4fedad3f772b1eacb66fa5954d40851fef0f3fe2b03f5f47a3e57dd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 11 locations): ts/packages/spl-associated-token-account/src/program.ts:2 \u00B7 ts/packages/spl-binary-option/src/program.ts:2 \u00B7 ts/packages/spl-binary-oracle-pair/src/program.ts:2 \u00B7 ts/packages/spl-feature-proposal/src/program.ts:3 \u00B7 \u002B7 more site(s) not listed \u2014 the 11 copies are spread across 11 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-associated-token-account/src/program.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"37ba8b306c6b8dd6e80670f6790c65bae7efa1e3bef5213aef3a0402c3110eac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): ts/packages/spl-feature-proposal/src/coder/instructions.ts:32 \u00B7 ts/packages/spl-governance/src/coder/instructions.ts:556 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-feature-proposal/src/coder/instructions.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"8935fdda38b5a243de3ae00b515d48f00d6adfcc83a2505e50add1165ad6532e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): ts/packages/spl-governance/src/coder/accounts.ts:642 \u00B7 ts/packages/spl-governance/src/coder/accounts.ts:1026 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-governance/src/coder/accounts.ts"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"09eaaafb884bf06a4e0e7d6d4d2f4e27c44b2b88d1d2a75adf448a0f3e2ebabf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): ts/packages/spl-governance/src/coder/accounts.ts:681 \u00B7 ts/packages/spl-governance/src/coder/accounts.ts:906 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-governance/src/coder/accounts.ts"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"d550fcfb89dc9c51f1de025a4362772eca0ce5b141db27243c65a62279f3e62d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): ts/packages/spl-governance/src/coder/instructions.ts:343 \u00B7 ts/packages/spl-stake-pool/src/coder/instructions.ts:101 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-governance/src/coder/instructions.ts"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a548713b52f94e9197e7f03f1638e20e5c831929525e457f83da2bdb4b5a03c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): ts/packages/spl-governance/src/coder/instructions.ts:625 \u00B7 ts/packages/spl-governance/src/coder/instructions.ts:870 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-governance/src/coder/instructions.ts"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d5181b735e6b3d1a28519e4473aa07f616694c2812383c381845f7816f88627"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): docs-v2/src/lib/client/scroll-group.ts:90 \u00B7 docs-v2/src/lib/client/sidebar.ts:212 \u2014 the two spans are one implementation copied and then locally edited \u2014 50 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/client/scroll-group.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"f62a18a795185e5b55af9ce5ec54b7ae63ebc64884ccf743c17d1babdbe9d58d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): docs-v2/src/lib/client/toc-header.ts:51 \u00B7 docs-v2/src/lib/client/toc-sidebar.ts:58 \u2014 the two spans are one implementation copied and then locally edited \u2014 66 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/client/toc-header.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8eb91831d24260fe14ab84fa8ca3dddcf923e3f49340d605da748a930866099"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): ts/packages/anchor/src/coder/borsh/instruction.ts:609 \u00B7 ts/packages/anchor/src/coder/borsh/instruction.ts:658 \u2014 both copies are in the same file, so extract the block 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":"ts/packages/anchor/src/coder/borsh/instruction.ts"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c9b04fab4dc59b783c169ea3d0ae64e94ac297d5c45b89b1c38f66bf9b925aa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): ts/packages/anchor/src/program/namespace/methods.ts:325 \u00B7 ts/packages/anchor/src/program/namespace/methods.ts:350 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/src/program/namespace/methods.ts"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"963fa43b366691c7e6be0ca95bc10988b6a3d2ffc934333acb15b1dcbb7da6c2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): docs-v2/src/lib/client/scroll-group.ts:69 \u00B7 docs-v2/src/lib/client/sidebar.ts:150 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/client/scroll-group.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4e0b5e82b41bb5709d80fe201432cfd35a75bd151768817f2ef68a2785b2234"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): ts/packages/anchor/src/program/namespace/methods.ts:79 \u00B7 ts/packages/anchor/src/program/namespace/methods.ts:110 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/src/program/namespace/methods.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6f2a99728c10ebc2eee2b94f965e550d15b2341da2341bedb047643c5237b8b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): ts/packages/spl-binary-oracle-pair/src/coder/instructions.ts:45 \u00B7 ts/packages/spl-token-lending/src/coder/instructions.ts:124 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-binary-oracle-pair/src/coder/instructions.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"743abb9f8fc603286ea5f664e0a4950b494d50dd8e82a42ef90a1d019f0e0ced"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): ts/packages/spl-governance/src/coder/accounts.ts:436 \u00B7 ts/packages/spl-governance/src/coder/instructions.ts:685 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-governance/src/coder/accounts.ts"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"3423a2cae5087739f400baccb53dcc8fde829f28ef2ed196d1328afa2d0cfd81"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): ts/packages/spl-governance/src/coder/accounts.ts:986 \u00B7 ts/packages/spl-governance/src/coder/instructions.ts:732 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-governance/src/coder/accounts.ts"},"region":{"startLine":986}}}],"partialFingerprints":{"codehealthFindingId/v1":"06ac87f8bfaad2cab25b2b8e3ca79039f593fd75fe48cf60e2d1415c08534bd6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): ts/packages/spl-governance/src/coder/instructions.ts:315 \u00B7 ts/packages/spl-governance/src/coder/instructions.ts:511 \u00B7 ts/packages/spl-stake-pool/src/coder/instructions.ts:174 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-governance/src/coder/instructions.ts"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f440df231694718dc580f97ad3f0985079dde12fff7f13fa48ba535f5c35faf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5 locations): ts/packages/spl-governance/src/coder/instructions.ts:590 \u00B7 ts/packages/spl-governance/src/coder/instructions.ts:633 \u00B7 ts/packages/spl-governance/src/coder/instructions.ts:749 \u00B7 ts/packages/spl-governance/src/coder/instructions.ts:791 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-governance/src/coder/instructions.ts"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"93d0139a78614b41980a63deccdc1cfc6c792ed931a61463274147ed5d23b543"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): ts/packages/anchor/src/program/context.ts:68 \u00B7 ts/packages/anchor/src/program/namespace/types.ts:106 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/src/program/context.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"12c456f914eb771d0665ad976b2c3a39660fc5ddc1b425e098e527afb0b5b298"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): ts/packages/borsh/src/index.ts:375 \u00B7 ts/packages/borsh/src/index.ts:701 \u2014 both copies are in the same file, so extract the block 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":"ts/packages/borsh/src/index.ts"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"70848fe5077c6d6b885f32de846ced5cc53c2fbd263dd1aaff5d08ed82d0c1ce"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): ts/packages/spl-governance/src/coder/accounts.ts:331 \u00B7 ts/packages/spl-stake-pool/src/coder/accounts.ts:103 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-governance/src/coder/accounts.ts"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e296b98c34193d3c4e7921bcf7830ba0976760a2e7c015ab8b3aea76c323f9b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): ts/packages/spl-governance/src/coder/accounts.ts:413 \u00B7 ts/packages/spl-governance/src/coder/accounts.ts:752 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-governance/src/coder/accounts.ts"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d72d3995bcb915ab29f8333954bdfbc5042c02ae9608fa380d7e093bb9aa2e5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): ts/packages/spl-governance/src/coder/instructions.ts:276 \u00B7 ts/packages/spl-token/src/coder/instructions.ts:191 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-governance/src/coder/instructions.ts"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"c517fa60912c0025bb78d6cff3c46951ca78f22d7cca311fb57cf47bedb7aadb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): ts/packages/spl-token-swap/src/coder/accounts.ts:101 \u00B7 ts/packages/spl-token-swap/src/coder/instructions.ts:159 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-token-swap/src/coder/accounts.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"5434e77531f141050bf47b37a0537e328621966aad345765e63ffc1ed8e67bab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): docs-v2/src/lib/client/rotating-banner.ts:281 \u00B7 docs-v2/src/lib/client/rotating-banner.ts:302 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/client/rotating-banner.ts"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c8d5a5b7c1a055f18947a52fdd744cfd6a81e27a5dc537785c4991982b99040"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): docs-v2/src/lib/rehype-code-paths.ts:120 \u00B7 docs-v2/src/lib/rehype-copyable-shell-commands.ts:77 \u00B7 docs-v2/src/lib/rehype-link-icons.ts:111 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/rehype-code-paths.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c4f2b817447e279bc79c8121df0d87794ade56f1ddfd656c394fa92cfa973e9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): docs-v2/src/lib/sidebar.ts:18 \u00B7 docs-v2/src/pages/og/[...slug].png.ts:33 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/sidebar.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa7b9f18d9d3928f6524237684847c81d554c8f2ec0764f215421fb47694f427"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): ts/packages/anchor/src/program/namespace/rpc.ts:77 \u00B7 ts/packages/anchor/src/program/namespace/transaction.ts:62 \u2014 the two spans are one implementation copied and then locally edited \u2014 52 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/src/program/namespace/rpc.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfeddc3fef84798a0396e8209565bcd5f4f7a8e7688e57e7ab92917e7ba57843"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): ts/packages/anchor/src/program/namespace/rpc.ts:77 \u00B7 ts/packages/anchor/src/program/namespace/views.ts:48 \u2014 the two spans are one implementation copied and then locally edited \u2014 56 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/src/program/namespace/rpc.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7c372c90f373d3afbba1122ccb115b89437fda9a98f18054c0dd25615f705be"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): ts/packages/anchor/src/program/namespace/simulate.ts:100 \u00B7 ts/packages/anchor/src/program/namespace/transaction.ts:62 \u2014 the two spans are one implementation copied and then locally edited \u2014 52 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/src/program/namespace/simulate.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9b532519bafe44b0f798530377e46ff4b2a66c94ab0e0e6c7e3b831f40342ff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): ts/packages/anchor/src/program/namespace/simulate.ts:100 \u00B7 ts/packages/anchor/src/program/namespace/views.ts:48 \u2014 the two spans are one implementation copied and then locally edited \u2014 56 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/src/program/namespace/simulate.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4f744b09660af8b192daa0041c2206363f7e32b43d4749a475efd921cbdf0a1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): ts/packages/anchor/src/program/namespace/transaction.ts:62 \u00B7 ts/packages/anchor/src/program/namespace/views.ts:48 \u2014 the two spans are one implementation copied and then locally edited \u2014 52 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/src/program/namespace/transaction.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fe0cfc3b35d725974e11c6eb4b3c4f9f7cdfd102564add24f010cfa00109972"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 9 locations): ts/packages/spl-governance/src/coder/accounts.ts:556 \u00B7 ts/packages/spl-governance/src/coder/accounts.ts:641 \u00B7 ts/packages/spl-governance/src/coder/accounts.ts:680 \u00B7 ts/packages/spl-governance/src/coder/accounts.ts:768 \u00B7 \u002B5 more site(s) not listed \u2014 the 9 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-governance/src/coder/accounts.ts"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"efa0909aa2013b61651edfb4df5c94dc452b67f04dfe48b55e211c2e38499414"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): ts/packages/spl-governance/src/coder/instructions.ts:727 \u00B7 ts/packages/spl-governance/src/coder/instructions.ts:878 \u00B7 ts/packages/spl-stake-pool/src/coder/instructions.ts:291 \u00B7 ts/packages/spl-token/src/coder/instructions.ts:241 \u2014 the 4 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-governance/src/coder/instructions.ts"},"region":{"startLine":727}}}],"partialFingerprints":{"codehealthFindingId/v1":"10039781cc2d797632e984d4bc8077bef525ac82d1e21bb0cb97484e2a363580"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): ts/packages/spl-stake-pool/src/coder/accounts.ts:157 \u00B7 ts/packages/spl-stake-pool/src/coder/accounts.ts:188 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-stake-pool/src/coder/accounts.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"cab8eaf53e2919689d717fb05c88af9cafd8ab5dd81780a05117e55f8f411324"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): ts/packages/spl-token-lending/src/coder/instructions.ts:78 \u00B7 ts/packages/spl-token/src/coder/instructions.ts:104 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-token-lending/src/coder/instructions.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"e15bf290139cefd0099882ca0ac9f07b1f1aff0685a521305ec371c39ddaefd0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): ts/packages/anchor/src/coder/borsh/types.ts:30 \u00B7 ts/packages/anchor/src/coder/borsh/types.ts:39 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/src/coder/borsh/types.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bbbbaf761225434d39368df2d851e34f225a6f280774046c75a8247ad5348a3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): ts/packages/anchor/src/program/namespace/account.ts:129 \u00B7 ts/packages/anchor/src/program/namespace/account.ts:165 \u2014 the two spans are one implementation copied and then locally edited \u2014 58 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/src/program/namespace/account.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb78b168ee04a35266ed93411415d31c6f27f0fc3fbec777ab9011235b7b04ce"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 7 locations): ts/packages/spl-binary-option/src/coder/instructions.ts:39 \u00B7 ts/packages/spl-governance/src/coder/instructions.ts:546 \u00B7 ts/packages/spl-stake-pool/src/coder/instructions.ts:96 \u00B7 ts/packages/spl-stake-pool/src/coder/instructions.ts:154 \u00B7 \u002B3 more site(s) not listed \u2014 the 7 copies are spread across 5 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-binary-option/src/coder/instructions.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a4e24d068c91a3aafb877cf81d06f5bfdcc5ca663daa77e55ac1cc22d76d852"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 13 locations): ts/packages/spl-binary-oracle-pair/src/coder/accounts.ts:77 \u00B7 ts/packages/spl-governance/src/coder/accounts.ts:432 \u00B7 ts/packages/spl-governance/src/coder/accounts.ts:695 \u00B7 ts/packages/spl-governance/src/coder/accounts.ts:869 \u00B7 \u002B9 more site(s) not listed \u2014 the 13 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-binary-oracle-pair/src/coder/accounts.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"c76dae6bb0c8147fed7d9c843c6d9331db6056fc7d0b801ff4e6cde5c60c502c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): ts/packages/spl-governance/src/coder/accounts.ts:484 \u00B7 ts/packages/spl-governance/src/coder/accounts.ts:796 \u2014 both copies are in the same file, so extract the block 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":"ts/packages/spl-governance/src/coder/accounts.ts"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4aaf9a6e9a04cb04ffda11c002e8112e14cd5fbcb241b542986f9a8992d6746"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 7 locations): ts/packages/spl-stake-pool/src/coder/instructions.ts:166 \u00B7 ts/packages/spl-stake-pool/src/coder/instructions.ts:203 \u00B7 ts/packages/spl-token-lending/src/coder/instructions.ts:82 \u00B7 ts/packages/spl-token-lending/src/coder/instructions.ts:98 \u00B7 \u002B3 more site(s) not listed \u2014 the 7 copies are spread across 3 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-stake-pool/src/coder/instructions.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"cabb34e4125cc7a2dd1d1b46cfbd62d3664a78454df70bd6394c1e68c0b1ab27"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): docs-v2/src/lib/render-description.ts:65 \u00B7 docs-v2/src/pages/og/[...slug].png.ts:265 \u2014 the two spans are one implementation copied and then locally edited \u2014 53 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/render-description.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f07ccfb60c77c9e41b0756e193729d4cf7c85ef77fadb8de6f7ec8e080aefbc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 31 locations): ts/packages/anchor/src/program/token-account-layout.ts:134 \u00B7 ts/packages/spl-governance/src/coder/accounts.ts:360 \u00B7 ts/packages/spl-governance/src/coder/accounts.ts:412 \u00B7 ts/packages/spl-governance/src/coder/accounts.ts:428 \u00B7 \u002B27 more site(s) not listed \u2014 the 31 copies are spread across 7 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/src/program/token-account-layout.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"773040b592a8dc937fa1d451f0a2a3a4519f35e4bee12c4c3cc795f169916166"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 14 locations): ts/packages/spl-governance/src/coder/accounts.ts:386 \u00B7 ts/packages/spl-governance/src/coder/accounts.ts:496 \u00B7 ts/packages/spl-governance/src/coder/accounts.ts:529 \u00B7 ts/packages/spl-governance/src/coder/accounts.ts:563 \u00B7 \u002B10 more site(s) not listed \u2014 all 14 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-governance/src/coder/accounts.ts"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"f60e30ea9aaf9685dc731d90002d53fd96199cb9aa8453d4e2c584fe8fd31210"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): ts/packages/spl-name-service/src/coder/instructions.ts:50 \u00B7 ts/packages/spl-token/src/coder/instructions.ts:225 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-name-service/src/coder/instructions.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"6290d61ae659a4d4920d027eb39bc6e35d16ecbf10b1627e86468b3c3a744f5c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): ts/packages/spl-token/src/coder/instructions.ts:166 \u00B7 ts/packages/spl-token/src/coder/instructions.ts:174 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-token/src/coder/instructions.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"24e13c67509850ed58b53821d38b8bddee4eff827d5ed33e1e41b9f9d2c389a9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): docs-v2/src/lib/rehype-copyable-shell-commands.ts:49 \u00B7 docs-v2/src/lib/rehype-copyable-shell-commands.ts:62 \u2014 both copies are in the same file, so extract the block 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":"docs-v2/src/lib/rehype-copyable-shell-commands.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"a435b772b8b6c2d952a4664095d97cbe96f0cf8769119d4b48f00a062315bd56"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): docs-v2/src/lib/render-description.ts:38 \u00B7 docs-v2/src/lib/render-description.ts:64 \u2014 the two spans are one implementation copied and then locally edited \u2014 50 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/render-description.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"a345785743819a3ddfaeba0b70359b48039e5d7fac3b96a871a7d15dc0d7f221"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): ts/packages/spl-governance/src/coder/accounts.ts:871 \u00B7 ts/packages/spl-governance/src/coder/instructions.ts:570 \u00B7 ts/packages/spl-governance/src/coder/instructions.ts:900 \u2014 the 3 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-governance/src/coder/accounts.ts"},"region":{"startLine":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"beba622351da3f0aa3f8438f15e912e55257ff6dd3d4fe425084b483f0ded5ce"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: docs-v2/src/lib/client/katex-styles.ts:10 imports katex/dist/katex.min.css?url, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/client/katex-styles.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffd94325ee77ee9b30d063a668afe7bfe5da93bd5c0dd57b540081033860c071"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function typeSizeWithContext (cyclomatic 32, cognitive 26): typeSizeWithContext has cyclomatic complexity 32 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/src/coder/borsh/idl.ts"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"29a2c391afdf5480afd54822a09cd9e4a788065c38ab38eed5768f948572c0c9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fieldLayoutWithContext (cyclomatic 30, cognitive 28): fieldLayoutWithContext has cyclomatic complexity 30 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/src/coder/borsh/idl.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce2e32fa967322f69a8b781e61663dc562ecaaee084e05439aa19f2e6b924e0a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveGenericArgs (cyclomatic 27, cognitive 61): resolveGenericArgs has cyclomatic complexity 27 and cognitive complexity 61; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/src/coder/borsh/idl.ts"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"d57e741ccc1a14b4e2000c1000cd3169f58d0a1e09530d76041c25987bb35378"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveGroup (cyclomatic 24, cognitive 17): resolveGroup has cyclomatic complexity 24 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/sidebar.ts"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"31c489643093effd65005991867dacf1c4ecb6a8387484078a9974305fccbb2b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function POST (cyclomatic 17, cognitive 23): POST has cyclomatic complexity 17 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/api/mcp.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"f25c4b8135d9d036e5b5a0aa47a4b31e6f72a4060d35acc3af86b564d81b774a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sendAndConfirm (cyclomatic 16, cognitive 31): sendAndConfirm has cyclomatic complexity 16 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/src/provider.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"161c2920a97c5d5771596179e65deea1de0de49332a6f1d11e96f255b58d5b33"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertNonRecursiveType (cyclomatic 15, cognitive 16): assertNonRecursiveType has cyclomatic complexity 15 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/src/coder/borsh/idl.ts"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"842f9376c7bd55ce9cd879779aa8655c6c4c38183693e3a730756646c9a64e19"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 15): (anonymous) has cyclomatic complexity 15 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/rehype-code-annotations.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"efabbf84f8b5ff9cf3988e3a6c044c30a45b1d0e9bb0c2ce6125accc3d575e3d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleOverviewLinkClick (cyclomatic 14, cognitive 10): handleOverviewLinkClick has cyclomatic complexity 14 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/client/sidebar.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e1cb17eb6d7fe71c94da1100e4b2d1871e3dd9b8adee1ff94ced163749d0382"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function postprocessRenderedBlock (cyclomatic 13, cognitive 22): postprocessRenderedBlock has cyclomatic complexity 13 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/expressive-code-output-separators.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"3762e6ed3545f54ac220a59736ae2135428eda969e8b99de121cdad2a6ce4f70"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 15): (anonymous) has cyclomatic complexity 13 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/client/search.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f4d7c88b09a8cdb7b0feeb02777307d6029bbc696ef4acef068e31061d3c8db"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseLogs (cyclomatic 12, cognitive 20): parseLogs has cyclomatic complexity 12 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/src/program/event.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba60e75bed273179521e2aab2abd68f02df9b2f8a6104bbaac9c35b9a0a5f5b5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sendAndConfirmRawTransaction (cyclomatic 12, cognitive 20): sendAndConfirmRawTransaction has cyclomatic complexity 12 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/src/provider.ts"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"35578e70d33761fa45eb6d536f5c4696e1b48c0fe82b7140a1fac50bb077bada"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 15): (anonymous) has cyclomatic complexity 12 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/rehype-code-paths.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"209f1d3d9a4a1c2b132124389607b3c3921eea07c63c33df6ab98e7dd0b4d844"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function simulateTransaction (cyclomatic 12, cognitive 15): simulateTransaction has cyclomatic complexity 12 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/src/utils/rpc.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"101127055d657500fe3a00e5f1a6675e57370b812d2c181969d4766cb9b50f47"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function convertUndefinedOption (cyclomatic 11, cognitive 15): convertUndefinedOption has cyclomatic complexity 11 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/src/coder/borsh/instruction.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"33a596374e7db793e48056c9401d21e28c90e91fd9f3d7549e99437b9d0d85ed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function simulate (cyclomatic 11, cognitive 14): simulate has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/src/provider.ts"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a4a0222449908640a775c184947821fd7149a4470160b1083eaf6f0f855b455"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveGenericType (cyclomatic 11, cognitive 12): resolveGenericType has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/src/coder/borsh/instruction.ts"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"288f751841a0b250d204cee8720b3ea02853f92b3f1812d24f7915af06499034"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ScrollAreaFades (cyclomatic 11, cognitive 10): ScrollAreaFades has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/components/ui/scroll-area.tsx"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd6d841d8ff589d3bf87794d2d837668ae68432edcb5d8cc2916dcdaa72424f6"}},{"ruleId":"R3","level":"warning","message":{"text":"ts/packages/spl-governance/src/program.ts: 5934 lines of code: ts/packages/spl-governance/src/program.ts has 5934 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-governance/src/program.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed7e831655b19a8fed6d30efb78e8472408685352022db5a278a28b5423fab60"}},{"ruleId":"R3","level":"warning","message":{"text":"ts/packages/spl-stake-pool/src/program.ts: 3140 lines of code: ts/packages/spl-stake-pool/src/program.ts has 3140 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-stake-pool/src/program.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"531860545915464151c0a2b486e00cd4f44774df3e977e45fbfdb6529e082708"}},{"ruleId":"R3","level":"warning","message":{"text":"ts/packages/spl-token-lending/src/program.ts: 2586 lines of code: ts/packages/spl-token-lending/src/program.ts has 2586 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-token-lending/src/program.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"84bcbbd288a7248609479409c0b4f32171bc609c3561fab0495977ff0f68be4d"}},{"ruleId":"R3","level":"warning","message":{"text":"ts/packages/spl-token/src/program.ts: 1695 lines of code: ts/packages/spl-token/src/program.ts has 1695 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-token/src/program.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"042ded16d1eab952656af9e595be5992949446b2d8f1ff24d32c55decb833fe7"}},{"ruleId":"R3","level":"warning","message":{"text":"ts/packages/spl-token-swap/src/program.ts: 1474 lines of code: ts/packages/spl-token-swap/src/program.ts has 1474 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-token-swap/src/program.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5be9dc8aecaaf6f7b0d9a26fefd3cd658a2282cebaaddd16e9e011e31f14c753"}},{"ruleId":"R3","level":"warning","message":{"text":"ts/packages/spl-governance/src/coder/accounts.ts: 1111 lines of code: ts/packages/spl-governance/src/coder/accounts.ts has 1111 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-governance/src/coder/accounts.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"17e5d8a3a7bf854bc763f75a90b1930cd1bbeda628a493cb4319e8f79435ec0a"}},{"ruleId":"R3","level":"warning","message":{"text":"ts/packages/spl-governance/src/coder/instructions.ts: 892 lines of code: ts/packages/spl-governance/src/coder/instructions.ts has 892 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-governance/src/coder/instructions.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c12b3c28e2fdbb680487c0a907ced554686ca312c7b13e6c5ce4530c1e6b78a0"}},{"ruleId":"R3","level":"warning","message":{"text":"ts/packages/anchor/src/coder/borsh/idl.ts: 776 lines of code: ts/packages/anchor/src/coder/borsh/idl.ts has 776 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/src/coder/borsh/idl.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"31107837921bd4f599346d91979648827df2602f1fa1a7efb705ee6d366d04dc"}},{"ruleId":"R3","level":"warning","message":{"text":"ts/packages/anchor/src/native/system.ts: 772 lines of code: ts/packages/anchor/src/native/system.ts has 772 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/src/native/system.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"084343ece1943fba2f425564d92d2ce6a30cdb24dad983d9e3ebe08592891f0f"}},{"ruleId":"R3","level":"warning","message":{"text":"ts/packages/spl-binary-oracle-pair/src/program.ts: 762 lines of code: ts/packages/spl-binary-oracle-pair/src/program.ts has 762 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-binary-oracle-pair/src/program.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"17dbace87dae3ac57c8822273e5e890d47dd5dde254f74e7f68b6fac4f741420"}},{"ruleId":"R3","level":"warning","message":{"text":"ts/packages/spl-binary-option/src/program.ts: 702 lines of code: ts/packages/spl-binary-option/src/program.ts has 702 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-binary-option/src/program.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6285a9c1200758b8137429512209568619c498859546e4c9bf9ee3ccd616e19"}},{"ruleId":"R3","level":"warning","message":{"text":"ts/packages/anchor/src/error.ts: 669 lines of code: ts/packages/anchor/src/error.ts has 669 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/src/error.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"94da6a708435aa2ebdb454d3cee06d938571b203c89f8b8d800c1cc5d4c7caff"}},{"ruleId":"R3","level":"warning","message":{"text":"ts/packages/anchor/src/coder/borsh/instruction.ts: 667 lines of code: ts/packages/anchor/src/coder/borsh/instruction.ts has 667 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/src/coder/borsh/instruction.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3fd0f5a68f30f6a13a8f186f39a13bd297f5f229787867d61da3b598080ab12"}},{"ruleId":"R3","level":"warning","message":{"text":"ts/packages/borsh/src/index.ts: 659 lines of code: ts/packages/borsh/src/index.ts has 659 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/borsh/src/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"78b91f14a0e2745b36e80dfc401863bca7a9ac1dd37106a42dc1df1d7c7b1958"}},{"ruleId":"R3","level":"warning","message":{"text":"ts/packages/anchor/src/program/accounts-resolver.ts: 649 lines of code: ts/packages/anchor/src/program/accounts-resolver.ts has 649 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/src/program/accounts-resolver.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac8d8df2f359269587fee48023fdc529e61d85cfd5b6554e990d23bf588e3475"}},{"ruleId":"R3","level":"warning","message":{"text":"ts/packages/anchor/src/provider.ts: 568 lines of code: ts/packages/anchor/src/provider.ts has 568 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/src/provider.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"738e6d51d6398f640f979424b42705da111ff0d6ceb293fd092741bf338f9e25"}},{"ruleId":"R3","level":"warning","message":{"text":"ts/packages/anchor/src/idl.ts: 564 lines of code: ts/packages/anchor/src/idl.ts has 564 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/src/idl.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"86d3bb75fcfcf16d8feb45c8ce16c5c04931903dd4bd869d8aaa0a95095eff64"}},{"ruleId":"R3","level":"warning","message":{"text":"docs-v2/src/lib/sidebar.ts: 482 lines of code: docs-v2/src/lib/sidebar.ts has 482 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/sidebar.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f334c8524955afcefc0a3c3592eafdffb22de76ee86aaf681da72e6f8631bd56"}},{"ruleId":"R3","level":"warning","message":{"text":"ts/packages/anchor/src/program/namespace/methods.ts: 448 lines of code: ts/packages/anchor/src/program/namespace/methods.ts has 448 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/src/program/namespace/methods.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcdd56fe073be44b7c39b0fd5f7ca3330d49c438f24d8cd662cdeecb0d7270b1"}},{"ruleId":"R3","level":"warning","message":{"text":"docs-v2/src/components/mdx/swatch.tsx: 446 lines of code: docs-v2/src/components/mdx/swatch.tsx has 446 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/components/mdx/swatch.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb021a3ef1d2b5a0bea834b75a899920d3412847b0e79286bbf8268188616dc9"}},{"ruleId":"R3","level":"warning","message":{"text":"docs-v2/src/pages/og/[...slug].png.ts: 428 lines of code: docs-v2/src/pages/og/[...slug].png.ts has 428 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/pages/og/[...slug].png.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c69e026721e5eaaf50e4bc522e03bee995bfd409fd506b252a3a8fc2f37fc6ce"}},{"ruleId":"R4","level":"warning","message":{"text":"No test rig can mount a component in this workspace: ts/packages/anchor/jest.config.js declares environment \u0022node\u0022, and no package here declares a DOM implementation (jsdom / happy-dom), a component testing library or a browser runner \u2014 so none of the 6 unreached component module(s) can be tested as written, however the suite is authored: docs-v2/src/components/mdx/swatch.tsx, docs-v2/src/components/pda-seeds-flow.tsx, docs-v2/src/components/ui/scroll-area.tsx, docs-v2/src/components/ui/button.tsx, docs-v2/src/components/ui/badge.tsx, docs-v2/src/components/ui/separator.tsx. Add a DOM environment and a component testing library (for example jsdom \u002B @testing-library, or the runner\u0027s browser mode), then test the components. Reported once because these files share one cause, not one omission each."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/jest.config.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"476fd30bc70d1078d1b61e63d5c0b87ce62879e1af3057cd849245fee2000e83"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-governance/src/program.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d26d35a7bd3fbd17a7c3ad229c3b119634f9927a702aea46b48ac93f171aae1f"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-governance/src/coder/accounts.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e600e2eae66e6ff9c04676817cc9b8bafc955ecbe5cb8c8b94dae9dac5112a5d"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-governance/src/coder/instructions.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"884cc18edbfc35c1e9c8814b20d69d8d69ab910eddd47164fe202ab1cdaceb4a"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/sidebar.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cab5c26e75befef73834b66c96dfc2b38f00287d52b7733a1e8c80700e2190d"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/pages/og/[...slug].png.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"41e21da2b1d7360b1a68992edbc35afb4782a7fef2fb335a522a70629f451c17"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/client/rotating-banner.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8817d9f5abb5664cc76056d9c0b9fc60ebc5b0a10acd6342ea0f28d8118c24b0"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/code-annotations.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8823c87f30ddbac2de7384cbea16ace9f682b28cad730e5a24d058a96100a1a3"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/client/toc-sidebar.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"934cf3d4a0087f9ba29fb010af1f8e6f0b1af8209082cf012ad5bd4cdd8de8b5"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/client/sidebar.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"53688895fa5d814b59b5ff33bf2fb5b98d9c11fd449d552dd28e855988fdb98b"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/client/search.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5be1c54fcb1da340b0e6a4fbb90a71d68eba7fe360ac157f27d8da744c5b46b"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/client/toc-header.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c63cc11c3f338b32722b373c15fa16d481fb5269d75d057f93add4b7e54c7738"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/client/scroll-group.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd024de021aede09a80e804993110f90412a14f4a3c5058036b418ba6ff904d4"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/client/tabs.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e8ffc85a9baba939667d6db0b1b2bb25ebae289d23c19ce4b5d5ef77a850193"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/client/toc.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"36ad648c7c5b4b35500a80afbf97f46a1c1df526186a93f9755a1b648e22013f"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/banner-graphics.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"21b62115afd721c469fe0a8f26c94e8664c1e3a0b14782b2f9643812a7a72189"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/rehype-code-paths.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cf2b16dd7f71f1e3d6d015f399641de583ea638cd24fc774271026ef836f260"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/api/mcp.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0288c74cfa51ea841e2588ddff4760a13fb270c1581ea3591a726378d7fe0828"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/rehype-link-icons.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"081a7a72a8dbc0892f540c6c458b382f99a6657a9e60a9695fd5ae0b79abd876"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/client/horizontal-scroll-fade.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"24678710fe54d7967bc7057f3b6d8ffb4d3d74883d467ea1b15033423eeb1c98"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/client/version-switcher.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd6234b591dd0cf79b7906b15997e6f199584f9eec3fb11b38ed6f265566526d"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/rehype-copyable-shell-commands.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a4e06a08679aa0195753d38cb83bba519326bb92ec55be82090211ad22b0d2"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/render-description.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30a2e16ea0e3b3d885ed4fe08b5758107d372ad54e4cb086b3ec12bffc444475"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/expressive-code-output-separators.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c37ebde7a1fcb0c245dd057280e59b1f3a2a08f5c6a19e256e9c8718666d72ef"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/docs-versions.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1c69cf7fb51de6c63684dc074d6758a26f4e4ccc62e1918d5093e86334dc4f9"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/docs.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bef6ec6a39b61ebaacd9839cbe96ef4712083968976d5e82433a56c3137abc06"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/expressive-code-config.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d97ae368325562391f3b8449b73e040f8634a80a4afeb650d00ba07c3d525952"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/client/mdx-aside.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e05f55c418058073ab82c20e364fb200773c4ae192323832c7786fbfb3477073"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/html-tree.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f45156becfcc52e2d4071898cb43b4a017d4820628baddd506873d2cde661a43"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/client/announcement.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"549ad3b2678c6154b4a1ee01faa81389a2b09f7bdda71ab33b98d922ebe8fbef"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/expressive-code-tones.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b70b6380261e363392980a59eac10127dc02b0d3fd50df02dd9b91446531d7e"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/utils.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"592053caf7e1039dbbdca2882df9ba67f27bdd08ebfde992cb3141f844e93bc3"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/client/docs-aside.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"06d80187039b3b5adfa1c264aa7e26e8240b6478c14ffff54a36aaa881a8d5a3"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/client/shell-command-copy.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"33ae5a96438c60eb021504a74c6a0c4e2f6fe7bf3732fb3d2f3c53ffde51e924"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/client/mobile-sidebar.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"716a9e0c68e5e0f20f8120c218ec13f08a969c6aac0478c66e5d33e7bf130462"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/client/storage.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f794b3ff768dda3727ce6901898eecc582886abda1e7f373e684c4fa5d8a3e26"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/shiki-themes.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2957c13f7e6bca6da94c113ea9a207fe1f621e0233ed07700f9cc2cecea6fb98"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/expressive-code-shell-prompts.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df89356c3701c8f04b2863da41c4a0a937d526b68fed100f4b6ba78051cabb8e"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/client/theme-toggle.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b91e671e74c615f81aab6e853cb20cba52e45091637f657418ed18d97f8c66c6"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/client/landing-scroll-cue.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b4ec9e6a341fd4ab6ad5de171ea63e5bf5d3a76a7d6b13be7e2940dc23b2c0f"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/client/dom.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a624cab005c6b496fa54eeef10c34f25a7aefcd0f8881f9ee142e872d40e2574"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/client/hotkey-labels.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"503694f0fa548632587e34dcb233482ee1729566dbb5b3bd38fb0f3a230b1888"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/expressive-code-engine.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25269ebd8fded9dc47453263bde1915d4a2e784869190ab1db538f0c3cf063bd"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/client/lifecycle.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"838c47621475a9688e268eee3ffc0196141d6d9bd08ad965a996b1bb30e82855"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/rehype-code-annotations.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f87e0261eeb43aa7bffb7976a606ebe41df9df70dba98ea7d05cd27925716e8"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/git-lastmod.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7785ab5d540f6546ea7c9de7b18082049c2fe1367c0e713c343dcccd3ef1ca76"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-governance/src/coder/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"66601622649f8988be1c7c4760f71b40ffe116cadcf0826d03f6285e5c5dc2a1"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/rehype-table-wrappers.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0111f7174c41d5fc7579acc36c94d57f10883315f38dce663c2d74aae6db734"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/client/katex-styles.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a70bc853a4c057f484a9da71ca132c6ce5495aa4ddf7e06f87a40f960cc2893b"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/pages/search-index.json.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f99abb88665f024e67fae154a97eff3aec1251eedd7ead684c13171764bb44fe"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/terminal-languages.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b06ee0a0a9621a9a94fd7e2b2f2cd98a82845b9ce90092a562d41cf6ec01267"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-governance/src/coder/events.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"57408ba11dd604740038d2ce17ddb4c20633b4aecffab18870ca6df6f03bfc56"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/spl-governance/src/coder/types.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea0e0e3a8b7d6172740e12ebef037fea3807a2e1697c7916da0e989a5845f526"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/toc-heading.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42fe60f253e09fcac9dd76cfd44c1157bd2ca3ab97e0c0db82b3a1ba0a6e8995"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/client/landing.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fb67f5c503fbfc1233d97df45b9f4c31aa1bd155b0b2cd64b1cb124667046be"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/scroll-groups.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"139b18b86784dc5a1bdc47982243bd9d3b16ed9661e998cc415eefe9a1dcfc0d"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~565 LoC): no import path from any entry point (23 application, 21 tooling, 132 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/sidebar.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"28f7d4b520339ee2dbc0bfa90921918fe5d24fff4693323cf96a11a9fea136eb"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~474 LoC): no import path from any entry point (23 application, 21 tooling, 132 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/components/mdx/swatch.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1108a1abeff05a48d890fd38d1cda04917f3a7a4b75ef61732026bbdad09ede8"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~391 LoC): no import path from any entry point (23 application, 21 tooling, 132 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/client/rotating-banner.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"75d814f5b8fb2e38d38a3d5635f923764f955aa81b6ffd87ded539a2617ecb54"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~294 LoC): no import path from any entry point (23 application, 21 tooling, 132 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/client/toc-sidebar.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"00fdd3bb9e5b4ae643f62b89de4dff8d320c98a67a9106130bd9630242af084e"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~256 LoC): no import path from any entry point (23 application, 21 tooling, 132 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/components/pda-seeds-flow.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de6df42994b67a9d929be1e0129acc045f54590eed399d5f158959bb12ab4cc5"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~239 LoC): no import path from any entry point (23 application, 21 tooling, 132 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (docs-v2/src/lib/client/version-switcher.ts) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/client/sidebar.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bbf22bcc458e62a3e400f04de8d33f80bd647fcbcf148992e0dc4eabb50ad62"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~233 LoC): no import path from any entry point (23 application, 21 tooling, 132 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/client/search.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2902162f2e78899fcbab31799b5d7da67fc50b86013c2f2ff8cb09971ff62cad"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~233 LoC): no import path from any entry point (23 application, 21 tooling, 132 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/client/toc-header.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1fce6ff5fe1a2eb2cd8f9564009e034ed1f2385364f6e0b4886285d78896838"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~231 LoC): no import path from any entry point (23 application, 21 tooling, 132 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/components/performance-benchmarks.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4bb53df1b404b42d751625cee7a0401c41a376d1d643caab3558e035f1661cf"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~214 LoC): no import path from any entry point (23 application, 21 tooling, 132 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/components/ui/scroll-area.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"618675fcca9d848abe57994bb61c26f2da1c1e432d93745c18900e8d29e70faa"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~197 LoC): no import path from any entry point (23 application, 21 tooling, 132 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/client/scroll-group.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0699cc33c62269f8524da6486fc2adf509338933a1eee69e4dcb613aaa27bbfe"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~197 LoC): no import path from any entry point (23 application, 21 tooling, 132 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (docs-v2/src/components/performance-benchmarks.tsx) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/landing-benchmarks.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d7e141f8bdf99c5577061824b1acdd4d35745932935489391c4d6e5f681a3e6"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~194 LoC): no import path from any entry point (23 application, 21 tooling, 132 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (docs-v2/src/lib/client/mdx-aside.ts) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/client/tabs.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1f913dded9bf26f2fd9166449aebdd13e56e77f7cfe7e364e8402b64a38ebf3"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~165 LoC): no import path from any entry point (23 application, 21 tooling, 132 test roots considered), but 3 in-repo import(s) from 3 other file(s) do name it (docs-v2/src/lib/client/scroll-group.ts, docs-v2/src/lib/client/toc-header.ts, docs-v2/src/lib/client/toc-sidebar.ts) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/client/toc.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"afbcf55349228fa2564dbab74ac3f634305d4359c53e0be2617636d2bb610da2"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~139 LoC): no import path from any entry point (23 application, 21 tooling, 132 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/api/mcp.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25bab490f5b92a2bb986092100bc2ea010a96772e927b0dc1ab73e0598737b9f"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~128 LoC): no import path from any entry point (23 application, 21 tooling, 132 test roots considered), but 2 in-repo import(s) from 2 other file(s) do name it (docs-v2/src/components/performance-benchmarks.tsx, docs-v2/src/lib/client/landing.ts) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/client/horizontal-scroll-fade.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c89370383b05907449484817c33a26491f3daa6fd53b04d52f2934dc513d20f4"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~96 LoC): no import path from any entry point (23 application, 21 tooling, 132 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/client/version-switcher.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30f1246b41cd45c90ad58bf3d701995ac5e47be7b46838ef80b0390baa1813d2"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~95 LoC): no import path from any entry point (23 application, 21 tooling, 132 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/render-description.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b731b2dc5645b103c6933b0aaadb295ddbe10404a68c9e4d384d0e3b559c4292"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~88 LoC): no import path from any entry point (23 application, 21 tooling, 132 test roots considered), but 2 in-repo import(s) from 2 other file(s) do name it (docs-v2/src/lib/client/version-switcher.ts, docs-v2/src/lib/sidebar.ts) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/docs-versions.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de83d8860a3bc2d54e9f28bda890fd4f14c0a0f4b051c5748c56ae33a77a82f8"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~76 LoC): no import path from any entry point (23 application, 21 tooling, 132 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/client/mdx-aside.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df65d0e7f817ecc3e4c60a22bf131d01395b81556854812b0d2cfe4d9dd6720a"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~72 LoC): no import path from any entry point (23 application, 21 tooling, 132 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/client/announcement.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"06d417ec65cc230d767b3b3af274a5f817852ef69e701dc63a4f05f2b84bd046"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~62 LoC): no import path from any entry point (23 application, 21 tooling, 132 test roots considered), but 5 in-repo import(s) from 5 other file(s) do name it (docs-v2/src/components/ui/badge.tsx, docs-v2/src/components/ui/button.tsx, docs-v2/src/components/ui/scroll-area.tsx and 2 more) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/utils.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"268d8bcf7da33c2f23be7c142993931ca2dfb3cf6bc78d3681bfe99351acb683"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~58 LoC): no import path from any entry point (23 application, 21 tooling, 132 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/client/docs-aside.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ea0e06af18dae0d5273594ffe4033f83d0839e06fbed4b7fb9f2c95a3940e18"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~57 LoC): no import path from any entry point (23 application, 21 tooling, 132 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/components/ui/button.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"728028b94ed7aa1dfa3813660516cfd139016e4711424a4cdd6f49c194f07de2"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~57 LoC): no import path from any entry point (23 application, 21 tooling, 132 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/client/shell-command-copy.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8778eefca45cd2517fe9f6dc127c24b12e8c67106fcaf35b31d50c5665109f2a"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~53 LoC): no import path from any entry point (23 application, 21 tooling, 132 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/client/mobile-sidebar.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"55b85817745bf3c3e0bacb373493228593254d7226e3616a4ce97ab974716243"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~53 LoC): no import path from any entry point (23 application, 21 tooling, 132 test roots considered), but 4 in-repo import(s) from 4 other file(s) do name it (docs-v2/src/lib/client/announcement.ts, docs-v2/src/lib/client/sidebar.ts, docs-v2/src/lib/client/theme-toggle.ts and 1 more) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/client/storage.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"033db675451b5d70d670041b51462b98870d82f4f5d3d4dd2f4d5dd2aa800f13"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~47 LoC): no import path from any entry point (23 application, 21 tooling, 132 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/client/theme-toggle.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a05da7a7ba6698611517402bb54026e21d69fa26cb6860671d7533bc242eeb4"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~41 LoC): no import path from any entry point (23 application, 21 tooling, 132 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/mdx-components.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc3834860abee8d637def0274a3dbcb02488f51798d75b3488160719b325d435"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~38 LoC): no import path from any entry point (23 application, 21 tooling, 132 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (docs-v2/src/lib/client/landing.ts) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/client/landing-scroll-cue.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"693c00c353b85405efa13b62543e89a5b7a57a670c6bacc02c176e3bb80e59ba"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~36 LoC): no import path from any entry point (23 application, 21 tooling, 132 test roots considered), but 6 in-repo import(s) from 6 other file(s) do name it (docs-v2/src/lib/client/docs-aside.ts, docs-v2/src/lib/client/scroll-group.ts, docs-v2/src/lib/client/sidebar.ts and 3 more) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/client/dom.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8624d66363c57ef9476330cdf871bebcfb40ed9d4beda13936fcee450391432"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~35 LoC): no import path from any entry point (23 application, 21 tooling, 132 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/components/ui/badge.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"97da391af5b5435ff45e82f94ab0a9b9895d043c05180bbbc568ea9dd9432393"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~33 LoC): no import path from any entry point (23 application, 21 tooling, 132 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/client/hotkey-labels.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca8423c01caf14bee40b22a65f39999c988f563d2401f9dc792b36bc1684d992"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~31 LoC): no import path from any entry point (23 application, 21 tooling, 132 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/expressive-code-engine.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"855c2406cb25f03075965517787f4d381e7df72cf6ef327ba5096c99821bb7de"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~28 LoC): no import path from any entry point (23 application, 21 tooling, 132 test roots considered), but 13 in-repo import(s) from 13 other file(s) do name it (docs-v2/src/lib/client/announcement.ts, docs-v2/src/lib/client/docs-aside.ts, docs-v2/src/lib/client/katex-styles.ts and 10 more) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/client/lifecycle.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5217c7036ee8b5ab0d15fe77bd8a0bc2711e099a744e9aae561e488e0c4412f6"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~25 LoC): no import path from any entry point (23 application, 21 tooling, 132 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/components/ui/separator.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d129d0dcd619578218f938184af521681c6e2add513cf60c919c3e74c1ee43dd"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~23 LoC): no import path from any entry point (23 application, 21 tooling, 132 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/git-lastmod.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaa374b2ddfe4c9253a024ab3a1664ff2348f683251705d15104e06e4d92835c"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~20 LoC): no import path from any entry point (23 application, 21 tooling, 132 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/client/katex-styles.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"59ae9f33c01259ee1c8b071ce16dc74bf8b78df0985e088149cf338061e54f92"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~9 LoC): no import path from any entry point (23 application, 21 tooling, 132 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/toc-heading.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25ca69e39faeeafa5e65a5bd68d6c756a63527b88e80eb95313287e1cb38785d"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~7 LoC): no import path from any entry point (23 application, 21 tooling, 132 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/client/landing.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"812be367226159a66db37c12503816cdb49cc829c8c006e63253de15326f7093"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~3 LoC): no import path from any entry point (23 application, 21 tooling, 132 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/scroll-groups.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76eace2bbe874f52424f2d35b68c31e95c9c73f16b9026dcca314a24910735ca"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027SOCIAL_LINKS\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/consts.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"29ab4dc430307e9c521828ef048910182f50a222af3f8d242c8df2cc2ae3e889"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027ICON_MAP\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/consts.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"e80497972ba6863620342ace55a8c33d256588bb0aed1d85e7f4546ffc451010"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027DEFAULT_BANNER_GRAPHIC\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/banner-graphics.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"626766b58eeb100a25bcaf95d4df9094fa3266c9d4ed50c29e44b7c5de589eb8"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027DEFAULT_ROTATING_BANNER_GRAPHIC_ID\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/banner-graphics.ts"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"cee989e88824614e944b40ba33b50927c912803676695f088472f2309fe98b96"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027withBase\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/docs.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b6216c7600d8500b8f04ed56d1de69704f9df38f24e52663a2b0418cf424ba"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027docOgImageHref\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/docs.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7bb51f30aa657c9221814ad9404631ccb58be146fec0449a13d3f4b9ea13ab1"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getEditUrl\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/docs.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"533ff82af2b18bd399840d50b0fc7a6e7cdf17f4cf1f73626d69ec1eb9952b2c"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027resolveLastUpdated\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/docs.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e13672dd9a041599f6b4a006fe3bd5a70c711fcabedcbdc7b159fb86891e5bf"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027resolveTOC\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/docs.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0a5262aee46c79eab3fab362b298d18f35d7ed0800c3af746da11022c9d94f6"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027SYSTEM_PROGRAM_ID\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/src/native/system.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"71b47986c0ba675a66ad8df7510a30bb51d285e50eff3cfe10ca98de34247ea3"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027isAccountsGeneric\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/src/program/accounts-resolver.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a79b6e187ad2f38a6c434c7aad0ab96061bb944acd771f42cbdabb2b0fb09d"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027AllEvents\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/src/program/namespace/types.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ae253840f313955ecb65d579a9f49020bfb370cf4b63ee9ca7e10e5f46fc982"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027IdlErrors\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/src/program/namespace/types.ts"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"746a97a352ee8756f27d931c0e9808a6233e5ef9488dd1dc238f195997e322fd"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027SendTxRequest\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/src/provider.ts"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"bab766e9390ee340b4e372189a481a4d631ebf804f5ba4469ce6542bad54ca18"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/src/workspace.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"b66e9e3b69b4e1828f1c7c50e8b42724454714277ab4a9d04ffe19e189626ab8"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027borsh\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/cpi-returns/tests/cpi-return.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6fed24485ec7e88379f1500944d51fbd1e2593efbc9fc05b4e44d70331d4987"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027ts-mocha\u0027: Declared in tests/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"94343ac131f86e7caab4959cd0870458945b767177ada677ba97043b67540053"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027ts-mocha\u0027: Declared in tests/custom-coder/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"67af17a56cceb0c1c2f2d05f1d863b83b67e713acaada249180615c9b9ec05de"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027ts-mocha\u0027: Declared in tests/custom-program/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"198504d2e378a55ab1f3c509359f1612771cb2f70861284d7fc4276414ddfdaa"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@commitlint/cli\u0027: Declared in ts/packages/anchor/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4e4b744c5cc38dd1e8e9ce798ba397b74db3c74ababb944db75ab58e488bf6d6"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@commitlint/config-conventional\u0027: Declared in ts/packages/anchor/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"08b5625328162eb81d97a45a5794a4fa538b282a322dc8f5905b23789e61fa08"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027tslib\u0027: Declared in ts/packages/anchor/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a7062447bf8ca9414144a95f3398c8728ed2b67cd63da4fa9c55bf5703cf44a1"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027tslib\u0027: Declared in ts/packages/spl-associated-token-account/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dae38c6b229d1819be2dcc45d12b8c830667ea8bed50382a0aec300034641875"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027tslib\u0027: Declared in ts/packages/spl-binary-option/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4598a38c00465cfb94b5221f08ee9c191dd06ff70fc38e71a0df772f597b5008"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027tslib\u0027: Declared in ts/packages/spl-binary-oracle-pair/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"03ccc2f0e133c5806425a477f072b34368fe9720d8357e56b3de7cab829c27b4"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027tslib\u0027: Declared in ts/packages/spl-feature-proposal/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1f98f984aebe7ac626754d026bf9a0e22bb3485ea9eb8c1867c842fb86eb7199"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027tslib\u0027: Declared in ts/packages/spl-governance/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"647d71245b6851dbddcb23298e20bff88121e5348821105c236f57f42395954d"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027tslib\u0027: Declared in ts/packages/spl-memo/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dfff4492749bd795c927e4acf3f1950608caf6bfde5af7b6ddd760a5f96d7968"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027tslib\u0027: Declared in ts/packages/spl-name-service/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b467d4778cf7d0dc8c3e52edba7b84a35b9cc2ed712771b6892385cdaac268d5"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027tslib\u0027: Declared in ts/packages/spl-record/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"cf6e1143ff9dffcf0433f8f21ff16cfc05bf602a78d67643a3ca1644dd4cf27b"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027tslib\u0027: Declared in ts/packages/spl-stake-pool/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0019ed026e2e48875263ca79b987df367adebc6bb83ed337cac5dae6d0541792"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027tslib\u0027: Declared in ts/packages/spl-stateless-asks/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d6f59f80266c8b5083919d36d36aabd40c9f1ae392cffda29bbb3a77c3ad28de"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027tslib\u0027: Declared in ts/packages/spl-token/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b6e3f45c3dcaf0911cad2ab0af9ff8babd0845a2b568020e11d89f77f90848b1"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027tslib\u0027: Declared in ts/packages/spl-token-lending/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1c0e6b9e67f246cfe042c5ea14e153153b70ed470358313f542ee56fb02d8daa"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027tslib\u0027: Declared in ts/packages/spl-token-swap/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9a661879e4c88206ca241bf631f5ad7634fc45780f8ee9d2674e5255639564c7"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): ts/packages/anchor/src/index.ts \u2192 ts/packages/anchor/src/native/index.ts \u2192 ts/packages/anchor/src/index.ts"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/src/index.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"e425b3e1be618e1f096218cf208ac6bfb0e38132aafdfd903aa0f69b2faa98e3"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): ts/packages/anchor/src/program/accounts-resolver.ts \u2192 ts/packages/anchor/src/program/index.ts \u2192 ts/packages/anchor/src/program/accounts-resolver.ts (one verified cycle inside a mutually-dependent group of 4 files)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/src/program/accounts-resolver.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"40be476fd7c435e8bf800e8050206e8a37eb71f748389aa5572701dd30e0320d"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): ts/packages/anchor/src/provider.ts \u2192 ts/packages/anchor/src/utils/rpc.ts \u2192 ts/packages/anchor/src/provider.ts"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/src/provider.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a61d89b1bfc1278025522f8aca9431586af45f419be8ac80d33df3f763ab785"}},{"ruleId":"S1","level":"note","message":{"text":"No security response headers detected: None of the 11 security response headers the OWASP Secure Headers Project recommends (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options, \u2026) is configured \u2014 defense in depth, even when a reverse proxy could set them. This is reported because \u0060vercel.json\u0060 configures this repository\u0027s static hosting, including its response headers, so the configuration that would carry these headers is in this repository and was read in full. (\u22122.0 on this card.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/vercel.json"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f1006dd78f6d87dba72add4a7850c1f9f9518ddacb0ca2f767caeb716c2540b"}},{"ruleId":"X1","level":"warning","message":{"text":"Blocking \u0060thread::sleep\u0060 inside an \u0060async\u0060 body: This \u0060async\u0060 body is polled on an executor\u0027s worker thread, and \u0060std::thread::sleep\u0060 blocks that thread: for the whole delay no other task scheduled on it makes progress \u2014 the Rust form of blocking on a task. Use \u0060tokio::time::sleep(\u2026).await\u0060 (or the runtime\u0027s own timer), which suspends only this task. Where the blocking work is not a sleep but a synchronous call that cannot be made async, move it off the executor with \u0060tokio::task::spawn_blocking(\u2026).await\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/content/docs/v1/clients/_rust/main.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"90454e27f428af68d1289a33e9842c0455e336c0ffada2d13eaa4eb42c77ae31"}},{"ruleId":"X1","level":"warning","message":{"text":"Blocking \u0060thread::sleep\u0060 inside an \u0060async\u0060 body: This \u0060async\u0060 body is polled on an executor\u0027s worker thread, and \u0060std::thread::sleep\u0060 blocks that thread: for the whole delay no other task scheduled on it makes progress \u2014 the Rust form of blocking on a task. Use \u0060tokio::time::sleep(\u2026).await\u0060 (or the runtime\u0027s own timer), which suspends only this task. Where the blocking work is not a sleep but a synchronous call that cannot be made async, move it off the executor with \u0060tokio::task::spawn_blocking(\u2026).await\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/content/docs/v1/clients/_declare-program/client.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b7b98c13b294237507aa685f696a7009c97daeda6d3c7cf1fc7ea08d8f16a00"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.metaKey || event.ctrlKey || event.shiftKey || event.altKey\u0060 appears character-identically in 2 files \u2014 docs-v2/src/lib/client/scroll-group.ts, docs-v2/src/lib/client/sidebar.ts. 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":"docs-v2/src/lib/client/scroll-group.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f691f42a24fab4e91b9dd207d212b503742e5e42d30900ce65f271ca2f14f91"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060node.tagName === \u0027span\u0027 \u0026\u0026 hasClass(node, \u0027shiki\u0027)\u0060 appears character-identically in 2 files \u2014 docs-v2/src/lib/rehype-code-paths.ts, docs-v2/src/lib/rehype-copyable-shell-commands.ts. 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":"docs-v2/src/lib/rehype-code-paths.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e0b87f56a9c561948b4d6c0dacd5063ae1cf1d49950b34e45a0c3499ad91ce0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cluster_url.contains(\u0022localhost\u0022) || cluster_url.contains(\u0022127.0.0.1\u0022)\u0060 appears character-identically in 2 files \u2014 cli/src/lib.rs, cli/src/program.rs. 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":"cli/src/lib.rs"},"region":{"startLine":3469}}}],"partialFingerprints":{"codehealthFindingId/v1":"df0ad4465f240e2496c06110e6ce0b0444c3f12b4f513e11e2da2d3e5f561569"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060name_value.path.is_ident(\u0022serialize_with\u0022) || name_value.path.is_ident(\u0022deserialize_with\u0022)\u0060 appears character-identically in 2 files \u2014 lang/derive/space/src/lib.rs, lang/syn/src/idl/defined.rs. 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":"lang/derive/space/src/lib.rs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"089483733fbea5a3b973ff6694390783422f064422e9db0c76525e7823dc26d5"}},{"ruleId":"X2","level":"note","message":{"text":"Not all async functions that make a request accept an AbortSignal: Only 0/2 async functions that make a cancellable request (fetch, axios, ky, ofetch, got, undici, node:http) accept an AbortSignal or pass one on, so a request keeps running after whatever wanted it has given up \u2014 a page navigated away from, an unmounted component, a timed-out job. Take a \u0060signal\u0060 (or an options object that carries one) and hand it to the request; where nothing could ever cancel the call, omitting it is a deliberate choice \u2014 judge against how the function is used."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bd89d014f84408f7063269aa5892ba3df7c9af3e981ecfb0752c5731bc62d406"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: verifiedBuild: \u0060verifiedBuild\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/src/utils/registry.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"2edb6fcbca2ea7a82e171652963dcfe74528dca143864da1fe23ed988501703a"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: getDocs: \u0060getDocs\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/api/mcp.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2076360b77f72c406353198720a5ab13a70de4bbb1771335dce4106b51003a5"}},{"ruleId":"X5","level":"note","message":{"text":"Strict null checking is not enabled everywhere the repository type-checks: 28/59 of this repository\u0027s type-checking configuration(s) turn on strict null checking (\u0060\u0022strict\u0022: true\u0060, or \u0060\u0022strictNullChecks\u0022: true\u0060). A configuration that states neither is counted as OFF, because off is tsc\u0027s own default; a solution-style one whose \u0060\u0022files\u0022\u0060 is empty and whose \u0060\u0022references\u0022\u0060 point at other projects is in neither number, because it checks no source itself. Where it is off, \u0060string\u0060 admits \u0060null\u0060 and \u0060undefined\u0060: passing a value that is null compiles silently and throws on the first property access."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8870f9ff7b17c2e14c5ba3bc13137b94673aad0b9498438c572dabb049852943"}},{"ruleId":"X5","level":"note","message":{"text":"Null assertions (\u0060!\u0060) override strict null checking: ~0.5 \u0060!\u0060 null assertions per 1k TypeScript source lines \u2014 20 assertion(s) across the 42816 source line(s) of the 242 TypeScript file(s) read, which is the only code the operator asserts anything in (a \u0060!\u0060 in a \u0060.js\u0060 file is not this operator and was not counted, and one in a file whose null checking is off silences nothing). Densest: docs-v2/src/lib/client/docs-aside.ts (5), ts/packages/anchor/src/error.ts (5), docs-v2/src/lib/code-annotations.ts (4). Each one tells the compiler to trust the author about null, suppressing the very diagnostic \u0060strictNullChecks\u0060 exists to produce. Many are correct: each is a claim the checker could not verify, and it is wrong only where the value can in fact be missing, so review the densest places first."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1d83a7c69636a6290f63000d5c19b2073be1fa772f51977532af9ca6f745fc2a"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This JavaScript/TypeScript code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ts/packages/anchor/src/error.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"82e4a973fd194df47d830cfc3d7a77fd62005e1a0d66a7d5deb56288710aac90"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060executable_lines\u0060 turns every \u0060Err\u0060 into \u0060Vec::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/debugger/source.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9fb7030b881830c310e36252391c5c9b316be2f3c49f9a8c32e726cf4f7d495"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060discover_dep_src_roots\u0060 turns every \u0060Err\u0060 into \u0060Vec::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/debugger/cargo_deps.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b2fc66fa39bad90fb662d594f0d6abc46a1558ff250e8c3b32bef25494a1aa6"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060discover_path_dep_roots\u0060 turns every \u0060Err\u0060 into \u0060Vec::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/debugger/cargo_deps.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eb050657937e5daa560c8c3ba0f52f2f9708aa6e9273f66e007ca4433185b99"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060discover_platform_tools_stdlib_roots\u0060 turns every \u0060Err\u0060 into \u0060Vec::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/debugger/source.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"b08df0e2e1f48d0a483916ee4cfaace6f9cc097f01bb2230cf489a23c0502e80"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060parseBannerOptions\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/client/rotating-banner.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"c983117bc0c44976e9ddf377158a10f44a5a4f21e43a023fbc998ef7a057d023"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readStoredGraphicId\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs-v2/src/lib/client/rotating-banner.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae560c2471570c5ec39de6922cdde480ba8d69e6bd97e08ea4bc3745752b9417"}}],"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-116","guid":"c0134ca8-adc7-6959-bd17-5253a265d101","name":"Improper Encoding or Escaping of Output","shortDescription":{"text":"Improper Encoding or Escaping of Output"},"helpUri":"https://cwe.mitre.org/data/definitions/116.html"},{"id":"CWE-125","guid":"98717707-96bf-ca5b-9568-8d1d257574c1","name":"CWE-125","shortDescription":{"text":"CWE-125"},"helpUri":"https://cwe.mitre.org/data/definitions/125.html"},{"id":"CWE-1284","guid":"85c6f270-a062-d45c-98ec-8792760915c0","name":"CWE-1284","shortDescription":{"text":"CWE-1284"},"helpUri":"https://cwe.mitre.org/data/definitions/1284.html"},{"id":"CWE-1321","guid":"0367a99b-2a5d-7b52-a83b-6f4196022556","name":"CWE-1321","shortDescription":{"text":"CWE-1321"},"helpUri":"https://cwe.mitre.org/data/definitions/1321.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-184","guid":"21552714-bcc3-a155-8912-f43edf702e18","name":"CWE-184","shortDescription":{"text":"CWE-184"},"helpUri":"https://cwe.mitre.org/data/definitions/184.html"},{"id":"CWE-200","guid":"b0ce3b1d-7a29-fe50-8aab-9aba899d2988","name":"Exposure of Sensitive Information to an Unauthorized Actor","shortDescription":{"text":"Exposure of Sensitive Information to an Unauthorized Actor"},"helpUri":"https://cwe.mitre.org/data/definitions/200.html"},{"id":"CWE-214","guid":"b10ad120-fb22-1351-9348-aa23b453e815","name":"CWE-214","shortDescription":{"text":"CWE-214"},"helpUri":"https://cwe.mitre.org/data/definitions/214.html"},{"id":"CWE-22","guid":"b68d9ca7-bdde-d057-a6cc-9f8b1e739552","name":"Improper Limitation of a Pathname to a Restricted Directory (\u0027Path Traversal\u0027)","shortDescription":{"text":"Improper Limitation of a Pathname to a Restricted Directory (\u0027Path Traversal\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/22.html"},{"id":"CWE-226","guid":"400493f0-74f6-fd5a-bb71-f1f67d19fee7","name":"CWE-226","shortDescription":{"text":"CWE-226"},"helpUri":"https://cwe.mitre.org/data/definitions/226.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-400","guid":"ca529a89-676d-8857-aac1-84359c77bb6c","name":"CWE-400","shortDescription":{"text":"CWE-400"},"helpUri":"https://cwe.mitre.org/data/definitions/400.html"},{"id":"CWE-405","guid":"88b597e2-fdb9-765a-8bf7-d3572054b066","name":"CWE-405","shortDescription":{"text":"CWE-405"},"helpUri":"https://cwe.mitre.org/data/definitions/405.html"},{"id":"CWE-407","guid":"7ba287ec-112f-185f-a4b4-2ae19d8d25a2","name":"CWE-407","shortDescription":{"text":"CWE-407"},"helpUri":"https://cwe.mitre.org/data/definitions/407.html"},{"id":"CWE-436","guid":"956fd49f-403b-db57-accb-62122d11b312","name":"Interpretation Conflict","shortDescription":{"text":"Interpretation Conflict"},"helpUri":"https://cwe.mitre.org/data/definitions/436.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-532","guid":"1cd8877a-76e8-ce54-b40b-779af23364a0","name":"Insertion of Sensitive Information into Log File","shortDescription":{"text":"Insertion of Sensitive Information into Log File"},"helpUri":"https://cwe.mitre.org/data/definitions/532.html"},{"id":"CWE-551","guid":"7fa3c62d-d9dc-335d-90aa-e9ca8b006691","name":"CWE-551","shortDescription":{"text":"CWE-551"},"helpUri":"https://cwe.mitre.org/data/definitions/551.html"},{"id":"CWE-606","guid":"e2e0753b-8559-4657-be0c-b73c3260c621","name":"CWE-606","shortDescription":{"text":"CWE-606"},"helpUri":"https://cwe.mitre.org/data/definitions/606.html"},{"id":"CWE-674","guid":"c0f18e9e-e0d3-e550-b8ec-7c84214125c9","name":"CWE-674","shortDescription":{"text":"CWE-674"},"helpUri":"https://cwe.mitre.org/data/definitions/674.html"},{"id":"CWE-705","guid":"bfa22244-2156-5e5a-a6f6-2fbbc9d8a328","name":"CWE-705","shortDescription":{"text":"CWE-705"},"helpUri":"https://cwe.mitre.org/data/definitions/705.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-755","guid":"ac8136dd-f77c-1c5e-bdcc-3905bbad9bd9","name":"Improper Handling of Exceptional Conditions","shortDescription":{"text":"Improper Handling of Exceptional Conditions"},"helpUri":"https://cwe.mitre.org/data/definitions/755.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-835","guid":"4d510828-22d0-5353-ad86-51ed0cae0b37","name":"CWE-835","shortDescription":{"text":"CWE-835"},"helpUri":"https://cwe.mitre.org/data/definitions/835.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"},{"id":"A09:2025","guid":"78892bc9-3c98-495d-881c-8af1390d643c","name":"Security Logging \u0026 Alerting Failures","shortDescription":{"text":"Security Logging \u0026 Alerting Failures"},"helpUri":"https://top10.owasp.org/2025/A09_2025-Security_Logging_and_Alerting_Failures/"},{"id":"A10:2025","guid":"9ca3ab55-ca61-fd5e-b9ab-3dad2efa59d0","name":"Mishandling of Exceptional Conditions","shortDescription":{"text":"Mishandling of Exceptional Conditions"},"helpUri":"https://top10.owasp.org/2025/A10_2025-Mishandling_of_Exceptional_Conditions/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-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-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"}]}],"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":148,"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."]}]}