{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"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":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"PF1","name":"Benchmark discipline","shortDescription":{"text":"Benchmark discipline"},"helpUri":"https://codehealth.canine.dev/dimensions/PF1"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"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":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"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":"polyfills.installIteratorSurface (cyclomatic 176): polyfills.installIteratorSurface has cyclomatic complexity 176 (threshold 15). Of this number, 65 points are the body\u0027s own statements and 111 belong to 29 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/polyfills.cjs"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"08ca6eef704a6a92f01848e389cae214d91c70373da0759616b332597ca5cd83"}},{"ruleId":"D1","level":"warning","message":{"text":"worker-polyfill.installWorkerPolyfill (cyclomatic 96): worker-polyfill.installWorkerPolyfill has cyclomatic complexity 96 (threshold 15). Of this number, 62 points are the body\u0027s own statements and 34 belong to 11 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/worker-polyfill.mjs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"276b777c0cc9ed7cff655db349b99871eac21d0a356c4f7fe8047ac56d88c259"}},{"ruleId":"D1","level":"warning","message":{"text":"nub_cli::cli::run_nub (cyclomatic 77): nub_cli::cli::run_nub has cyclomatic complexity 77 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/cli.rs"},"region":{"startLine":2175}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef37786ee3ff5a7a280b763f2d5a01b06224fbe29a07f31e2ce3ce18291177bb"}},{"ruleId":"D1","level":"warning","message":{"text":"nub_cli::cli::run_watch (cyclomatic 63): nub_cli::cli::run_watch has cyclomatic complexity 63 (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":"crates/nub-cli/src/cli.rs"},"region":{"startLine":7416}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a2432cc06eb42dd886a8d568a1edd04519a38d2a8a8bbc25f133e9745e24e50"}},{"ruleId":"D1","level":"warning","message":{"text":"navigator-locks.installNavigatorLocks (cyclomatic 63): navigator-locks.installNavigatorLocks has cyclomatic complexity 63 (threshold 15). Of this number, 36 points are the body\u0027s own statements and 27 belong to 14 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/navigator-locks.mjs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"1de40e0129673eff1236cc6a1c7860fdef44f7cbe12d5f354ef75acaed3f1727"}},{"ruleId":"D1","level":"warning","message":{"text":"nub_cli::compile::closure::scan (cyclomatic 61): nub_cli::compile::closure::scan has cyclomatic complexity 61 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/compile/closure.rs"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0fd16895676ed13c0aed0746c8aa2e71a117647b6da121b68c6103d9e24e21f"}},{"ruleId":"D1","level":"warning","message":{"text":"nub_core::node::spawn::spawn_node (cyclomatic 55): nub_core::node::spawn::spawn_node has cyclomatic complexity 55 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-core/src/node/spawn.rs"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"042740e1b4d6f9bee06a5661e5eb4315b8b4300e8491c7d6b1fb7c637c89039b"}},{"ruleId":"D1","level":"warning","message":{"text":"nub_cli::cli::run_workspace_target (cyclomatic 54): nub_cli::cli::run_workspace_target has cyclomatic complexity 54 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/cli.rs"},"region":{"startLine":5484}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc4eca1f4b1d9f64879238f570ff445f05b83982d13255f904b81fdc71ccc0d7"}},{"ruleId":"D1","level":"warning","message":{"text":"nub_cli::cli::dispatch_subcommand (cyclomatic 53): nub_cli::cli::dispatch_subcommand has cyclomatic complexity 53 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/cli.rs"},"region":{"startLine":2912}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7e8b2b0697922db1c91a9f40bfdcee93255075c12458bc048e674891b403b5b"}},{"ruleId":"D1","level":"warning","message":{"text":"preload-common.makeHooks.loadInner (cyclomatic 53): preload-common.makeHooks.loadInner has cyclomatic complexity 53 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/preload-common.cjs"},"region":{"startLine":884}}}],"partialFingerprints":{"codehealthFindingId/v1":"9502edc8d35fdb52fb5601000307be9e69ecb7c910dc1e246bfdc5fd7c96ac81"}},{"ruleId":"D1","level":"warning","message":{"text":"makeHooks.loadInner (cyclomatic 53): makeHooks.loadInner has cyclomatic complexity 53 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/preload-common.cjs"},"region":{"startLine":884}}}],"partialFingerprints":{"codehealthFindingId/v1":"1431c9a32659b5029c6279e1db8d7e27eb52f676bf6b14adb937496a7778e38d"}},{"ruleId":"D1","level":"warning","message":{"text":"preload-common.installCjsRequireHooks (cyclomatic 51): preload-common.installCjsRequireHooks has cyclomatic complexity 51 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 34 belong to 8 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/preload-common.cjs"},"region":{"startLine":1190}}}],"partialFingerprints":{"codehealthFindingId/v1":"27d6ee38061cfe7c8ff6f06f23f4e1badb19485b930bf4b14f3e22fc0d5b1f88"}},{"ruleId":"D1","level":"warning","message":{"text":"polyfills.installSyncPolyfills (cyclomatic 51): polyfills.installSyncPolyfills 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":"runtime/polyfills.cjs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcc290bcda26ecd2a3028c1d269f98426c6ccdb4976e12d1ef1c3a7de60c0f55"}},{"ruleId":"D1","level":"warning","message":{"text":"polyfills.installFloorBuiltins (cyclomatic 51): polyfills.installFloorBuiltins has cyclomatic complexity 51 (threshold 15). Of this number, 42 points are the body\u0027s own statements and 9 belong to 3 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/polyfills.cjs"},"region":{"startLine":1635}}}],"partialFingerprints":{"codehealthFindingId/v1":"55bad3c7ae7b904c95304a3594dc041437cfc011b57c4893d12acaefd955e6bf"}},{"ruleId":"D1","level":"warning","message":{"text":"throttle (cyclomatic 50): throttle has cyclomatic complexity 50 (threshold 15). Most of this is not in the body itself: 5 of the 50 points are its own statements and the rest belongs to 23 function items inside it that branch (hasImmediateCapacity, throttled, schedule, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/util/throttle.cjs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"3743f8c6f4219ff9d7b5bc22f5b71a2f9716b069b97cece4489d9ce72eb92496"}},{"ruleId":"D1","level":"warning","message":{"text":"nub_cli::compile::run (cyclomatic 46): nub_cli::compile::run has cyclomatic complexity 46 (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":"crates/nub-cli/src/compile/mod.rs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8f6afb9aaeb1506cbc23206e52829acddd76370fbafed1025c558ca0ba7637a"}},{"ruleId":"D1","level":"warning","message":{"text":"installPayloadContainer (cyclomatic 46): installPayloadContainer has cyclomatic complexity 46 (threshold 15). Most of this is not in the body itself: 3 of the 46 points are its own statements and the rest belongs to 11 function items inside it that branch (withoutRefusedExecArgv, constructor, payloadWorker, \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":"runtime/compile-sea-loader.cjs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"b360e2fd7e8b5ff3bfdd7f94c838ad3bc2f584d9fff29bacda8024d95c9bbf68"}},{"ruleId":"D1","level":"warning","message":{"text":"polyfills.installSetMethods (cyclomatic 43): polyfills.installSetMethods has cyclomatic complexity 43 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 15 belong to 4 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/polyfills.cjs"},"region":{"startLine":1179}}}],"partialFingerprints":{"codehealthFindingId/v1":"96a52316dd82f5793d47707b0993dcaae6f87590d1d32c01cfd8d5f35f540cf4"}},{"ruleId":"D1","level":"warning","message":{"text":"preload-common.wrapChildProcessCompileCache (cyclomatic 41): preload-common.wrapChildProcessCompileCache has cyclomatic complexity 41 (threshold 15). Most of this is not in the body itself: 7 of the 41 points are its own statements and the rest belongs to 6 function items inside it that branch (stripFromOptions, a function literal at line 1797, a function literal at line 1822, \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":"runtime/preload-common.cjs"},"region":{"startLine":1713}}}],"partialFingerprints":{"codehealthFindingId/v1":"12877f539f51b3c65c8df5e584b899ba19b2dd4cd227fd3e365dac2c4f281bb8"}},{"ruleId":"D1","level":"warning","message":{"text":"nub_cli::compile::native::require_rebindings (cyclomatic 39): nub_cli::compile::native::require_rebindings has cyclomatic complexity 39 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 23 belong to 5 function items inside it that branch. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/compile/native.rs"},"region":{"startLine":2179}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c5c6506305c4be852e1f4bc8aa1c0626d02cd271e84cfc8bb409cd3c6d7e798"}},{"ruleId":"D1","level":"warning","message":{"text":"polyfills.installDisposableStacks (cyclomatic 37): polyfills.installDisposableStacks has cyclomatic complexity 37 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/polyfills.cjs"},"region":{"startLine":2228}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfed496f468bf59512859a04eea73778123468b69709b108fe1b0a494acce48c"}},{"ruleId":"D1","level":"warning","message":{"text":"nub_tsconfig::normalize_compiler_options (cyclomatic 36): nub_tsconfig::normalize_compiler_options has cyclomatic complexity 36 (threshold 15). Of this number, 35 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":"crates/nub-tsconfig/src/lib.rs"},"region":{"startLine":1211}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bd8162082b83606fc8837ec2532c698994ef872f7514548d75fb8aeb0ed2e2f"}},{"ruleId":"D1","level":"warning","message":{"text":"nub_cli::cli::build_script_command (cyclomatic 35): nub_cli::cli::build_script_command has cyclomatic complexity 35 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/cli.rs"},"region":{"startLine":6280}}}],"partialFingerprints":{"codehealthFindingId/v1":"58e082c6382c93eeda52a3607ef30634a93f1618e44c1fea6e5abfe82844d1ba"}},{"ruleId":"D1","level":"warning","message":{"text":"nub_cli::compile::bundle::bundle_inner (cyclomatic 34): nub_cli::compile::bundle::bundle_inner has cyclomatic complexity 34 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/compile/bundle.rs"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e34816adb5618dc1961c83e5df7c3bb4d97c3d3260eabb6f126661b40b24d5c"}},{"ruleId":"D1","level":"warning","message":{"text":"nub_cli::pm_engine::use_nub::plan_migration (cyclomatic 33): nub_cli::pm_engine::use_nub::plan_migration 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":"crates/nub-cli/src/pm_engine/use_nub.rs"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"e637f12744c86bf552df25048da09cf27cbf0e3346c1cea358a224fc57498064"}},{"ruleId":"D1","level":"warning","message":{"text":"LockManager.request (cyclomatic 32): LockManager.request has cyclomatic complexity 32 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/navigator-locks.mjs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef480d6b36f94be5e2e40047873c3846de6a6309222e0baae18ce9e2daf3fbc1"}},{"ruleId":"D1","level":"warning","message":{"text":"compile-bootstrap.installCompiledForkIdentity (cyclomatic 30): compile-bootstrap.installCompiledForkIdentity has cyclomatic complexity 30 (threshold 15). Most of this is not in the body itself: 10 of the 30 points are its own statements and the rest belongs to 2 function items inside it that branch (a function literal at line 249, withBootstrapFirst). 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":"runtime/compile-bootstrap.cjs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"5982bd577c3e05024be598a36356f2756f7c4fcbe3418386572a257145b11022"}},{"ruleId":"D1","level":"warning","message":{"text":"installNavigatorLocks::request (cyclomatic 29): installNavigatorLocks::request has cyclomatic complexity 29 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/navigator-locks.mjs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"e282819e8be3c669af5f2a5b4bc64f10f4d768987fbe126f9c15d74b0a90fa0f"}},{"ruleId":"D1","level":"warning","message":{"text":"nub_cli::cli::run_pm (cyclomatic 28): nub_cli::cli::run_pm has cyclomatic complexity 28 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/cli.rs"},"region":{"startLine":10368}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b9f1b5d03f21d043608d5e7eb001de5ccbacbf2c377ea5d24775074a75a9399"}},{"ruleId":"D1","level":"warning","message":{"text":"polyfills.installUint8ArrayBase64::fromBase64 (cyclomatic 28): polyfills.installUint8ArrayBase64::fromBase64 has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (polyfills.installUint8ArrayBase64::b64ToU8) 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":"runtime/polyfills.cjs"},"region":{"startLine":2010}}}],"partialFingerprints":{"codehealthFindingId/v1":"e28794bcd90e2da2f4601046b5de6623960174636681dca37b72752c3c7d6800"}},{"ruleId":"D1","level":"warning","message":{"text":"nub_core::pm::shim::npm_install_route (cyclomatic 27): nub_core::pm::shim::npm_install_route 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":"crates/nub-core/src/pm/shim.rs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdcb82c6c44fcb89cac076353f85a0bcf3c173487f4603818d411789fb098bd4"}},{"ruleId":"D1","level":"warning","message":{"text":"polyfills.installMathSumPrecise (cyclomatic 27): polyfills.installMathSumPrecise has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/polyfills.cjs"},"region":{"startLine":1494}}}],"partialFingerprints":{"codehealthFindingId/v1":"31ed5932bb151f3d6063af837e069316a705f5cd2a1656c8ca538ae6510872b0"}},{"ruleId":"D1","level":"warning","message":{"text":"polyfills.installJsonParseOptions (cyclomatic 27): polyfills.installJsonParseOptions has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/polyfills.cjs"},"region":{"startLine":1559}}}],"partialFingerprints":{"codehealthFindingId/v1":"68f61b112b4d251b1809bd5055fe454e0cdf24da6d4dca4f884b901785f3bc31"}},{"ruleId":"D1","level":"warning","message":{"text":"AnsiScreen.sgr (cyclomatic 27): AnsiScreen.sgr has cyclomatic complexity 27 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"site/src/lib/ansi-screen.ts"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"6edec3bfd301e95883175e8dee70758c04e0d8984fba01a74dc5da1d2cff255e"}},{"ruleId":"D1","level":"warning","message":{"text":"AnsiScreen.csi (cyclomatic 27): AnsiScreen.csi has cyclomatic complexity 27 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"site/src/lib/ansi-screen.ts"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f7b1e28d414677d16e50483662d94d843c20c1de2b89d665d4a49de62de37bc"}},{"ruleId":"D1","level":"warning","message":{"text":"nub_cli::cli::prepare_preload_chain (cyclomatic 26): nub_cli::cli::prepare_preload_chain has cyclomatic complexity 26 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/cli.rs"},"region":{"startLine":4036}}}],"partialFingerprints":{"codehealthFindingId/v1":"30da297dcf7729624a0d0cf334bfd20ae5e3ea5bb3d1b004a1a1d95c2d51106e"}},{"ruleId":"D1","level":"warning","message":{"text":"nub_cli::cli::run_upgrade (cyclomatic 26): nub_cli::cli::run_upgrade has cyclomatic complexity 26 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 3 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/cli.rs"},"region":{"startLine":8782}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a8b2f51f6c1231007b832c72c7950e04223c62e80c9d1ac17fe54923b71a24e"}},{"ruleId":"D1","level":"warning","message":{"text":"installCjsRequireHooks::_resolveFilename (cyclomatic 26): installCjsRequireHooks::_resolveFilename has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/preload-common.cjs"},"region":{"startLine":1263}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c81dfa3285620603324e2b2658e9d0b12ea8bd831bdd71ac4d62965e9739d9c"}},{"ruleId":"D1","level":"warning","message":{"text":"installMathSumPrecise::sumPrecise (cyclomatic 26): installMathSumPrecise::sumPrecise has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/polyfills.cjs"},"region":{"startLine":1496}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd81067c0334aa16497fcf378149574abac2ced079dffe47fad7a6cd5a533c12"}},{"ruleId":"D1","level":"warning","message":{"text":"debounce (cyclomatic 26): debounce has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 3 of the 26 points are its own statements and the rest belongs to 14 function items inside it that branch (debounced, invoke, cancel, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/util/debounce.cjs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7e570b662e963fb08787e9c8f3f21d641c67da96dbb9398ae05e69801a1cc10"}},{"ruleId":"D1","level":"warning","message":{"text":"nub_cli::cli::run_nubx (cyclomatic 25): nub_cli::cli::run_nubx has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/cli.rs"},"region":{"startLine":3584}}}],"partialFingerprints":{"codehealthFindingId/v1":"7586c481d90ed62cb9e1606e9a6312723c41dcc5dea511c922c43df277acc015"}},{"ruleId":"D1","level":"warning","message":{"text":"nub_cli::compile::prepare_node_bytes (cyclomatic 25): nub_cli::compile::prepare_node_bytes has cyclomatic complexity 25 (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":"crates/nub-cli/src/compile/mod.rs"},"region":{"startLine":2893}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cb740e3922c835e42b60b8b83841adc5be946ed7410c95f78a8a028b407f5f8"}},{"ruleId":"D1","level":"warning","message":{"text":"nub_cli::project_config::validate_root (cyclomatic 25): nub_cli::project_config::validate_root has cyclomatic complexity 25 (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":"crates/nub-cli/src/project_config.rs"},"region":{"startLine":1347}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d5bbb25b50f8c7cc2f590ca08c66a105312d86e243d7b2bd24f634dbd13741b"}},{"ruleId":"D1","level":"warning","message":{"text":"Worker.constructor (cyclomatic 25): Worker.constructor has cyclomatic complexity 25 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 4 belong to 3 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/worker-polyfill.mjs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4d7d85ebaeb754c3a23b2e364b64a9851e2e3101e615f36bd915a32a1987730"}},{"ruleId":"D1","level":"warning","message":{"text":"installLazyEsmPolyfills (cyclomatic 24): installLazyEsmPolyfills has cyclomatic complexity 24 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 6 belong to 8 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/preload.cjs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"3067b5adc1d04d7fe7a64f25b84e5f10488f5e271593259e1ae97f41c6e56d87"}},{"ruleId":"D1","level":"warning","message":{"text":"installCompiledForkIdentity::fork (cyclomatic 24): installCompiledForkIdentity::fork has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/compile-bootstrap.cjs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2f4f1ce078c6464dfde1b36e0ce499d67fc542676db9af67ae9786f98d21fcd"}},{"ruleId":"D1","level":"warning","message":{"text":"nub_cli::init::run_init (cyclomatic 23): nub_cli::init::run_init 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":"crates/nub-cli/src/init.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"a10b225e09c01a64fc0f6aec7ae03cc428e5e0784b6dadbe807e1371f4cbbe2b"}},{"ruleId":"D1","level":"warning","message":{"text":"nub_cli::pm_engine::use_nub::apply_manifest_edits (cyclomatic 23): nub_cli::pm_engine::use_nub::apply_manifest_edits 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":"crates/nub-cli/src/pm_engine/use_nub.rs"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cb170ca2df6cc35c32934b92253cda3a69844f8dad525e3b19cd7111d92349a"}},{"ruleId":"D1","level":"warning","message":{"text":"nub_cli::project_config::merge_layer (cyclomatic 23): nub_cli::project_config::merge_layer 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":"crates/nub-cli/src/project_config.rs"},"region":{"startLine":1076}}}],"partialFingerprints":{"codehealthFindingId/v1":"e67a9c6d546158d2a559704a59f5302820eccf7700ce06168a6e1f57e4eebdc8"}},{"ruleId":"D1","level":"warning","message":{"text":"nub_launcher::launch (cyclomatic 23): nub_launcher::launch 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":"crates/nub-launcher/src/main.rs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2f8e06b3cd1e90d1c7612e1f51246f5a267876d3873ea7aca7bd3b2c12a16a7"}},{"ruleId":"D1","level":"warning","message":{"text":"installAsyncTierCjsSource (cyclomatic 23): installAsyncTierCjsSource has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 2 of the 23 points are its own statements and the rest belongs to 9 function items inside it that branch (registerHooks::load, a function literal at line 479, registerHooks, \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":"runtime/preload-common.cjs"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"28faa219ea43cbad1047ef22c21700ec1990ef672742fd591943d812b78b3fd8"}},{"ruleId":"D1","level":"warning","message":{"text":"loadTranspile (cyclomatic 23): loadTranspile has cyclomatic complexity 23 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/transform-core.mjs"},"region":{"startLine":978}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a62fea2a0847e58f070223c415fdf536b65262820f1e960cd5712687b383ce2"}},{"ruleId":"D1","level":"warning","message":{"text":"nub_cli::compile::bundle::rewrite_entry_main_checks (cyclomatic 22): nub_cli::compile::bundle::rewrite_entry_main_checks has cyclomatic complexity 22 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 5 belong to 2 function items inside it that branch. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/compile/bundle.rs"},"region":{"startLine":3250}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0508d2d3e96387c042c831073c385f013df7e47ae1296f3d353495986230047"}},{"ruleId":"D1","level":"warning","message":{"text":"nub_cli::compile::bundle::reject_unresolved (cyclomatic 22): nub_cli::compile::bundle::reject_unresolved has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/compile/bundle.rs"},"region":{"startLine":6148}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec399d60f3245b2672c251ea8e8899833b5460d98af94ffc79b205255bd88510"}},{"ruleId":"D1","level":"warning","message":{"text":"nub_cli::pm_engine::use_nub::run_use_nub (cyclomatic 22): nub_cli::pm_engine::use_nub::run_use_nub has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/pm_engine/use_nub.rs"},"region":{"startLine":886}}}],"partialFingerprints":{"codehealthFindingId/v1":"a268eaf150dfbbb005e1d2dc895f203df73a3060d1242ba198fa9925efae61d8"}},{"ruleId":"D1","level":"warning","message":{"text":"nub_native::cache::match_empty_export_tail (cyclomatic 22): nub_native::cache::match_empty_export_tail has cyclomatic complexity 22 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-native/src/cache.rs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"b353a7bae7a698f3bdf590d3e50d68ce4ebf70b7cfea8204599a2bba94e97277"}},{"ruleId":"D1","level":"warning","message":{"text":"clean-shared-buckets.main (cyclomatic 22): clean-shared-buckets.main has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".claude/skills/disk-reduction/scripts/clean-shared-buckets.py"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0dcefe0806203898f6005469af0f004e20036e74abf53be017c9f235761f183"}},{"ruleId":"D1","level":"warning","message":{"text":"transform-core.resolveSpec (cyclomatic 22): transform-core.resolveSpec has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/transform-core.mjs"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f766f945cf6ab44d01bd7fafc08138fe24a88922d8ce314163b54f3bfe63b89"}},{"ruleId":"D1","level":"warning","message":{"text":"installWorkerPolyfill::constructor (cyclomatic 22): installWorkerPolyfill::constructor has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/worker-polyfill.mjs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1f8985a2d48f0b8ad0c11ffec8a36c81bdec53c677bd1784e559a9a0575c722"}},{"ruleId":"D1","level":"warning","message":{"text":"nub_cli::cli::run_pm_shim_install (cyclomatic 21): nub_cli::cli::run_pm_shim_install has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/cli.rs"},"region":{"startLine":11219}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8399fd79ef7b6690ac4753a31b9ad51f95c6f4e5af21e1680a0ae409c7f1de2"}},{"ruleId":"D1","level":"warning","message":{"text":"nub_cli::compile::bundle::scan_new_urls (cyclomatic 21): nub_cli::compile::bundle::scan_new_urls has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/compile/bundle.rs"},"region":{"startLine":4031}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ec34221fe78d430a1f3ca9f85283eb0e76659b77e650e749f8791d41d472b72"}},{"ruleId":"D1","level":"warning","message":{"text":"nub_cli::compile::inline::classify (cyclomatic 21): nub_cli::compile::inline::classify has cyclomatic complexity 21 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/compile/inline.rs"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"811349bca0fc1df209aa2fd5f2e929e8b57a1660d26b8636b1db1bf1c996ddb3"}},{"ruleId":"D1","level":"warning","message":{"text":"nub_tsconfig::resolve_extends_path (cyclomatic 21): nub_tsconfig::resolve_extends_path 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":"crates/nub-tsconfig/src/lib.rs"},"region":{"startLine":954}}}],"partialFingerprints":{"codehealthFindingId/v1":"f56cd7256d0f88eae22b2903db4fda0f29cc1390e66c1f16dbecd0dda9f6298d"}},{"ruleId":"D1","level":"warning","message":{"text":"internals.determineSpecificType (cyclomatic 21): internals.determineSpecificType 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":"runtime/util/internals.cjs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"fabed2492dab614690bc2b6acb86d19bb32c347a863103448859f5fc0e4c130d"}},{"ruleId":"D1","level":"warning","message":{"text":"preload-common.phantomDepHint (cyclomatic 21): preload-common.phantomDepHint has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: preload-common.installAsyncTierCjsSource (cyclomatic 23) 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 method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/preload-common.cjs"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b11ac181160819a88fcbe4b8c33d78e6ab1bdbb578648a5b48e36f064076f67"}},{"ruleId":"D1","level":"warning","message":{"text":"installJsonParseOptions::parse (cyclomatic 21): installJsonParseOptions::parse 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":"runtime/polyfills.cjs"},"region":{"startLine":1580}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6250221cbe1d4b1072f82bd6e92819f1f29d2d1bb159b5797f44189ae9d65c7"}},{"ruleId":"D1","level":"warning","message":{"text":"nub_cli::cli::run_node (cyclomatic 20): nub_cli::cli::run_node has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/cli.rs"},"region":{"startLine":10104}}}],"partialFingerprints":{"codehealthFindingId/v1":"c84364ec6862065dd1627c7c706290f479ad313268b23fbbf78a62ed88fdf93b"}},{"ruleId":"D1","level":"warning","message":{"text":"nub_cli::pm_engine::install_family::run_install (cyclomatic 20): nub_cli::pm_engine::install_family::run_install has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: nub_cli::pm_engine::install_family::run_verb (cyclomatic 21) 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":"crates/nub-cli/src/pm_engine/install_family.rs"},"region":{"startLine":1388}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0613a3699576a150cb30d2246c4b3c1d640e4398a3521fa136b4d265d473f2a"}},{"ruleId":"D1","level":"warning","message":{"text":"nub_native::resolve::try_resolve_file (cyclomatic 20): nub_native::resolve::try_resolve_file has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-native/src/resolve.rs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"f666a7f93444d7db93a07afd7371f2845f6b7f02a398ab077c2a4193ba464802"}},{"ruleId":"D1","level":"warning","message":{"text":"postinstall.refreshShimsIn (cyclomatic 20): postinstall.refreshShimsIn has cyclomatic complexity 20 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"npm/nub/postinstall.js"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"47fe38357ca5837f600c6410393d53b6856e0a1850f8fdd111c1df0d8fff2ca1"}},{"ruleId":"D1","level":"warning","message":{"text":"NativeAddons::walk_closure (cyclomatic 19): NativeAddons::walk_closure 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":"crates/nub-cli/src/compile/native.rs"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"560580a890ac165eef6b0d738123bd9c2e343847f801b973850dcec9da73114d"}},{"ruleId":"D1","level":"warning","message":{"text":"nub_cli::cli::runtime_node_options_with (cyclomatic 19): nub_cli::cli::runtime_node_options_with 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":"crates/nub-cli/src/cli.rs"},"region":{"startLine":4586}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fbb29ac6ece2c4862309209b189ca79d9ba9c73518df71e424f9d0f253dfffb"}},{"ruleId":"D1","level":"warning","message":{"text":"nub_cli::cli::run_file_in_dir (cyclomatic 19): nub_cli::cli::run_file_in_dir has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/cli.rs"},"region":{"startLine":5018}}}],"partialFingerprints":{"codehealthFindingId/v1":"48dd1c2f5812f401b516386b17608f86910e410ccee74e98e307722b2fa69648"}},{"ruleId":"D1","level":"warning","message":{"text":"nub_cli::pm_engine::lower_native_install_settings (cyclomatic 19): nub_cli::pm_engine::lower_native_install_settings 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":"crates/nub-cli/src/pm_engine/mod.rs"},"region":{"startLine":1156}}}],"partialFingerprints":{"codehealthFindingId/v1":"528a337def9d5c17db5e10d8e87721803842ae262d66eb7dbff0626b529357c4"}},{"ruleId":"D1","level":"warning","message":{"text":"nub_json_guard::check_nesting_depth (cyclomatic 19): nub_json_guard::check_nesting_depth has cyclomatic complexity 19 (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":"crates/nub-json-guard/src/lib.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"b92ef8c49db33d61aa14951961a6b204ba7e49dff3a4237e7e6cdbaa99448e92"}},{"ruleId":"D1","level":"warning","message":{"text":"nub_phantom_scan::manifest::collect_entry_points (cyclomatic 19): nub_phantom_scan::manifest::collect_entry_points 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":"crates/nub-phantom-scan/src/manifest.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"1100a9e9e7cb24dfada4e1bc472712f7a3c19a1b1af52fc18e96ddad522802f4"}},{"ruleId":"D1","level":"warning","message":{"text":"polyfills.installKeyedPromiseCombinators (cyclomatic 19): polyfills.installKeyedPromiseCombinators has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 5 of the 19 points are its own statements and the rest belongs to 4 function items inside it that branch (perform, install, perform::settle, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/polyfills.cjs"},"region":{"startLine":2499}}}],"partialFingerprints":{"codehealthFindingId/v1":"13a8cc4fe35da0e6231a86fe3ea8a65b0ad46f06235676b731bd02a63b2d60df"}},{"ruleId":"D1","level":"warning","message":{"text":"ansi-player.AnsiPlayer (cyclomatic 19): ansi-player.AnsiPlayer has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 3 of the 19 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 157, 105, 66, \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":"site/src/components/ansi-player.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"aebe7929a04eca77b204647412dbf9f598b179e0908a5037a37e3653caac3fa4"}},{"ruleId":"D1","level":"warning","message":{"text":"main (cyclomatic 19): main has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/nubr.mjs"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3af8573936427325e91f5b742c36b61fdaca5f61ecffd070b05be8dfba300ef"}},{"ruleId":"D1","level":"warning","message":{"text":"NativeAddons::materialise_unbundled (cyclomatic 18): NativeAddons::materialise_unbundled 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":"crates/nub-cli/src/compile/native.rs"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"dda0adce5a37745823ba57e9597a1bc5722e70025626ef8320f6a9fe4d31053a"}},{"ruleId":"D1","level":"warning","message":{"text":"nub_cli::cli::swap_bin_files_windows (cyclomatic 18): nub_cli::cli::swap_bin_files_windows 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":"crates/nub-cli/src/cli.rs"},"region":{"startLine":9203}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6564a4ae126f8a3949584bf0f9d0bd6be567de7d331e2c61c08d8127205da6a"}},{"ruleId":"D1","level":"warning","message":{"text":"nub_cli::cli::resolve_provision_declare (cyclomatic 18): nub_cli::cli::resolve_provision_declare 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":"crates/nub-cli/src/cli.rs"},"region":{"startLine":10706}}}],"partialFingerprints":{"codehealthFindingId/v1":"9468f5a6d2a521048fa9665bdb1ef0fd08a388427e7cd57ef4668705ef360d41"}},{"ruleId":"D1","level":"warning","message":{"text":"nub_cli::cli::run_pm_use (cyclomatic 18): nub_cli::cli::run_pm_use has cyclomatic complexity 18 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/cli.rs"},"region":{"startLine":10844}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e0dd6aef33c63d274ffef6e64ba073b37557e217731951e5886003f49587195"}},{"ruleId":"D1","level":"warning","message":{"text":"nub_cli::compile::bundle::finish_eager_startup (cyclomatic 18): nub_cli::compile::bundle::finish_eager_startup 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":"crates/nub-cli/src/compile/bundle.rs"},"region":{"startLine":2130}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b0e51367dc1299a12172f45169f1791d3260267d4fd3fc6b9aa346757b8bd62"}},{"ruleId":"D1","level":"warning","message":{"text":"nub_cli::compile::bundle::scan_unresolvable_with_rewrites (cyclomatic 18): nub_cli::compile::bundle::scan_unresolvable_with_rewrites has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/compile/bundle.rs"},"region":{"startLine":5707}}}],"partialFingerprints":{"codehealthFindingId/v1":"78387ae08f4fad17eadb73ba3d3c6313f2657767a347cc40bd9fe8631868c561"}},{"ruleId":"D1","level":"warning","message":{"text":"nub_cli::compile::inline::reaches_builtin (cyclomatic 18): nub_cli::compile::inline::reaches_builtin has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 7 of the 18 points are its own statements and the rest belongs to 3 function items inside it that branch (require_aliases, resolves_builtin, literal_specifier). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/compile/inline.rs"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"0920e77de8d17c6f56d92e3699dd2a0c0a76179cd048488f3f88b69031d2efed"}},{"ruleId":"D1","level":"warning","message":{"text":"nub_cli::pm_engine::with_fd_captured (cyclomatic 18): nub_cli::pm_engine::with_fd_captured 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":"crates/nub-cli/src/pm_engine/mod.rs"},"region":{"startLine":3531}}}],"partialFingerprints":{"codehealthFindingId/v1":"31858d8d357c8b963af1934b97f6ae956dc170bafceaeeff29f33999332d142e"}},{"ruleId":"D1","level":"warning","message":{"text":"nub_core::node::runtime_cache::walk_windows_base_under (cyclomatic 18): nub_core::node::runtime_cache::walk_windows_base_under 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":"crates/nub-core/src/node/runtime_cache.rs"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"e13d5cdf4bd4d5629972cb1d54f819ccafa3debd6511c29e2464a7f1cf8dc2ff"}},{"ruleId":"D1","level":"warning","message":{"text":"polyfills.installLocaleVariants (cyclomatic 18): polyfills.installLocaleVariants 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":"runtime/polyfills.cjs"},"region":{"startLine":1410}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0b9d9d1004f04f0b8456df2efebf620c27f491b252c0312a7a1a590bc6d25b8"}},{"ruleId":"D1","level":"warning","message":{"text":"loader-entry.foreignAsyncLoaderPresent (cyclomatic 18): loader-entry.foreignAsyncLoaderPresent has cyclomatic complexity 18 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/loader-entry.mjs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8d5de251c62721e559927a2e7791a444701aa5ff26eddae38fed96e702a153d"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 18): (anonymous) has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/compile-sea-loader.cjs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"0712b5e34025088e6ddb5bf79f60f8563fa111e1aec7ae5338aa98a57fe0881d"}},{"ruleId":"D1","level":"warning","message":{"text":"NativeAddons::transport_roots (cyclomatic 17): NativeAddons::transport_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":"crates/nub-cli/src/compile/native.rs"},"region":{"startLine":983}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ff84e4d24ee0dcc2b9c4e196b14da5a398a60579eb8b20840d1ee7b6fc23461"}},{"ruleId":"D1","level":"warning","message":{"text":"nub_cli::cli::run_exec_with_dlx (cyclomatic 17): nub_cli::cli::run_exec_with_dlx 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":"crates/nub-cli/src/cli.rs"},"region":{"startLine":8023}}}],"partialFingerprints":{"codehealthFindingId/v1":"792e17765d215bde49fb4abdd357e6b206f5be16b5cfdf274af1e801fc461bcf"}},{"ruleId":"D1","level":"warning","message":{"text":"nub_cli::compile::bundle::cjs_path_globals_edit (cyclomatic 17): nub_cli::compile::bundle::cjs_path_globals_edit 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":"crates/nub-cli/src/compile/bundle.rs"},"region":{"startLine":1549}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f12c0e3efac9e59f985f87313d390bd7c184f09be745d929561954c30a765d3"}},{"ruleId":"D1","level":"warning","message":{"text":"nub_cli::compile::native::plan_closure (cyclomatic 17): nub_cli::compile::native::plan_closure 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":"crates/nub-cli/src/compile/native.rs"},"region":{"startLine":1795}}}],"partialFingerprints":{"codehealthFindingId/v1":"a92b1334d5393f300403f2d638e8f909b8118f291706aaa2f31b4dd51c2c87e6"}},{"ruleId":"D1","level":"warning","message":{"text":"nub_cli::compile::unbundlable::collect (cyclomatic 17): nub_cli::compile::unbundlable::collect 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":"crates/nub-cli/src/compile/unbundlable.rs"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"19ee8799efedbffd070c8e5de6f0a74d4fcdf1b41c11c427b0e5fe57356801e3"}},{"ruleId":"D1","level":"warning","message":{"text":"nub_cli::phantom_scan::walk_source (cyclomatic 17): nub_cli::phantom_scan::walk_source 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":"crates/nub-cli/src/phantom_scan.rs"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0b43845122923f186f36960978f07525359fb77793d0f38b9ed997e26a83b21"}},{"ruleId":"D1","level":"warning","message":{"text":"nub_cli::pm_engine::phantom_closure::plan_from_flags (cyclomatic 17): nub_cli::pm_engine::phantom_closure::plan_from_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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/pm_engine/phantom_closure.rs"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"349c650a8355020f934b27c92a1d7de2a68cce076eae23905574c7b4d6cab395"}},{"ruleId":"D1","level":"warning","message":{"text":"nub_cli::pm_engine::store_config_family::dispatch_config (cyclomatic 17): nub_cli::pm_engine::store_config_family::dispatch_config 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":"crates/nub-cli/src/pm_engine/store_config_family.rs"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"df6373c126224a90d2e513787b36842eed0b2b706bc97363a470730b98a4a8c0"}},{"ruleId":"D1","level":"warning","message":{"text":"Value::write_js (cyclomatic 17): Value::write_js has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-data-formats/src/value.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f38e897522b104f688170f9e63924a245ea50e5b69dbe8a40f2d8589fb3129"}},{"ruleId":"D1","level":"warning","message":{"text":"nub_tsconfig::parse_tsconfig (cyclomatic 17): nub_tsconfig::parse_tsconfig 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":"crates/nub-tsconfig/src/lib.rs"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c10bfb22bebd107d56c4912467af4b6b87f489ad67605acdc2fe0f1a817373c"}},{"ruleId":"D1","level":"warning","message":{"text":"nub_tsconfig::inner_parse (cyclomatic 17): nub_tsconfig::inner_parse 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":"crates/nub-tsconfig/src/lib.rs"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6632c6b8ccc174c03c3e1f80b3705683a421907fcd9ecf1112626e80e6a31da"}},{"ruleId":"D1","level":"warning","message":{"text":"clean-worktree-targets.main (cyclomatic 17): clean-worktree-targets.main 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":".claude/skills/cpu-reduction/scripts/clean-worktree-targets.py"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d89413d2e5d4d9327ad933c30ae74dd3c8dfd2dff29983911ec49256903bee3"}},{"ruleId":"D1","level":"warning","message":{"text":"launch.leadsToUs (cyclomatic 17): launch.leadsToUs 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":"npm/nub/bin/launch.js"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"5981e53537b4930aa82005fe186e4d2bbdbb11b7e0e5621d9808050b93110b74"}},{"ruleId":"D1","level":"warning","message":{"text":"polyfills.installUint8ArrayBase64::b64ToU8 (cyclomatic 17): polyfills.installUint8ArrayBase64::b64ToU8 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. This shape REPEATS in the file: one other method here (polyfills.installUint8ArrayBase64::fromBase64) 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":"runtime/polyfills.cjs"},"region":{"startLine":2100}}}],"partialFingerprints":{"codehealthFindingId/v1":"41e8112614bd05cc51a24b8708331593a0381d9340774ba646ab89a193dd0574"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 17): (anonymous) has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/compile/code_cache_install.cjs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"a87996ef135c37dec00b8bac22dadff6f89d5c0954ae3f369d56639a2e2863f1"}},{"ruleId":"D1","level":"warning","message":{"text":"nub_core::pm::registry::parse_npmrc_auth (cyclomatic 16): nub_core::pm::registry::parse_npmrc_auth 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":"crates/nub-core/src/pm/registry.rs"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"dff4bbea122f92926ddbcfc4d49183a2d48c1f3d0bd112d84b3c9e3b0d259531"}},{"ruleId":"D1","level":"warning","message":{"text":"nub_core::workspace::env::parse_env (cyclomatic 16): nub_core::workspace::env::parse_env 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":"crates/nub-core/src/workspace/env.rs"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"f04ab898f4384007d35194ab05afd34eca38a0d9cb5fcfa13f09aa2b328556c1"}},{"ruleId":"D1","level":"warning","message":{"text":"YamlBuilder::on_event (cyclomatic 16): YamlBuilder::on_event 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":"crates/nub-data-formats/src/lib.rs"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"5af3f2140962bd5667769417d2c275ce29e85c4d9b73944d9edabfc01af0c5c1"}},{"ruleId":"D1","level":"warning","message":{"text":"nub_native::detect::has_value_esm (cyclomatic 16): nub_native::detect::has_value_esm 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":"crates/nub-native/src/detect.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d50798be56f7295f30a1cc44e3b8ca8b5c1c7842a1d28f8beb1030d768c4818"}},{"ruleId":"D1","level":"warning","message":{"text":"preload-common.installThreadpoolPolicy (cyclomatic 16): preload-common.installThreadpoolPolicy 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: preload-common.installAsyncTierCjsSource (cyclomatic 23) 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 method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/preload-common.cjs"},"region":{"startLine":2036}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f30f5a745bfe620af0a1fe6786c3d8cfd086f2eabce0181de82024d186c6eef"}},{"ruleId":"D1","level":"warning","message":{"text":"polyfills.installArrayFromAsync (cyclomatic 16): polyfills.installArrayFromAsync has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 2 of the 16 points are its own statements and the rest belongs to one function literal inside it that branches (line 1324). 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":"runtime/polyfills.cjs"},"region":{"startLine":1321}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0ddb6fe83a677ee04cc2f4efdee285cb7c6a061fe8f3f53ae628b49f4e3b3f8"}},{"ruleId":"D1","level":"warning","message":{"text":"transform-core.stripJsonComments (cyclomatic 16): transform-core.stripJsonComments 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":"runtime/transform-core.mjs"},"region":{"startLine":1143}}}],"partialFingerprints":{"codehealthFindingId/v1":"09647ebf8ebb81e4c056b52ebdb7d6cc6a5f77aa92ae30f5ba8d7aae458bcd45"}},{"ruleId":"D1","level":"warning","message":{"text":"loader-entry.arm (cyclomatic 16): loader-entry.arm has cyclomatic complexity 16 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: 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":"runtime/loader-entry.mjs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"1791ce4a267372c54d31ed0148d7ebbd2479120411f19975b6a6dc805438f139"}},{"ruleId":"D1","level":"warning","message":{"text":"AnsiScreen.write (cyclomatic 16): AnsiScreen.write has cyclomatic complexity 16 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"site/src/lib/ansi-screen.ts"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"b07a86de00ce3297b240504ba722aa4f036e39a5f6682965b13ee31832f2883a"}},{"ruleId":"D2","level":"warning","message":{"text":"polyfills.installIteratorSurface (cognitive 279): polyfills.installIteratorSurface has cognitive complexity 279 (threshold 15). Drivers by points: if/else 96 (171 pts), loops 32 (51 pts), boolean chains 27, error handling 10 (16 pts), ternaries 10 (14 pts) (nesting depth added 104). Of this number, 111 points are the body\u0027s own statements and 168 belong to 29 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":"runtime/polyfills.cjs"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9ca7552befb8aef5256709e8d3c60c394f6474e6da17b78359789be7d1faa87"}},{"ruleId":"D2","level":"warning","message":{"text":"worker-polyfill.installWorkerPolyfill (cognitive 175): worker-polyfill.installWorkerPolyfill has cognitive complexity 175 (threshold 15). Drivers by points: if/else 48 (100 pts), ternaries 18 (43 pts), boolean chains 21, loops 4 (8 pts), error handling 1 (3 pts) (nesting depth added 83). Of this number, 116 points are the body\u0027s own statements and 59 belong to 11 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":"runtime/worker-polyfill.mjs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"8092bf093757cba79cd80e4f82958afbc77a83a6408aeef4fae1a44c3fdf70c6"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_cli::cli::run_nub (cognitive 131): nub_cli::cli::run_nub has cognitive complexity 131 (threshold 15). Drivers by points: if/else 49 (101 pts), boolean chains 13, match/switch 3 (11 pts), loops 2 (6 pts) (nesting depth added 64). 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":"crates/nub-cli/src/cli.rs"},"region":{"startLine":2175}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d55e6e5a3b5b2df1d60aeb69ac5626f6924082267670564bc95a35872a41959"}},{"ruleId":"D2","level":"warning","message":{"text":"navigator-locks.installNavigatorLocks (cognitive 115): navigator-locks.installNavigatorLocks has cognitive complexity 115 (threshold 15). Drivers by points: if/else 37 (78 pts), boolean chains 19, loops 6 (16 pts), ternaries 1 (2 pts) (nesting depth added 52). Of this number, 58 points are the body\u0027s own statements and 57 belong to 14 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":"runtime/navigator-locks.mjs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8c83cc5dacd1597607f623f7314897edf09a7065a2d2f504158d2bf98df07c8"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_cli::cli::run_workspace_target (cognitive 100): nub_cli::cli::run_workspace_target has cognitive complexity 100 (threshold 15). Drivers by points: if/else 34 (52 pts), match/switch 6 (20 pts), boolean chains 15, loops 5 (13 pts) (nesting depth added 40). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/cli.rs"},"region":{"startLine":5484}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef354665cfb1989ab01ecc9df6c52ec0f92c4f931d10c6a233cdb922de118664"}},{"ruleId":"D2","level":"warning","message":{"text":"installSyncPolyfills (cognitive 93): installSyncPolyfills has cognitive complexity 93 (threshold 15). Drivers by points: if/else 24 (42 pts), boolean chains 27, ternaries 5 (11 pts), error handling 3 (8 pts), loops 2 (4 pts), other 1 (nesting depth added 31). Of this number, 50 points are the body\u0027s own statements and 43 belong to 14 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":"runtime/polyfills.cjs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"fef2c965cfcf9108f079809d3c1b498cf791e4c5108d8e0f26f5ae52258c72bd"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_core::node::spawn::spawn_node (cognitive 86): nub_core::node::spawn::spawn_node has cognitive complexity 86 (threshold 15). Drivers by points: if/else 40 (66 pts), boolean chains 9, loops 4 (8 pts), match/switch 2 (3 pts) (nesting depth added 31). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-core/src/node/spawn.rs"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"de87d685e3d915415831cd1963effd9e44149772752c8395f961c1e15aee4ede"}},{"ruleId":"D2","level":"warning","message":{"text":"polyfills.installFloorBuiltins (cognitive 85): polyfills.installFloorBuiltins has cognitive complexity 85 (threshold 15). Drivers by points: if/else 25 (43 pts), ternaries 10 (21 pts), boolean chains 13, error handling 2 (4 pts), loops 2 (4 pts) (nesting depth added 33). Of this number, 70 points are the body\u0027s own statements and 15 belong to 3 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":"runtime/polyfills.cjs"},"region":{"startLine":1635}}}],"partialFingerprints":{"codehealthFindingId/v1":"f39ccd915335d6798fbb166509b4ac1cc0604a5d1749938f0a816d43b9d2cb79"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_cli::cli::run_watch (cognitive 79): nub_cli::cli::run_watch has cognitive complexity 79 (threshold 15). Drivers by points: if/else 38 (48 pts), boolean chains 15, loops 7 (11 pts), match/switch 3 (5 pts) (nesting depth added 16). 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":"crates/nub-cli/src/cli.rs"},"region":{"startLine":7416}}}],"partialFingerprints":{"codehealthFindingId/v1":"580860368eb46bf25ebc5b85e571157301a6801d8b605253e2562b1e38d6a0c4"}},{"ruleId":"D2","level":"warning","message":{"text":"polyfills.installDisposableStacks (cognitive 79): polyfills.installDisposableStacks has cognitive complexity 79 (threshold 15). Drivers by points: if/else 32 (66 pts), error handling 2 (6 pts), loops 2 (4 pts), boolean chains 3 (nesting depth added 40). 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":"runtime/polyfills.cjs"},"region":{"startLine":2228}}}],"partialFingerprints":{"codehealthFindingId/v1":"48420e109ae9d61fa9de4aa79956582df61acf771f6d82e84d90f87a6894331d"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_cli::compile::run (cognitive 77): nub_cli::compile::run has cognitive complexity 77 (threshold 15). Drivers by points: if/else 47 (57 pts), boolean chains 10, loops 4 (5 pts), match/switch 3 (5 pts) (nesting depth added 13). 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":"crates/nub-cli/src/compile/mod.rs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1f5903333e10f19ce1c9efab41922a18850bbff145344b8edf94bf354b94e33"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_cli::compile::closure::scan (cognitive 76): nub_cli::compile::closure::scan has cognitive complexity 76 (threshold 15). Drivers by points: if/else 20 (46 pts), match/switch 6 (19 pts), boolean chains 10, loops 1 (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":"crates/nub-cli/src/compile/closure.rs"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"d017ce0be5d29ef76030cbbac6b6407f19518be5d2b6e1ac839004007ed3c45d"}},{"ruleId":"D2","level":"warning","message":{"text":"polyfills.installSetMethods (cognitive 66): polyfills.installSetMethods has cognitive complexity 66 (threshold 15). Drivers by points: if/else 25 (39 pts), loops 12 (18 pts), boolean chains 7, ternaries 2 (nesting depth added 20). Of this number, 51 points are the body\u0027s own statements and 15 belong to 4 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":"runtime/polyfills.cjs"},"region":{"startLine":1179}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e5456098f9bf1a5613bdf03fcfa220dbe425ac4ed93b1c725b7becac6245f5a"}},{"ruleId":"D2","level":"warning","message":{"text":"polyfills.installUint8ArrayBase64::fromBase64 (cognitive 66): polyfills.installUint8ArrayBase64::fromBase64 has cognitive complexity 66 (threshold 15). Drivers by points: if/else 23 (61 pts), boolean chains 4, loops 1 (nesting depth added 38). 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. This shape REPEATS in the file: one other method here (polyfills.installUint8ArrayBase64::hexToU8) 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":"runtime/polyfills.cjs"},"region":{"startLine":2010}}}],"partialFingerprints":{"codehealthFindingId/v1":"b16dee2286ade52065f3214aa4e2405c1685b174534960adf322f137963066de"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_cli::compile::bundle::bundle_inner (cognitive 61): nub_cli::compile::bundle::bundle_inner has cognitive complexity 61 (threshold 15). Drivers by points: if/else 30 (45 pts), match/switch 3 (9 pts), loops 3 (4 pts), boolean chains 3 (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":"crates/nub-cli/src/compile/bundle.rs"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"98410e13d2246cd7b0641ef9e2301f1b46ca43025f1f7b856a9abb9bf5605ced"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_tsconfig::normalize_compiler_options (cognitive 58): nub_tsconfig::normalize_compiler_options has cognitive complexity 58 (threshold 15). Drivers by points: if/else 32 (53 pts), loops 2 (3 pts), match/switch 1 (2 pts) (nesting depth added 23). Of this number, 57 points are the body\u0027s own statements and 1 belongs 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":"crates/nub-tsconfig/src/lib.rs"},"region":{"startLine":1211}}}],"partialFingerprints":{"codehealthFindingId/v1":"6642daa07b733e3d40d3c0c7d2af889259e24867f615d3306e14ffcf01a8484b"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_cli::cli::dispatch_subcommand (cognitive 56): nub_cli::cli::dispatch_subcommand has cognitive complexity 56 (threshold 15). Drivers by points: if/else 27 (39 pts), boolean chains 9, match/switch 5 (8 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":"crates/nub-cli/src/cli.rs"},"region":{"startLine":2912}}}],"partialFingerprints":{"codehealthFindingId/v1":"8de43a4fa1b6d01956a248e8355854c283687ad56a72b1cb43c3898f8e98d358"}},{"ruleId":"D2","level":"warning","message":{"text":"compile-sea-loader.installPayloadContainer (cognitive 54): compile-sea-loader.installPayloadContainer has cognitive complexity 54 (threshold 15). Drivers by points: if/else 18 (28 pts), boolean chains 12, ternaries 7 (8 pts), error handling 1 (3 pts), loops 2 (3 pts) (nesting depth added 14). Of this number, 26 points are the body\u0027s own statements and 28 belong to 4 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":"runtime/compile-sea-loader.cjs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ea55c38a4faac2401c6e679a8110bf238f11335be959064c93a7312aa03709d"}},{"ruleId":"D2","level":"warning","message":{"text":"wrapChildProcessCompileCache (cognitive 53): wrapChildProcessCompileCache has cognitive complexity 53 (threshold 15). Drivers by points: if/else 17 (27 pts), boolean chains 17, error handling 3 (5 pts), loops 2 (3 pts), ternaries 1 (nesting depth added 13). Most of this is not in the body itself: 2 of the 53 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 1797, fork, stripFromOptions, \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":"runtime/preload-common.cjs"},"region":{"startLine":1713}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0fb2cf1aaa56cddb79e20cd79fb382dd82e196562b250eb99aac38e9773f7d9"}},{"ruleId":"D2","level":"warning","message":{"text":"makeHooks.loadInner (cognitive 51): makeHooks.loadInner has cognitive complexity 51 (threshold 15). Drivers by points: if/else 14 (23 pts), boolean chains 21, error handling 3 (5 pts), ternaries 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/preload-common.cjs"},"region":{"startLine":884}}}],"partialFingerprints":{"codehealthFindingId/v1":"20462a44fa041a24017b818e66f50d47d1b1788b51c21aec409dd82b578a4a77"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_tsconfig::parse_tsconfig (cognitive 50): nub_tsconfig::parse_tsconfig has cognitive complexity 50 (threshold 15). Drivers by points: if/else 9 (32 pts), loops 5 (13 pts), match/switch 2 (5 pts) (nesting depth added 34). 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":"crates/nub-tsconfig/src/lib.rs"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"4046fcd4aae1ca2e4130f77bdec101857359b7618d01a720a8339affed45c64c"}},{"ruleId":"D2","level":"warning","message":{"text":"throttle (cognitive 50): throttle has cognitive complexity 50 (threshold 15). Drivers by points: if/else 26 (27 pts), boolean chains 12, loops 4 (5 pts), ternaries 4 (5 pts), error handling 1 (nesting depth added 3). Most of this is not in the body itself: 4 of the 50 points are its own statements and the rest belongs to 23 function items inside it that branch (throttled, hasImmediateCapacity, pruneStrictTicks, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/util/throttle.cjs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"d25d50b13fa01a37da5d14d476a94252c41813d9b53220a20708c5faed91f7c8"}},{"ruleId":"D2","level":"warning","message":{"text":"preload-common.makeHooks.loadInner (cognitive 47): preload-common.makeHooks.loadInner has cognitive complexity 47 (threshold 15). Drivers by points: if/else 14 (23 pts), boolean chains 17, error handling 3 (5 pts), ternaries 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/preload-common.cjs"},"region":{"startLine":884}}}],"partialFingerprints":{"codehealthFindingId/v1":"03dee99433bf754b70367cccbcaa4e719b0966f36dd80c577c085d91b4461346"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeAddons::walk_closure (cognitive 45): NativeAddons::walk_closure has cognitive complexity 45 (threshold 15). Drivers by points: if/else 13 (36 pts), loops 3 (6 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/compile/native.rs"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"755b24add0da825ba15fd904c86938991ee85b56c64d2889368ab9a27ba3d089"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_cli::compile::native::require_rebindings (cognitive 44): nub_cli::compile::native::require_rebindings has cognitive complexity 44 (threshold 15). Drivers by points: if/else 14 (21 pts), boolean chains 9, loops 4 (7 pts), match/switch 4 (7 pts) (nesting depth added 13). Of this number, 20 points are the body\u0027s own statements and 24 belong to 5 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":"crates/nub-cli/src/compile/native.rs"},"region":{"startLine":2179}}}],"partialFingerprints":{"codehealthFindingId/v1":"24f4a9609af2792c0281c36456f0e232bb489df21f7a22f470d6ca909790f3a1"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_cli::cli::run_nubx (cognitive 41): nub_cli::cli::run_nubx has cognitive complexity 41 (threshold 15). Drivers by points: if/else 11 (27 pts), boolean chains 8, loops 3 (4 pts), match/switch 1 (2 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/cli.rs"},"region":{"startLine":3584}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbfd0377cf87d3eb14fecfa8d1b7760f546abd2c7095f01f32cf19ac61b600aa"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_cli::cli::build_script_command (cognitive 40): nub_cli::cli::build_script_command has cognitive complexity 40 (threshold 15). Drivers by points: if/else 23 (28 pts), boolean chains 5, match/switch 5, loops 2 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"crates/nub-cli/src/cli.rs"},"region":{"startLine":6280}}}],"partialFingerprints":{"codehealthFindingId/v1":"9244e5af0c38c7b7367595d71edcd150baaddbc20a2c17755398accaeaf0cafd"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_cli::phantom_scan::walk_source (cognitive 40): nub_cli::phantom_scan::walk_source has cognitive complexity 40 (threshold 15). Drivers by points: if/else 11 (34 pts), boolean chains 3, loops 2 (3 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":"crates/nub-cli/src/phantom_scan.rs"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6b81be43e8ef6d3b0ba2f2ed69372aea1c6a7a6397099a7d20c207b04edc759"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_cli::pm_engine::use_nub::plan_migration (cognitive 40): nub_cli::pm_engine::use_nub::plan_migration has cognitive complexity 40 (threshold 15). Drivers by points: if/else 12 (25 pts), loops 5 (11 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/pm_engine/use_nub.rs"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"7682569ffd7aa7e89242452b0bdc280c30228b8eda33f7bc63913fe4308efccc"}},{"ruleId":"D2","level":"warning","message":{"text":"polyfills.installJsonParseOptions (cognitive 40): polyfills.installJsonParseOptions has cognitive complexity 40 (threshold 15). Drivers by points: if/else 14 (25 pts), loops 3 (7 pts), boolean chains 6, error handling 1 (2 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":"runtime/polyfills.cjs"},"region":{"startLine":1559}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb5a3c563904f48c97916e56e52cea0ea6fefc86d66364621507758f3146a21d"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_cli::cli::run_upgrade (cognitive 39): nub_cli::cli::run_upgrade has cognitive complexity 39 (threshold 15). Drivers by points: if/else 11 (25 pts), match/switch 5 (13 pts), boolean chains 1 (nesting depth added 22). Of this number, 35 points are the body\u0027s own statements and 4 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":"crates/nub-cli/src/cli.rs"},"region":{"startLine":8782}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb61b9244a4420d594dfa8fdd61ef40b1047a3515014289f3e250958d24dc57c"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_cli::cli::run_pm (cognitive 39): nub_cli::cli::run_pm has cognitive complexity 39 (threshold 15). Drivers by points: if/else 10 (20 pts), match/switch 4 (9 pts), loops 3 (7 pts), boolean chains 3 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/cli.rs"},"region":{"startLine":10368}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1b6112351ca47054e06d4acab17c6ed6d78e2013627f5acef0559c9b41fb888"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_cli::pm_engine::use_nub::apply_manifest_edits (cognitive 38): nub_cli::pm_engine::use_nub::apply_manifest_edits has cognitive complexity 38 (threshold 15). Drivers by points: if/else 10 (21 pts), match/switch 4 (9 pts), loops 3 (5 pts), boolean chains 3 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/pm_engine/use_nub.rs"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ad25952af7c44a49edf8d19c8abd868a6f6a2a01843f1bb1253e11740470897"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_tsconfig::resolve_extends_path (cognitive 38): nub_tsconfig::resolve_extends_path has cognitive complexity 38 (threshold 15). Drivers by points: if/else 19 (36 pts), match/switch 1 (2 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-tsconfig/src/lib.rs"},"region":{"startLine":954}}}],"partialFingerprints":{"codehealthFindingId/v1":"c17d087be3104266dc62c241e04e19a00fa147f98c316dba9c2e2e61b29cb442"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_native::resolve::try_resolve_file (cognitive 37): nub_native::resolve::try_resolve_file has cognitive complexity 37 (threshold 15). Drivers by points: if/else 10 (27 pts), loops 3 (7 pts), boolean chains 2, match/switch 1 (nesting depth added 21). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-native/src/resolve.rs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"44ac52811c474f5ea71d9510fdb758af59a12e34f8e483319dbbe7cc068a861e"}},{"ruleId":"D2","level":"warning","message":{"text":"Worker.constructor (cognitive 37): Worker.constructor has cognitive complexity 37 (threshold 15). Drivers by points: if/else 14 (21 pts), ternaries 6 (9 pts), boolean chains 4, error handling 1 (2 pts), loops 1 (nesting depth added 11). Of this number, 33 points are the body\u0027s own statements and 4 belong to 3 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":"runtime/worker-polyfill.mjs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f22b12819d509f9e610c4af129676167ee75b1c22a85c821caa5af589795511"}},{"ruleId":"D2","level":"warning","message":{"text":"AnsiScreen.write (cognitive 36): AnsiScreen.write has cognitive complexity 36 (threshold 15). Drivers by points: if/else 12 (26 pts), ternaries 2 (9 pts), loops 1 (nesting depth added 21). Of this number, 31 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"site/src/lib/ansi-screen.ts"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"58c4de01cced72f019635cafd414a07a58baa519942bc3966e3db688e99a0cb8"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeAddons::transport_roots (cognitive 35): NativeAddons::transport_roots has cognitive complexity 35 (threshold 15). Drivers by points: if/else 10 (26 pts), loops 5 (8 pts), boolean chains 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/compile/native.rs"},"region":{"startLine":983}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee8aeb8c8b8f6dcbb994b344053deec0330c961737eda0ff2b7d2f444aa2e81d"}},{"ruleId":"D2","level":"warning","message":{"text":"preload-common.installCjsRequireHooks (cognitive 35): preload-common.installCjsRequireHooks has cognitive complexity 35 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 13, loops 4 (nesting depth added 7). Most of this is not in the body itself: 15 of the 35 points are its own statements and the rest belongs to 8 function items inside it that branch (plainJsExtension, withoutNubAddedExtensions, transpileExtension, \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":"runtime/preload-common.cjs"},"region":{"startLine":1190}}}],"partialFingerprints":{"codehealthFindingId/v1":"a57a0a9987a972aaebd7818b5198270295be782589558d0428bbf8e39fcddda0"}},{"ruleId":"D2","level":"warning","message":{"text":"installJsonParseOptions::parse (cognitive 35): installJsonParseOptions::parse has cognitive complexity 35 (threshold 15). Drivers by points: if/else 12 (22 pts), loops 3 (7 pts), boolean chains 6 (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":"runtime/polyfills.cjs"},"region":{"startLine":1580}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbb2a962fb2ac0c69b10462fbf9d3f3c9a473fb3777f388f638f6bdcbd3b1a76"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_cli::cli::prepare_preload_chain (cognitive 34): nub_cli::cli::prepare_preload_chain has cognitive complexity 34 (threshold 15). Drivers by points: if/else 16 (18 pts), boolean chains 9, match/switch 3 (4 pts), loops 2 (3 pts) (nesting depth added 4). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/cli.rs"},"region":{"startLine":4036}}}],"partialFingerprints":{"codehealthFindingId/v1":"5786cb53190498da7984a712cf1380bee94c34d9a3fc69961ec647f478fea279"}},{"ruleId":"D2","level":"warning","message":{"text":"launch.leadsToUs (cognitive 34): launch.leadsToUs has cognitive complexity 34 (threshold 15). Drivers by points: if/else 9 (20 pts), error handling 4 (9 pts), loops 1 (2 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"npm/nub/bin/launch.js"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"81a956d42fa31f9b16d67b0549a2985c352d40b9d9e54b81fc0003f5468d9e3b"}},{"ruleId":"D2","level":"warning","message":{"text":"installCjsRequireHooks::_resolveFilename (cognitive 34): installCjsRequireHooks::_resolveFilename has cognitive complexity 34 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 8, ternaries 2 (4 pts), error handling 2, loops 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/preload-common.cjs"},"region":{"startLine":1263}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e7d2f8f31318910f822a7d5eb743aa0fff7d17e932f4256d600ba72a1079a02"}},{"ruleId":"D2","level":"warning","message":{"text":"installWorkerPolyfill::constructor (cognitive 34): installWorkerPolyfill::constructor has cognitive complexity 34 (threshold 15). Drivers by points: if/else 13 (20 pts), ternaries 7 (9 pts), error handling 1 (2 pts), boolean chains 1, loops 1, other 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":"runtime/worker-polyfill.mjs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8174ae0318d1152040969575089b24f0e9a3ebcb5f7691dd9f19920b43c05be"}},{"ruleId":"D2","level":"warning","message":{"text":"installCompiledForkIdentity::fork (cognitive 34): installCompiledForkIdentity::fork has cognitive complexity 34 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 9, ternaries 4 (9 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/compile-bootstrap.cjs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"c79af935eed9860abd6a9d8b0bb13ed81fae1a21bcf33f25c09e1615176d1c2e"}},{"ruleId":"D2","level":"warning","message":{"text":"debounce (cognitive 34): debounce has cognitive complexity 34 (threshold 15). Drivers by points: if/else 18 (22 pts), loops 4 (6 pts), ternaries 3 (4 pts), boolean chains 1, error handling 1 (nesting depth added 7). Most of this is not in the body itself: 2 of the 34 points are its own statements and the rest belongs to 14 function items inside it that branch (debounced, invoke, abort, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/util/debounce.cjs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4e728deaee4a879b5c27a974e41642cae9d9848c36bbf2ff827afcdee980067"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_cli::compile::bundle::finish_eager_startup (cognitive 33): nub_cli::compile::bundle::finish_eager_startup has cognitive complexity 33 (threshold 15). Drivers by points: if/else 14 (29 pts), loops 2 (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":"crates/nub-cli/src/compile/bundle.rs"},"region":{"startLine":2130}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d6baeed030bd91cf8f2a22b48d81c340b0d4ac8202e696aba494d795476a1f7"}},{"ruleId":"D2","level":"warning","message":{"text":"LockManager.request (cognitive 33): LockManager.request has cognitive complexity 33 (threshold 15). Drivers by points: if/else 16 (18 pts), boolean chains 14, ternaries 1 (nesting depth added 2). Of this number, 28 points are the body\u0027s own statements and 5 belong to 2 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/navigator-locks.mjs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9f93a0570a9e2f64ea271a410ac133af847fa5dc4988664bf2fcf2c56cee667"}},{"ruleId":"D2","level":"warning","message":{"text":"installMathSumPrecise::sumPrecise (cognitive 33): installMathSumPrecise::sumPrecise has cognitive complexity 33 (threshold 15). Drivers by points: if/else 14 (22 pts), boolean chains 5, ternaries 3 (5 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/polyfills.cjs"},"region":{"startLine":1496}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ade0e534ca62422c458df63c90b5584e1d1749104028098a16f857030a973a0"}},{"ruleId":"D2","level":"warning","message":{"text":"postinstall.refreshShimsIn (cognitive 32): postinstall.refreshShimsIn has cognitive complexity 32 (threshold 15). Drivers by points: error handling 8 (16 pts), if/else 6 (11 pts), boolean chains 2, ternaries 1 (2 pts), loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"npm/nub/postinstall.js"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a7ea2b002610ea7cb6e414854e99354a283bb0c88b0b3b00e5920341d96bca"}},{"ruleId":"D2","level":"warning","message":{"text":"polyfills.installMathSumPrecise (cognitive 32): polyfills.installMathSumPrecise has cognitive complexity 32 (threshold 15). Drivers by points: if/else 15 (23 pts), boolean chains 5, ternaries 2 (3 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/polyfills.cjs"},"region":{"startLine":1494}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a8036097f4ec7968817efc1829cd421daa9971355cb8218a2032883b91fd40d"}},{"ruleId":"D2","level":"warning","message":{"text":"installLazyEsmPolyfills (cognitive 32): installLazyEsmPolyfills has cognitive complexity 32 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 6, error handling 4 (6 pts), ternaries 1 (nesting depth added 8). Of this number, 20 points are the body\u0027s own statements and 12 belong to 8 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":"runtime/preload.cjs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"c176bc1189eb84e289b90a3fd6d8228f1afd47fe24c3570c8fa6869d840c977b"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_cli::compile::prepare_node_bytes (cognitive 31): nub_cli::compile::prepare_node_bytes has cognitive complexity 31 (threshold 15). Drivers by points: if/else 19 (22 pts), boolean chains 7, match/switch 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/compile/mod.rs"},"region":{"startLine":2893}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4bdfda0e57808e9b9c291a94391f1a277e6ea53bc29ee3e4200912ae0f5ea8c"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_cli::compile::bundle::reject_unresolved (cognitive 31): nub_cli::compile::bundle::reject_unresolved has cognitive complexity 31 (threshold 15). Drivers by points: if/else 22 (24 pts), boolean chains 3, loops 2, match/switch 1 (2 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/compile/bundle.rs"},"region":{"startLine":6148}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dadf9e8d90f70810d30328eb21b5c8b3a472f75b7e35ebb7332ad333a9c89e9"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_core::workspace::env::strongly_connected (cognitive 31): nub_core::workspace::env::strongly_connected has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (24 pts), loops 3 (7 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-core/src/workspace/env.rs"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5a18ee92db49bf9ed343101634ee4d7ce36eb77f6a883517f9f61d58a369835"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_phantom_scan::graph::walk_generic (cognitive 31): nub_phantom_scan::graph::walk_generic has cognitive complexity 31 (threshold 15). Drivers by points: if/else 7 (21 pts), loops 4 (6 pts), match/switch 1 (3 pts), boolean chains 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-phantom-scan/src/graph.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"b857a431cf17be102c2fce0efd7d2a25b1b70495a00ffdf019b78d1aae8b4e5a"}},{"ruleId":"D2","level":"warning","message":{"text":"AnsiScreen.sgr (cognitive 31): AnsiScreen.sgr has cognitive complexity 31 (threshold 15). Drivers by points: if/else 19 (22 pts), boolean chains 5, ternaries 1 (3 pts), 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"site/src/lib/ansi-screen.ts"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcc242b470b3abf20c1e13371c90d261381b4be505436b6bdbe0904629dd8ee3"}},{"ruleId":"D2","level":"warning","message":{"text":"AnsiScreen.csi (cognitive 31): AnsiScreen.csi has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (15 pts), loops 3 (9 pts), boolean chains 3, ternaries 2 (3 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":"site/src/lib/ansi-screen.ts"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"36ad4e9e5664ff36bc4c171348c096c7db61e2078cb74e09f0e7b62d65a3d600"}},{"ruleId":"D2","level":"warning","message":{"text":"resolveSpec (cognitive 31): resolveSpec has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (16 pts), ternaries 3 (7 pts), boolean chains 6, error handling 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":"runtime/transform-core.mjs"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbb779905a8965e3b1b3102b47db07c54116b665dbe4f26f368cc7ab03f82c09"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_cli::compile::native::plan_closure (cognitive 30): nub_cli::compile::native::plan_closure has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (19 pts), loops 5 (7 pts), boolean chains 2, 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":"crates/nub-cli/src/compile/native.rs"},"region":{"startLine":1795}}}],"partialFingerprints":{"codehealthFindingId/v1":"d55a738be953b8fb9ac6156cc8c35a65c490ef31ac833dc2cde8f34cbd136f1c"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_cli::init::run_init (cognitive 30): nub_cli::init::run_init has cognitive complexity 30 (threshold 15). Drivers by points: if/else 15 (17 pts), match/switch 5 (8 pts), boolean chains 4, 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":"crates/nub-cli/src/init.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"76df034d4421e88e6e442ae56f8ec88e15c66d0d8dd4a0b468eddf7c49277a85"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_cli::pm_engine::lower_native_install_settings (cognitive 30): nub_cli::pm_engine::lower_native_install_settings has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (17 pts), match/switch 3 (7 pts), loops 2 (5 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/pm_engine/mod.rs"},"region":{"startLine":1156}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0ae179d8a56da1502481049719ded28292b54173ca436ca816b084446133bab"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_core::workspace::env::parse_env (cognitive 30): nub_core::workspace::env::parse_env has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (24 pts), match/switch 1 (3 pts), boolean chains 2, loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-core/src/workspace/env.rs"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cff23ef3a8b3941f4fb33d9f96b0025bc3a5ce818549a58e866dd499595c501"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_launcher::app_cache_tree_matches (cognitive 30): nub_launcher::app_cache_tree_matches has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (24 pts), match/switch 2 (4 pts), boolean chains 1, loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-launcher/src/main.rs"},"region":{"startLine":1080}}}],"partialFingerprints":{"codehealthFindingId/v1":"434856e7500dd3f355f291098873f3d8d1ddd4ce586f5b2180221fd51dc90e8a"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_cli::cli::drain_both_inline (cognitive 29): nub_cli::cli::drain_both_inline has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (26 pts), loops 2 (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":"crates/nub-cli/src/cli.rs"},"region":{"startLine":7033}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fd621ec5cb78b2319c8c4c402a967cdbce5ae2e7f82eab87ec34bc7c825fddf"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_launcher::cache::walk_unix_namespace (cognitive 29): nub_launcher::cache::walk_unix_namespace has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (25 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-launcher/src/cache.rs"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4b23491438b6e814796158e4112393c1610301522c86127a2af2c73a7f29d55"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_phantom_scan::manifest::collect_entry_points (cognitive 29): nub_phantom_scan::manifest::collect_entry_points has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (17 pts), loops 5 (8 pts), match/switch 2 (3 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-phantom-scan/src/manifest.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7ff5865eda0797ca1eb61cf4159e072dab43d4bd5bcc617afe0a7621a2f8899"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_tsconfig::inner_parse (cognitive 29): nub_tsconfig::inner_parse has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (19 pts), match/switch 2 (5 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-tsconfig/src/lib.rs"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"e971d675f23d440a9985f2748b8021b56318ee00c791daf9bf5133794663503a"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_tsconfig::resolve_extends (cognitive 29): nub_tsconfig::resolve_extends has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (24 pts), loops 3 (5 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-tsconfig/src/lib.rs"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1d5c67cbfc5081bfb5e307fc6241b7e2cb5930868f360106d01df01c46bb08a"}},{"ruleId":"D2","level":"warning","message":{"text":"clean-shared-buckets.main (cognitive 29): clean-shared-buckets.main has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (18 pts), ternaries 4 (6 pts), boolean chains 3, loops 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".claude/skills/disk-reduction/scripts/clean-shared-buckets.py"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa357b3f46bfda93405f7049696902248ec426e633ec2d877e78a63e442a76af"}},{"ruleId":"D2","level":"warning","message":{"text":"installLocaleVariants (cognitive 29): installLocaleVariants has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (19 pts), loops 3 (5 pts), ternaries 1 (3 pts), boolean chains 2 (nesting depth added 12). Most of this is not in the body itself: 3 of the 29 points are its own statements and the rest belongs to 5 function items inside it that branch (construct::get, variants, construct, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/polyfills.cjs"},"region":{"startLine":1410}}}],"partialFingerprints":{"codehealthFindingId/v1":"6986c42f2cc3d5385f427d3ca29155fa4fd92aad8197dcec9f3c69f454201893"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_cli::cli::swap_bin_files_windows (cognitive 28): nub_cli::cli::swap_bin_files_windows has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (21 pts), loops 3 (4 pts), boolean chains 3 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/cli.rs"},"region":{"startLine":9203}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b7097d7e8b01c2308d4b3532a9b6b91ca4d48819616c873d4ba33f46275a2d9"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_cli::compile::bundle::worker_alias_bindings (cognitive 28): nub_cli::compile::bundle::worker_alias_bindings has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (18 pts), loops 3 (6 pts), match/switch 2 (3 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/compile/bundle.rs"},"region":{"startLine":4426}}}],"partialFingerprints":{"codehealthFindingId/v1":"04adadd5f87c13677a6e2c45a3d6e1acf276ca6cfcb092978d30df865371ccc2"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_cli::pm_engine::store_config_family::dispatch_config (cognitive 28): nub_cli::pm_engine::store_config_family::dispatch_config has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (19 pts), match/switch 4 (8 pts), boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/pm_engine/store_config_family.rs"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb462b89a8ea5cb69c3921ebd0fcc852a44fe2686daacac36e709211cfc33695"}},{"ruleId":"D2","level":"warning","message":{"text":"transform-core.stripJsonComments (cognitive 28): transform-core.stripJsonComments has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 3 (7 pts), boolean chains 5 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/transform-core.mjs"},"region":{"startLine":1143}}}],"partialFingerprints":{"codehealthFindingId/v1":"13f0d2222b9654694eba650e2db00e66f2e487431775c71694a76f2fbee157c0"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_core::node::discovery::walk_up_for_pin (cognitive 27): nub_core::node::discovery::walk_up_for_pin has cognitive complexity 27 (threshold 15). Drivers by points: if/else 6 (22 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 18). 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":"crates/nub-core/src/node/discovery.rs"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"78458d96fe95f95aed442e67cf78d700bcf5dc4f86619a8c6606537d7dc2413f"}},{"ruleId":"D2","level":"warning","message":{"text":"clean-worktree-targets.main (cognitive 27): clean-worktree-targets.main has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (21 pts), loops 2 (3 pts), ternaries 2, 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":".claude/skills/cpu-reduction/scripts/clean-worktree-targets.py"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"9190f6d7c6f72d3d1bb83d82e6a9bd7d7afa56d511b30fce87115bd42825610f"}},{"ruleId":"D2","level":"warning","message":{"text":"installNavigatorLocks::request (cognitive 27): installNavigatorLocks::request has cognitive complexity 27 (threshold 15). Drivers by points: if/else 14, boolean chains 12, ternaries 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":"runtime/navigator-locks.mjs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bb712ff98d0503aa1a8a4d31be2554aa4b69aab780fcf71240d83b2b8cc7de9"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_cli::cli::runtime_node_options_with (cognitive 26): nub_cli::cli::runtime_node_options_with has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 4 (5 pts), boolean chains 4, match/switch 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/cli.rs"},"region":{"startLine":4586}}}],"partialFingerprints":{"codehealthFindingId/v1":"879727ae3305ba1243e52e4afdf3f7c31a5587c63836cfa9e79c9929e2e66cce"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_cli::compile::unbundlable::collect (cognitive 26): nub_cli::compile::unbundlable::collect has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (22 pts), boolean chains 3, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/compile/unbundlable.rs"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"0021988c222810f759c1b1fefaf9533e7151ecda7e25a729558d069aafe71028"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_cli::project_config::validate_root (cognitive 26): nub_cli::project_config::validate_root has cognitive complexity 26 (threshold 15). Drivers by points: if/else 22 (23 pts), match/switch 1 (2 pts), boolean chains 1 (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":"crates/nub-cli/src/project_config.rs"},"region":{"startLine":1347}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bc3bd3a34e23f6645bdf791fa419eea5747ebf4141ad96703d2665e977a22d2"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_core::pm::shim::npm_install_route (cognitive 26): nub_core::pm::shim::npm_install_route has cognitive complexity 26 (threshold 15). Drivers by points: match/switch 6 (15 pts), if/else 4 (8 pts), boolean chains 2, loops 1 (nesting depth added 13). 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":"crates/nub-core/src/pm/shim.rs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"13fd945db07525c59359eaf5c4dcea35c52f3b41b3a08938a8f04d510e66b4cf"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_core::workspace::filter::topological_chunks (cognitive 26): nub_core::workspace::filter::topological_chunks has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (18 pts), loops 4 (8 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-core/src/workspace/filter.rs"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"809fada0c83977002429db5bf85ab6768896b07b4c6a7a1bad6ff49f04a724be"}},{"ruleId":"D2","level":"warning","message":{"text":"loader-entry.foreignAsyncLoaderPresent (cognitive 26): loader-entry.foreignAsyncLoaderPresent has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 3 (5 pts), boolean chains 4, ternaries 2 (3 pts) (nesting depth added 10). Of this number, 25 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/loader-entry.mjs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"d82fa3d4cddd340011573a92f312104a885c20a08e3cc9eaf8fae9a9623742af"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_cli::cli::run_node (cognitive 25): nub_cli::cli::run_node has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (17 pts), loops 2 (5 pts), match/switch 2 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/cli.rs"},"region":{"startLine":10104}}}],"partialFingerprints":{"codehealthFindingId/v1":"e79c2075deb78e40f595f3dc82cf09f5a2980a2c4df6f35c65dee1955158f26c"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_cli::compile::native::has_libc_match (cognitive 25): nub_cli::compile::native::has_libc_match has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (21 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/compile/native.rs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0dcd5f6f1e990ed098f3849646488a9977955adc86fc0fd91b78b08226a3ddb"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_cli::compile::version_info::parse (cognitive 25): nub_cli::compile::version_info::parse has cognitive complexity 25 (threshold 15). Drivers by points: loops 5 (15 pts), if/else 4 (8 pts), match/switch 1 (2 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":"crates/nub-cli/src/compile/version_info.rs"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae7d546d3d5af7281f7c33fc1a9303fe28ff11963beb088b722af41c3e50dd71"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_cli::pm_engine::use_nub::run_use_nub (cognitive 25): nub_cli::pm_engine::use_nub::run_use_nub has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (15 pts), loops 6 (8 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":"crates/nub-cli/src/pm_engine/use_nub.rs"},"region":{"startLine":886}}}],"partialFingerprints":{"codehealthFindingId/v1":"12ad8e572362a5e6037b14b585815b986b774f76478940e342fbaa104efb4d33"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_launcher::launch (cognitive 25): nub_launcher::launch has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (14 pts), match/switch 7 (8 pts), loops 3 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"crates/nub-launcher/src/main.rs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"acd2cd4d849132c7f0912cdd2d2266ef98a1e92e0ac9bea74333278504960b18"}},{"ruleId":"D2","level":"warning","message":{"text":"internals.determineSpecificType (cognitive 25): internals.determineSpecificType has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (18 pts), ternaries 2 (5 pts), boolean chains 1, match/switch 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":"runtime/util/internals.cjs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"db529d32a541afc4863fc68850179370c673603230c9d6377bda76dff6015a03"}},{"ruleId":"D2","level":"warning","message":{"text":"loadTranspile (cognitive 25): loadTranspile has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 9, ternaries 6 (8 pts), if/else 5 (7 pts), other 1 (nesting depth added 4). Of this number, 24 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/transform-core.mjs"},"region":{"startLine":978}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ef76676976d38540ae1eff0ad39d9c459c152077d5f09fabf302bfa418a18dc"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeAddons::materialise_unbundled (cognitive 24): NativeAddons::materialise_unbundled has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 4, loops 2, match/switch 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/compile/native.rs"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"b919f342f2fd1c4f77758e7ed6612d6c681b63ddd8c01ef4a36f7dee4d98a3aa"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_cli::cli::run_selected_scripts (cognitive 24): nub_cli::cli::run_selected_scripts has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 3 (4 pts), boolean chains 1, match/switch 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":"crates/nub-cli/src/cli.rs"},"region":{"startLine":5313}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f4a0223cb853ec8100f3fcf34dde2b35511b9d12b373d7b0aba06a80ea5b1e3"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_cli::compile::render_row (cognitive 24): nub_cli::compile::render_row has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (20 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/compile/mod.rs"},"region":{"startLine":1014}}}],"partialFingerprints":{"codehealthFindingId/v1":"19a2d2ab177ec7d80985a4f39ff59e3b374da98fcff8633d630a37f280cac179"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_cli::compile::bundle::hoist_module_wrappers (cognitive 24): nub_cli::compile::bundle::hoist_module_wrappers has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (20 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/compile/bundle.rs"},"region":{"startLine":1905}}}],"partialFingerprints":{"codehealthFindingId/v1":"f612db67780a44c5529c41912824cfe92dae1e8adb143e0ad66e55231f4cbd63"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_cli::compile::bundle::rewrite_entry_main_checks (cognitive 24): nub_cli::compile::bundle::rewrite_entry_main_checks has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 7, loops 3 (4 pts), match/switch 2 (nesting depth added 4). Of this number, 20 points are the body\u0027s own statements and 4 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":"crates/nub-cli/src/compile/bundle.rs"},"region":{"startLine":3250}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1b5fc0ea66715e94e670e8fd5bf1f6ff42628ee6d3c037a2586d24a9d12bd9e"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_native::detect::has_value_esm (cognitive 24): nub_native::detect::has_value_esm has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (16 pts), match/switch 2 (5 pts), boolean chains 2, 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":"crates/nub-native/src/detect.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"5349afc1c46bab7e72d203b28ff9d1722d64e4cdee8a58a715c07f16f800c6e8"}},{"ruleId":"D2","level":"warning","message":{"text":"installMapGetOrInsert (cognitive 24): installMapGetOrInsert has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (15 pts), ternaries 3 (6 pts), boolean chains 2, loops 1 (nesting depth added 12). Of this number, 15 points are the body\u0027s own statements and 9 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":"runtime/polyfills.cjs"},"region":{"startLine":1367}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee663c5222f837d643309bc6a6ae04a439e2c40170e541fea468c12e9b377570"}},{"ruleId":"D2","level":"warning","message":{"text":"Seed::reached_packages (cognitive 23): Seed::reached_packages has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (15 pts), match/switch 1 (4 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/compile/native_layout.rs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"c03a1c826d92fb967f43906639a2500c7530f3898d5b2c85d419254a4d4aaf03"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_cli::cli::run_file_in_dir (cognitive 23): nub_cli::cli::run_file_in_dir has cognitive complexity 23 (threshold 15). Drivers by points: if/else 15 (18 pts), boolean chains 5 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/cli.rs"},"region":{"startLine":5018}}}],"partialFingerprints":{"codehealthFindingId/v1":"91830c709381f7c1d7122e25c979a1f30e963ca867df60f5f65d14379baea524"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_cli::cli::run_exec_with_dlx (cognitive 23): nub_cli::cli::run_exec_with_dlx has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (18 pts), match/switch 2 (3 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/cli.rs"},"region":{"startLine":8023}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e563f1097b077802831fa1d409dc1d9d6a6baf4d38a647945b35809e33c7dc5"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_cli::cli::run_pm_shim_install (cognitive 23): nub_cli::cli::run_pm_shim_install has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (14 pts), match/switch 3 (6 pts), loops 2 (3 pts) (nesting depth added 6). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/cli.rs"},"region":{"startLine":11219}}}],"partialFingerprints":{"codehealthFindingId/v1":"a20b683179372270e18556f06a9ee4a893cbf09fbbf6a1ba16e180f5d9f8d040"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_cli::compile::native::package_files (cognitive 23): nub_cli::compile::native::package_files has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (19 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/compile/native.rs"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c14c3f5d828a34b59142a091bd9f20c95ebae5700f620816e9ef299038bfd88"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_core::node::runtime_cache::walk_windows_base_under (cognitive 23): nub_core::node::runtime_cache::walk_windows_base_under has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (14 pts), match/switch 3 (5 pts), boolean chains 3, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-core/src/node/runtime_cache.rs"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"99ac8272c7bfba9b5e34d2e12d4cf274f02177404816b903e57dde849132f87b"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_core::pm::provision::provision_pm_announced (cognitive 23): nub_core::pm::provision::provision_pm_announced has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (19 pts), match/switch 2 (3 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-core/src/pm/provision.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"133d7eb205e1a87466275b0c25ff255c0b20bf0e4ee3414d18d671bb2287919d"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_core::workspace::detect::detect_project_walk (cognitive 23): nub_core::workspace::detect::detect_project_walk has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (19 pts), boolean chains 3, 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":"crates/nub-core/src/workspace/detect.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"89e6589b63ea17d9a39f7f67cc07deaa53fdc62e511f139909096e16ea3235e7"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_core::workspace::env::load_env_files_raw_reporting (cognitive 23): nub_core::workspace::env::load_env_files_raw_reporting has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (19 pts), loops 2 (4 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":"crates/nub-core/src/workspace/env.rs"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba8960a1f162fa9a94c52765d67934a903d17f993ae122e558029d9079c6ce03"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_core::workspace::filter::read_pnpm_workspace (cognitive 23): nub_core::workspace::filter::read_pnpm_workspace has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 2 (4 pts), boolean chains 3 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-core/src/workspace/filter.rs"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"a458a69f96a34e53ae4b7a38f8c33b77af27285d7d7d97d016fd23423f57d569"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_json_guard::check_nesting_depth (cognitive 23): nub_json_guard::check_nesting_depth has cognitive complexity 23 (threshold 15). Drivers by points: if/else 3 (10 pts), match/switch 3 (8 pts), boolean chains 4, 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":"crates/nub-json-guard/src/lib.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"69fee45b3947e75f7580513e1d0ea3fc5cceb88b7031ca434b26d1da7722ec86"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_launcher::cache::walk_windows_namespace (cognitive 23): nub_launcher::cache::walk_windows_namespace has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (18 pts), boolean chains 2, match/switch 1 (2 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-launcher/src/cache.rs"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a41061f8308befae2d333bf372d78b9cee1285071eb07056121c28b3064454c"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_phantom_scan::bin::scan-verdicts::enumerate (cognitive 23): nub_phantom_scan::bin::scan-verdicts::enumerate has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (14 pts), boolean chains 6, 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":"crates/nub-phantom-scan/src/bin/scan-verdicts.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9a16d40a58a1738ee81c40ea031c38b042a467f1fd05c4b18de2f4beeaa18b8"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_phantom_scan::graph::drain (cognitive 23): nub_phantom_scan::graph::drain has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 3 (5 pts), match/switch 1 (4 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":"crates/nub-phantom-scan/src/graph.rs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cacd0777dbe4f9c0a8bff7af97d94bd471950eb727df0ec51fbcd01cabca5cc"}},{"ruleId":"D2","level":"warning","message":{"text":"polyfills.installKeyedPromiseCombinators (cognitive 23): polyfills.installKeyedPromiseCombinators has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 4, ternaries 2 (4 pts), loops 2, error handling 1 (nesting depth added 5). Most of this is not in the body itself: 4 of the 23 points are its own statements and the rest belongs to 4 function items inside it that branch (perform, install, perform::settle, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/polyfills.cjs"},"region":{"startLine":2499}}}],"partialFingerprints":{"codehealthFindingId/v1":"e243b1b119cc1b9d82071680c8c8d47b74e4533576b298f063e39f896cb92985"}},{"ruleId":"D2","level":"warning","message":{"text":"navigator-shim.navigatorPlatform (cognitive 23): navigator-shim.navigatorPlatform has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 5 (12 pts), if/else 9 (11 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/navigator-shim.mjs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"9552f128f9bb6245adfa64874afbe3f6a98258c07969e1a60013f81f877d19e8"}},{"ruleId":"D2","level":"warning","message":{"text":"phantomDepHint (cognitive 23): phantomDepHint has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 4, error handling 2 (4 pts), ternaries 3, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/preload-common.cjs"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c27f445c89488d78723e27f9a191e6e137b68d184f326f351a5c6c13103c756"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 23): (anonymous) has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8, ternaries 3 (6 pts), boolean chains 4, error handling 2 (4 pts), 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":"runtime/compile-sea-loader.cjs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"49e8525d7bc28c311bd144bb2c398364ee4eac9e2463be14c3965a45f7deb911"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_cli::cli::normalize_leading_run_flags (cognitive 22): nub_cli::cli::normalize_leading_run_flags has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 4, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/cli.rs"},"region":{"startLine":2092}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d3cafab875869a07bcd532d74f7cd3c7b23547c8d4eaf6d18318f4a6c8eefd"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_cli::cli::write_preload_chain (cognitive 22): nub_cli::cli::write_preload_chain has cognitive complexity 22 (threshold 15). Drivers by points: if/else 14 (20 pts), boolean chains 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/cli.rs"},"region":{"startLine":4254}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0f2f5cde861cc4536e23b3eb89d8f2af6b5c4dcaba300a602b0db316c987ae1"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_cli::pm_engine::install_family::run_install (cognitive 22): nub_cli::pm_engine::install_family::run_install has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 8 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/pm_engine/install_family.rs"},"region":{"startLine":1388}}}],"partialFingerprints":{"codehealthFindingId/v1":"64e982fad0e0a7597e48b08eede53e2bad413968d267b49b7d9481fb86df0938"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_cli::project_config::merge_layer (cognitive 22): nub_cli::project_config::merge_layer has cognitive complexity 22 (threshold 15). Drivers by points: if/else 22. 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":"crates/nub-cli/src/project_config.rs"},"region":{"startLine":1076}}}],"partialFingerprints":{"codehealthFindingId/v1":"69abdcabee344695213fa422bcbf9739497eb946655df8a552f8f9e020b117d5"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_core::node::runtime_cache::walk_unix_base (cognitive 22): nub_core::node::runtime_cache::walk_unix_base has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (14 pts), match/switch 2 (5 pts), boolean chains 2, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-core/src/node/runtime_cache.rs"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"f49462ae2e6b808682eb23404f5cf73b20b5ad4034bdd2a4d85a516b15d38a80"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_core::workspace::env::scan_references (cognitive 22): nub_core::workspace::env::scan_references has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 5, loops 2 (5 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-core/src/workspace/env.rs"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"78dbe291b46cf79b6a0c0876c036ca0f5f38cd26c064fde856003efc3c495e94"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_core::workspace::filter::expand_member_patterns (cognitive 22): nub_core::workspace::filter::expand_member_patterns has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (19 pts), loops 2, boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-core/src/workspace/filter.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"04fb301bfdcaa65270d36d058f5474db7edc63ca4d3fd0724eecd3d20b29f836"}},{"ruleId":"D2","level":"warning","message":{"text":"ansi-player.AnsiPlayer (cognitive 22): ansi-player.AnsiPlayer has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 7 (10 pts), if/else 7, boolean chains 3, loops 2 (nesting depth added 3). Most of this is not in the body itself: 2 of the 22 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 157, 105, 66, \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":"site/src/components/ansi-player.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"095faa162c74dc11ce1bc0ec0549513a031c53355b30d7bd859919dc57df29cb"}},{"ruleId":"D2","level":"warning","message":{"text":"installPayloadContainer::constructor (cognitive 22): installPayloadContainer::constructor has cognitive complexity 22 (threshold 15). Drivers by points: if/else 4 (11 pts), boolean chains 4, error handling 1 (3 pts), loops 1 (2 pts), other 1, ternaries 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":"runtime/compile-sea-loader.cjs"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"13726efbf6cdac6927bdcf86d3c2b9d5207c1df2c9aef777e34675942548d518"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_cli::compile::bundle::scan_new_urls (cognitive 21): nub_cli::compile::bundle::scan_new_urls has cognitive complexity 21 (threshold 15). Drivers by points: if/else 14 (15 pts), boolean chains 6 (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":"crates/nub-cli/src/compile/bundle.rs"},"region":{"startLine":4031}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d690a252fd9025a66306ec652e675ee71ae6c568dbb4ceb21062a8c9eaebf32"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_cli::pm_engine::with_fd_captured (cognitive 21): nub_cli::pm_engine::with_fd_captured has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 3, loops 1, match/switch 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/pm_engine/mod.rs"},"region":{"startLine":3531}}}],"partialFingerprints":{"codehealthFindingId/v1":"720018e2621fb23722f12c3e69f03b3b5eae539b5007a82dc6555d037d15de9d"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_cli::pm_engine::min_release_age::merge_package_version_specs (cognitive 21): nub_cli::pm_engine::min_release_age::merge_package_version_specs has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 2 (5 pts), match/switch 2 (3 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/pm_engine/min_release_age.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f6e8cef1bc7638ccd58ce06463704627fa9e4f7c9654dc50d2ba3a222709106"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_cli::pm_engine::phantom_closure::plan_from_flags (cognitive 21): nub_cli::pm_engine::phantom_closure::plan_from_flags has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 5, loops 5 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/pm_engine/phantom_closure.rs"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"159d788dfc8b71b59da67032bf8b2615019c078b88073c8fed8151beaac41568"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_native::cache::match_empty_export_tail (cognitive 21): nub_native::cache::match_empty_export_tail has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 12, if/else 6, loops 3. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-native/src/cache.rs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"66305b245599ab3f0797cfcb2ea0545bff084391e2f7c459e90c2d97251e8783"}},{"ruleId":"D2","level":"warning","message":{"text":"shiki-console.stripPrompt (cognitive 21): shiki-console.stripPrompt has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (18 pts), loops 2 (3 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"site/src/lib/shiki-console.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"d82d7a7b1fee2750b0076ad586b623d3e8aa1f5f3d2f322a65f9ce8aba89efaf"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_cli::cli::resolve_provision_declare (cognitive 20): nub_cli::cli::resolve_provision_declare has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 3, match/switch 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/cli.rs"},"region":{"startLine":10706}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5d53b83c3352a15aa536204e31c20b5006f337632a5e5539bde9e841d5087ee"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_cli::compile::inline::classify (cognitive 20): nub_cli::compile::inline::classify has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 10, if/else 9, loops 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/compile/inline.rs"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee4912125071566635aaae3137b5f0b306b961fa59093b51c041b36d702951dd"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_cli::pm_engine::install_family::yarn_drift_reason (cognitive 20): nub_cli::pm_engine::install_family::yarn_drift_reason has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 4, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/pm_engine/install_family.rs"},"region":{"startLine":1819}}}],"partialFingerprints":{"codehealthFindingId/v1":"21a27d07a67dcbc93be25bed575af3b5594cac2f9c4411cc82a1968b70c258ca"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_core::node::discovery::discover_node (cognitive 20): nub_core::node::discovery::discover_node has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (16 pts), match/switch 2 (3 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-core/src/node/discovery.rs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c9d61867cad613dcd8932597295b9cd7f2e9684c15e29c5d4d3fd32915e011d"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_launcher::best_node_in (cognitive 20): nub_launcher::best_node_in has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 4, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-launcher/src/main.rs"},"region":{"startLine":2020}}}],"partialFingerprints":{"codehealthFindingId/v1":"d778d9054aafbc129ab6ae39b6cb9b5b4f72fc939cb0beedc7e4565746ad99c0"}},{"ruleId":"D2","level":"warning","message":{"text":"preload-common.makeHooks.resolve (cognitive 20): preload-common.makeHooks.resolve has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (15 pts), error handling 2 (3 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/preload-common.cjs"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"0801207ae697236f8bc48eb1fc58186265375ab60ef02af8992680eb5e93997d"}},{"ruleId":"D2","level":"warning","message":{"text":"Worker.constructor (cognitive 20): Worker.constructor has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (11 pts), boolean chains 3, error handling 1 (3 pts), loops 1 (2 pts), ternaries 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":"runtime/compile-sea-loader.cjs"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"d68f3bd3de448ead6bdaeca6b884060d7b12e743b4a3b66261743f55016536c3"}},{"ruleId":"D2","level":"warning","message":{"text":"makeHooks.resolve (cognitive 20): makeHooks.resolve has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (15 pts), error handling 2 (3 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/preload-common.cjs"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"76c5fa8d82862aae5daa1ea4bd482fda0356e51f3193133d7ff26f9dcd22b775"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_cli::cli::run_pm_use (cognitive 19): nub_cli::cli::run_pm_use has cognitive complexity 19 (threshold 15). Drivers by points: loops 4 (8 pts), if/else 5, match/switch 3 (4 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/cli.rs"},"region":{"startLine":10844}}}],"partialFingerprints":{"codehealthFindingId/v1":"00c7ec1c9f0865fdc213b7eff7537633666a40e66a3d6671dbb7d702f910aa07"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_cli::compile::bundle::scan_unresolvable_with_rewrites (cognitive 19): nub_cli::compile::bundle::scan_unresolvable_with_rewrites has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (12 pts), match/switch 3 (4 pts), boolean chains 3 (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":"crates/nub-cli/src/compile/bundle.rs"},"region":{"startLine":5707}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6a5e03c5dad3d59d7e7a8416fcc1c1d94febd50b77674c5930cb2f350d2b2a6"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_core::node::flags::node_options_tokens (cognitive 19): nub_core::node::flags::node_options_tokens has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (15 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-core/src/node/flags.rs"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"b906d5a898de2d70fb971699282b297653c947d8cc6783f20c3e6a0f2b54b0bd"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_core::pm::registry::parse_npmrc_auth (cognitive 19): nub_core::pm::registry::parse_npmrc_auth has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 2, match/switch 1 (2 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-core/src/pm/registry.rs"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"88c230ad8e0c3a9dd8772e06a1e390f524434050c111d4e0d79056a6457bdc09"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_launcher::embedded_node_cache_is_ready (cognitive 19): nub_launcher::embedded_node_cache_is_ready has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 4, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-launcher/src/main.rs"},"region":{"startLine":854}}}],"partialFingerprints":{"codehealthFindingId/v1":"13e0588fccbf672b287891c6f3859ba7d8d146c0c12777d5a3631d5427297ce5"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_phantom::cmd_scan (cognitive 19): nub_phantom::cmd_scan has cognitive complexity 19 (threshold 15). Drivers by points: match/switch 4 (11 pts), if/else 4 (6 pts), boolean chains 1, loops 1 (nesting depth added 9). 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":"crates/nub-phantom/src/main.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"1184ca91a179373c1a5172d4ac26adc42c41526dc8cfe25b2ce0423589f7331d"}},{"ruleId":"D2","level":"warning","message":{"text":"PathsMatcher::matches (cognitive 19): PathsMatcher::matches has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 2, match/switch 1 (2 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-tsconfig/src/lib.rs"},"region":{"startLine":1509}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2463f4dc230deb12deaa54741fa05bc66c8edeacc027bde93e28d1b211f0b7f"}},{"ruleId":"D2","level":"warning","message":{"text":"cache-evict.sweepCompileCache (cognitive 19): cache-evict.sweepCompileCache has cognitive complexity 19 (threshold 15). Drivers by points: error handling 4 (7 pts), if/else 3 (6 pts), loops 4 (5 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/cache-evict.mjs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"841294ffacafe6d2c76e745dce1c1f864ea0c211f0f6e195371b8a1203c7a7f9"}},{"ruleId":"D2","level":"warning","message":{"text":"polyfills.installUint8ArrayBase64::hexToU8 (cognitive 19): polyfills.installUint8ArrayBase64::hexToU8 has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 3, loops 1 (2 pts), ternaries 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (polyfills.installUint8ArrayBase64::fromBase64) 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":"runtime/polyfills.cjs"},"region":{"startLine":2141}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b0fe897805d9f8ec9fe56c8dbed3ca55b6e125b77ca40c33409181a1497883d"}},{"ruleId":"D2","level":"warning","message":{"text":"loader-entry.arm (cognitive 19): loader-entry.arm has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 6, error handling 1 (2 pts), ternaries 1 (2 pts) (nesting depth added 3). Of this number, 17 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body: 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":"runtime/loader-entry.mjs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"efb242e9192c0f2364bfd0a95faccf3bee07ce048a915708c4bedcd3d49e637c"}},{"ruleId":"D2","level":"warning","message":{"text":"SourceIndex::resolve (cognitive 18): SourceIndex::resolve has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/pm_engine/install_report.rs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fb1773eb6bad359b21a3413cf6094931b81890b366a2c3efe0ddc9313c0777c"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_native::resolve::resolve_ts (cognitive 18): nub_native::resolve::resolve_ts has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 5, loops 1 (2 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-native/src/resolve.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"216fdc414d6fba30f5ab8138b3b666622c1550eb475b1f1404cdcc82ccafeac2"}},{"ruleId":"D2","level":"warning","message":{"text":"installAsyncTierCjsSource (cognitive 18): installAsyncTierCjsSource has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 6, error handling 2, ternaries 2 (nesting depth added 1). Most of this is not in the body itself: 1 of the 18 points is its own statement and the rest belongs to 9 function items inside it that branch (registerHooks::load, registerHooks, a function literal at line 479, \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":"runtime/preload-common.cjs"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"1519da1ff6058797ff622f72fe21eec50857e069211628aba7dc3246db5a213b"}},{"ruleId":"D2","level":"warning","message":{"text":"installArrayFromAsync::fromAsync (cognitive 18): installArrayFromAsync::fromAsync has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 5 (8 pts), boolean chains 5, loops 2 (3 pts), if/else 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/polyfills.cjs"},"region":{"startLine":1324}}}],"partialFingerprints":{"codehealthFindingId/v1":"e61fc2866a7f20de48d54a2eef22d0d7377b392aef19e57fcf8d9c1c0e8b2d27"}},{"ruleId":"D2","level":"warning","message":{"text":"withoutRefusedExecArgv (cognitive 18): withoutRefusedExecArgv has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 5, ternaries 2 (4 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/worker-polyfill.mjs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"e072cf62d62a6f4932edbe3e0176d7fc261b4167685cdfdc6d9f6e2b5ae36a0d"}},{"ruleId":"D2","level":"warning","message":{"text":"installPayloadContainer::withoutRefusedExecArgv (cognitive 18): installPayloadContainer::withoutRefusedExecArgv has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 5, ternaries 2 (4 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/compile-sea-loader.cjs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c6e83467abab7a24e48a5108c3990eab73eb50b8c37470a81a5bbbae3ae3c6b"}},{"ruleId":"D2","level":"warning","message":{"text":"main (cognitive 18): main has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10, boolean chains 3, other 3, ternaries 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":"runtime/nubr.mjs"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8df46bab9c8be9776b4777a20c56df031bc0d38d361a4feff3df1e53a54f336"}},{"ruleId":"D2","level":"warning","message":{"text":"withoutRefusedExecArgv (cognitive 18): withoutRefusedExecArgv has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 5, ternaries 2 (4 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/compile-bootstrap.cjs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"67344cc2ac585a2a37148d783ecacbb3059ec1cd9107f6c3ffd982ee1985272e"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeAddons::classify_bare_specifier (cognitive 17): NativeAddons::classify_bare_specifier has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/compile/native.rs"},"region":{"startLine":1254}}}],"partialFingerprints":{"codehealthFindingId/v1":"e42041be53681ac9fd01f98e28a9ac219c3cb9e12b7685e50ab6e5a94f6c5ed4"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_cli::compile::bundle::cjs_path_globals_edit (cognitive 17): nub_cli::compile::bundle::cjs_path_globals_edit has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 4, match/switch 2 (3 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/compile/bundle.rs"},"region":{"startLine":1549}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3551e79a7a65d3d8bf3f8802f22aeaec28031ea12b2028e53f27377d9a099b6"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_cli::compile::bundle::literal_consts (cognitive 17): nub_cli::compile::bundle::literal_consts has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/compile/bundle.rs"},"region":{"startLine":5945}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a256e2f4d1a05ae28271ce66fd03946a6316c2084a4a4a9c6f7a619e542fa23"}},{"ruleId":"D2","level":"warning","message":{"text":"ProfileGrants::read (cognitive 17): ProfileGrants::read has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (10 pts), match/switch 1 (3 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-core/src/windows_security.rs"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"15018311bdc2de9bfc2765ce98299f51439ffa51b2baa4e5d8c38c07fa95cbd2"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_core::node::discovery::which_node_in (cognitive 17): nub_core::node::discovery::which_node_in has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2 (3 pts), boolean chains 1, match/switch 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-core/src/node/discovery.rs"},"region":{"startLine":1128}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aa49e1ad3b7ea1fb2e4b856f79f8d7408fa98831c4546793dff41e0669c2c6c"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_core::pm::shim::scan_path (cognitive 17): nub_core::pm::shim::scan_path has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (14 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":"crates/nub-core/src/pm/shim.rs"},"region":{"startLine":1783}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4357be9b3aa334edf4dbb1b019ff3a27c9aa62b097409e248d7d3731d3a1f83"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_core::version_management::download::try_download_extract (cognitive 17): nub_core::version_management::download::try_download_extract has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), match/switch 3 (4 pts), boolean chains 2, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-core/src/version_management/download.rs"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"26f140c83e532afa38cc684f2dc6e0ed66444f6bdb684e54204c77215c7b1bf5"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_core::workspace::filter::splits_into_segments (cognitive 17): nub_core::workspace::filter::splits_into_segments has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (10 pts), loops 2 (4 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-core/src/workspace/filter.rs"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"57205800c29fee27ca7f821009656d867e1520642263a75a86db5dae997d68d0"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_core::workspace::shell_escape::cmd (cognitive 17): nub_core::workspace::shell_escape::cmd has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 2 (5 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-core/src/workspace/shell_escape.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"0278fb10081f4370dcf260a0356badbc75029dac89f21e7b618d6e8e257762fc"}},{"ruleId":"D2","level":"warning","message":{"text":"Value::write_js (cognitive 17): Value::write_js has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 2 (4 pts), match/switch 2 (4 pts) (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":"crates/nub-data-formats/src/value.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"85963f4dd0ebffbe6afe41a7ba3cc653e17a787e5995050ca6c7c1b3966007e9"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_data_formats::check_yaml_alias_expansion (cognitive 17): nub_data_formats::check_yaml_alias_expansion has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (14 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 9). 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":"crates/nub-data-formats/src/lib.rs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4c48cb065ef9189bb98fbc9b59b11f081f800cb22faf26343b050f028fd10cc"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_launcher::app_cache_matches_payload (cognitive 17): nub_launcher::app_cache_matches_payload has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (9 pts), match/switch 2 (5 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":"crates/nub-launcher/src/main.rs"},"region":{"startLine":928}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff91270c3076a056b9db3ba9cd8750c8b4b4824368831bc07911258fec52169e"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_launcher::collect_tree_paths (cognitive 17): nub_launcher::collect_tree_paths has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (16 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":"crates/nub-launcher/src/main.rs"},"region":{"startLine":1005}}}],"partialFingerprints":{"codehealthFindingId/v1":"8251534bb235e0b67c5503a37a94da54dce83bbec2ba29d07efde162b9a3793b"}},{"ruleId":"D2","level":"warning","message":{"text":"launch.healPathEntry (cognitive 17): launch.healPathEntry has cognitive complexity 17 (threshold 15). Drivers by points: error handling 6 (10 pts), if/else 3 (5 pts), boolean chains 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"npm/nub/bin/launch.js"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6b3cff8bc91758e5b22ac1397bd2fa5207b252217365c8a92369b30b71d1cf3"}},{"ruleId":"D2","level":"warning","message":{"text":"code.BenchBars (cognitive 17): code.BenchBars has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 10 (17 pts) (nesting depth added 7). Of this number, 12 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"site/src/components/code.tsx"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aeecbe0b19e55936afe6542c93e0624acaa0d921975bc8280ba48827a58f69d"}},{"ruleId":"D2","level":"warning","message":{"text":"installCompiledWorkerScope::constructor (cognitive 17): installCompiledWorkerScope::constructor has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 3, error handling 1 (2 pts), loops 1, other 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":"runtime/compile-bootstrap.cjs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e2c6f8925e64f2559f184b04c3a909f79b251c6c202b35bea21902c7951e5e0"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 17): (anonymous) has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (8 pts), loops 4, boolean chains 3, error handling 1 (2 pts) (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/compile-inline-loader.cjs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"65dc9fa21e20b77988c50f169f2d6a627bee7fcea96d8fd3a39a310ddb3ce3a9"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeAddons::plan_survivors (cognitive 16): NativeAddons::plan_survivors has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (7 pts), loops 4 (6 pts), match/switch 1 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/compile/native.rs"},"region":{"startLine":1138}}}],"partialFingerprints":{"codehealthFindingId/v1":"69cbcd03e4b14a00364fc4f9cf5dc7d6de283dc689f6f656d42dceaa4057ef10"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_cli::cli::watch_env_file_arg (cognitive 16): nub_cli::cli::watch_env_file_arg has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (11 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/cli.rs"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"a60e3a0e04fa9444179c1755b7d75e1882dabc1bbec26bd0517e0ac3dcd23d4b"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_cli::cli::list_pm_cache (cognitive 16): nub_cli::cli::list_pm_cache has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/cli.rs"},"region":{"startLine":11176}}}],"partialFingerprints":{"codehealthFindingId/v1":"f80e608196900d614d6bc1668be2b74b5d5598915a63ef562019d5a728b6c282"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_cli::cli::shim_plan_at (cognitive 16): nub_cli::cli::shim_plan_at has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 3, match/switch 2 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/cli.rs"},"region":{"startLine":11744}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5281de23cbd98c08991af3046485be3020c4d8f7a9451541a9b3e1d048b01cb"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_cli::compile::unbundlable::unreachable_dirs (cognitive 16): nub_cli::compile::unbundlable::unreachable_dirs has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (8 pts), loops 2 (3 pts), match/switch 1 (3 pts), boolean chains 2 (nesting depth added 4). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/compile/unbundlable.rs"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"56b21eb987643c023c2e1f3ed6bb1c1389e106a22d6fd6b5ba5db9f1b7ed80f5"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_cli::pm_engine::resolve_config_surface (cognitive 16): nub_cli::pm_engine::resolve_config_surface has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (11 pts), match/switch 1 (3 pts), boolean chains 1, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/pm_engine/mod.rs"},"region":{"startLine":2646}}}],"partialFingerprints":{"codehealthFindingId/v1":"779888a5546eade210884f677e1c50b6991c463e492b13c69da0e57d7803e7d3"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_cli::pm_engine::unsupported_config::yarnrc_block_nonempty (cognitive 16): nub_cli::pm_engine::unsupported_config::yarnrc_block_nonempty has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/pm_engine/unsupported_config.rs"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4a58342803071cbf89227018fc87f86536e21026e6eaf99f62a87d037fe5a8b"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_cli::verify_deps::installed_tree_reason (cognitive 16): nub_cli::verify_deps::installed_tree_reason has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 3, loops 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/verify_deps.rs"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"87c63eda20c2e68c5f69655f7de821b889a59c0249142fbc8dba1fad24b59cdc"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_core::node::runtime_cache::gc_stale (cognitive 16): nub_core::node::runtime_cache::gc_stale has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 2, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-core/src/node/runtime_cache.rs"},"region":{"startLine":1124}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea9bc73455e4a6afc6fdf69dbfd347511cebdc8345c01c4db648c3ad7d489038"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_core::windows_security::dacl_is_stable (cognitive 16): nub_core::windows_security::dacl_is_stable has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 3, loops 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-core/src/windows_security.rs"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"e847c1a79c2a0a2168385e335cd4f321d29ab4c615c07121a816f31e134d12ae"}},{"ruleId":"D2","level":"warning","message":{"text":"nub_tsconfig::merge_extends (cognitive 16): nub_tsconfig::merge_extends has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (8 pts), loops 3 (7 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-tsconfig/src/lib.rs"},"region":{"startLine":802}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eafa12a84d788cf38b63d6a0c16e9baa500bcc9f74da59f6e4d409f607017a8"}},{"ruleId":"D2","level":"warning","message":{"text":"postinstall.dropStaleWindowsExe (cognitive 16): postinstall.dropStaleWindowsExe has cognitive complexity 16 (threshold 15). Drivers by points: error handling 2 (6 pts), if/else 3 (6 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":"npm/nub/postinstall.js"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"961ec9222e53dde13c39d474a3de785ab85e1bd7c091d19cb14d6b4152e16c9f"}},{"ruleId":"D2","level":"warning","message":{"text":"Worker.constructor (cognitive 16): Worker.constructor has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 3, error handling 1 (2 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (compile-bootstrap.installCompiledWorkerScope) 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":"runtime/compile-bootstrap.cjs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"26b97bdc0aaf667428cae7656db3cbc1813ded3d45872cfbbbbf6a2782bc6de1"}},{"ruleId":"D2","level":"warning","message":{"text":"compile-bootstrap.installCompiledWorkerScope (cognitive 16): compile-bootstrap.installCompiledWorkerScope has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 3, error handling 1 (2 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (Worker.constructor) 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":"runtime/compile-bootstrap.cjs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"00de98d396fd59172e8e53bbe48519c906bf43a145457a99ffe0ecfa35ae7c67"}},{"ruleId":"D2","level":"warning","message":{"text":"worker-blob-url.installBlobUrlSupport (cognitive 16): worker-blob-url.installBlobUrlSupport has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), error handling 1 (3 pts), boolean chains 2, ternaries 1 (nesting depth added 5). Of this number, 15 points are the body\u0027s own statements and 1 belongs 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":"runtime/worker-blob-url.cjs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a13674af3778bdf1343080831782d42e1e36bafcfd26c24ea8fd26a43fe0cfb"}},{"ruleId":"D2","level":"warning","message":{"text":"nubr-escape.cmdEscape (cognitive 16): nubr-escape.cmdEscape has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 2 (5 pts), boolean chains 1, ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/nubr-escape.mjs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cd4005d8fd98ba83a4206c7c0571c242867ca7f3e3f58bca5f17590f98cda69"}},{"ruleId":"D2","level":"warning","message":{"text":"route.orderedDocPages::visit (cognitive 16): route.orderedDocPages::visit has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (13 pts), boolean chains 2, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"site/src/app/llms.txt/route.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fdee1c72e6cffcf31990f4d9f5875df54b562f1cce0c6e380fae199d6b151fd"}},{"ruleId":"D2","level":"warning","message":{"text":"installThreadpoolPolicy (cognitive 16): installThreadpoolPolicy has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 5, ternaries 2, error handling 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/preload-common.cjs"},"region":{"startLine":2036}}}],"partialFingerprints":{"codehealthFindingId/v1":"56e4cb4d3b952f3bbc6c791f2c3382f6f21efb6f3dcf2d0dac3dc83d59acb3aa"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/cli.rs: FileTooLong \u2014 6051 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 201 free functions. The bar is 500 significant lines; this is 5551 over it, 12.10\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/cli.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b195e28471a6f07bbef7202e8d2bb955ad90fe38727497c4acb4eab2893eb41"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: compile/bundle.rs: FileTooLong \u2014 3273 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 117 free functions. The bar is 500 significant lines; this is 2773 over it, 6.55\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":"crates/nub-cli/src/compile/bundle.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8d48901a6e97539e544c77e36a7c30e4f87b75419df56e56307771d592448ef"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: compile/mod.rs: FileTooLong \u2014 1905 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 89 free functions. The bar is 500 significant lines; this is 1405 over it, 3.81\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":"crates/nub-cli/src/compile/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"741e8e4aefafa2af5d104e8ef8db0f5ae080b1322a4cfbb0915f4f734d2fab67"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: node/spawn.rs: FileTooLong \u2014 1858 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 107 free functions. The bar is 500 significant lines; this is 1358 over it, 3.72\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":"crates/nub-core/src/node/spawn.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"77b0f80966415a34f872fc3b4737f3fa1d47a7b4c48f73dc00c2ec9c4f1b559f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/main.rs: FileTooLong \u2014 1852 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 120 free functions. The bar is 500 significant lines; this is 1352 over it, 3.70\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":"crates/nub-launcher/src/main.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0833f8b6bf859508c09e547fd0c2801be317e7f12bbd26afc9fd9a893ca1473"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: nub_cli::compile::run: FunctionTooLong \u2014 nub_cli::compile::run runs 369 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 269 over it, 3.69\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":"crates/nub-cli/src/compile/mod.rs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"4af0976d18628d6cd8773e3b67fdb48aea8a4b87c8b7556e8a99e5ba48e568b5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: runtime/polyfills.cjs: FileTooLong \u2014 1614 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 1114 over it, 3.23\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/polyfills.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef14485bb8b01a3fbf02bf6c4dc61cd44929bf3a3e6af6eed64fcedc721454c9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pm_engine/mod.rs: FileTooLong \u2014 1559 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 78 free functions. The bar is 500 significant lines; this is 1059 over it, 3.12\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":"crates/nub-cli/src/pm_engine/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3db179ea275a300f1ec175cbce7b994d2f519c25d7d3b312b0b27ae4d0e8008f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: worker-polyfill.installWorkerPolyfill: FunctionTooLong \u2014 installWorkerPolyfill runs 304 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 204 over it, 3.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/worker-polyfill.mjs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"c365f26df168e57968f9d6e0d9189c7499ab971f89d7f6500b9c3511e8f59aae"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: page.RunFileBand: FunctionTooLong \u2014 RunFileBand runs 294 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 194 over it, 2.94\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":"site/src/app/(home)/page.tsx"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"f67ce4debc12037815a785095b8bead9c1c3390c49aee219b701fb79f9ffcbe8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: compile/native.rs: FileTooLong \u2014 1463 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 32 free functions. The bar is 500 significant lines; this is 963 over it, 2.93\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":"crates/nub-cli/src/compile/native.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"154cdb2be3adfc79e949b0aa95d3c2c7a78bc5071718c1fb0aed4b102e45047c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: (home)/page.tsx: FileTooLong \u2014 1195 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 695 over it, 2.39\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":"site/src/app/(home)/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eee16152db7e8bf06a9e8850ee498ada163d9611346887b2b5ed0e12d51f531"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: node/discovery.rs: FileTooLong \u2014 1120 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 77 free functions. The bar is 500 significant lines; this is 620 over it, 2.24\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-core/src/node/discovery.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3101acd66321c5fff49d16935b226707e8b088ddcc9eb99a475e84a91fc0ffca"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: throttle.throttle: FunctionTooLong \u2014 throttle runs 220 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 120 over it, 2.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":"runtime/util/throttle.cjs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe9626e74db76087fd3da1d6d2570aca019d9dffedc7f69ddf76593e654b5163"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: runtime/preload-common.cjs: FileTooLong \u2014 1041 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 541 over it, 2.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":"runtime/preload-common.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f56b9dce14ebaf2cd17ea86f50bc158c057803ec22db1e14e0ef9d62f17e940"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pm_engine/install_family.rs: FileTooLong \u2014 968 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 52 free functions. The bar is 500 significant lines; this is 468 over it, 1.94\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":"crates/nub-cli/src/pm_engine/install_family.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2779a16acd0633ef1df010ef455f7a5548da8762ae93f14fbf1ce7fcffd43d8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: page.HypermanagerBand: FunctionTooLong \u2014 HypermanagerBand runs 184 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 84 over it, 1.84\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":"site/src/app/(home)/page.tsx"},"region":{"startLine":1136}}}],"partialFingerprints":{"codehealthFindingId/v1":"76a2220422afdb20e98e92ffaa07c3750c3e42b5036b7e94d962c19c2f9ef0ea"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/project_config.rs: FileTooLong \u2014 904 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 46 free functions. The bar is 500 significant lines; this is 404 over it, 1.81\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":"crates/nub-cli/src/project_config.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec97afa4f3a010bd1b646c03f8ad61c507dd8b32cc8c3d702ef660f57f4a70cd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: nub_cli::project_config_precedence_matrix::specs: FunctionTooLong \u2014 nub_cli::project_config_precedence_matrix::specs runs 175 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 75 over it, 1.75\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/project_config_precedence_matrix.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"5927a6419f1587d2f1ff5ae89cd245efce4d1e7778ee7b48876c2b114dddd3b0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 869 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 46 free functions. The bar is 500 significant lines; this is 369 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":"crates/nub-tsconfig/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c0074c42d8fd553ffde5a2d5f3a338355152e36309ad7e3230f6075fae49a22"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pm/shim.rs: FileTooLong \u2014 864 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 52 free functions. The bar is 500 significant lines; this is 364 over it, 1.73\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-core/src/pm/shim.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e17a6f725e867f2bcad4c071895edd776cbd47432229f46d11ce957c0beae358"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: NativeAddons: ClassTooLong \u2014 647 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), 18 methods, 3 blocks, lines 464-2106. The bar is 400 significant lines; this is 247 over it, 1.62\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":"crates/nub-cli/src/compile/native.rs"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4432bc530422bb3ac0ee042efd003f243820026df060fcf1245fc6a29882998"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: nub_launcher::launch: FunctionTooLong \u2014 nub_launcher::launch runs 157 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 57 over it, 1.57\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":"crates/nub-launcher/src/main.rs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"efa715b6760572c336efbcfa79655acb4f0c5fab54adbd9469874ffd936693a4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: navigator-locks.installNavigatorLocks: FunctionTooLong \u2014 installNavigatorLocks runs 147 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 47 over it, 1.47\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/navigator-locks.mjs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aaa66a8fb5ca2f08d6951be2377cfc27bbf1786f6840bcaa24c0e9426f9a46c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: nub_cli::compile::native::require_rebindings: FunctionTooLong \u2014 nub_cli::compile::native::require_rebindings runs 139 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 39 over it, 1.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":"crates/nub-cli/src/compile/native.rs"},"region":{"startLine":2179}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad1906f637f1917e08c30e36bdfaef30eb3fb90112469d479dc42c18fb044fb4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: debounce.debounce: FunctionTooLong \u2014 debounce runs 135 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 35 over it, 1.35\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/util/debounce.cjs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cc3477b6c886cc121d237e11014577c99beb96d69cea5b6981ba986e1a98e20"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ansi-player.AnsiPlayer: FunctionTooLong \u2014 AnsiPlayer runs 126 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 26 over it, 1.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"site/src/components/ansi-player.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f1498b53fb221b50429d59b11558a93b1db752f1632ee7e86a3e0e5baa83fde"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: nub_cli::compile::external::shim: FunctionTooLong \u2014 nub_cli::compile::external::shim 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":"crates/nub-cli/src/compile/external.rs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"65e1b700cca4ea259e2c62c413d7b46a1f68c4405203a29beb2409945f0726ed"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: version_management/mod.rs: FileTooLong \u2014 598 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 33 free functions. The bar is 500 significant lines; this is 98 over it, 1.20\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":"crates/nub-core/src/version_management/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bef29f11fc355a4bdaef79a6086b29f3cf362df6de3defd839dd584e7a47f0a8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: compile/closure.rs: FileTooLong \u2014 587 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 87 over it, 1.17\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":"crates/nub-cli/src/compile/closure.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"70fbf0afe2246c0c8aba1856006f0f5f7d1fa62d9886f5765770f8cd32a33de3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: node/runtime_cache.rs: FileTooLong \u2014 576 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 39 free functions. The bar is 500 significant lines; this is 76 over it, 1.15\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-core/src/node/runtime_cache.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a5165dc4b05a0c79f37f50e5c2205f55ae5fc01faaf20e75c4a55b49ad61f19"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: nub_cli::pm_engine::use_nub::run_use_nub: FunctionTooLong \u2014 nub_cli::pm_engine::use_nub::run_use_nub 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":"crates/nub-cli/src/pm_engine/use_nub.rs"},"region":{"startLine":886}}}],"partialFingerprints":{"codehealthFindingId/v1":"92a0865d09c749e464a4143fe61f4ce61cb4cfdd259a0ff9267959d403b666f5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: nub_cli::pm_engine::unsupported_config: TooManyFunctions \u2014 34 free functions. The bar is 30 free functions; this is 4 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/pm_engine/unsupported_config.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0d0ba1259587cd545104965ef70910bc612148bab3cd50389c371e10439ae48"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: nub_core::workspace::env: TooManyFunctions \u2014 34 free functions. The bar is 30 free functions; this is 4 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-core/src/workspace/env.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"61af3f191774a613661b9b98d68ffa0a8ea808910015f8feb9682dcf64cff076"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pm_engine/use_nub.rs: FileTooLong \u2014 539 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 39 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":"crates/nub-cli/src/pm_engine/use_nub.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b02e7c8cad6c6a2af5fd93691a02a354b7bc44b218e85c2b6c6e0740332c324"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: node/feature_matrix.rs: FileTooLong \u2014 537 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 37 over it, 1.07\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-core/src/node/feature_matrix.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1b1d0dcb67789b31e7acb295dd90ceb8f5636eeab73cca921670c72ea13143f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: nub_cli::compile::prepare_node_bytes: FunctionTooLong \u2014 nub_cli::compile::prepare_node_bytes 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":"crates/nub-cli/src/compile/mod.rs"},"region":{"startLine":2893}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc81fe74a78ed55af2c072bb757487af0f7513d1decce174f8aca4c3d9edf10d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: nub_cli::compile::inject: TooManyFunctions \u2014 32 free functions. The bar is 30 free functions; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/compile/inject.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"70aba7cd1c71977b1c5a5ffc1311663412cc1e85decd22d5f802b1bbd5667b64"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: nub_core::pm::registry: TooManyFunctions \u2014 32 free functions. The bar is 30 free functions; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-core/src/pm/registry.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"08e2b54b95b4693b007da8f1a4fa1e5e5d8ced357655be606dde77cad4d1fea2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: compile/native_layout.rs: FileTooLong \u2014 532 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 32 over it, 1.06\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/compile/native_layout.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"defe6aa94abd5b90af7dc37223c970f87f3644b8536c32d636f07a19a5884bac"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pm_engine/store_config_family.rs: FileTooLong \u2014 530 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 30 over it, 1.06\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/pm_engine/store_config_family.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd6e45ee58c94c27ef8fc42f3e8149fecf65695b9190dc5714872cb97cb28493"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pm/resolve.rs: FileTooLong \u2014 503 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 31 free functions. The bar is 500 significant lines; this is 3 over it, 1.01\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-core/src/pm/resolve.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"96e4c4b897ba136541853fe72e42ca5c29411e379e6cba3624baf88d6e5056a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/nub-cli/src/compile/bundle.rs:3089-3206 | crates/nub-cli/src/compile/bundle.rs:3250-3370 | crates/nub-cli/src/compile/bundle.rs:3412-3459 | crates/nub-cli/src/compile/bundle.rs:3522-3542 \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":"crates/nub-cli/src/compile/bundle.rs"},"region":{"startLine":3089}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c7733074f4bad9d2271a4469a3acce6bb9c0b886a87d6ed2c3a908c86a8eb21"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/nub-cli/src/pm_engine/info_family.rs:322-339 | crates/nub-cli/src/pm_engine/info_family.rs:373-390 | crates/nub-cli/src/pm_engine/info_family.rs:424-441 | crates/nub-cli/src/pm_engine/info_family.rs:443-460 \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":"crates/nub-cli/src/pm_engine/info_family.rs"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c4d7224986469960213023c33e7c008e10a6890305aabe8c82c7ae75c07ed62"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): crates/nub-core/src/node/runtime_cache.rs:468-517 | crates/nub-launcher/src/cache.rs:595-652 \u2014 These two members are one piece of code written twice and then edited apart: 50 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-core/src/node/runtime_cache.rs"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7c77af23ff9608d1c3403d46207840728eff248a4bf0458b29b0d65c7e13907"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (60 corresponding lines): crates/nub-cli/src/compile/inject.rs:41-106 | crates/nub-cli/src/compile/sea.rs:295-354 \u2014 These two members are one piece of code written twice and then edited apart: 60 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/compile/inject.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"7411d891702d13160c266bc17a71499d45544562458070aa4903de422ee9c081"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): crates/nub-core/src/node/runtime_cache.rs:350-387 | crates/nub-launcher/src/cache.rs:478-514 \u2014 These two members are one piece of code written twice and then edited apart: 37 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-core/src/node/runtime_cache.rs"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"5136386a1093df38b868c0c7f57d81f63b2d8e9f7466cb67a85eae93fd789f43"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): crates/nub-cli/src/pm_engine/install_family.rs:601-646 | crates/nub-cli/src/pm_engine/install_family.rs:676-721 \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":"crates/nub-cli/src/pm_engine/install_family.rs"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"00676459afa7c7464b18b66d460545c213eb221b12d839419b89f8d2fe01ad26"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): crates/nub-phantom-scan/src/graph.rs:627-676 | crates/nub-phantom-scan/src/graph.rs:787-821 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-phantom-scan/src/graph.rs"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"91121927ca521ea45e14ec639267cd9de9dec01cda0bc72c724a5ec3427874a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): crates/nub-cli/src/cli.rs:6130-6168 | crates/nub-cli/src/cli.rs:6739-6806 \u2014 These two members are one piece of code written twice and then edited apart: 39 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/cli.rs"},"region":{"startLine":6130}}}],"partialFingerprints":{"codehealthFindingId/v1":"1211e7580b2a99d63962ff4dcf5b34573e305b044002012370b1d81849a68d25"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): crates/nub-core/src/node/runtime_cache.rs:1124-1162 | crates/nub-launcher/src/main.rs:3267-3300 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-core/src/node/runtime_cache.rs"},"region":{"startLine":1124}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b38b714a08ea6859f1288bf5147b9d757f4f0101a838e58c6e63f9e79c7fe2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): crates/nub-core/src/node/discovery.rs:1734-1756 | crates/nub-core/src/node/discovery.rs:1768-1790 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-core/src/node/discovery.rs"},"region":{"startLine":1734}}}],"partialFingerprints":{"codehealthFindingId/v1":"385fd1f50bd6933970735d7e4381b84560b384e36326e7e1311b06a2aa60b77a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 20\u002B corresponding lines): crates/nub-cli/src/compile/inject.rs:315-338 | crates/nub-cli/src/compile/inject.rs:349-376 | crates/nub-cli/src/compile/inject.rs:582-601 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 20 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/compile/inject.rs"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"e15b76e7285ee44ef7dcf62e936e6600983c9db414958e3818f9b4d8cdb5b2b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): crates/nub-core/src/node/shim.rs:171-183 | crates/nub-core/src/pm/shim.rs:1272-1285 | crates/nub-core/src/pm/shim.rs:1323-1337 \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":"crates/nub-core/src/node/shim.rs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e51eeacf731a01c91ac708b13663efc82faf46a8de8f13d5671f6853bbad95d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): crates/nub-cli/src/compile/native.rs:192-223 | crates/nub-cli/src/compile/native.rs:288-327 \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":"crates/nub-cli/src/compile/native.rs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"85f36f16cc278315c93121f2564aee3182515978c8a881a28309055ef00c13fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/nub-cli/src/compile/assets.rs:353-372 | crates/nub-launcher/src/main.rs:2828-2843 \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":"crates/nub-cli/src/compile/assets.rs"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"7093036607bfdba504f2ba93e0972ca264d94f5fa66ad0fcc3a599e508c95f48"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): crates/nub-cli/src/cli.rs:11388-11421 | crates/nub-cli/src/cli.rs:11543-11577 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/cli.rs"},"region":{"startLine":11388}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf10eaf527c10bedc718a915933e5ab880e4f343b2196bb5ffb70fb26e6f039e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/nub-cli/src/compile/inject.rs:713-728 | crates/nub-cli/src/compile/inject.rs:744-756 \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":"crates/nub-cli/src/compile/inject.rs"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"74c39a6b4bdd54a4d2f98bc6dd074ca2baf78b08a6520223eb76d78c95e0406c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): crates/nub-core/src/node/discovery.rs:1976-2009 | crates/nub-core/src/node/discovery.rs:2030-2066 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-core/src/node/discovery.rs"},"region":{"startLine":1976}}}],"partialFingerprints":{"codehealthFindingId/v1":"64ebe542b62038b4bc4539cf87350c9d830a4372bf632347922304d012a38dd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): crates/nub-cli/src/pm_engine/install_family.rs:875-911 | crates/nub-cli/src/pm_engine/install_family.rs:992-1014 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/pm_engine/install_family.rs"},"region":{"startLine":875}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5c64fb0d3772a373f4e07c57be4b565bee158839984e6545a2770d55d5aaac2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/nub-core/src/version_management/download.rs:376-391 | crates/nub-core/src/version_management/download.rs:465-481 \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":"crates/nub-core/src/version_management/download.rs"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"f40d0100575efaa1620a7cdd02207001d7cf6e1269f3e5f83962fe007082f573"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): crates/nub-cli/src/cli.rs:8155-8171 | crates/nub-core/src/workspace/scripts.rs:347-367 \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":"crates/nub-cli/src/cli.rs"},"region":{"startLine":8155}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8a12c52906c87b10b45b781cb9d9816626fd4e3b172a67b607ef03d01fc6229"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): crates/nub-cli/src/pm_engine/install_family.rs:743-762 | crates/nub-cli/src/pm_engine/install_family.rs:786-800 | crates/nub-cli/src/pm_engine/install_family.rs:1018-1032 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/pm_engine/install_family.rs"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"5812c8550b3e12afb433b74c57efb99377a7b97ca5448d124495752a033fa576"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/nub-cli/src/pm_engine/mod.rs:2895-2910 | crates/nub-core/src/pm/resolve.rs:1039-1061 \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":"crates/nub-cli/src/pm_engine/mod.rs"},"region":{"startLine":2895}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cd287f103fd0d812bbe894e4bd6bb079645e82e8d92e732bfc5e6aaf6fdfa5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/nub-core/src/version_management/download.rs:655-662 | crates/nub-launcher/src/main.rs:2399-2406 \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":"crates/nub-core/src/version_management/download.rs"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"529f65de69b82afb1737a1ff87c3aae1c4e915eb1711b6e377ed64cc5ed51c69"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/nub-cli/src/compile/mod.rs:3939-3948 | crates/nub-cli/src/compile/native_layout.rs:774-784 \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":"crates/nub-cli/src/compile/mod.rs"},"region":{"startLine":3939}}}],"partialFingerprints":{"codehealthFindingId/v1":"1847b9267e9a8f104df08b60d13f114d995b6931206cf3f38909f016f9af1676"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/nub-core/src/compile.rs:913-927 | crates/nub-core/src/version_management/mod.rs:86-104 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-core/src/compile.rs"},"region":{"startLine":913}}}],"partialFingerprints":{"codehealthFindingId/v1":"68da6a877f68be0cf5f4eb67afd2bbdf282be041615369df0f80d0fccb72674b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/nub-core/src/node/discovery.rs:1300-1309 | crates/nub-launcher/src/main.rs:2192-2201 \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":"crates/nub-core/src/node/discovery.rs"},"region":{"startLine":1300}}}],"partialFingerprints":{"codehealthFindingId/v1":"66b237a02e305c8ecb330a62ce64024c7fff288f38a8fd0a633fa0466447f1a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): crates/nub-cli/src/pm_engine/info_family.rs:475-489 | crates/nub-cli/src/pm_engine/info_family.rs:549-559 | crates/nub-cli/src/pm_engine/info_family.rs:561-575 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/pm_engine/info_family.rs"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"14a4b21f0f88fb3f50c60a02fa5a68078c529b25adabb8aa9d9d538237f9b379"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/nub-cli/src/pm_engine/info_family.rs:462-473 | crates/nub-cli/src/pm_engine/info_family.rs:532-547 \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":"crates/nub-cli/src/pm_engine/info_family.rs"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"d395ae07a0bb8bdc17bd805bed89535e0fffb0cdcea5ddb36264015d68b65ba8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/nub-tsconfig/src/lib.rs:462-474 | crates/nub-tsconfig/src/lib.rs:1161-1173 \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":"crates/nub-tsconfig/src/lib.rs"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"5701d0d192fe6dcf227364265218eb5dbf8e87cb6e2bb4493de53322ee153fa3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/nub-cli/src/pm_engine/store_config_family.rs:1020-1029 | crates/nub-cli/src/pm_engine/store_config_family.rs:1039-1054 \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":"crates/nub-cli/src/pm_engine/store_config_family.rs"},"region":{"startLine":1020}}}],"partialFingerprints":{"codehealthFindingId/v1":"c032508414bd06e3fe725b0d9b32c8e18086f6d37d4480d9a015ad35836074d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/nub-core/src/version_management/mod.rs:768-775 | crates/nub-core/src/version_management/mod.rs:895-902 \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":"crates/nub-core/src/version_management/mod.rs"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"547c207b351703747c25b56923457f86c892417799c7debc8739ac774b1f5af6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): crates/nub-core/src/node/spawn.rs:2033-2041 | crates/nub-core/src/node/spawn.rs:2139-2147 | crates/nub-core/src/node/spawn.rs:2159-2167 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-core/src/node/spawn.rs"},"region":{"startLine":2033}}}],"partialFingerprints":{"codehealthFindingId/v1":"e847f7c01cd1abc15d94644c95a468d9289ffa381ed5b804849566733c70989e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/nub-cli/src/compile/bundle.rs:3785-3799 | crates/nub-cli/src/compile/loaders.rs:243-254 \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":"crates/nub-cli/src/compile/bundle.rs"},"region":{"startLine":3785}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc5b8d2eb51512e4b261f7fb1f85a4147be0afe328d3e4b8e6ad5c4f60802d00"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): crates/nub-cli/src/pm_engine/info_family.rs:179-192 | crates/nub-cli/src/pm_engine/install_family.rs:1371-1384 | crates/nub-cli/src/pm_engine/publish_family.rs:461-474 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/pm_engine/info_family.rs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"14fe50a08a52f18350f1fa30f415fafff278673eaf9bc8435dca8ce26f3c8fe1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/nub-cli/src/pm_engine/unsupported_config.rs:497-507 | crates/nub-cli/src/pm_engine/unsupported_config.rs:626-640 \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":"crates/nub-cli/src/pm_engine/unsupported_config.rs"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"e914efc59721f23b131e2d89d5d8cd72bb40e6943b5a5a38917f69484f3b6ff0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/nub-core/src/version_management/mod.rs:384-391 | crates/nub-core/src/version_management/mod.rs:400-407 \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":"crates/nub-core/src/version_management/mod.rs"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f3464fc755bd6af608505e7e58cc1d0dc0a9216f9a6c071c0832a4d620be338"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/nub-core/src/lib.rs:78-88 | crates/nub-core/src/pm/shim.rs:1918-1930 \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":"crates/nub-core/src/lib.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"d84dc7d35d9ee46b9fe3ef47219164506bd166080408fbaef74702efc26086da"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/nub-cli/src/compile/mod.rs:3287-3297 | crates/nub-cli/src/compile/mod.rs:3912-3920 \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":"crates/nub-cli/src/compile/mod.rs"},"region":{"startLine":3287}}}],"partialFingerprints":{"codehealthFindingId/v1":"148edce8a5247a54f607dee8904338c4812afe668e9c060f4b65a4d972856dcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/nub-core/src/node/shim.rs:76-82 | crates/nub-core/src/pm/shim.rs:1589-1599 \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":"crates/nub-core/src/node/shim.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb71de9ec8437e069d2c0959629f30f06fc47465a271512516544d0d71cb0e0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/nub-core/src/node/flags.rs:361-374 | crates/nub-core/src/node/flags.rs:376-385 \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":"crates/nub-core/src/node/flags.rs"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdfd1cbd9105332c1211b689721c820b7602ad8a76c55c24f0344e462b3c78ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/nub-cli/src/cli.rs:254-266 | crates/nub-cli/src/cli.rs:287-308 \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":"crates/nub-cli/src/cli.rs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"43eb8c3ff4ff8faa16e5d4765c7ec88adc1ad2c6d62c17b8e81b57a191dc71d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): crates/nub-cli/src/pm_engine/install_family.rs:764-772 | crates/nub-cli/src/pm_engine/install_family.rs:1053-1062 | crates/nub-cli/src/pm_engine/install_family.rs:1064-1073 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/pm_engine/install_family.rs"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"b24b73e345da66d3cfb6c434a02ae0b0c1923be656d353ee4bcde8a0ed139d5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/nub-core/src/compile.rs:957-972 | crates/nub-cli/src/compile/mod.rs:2328-2343 \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":"crates/nub-core/src/compile.rs"},"region":{"startLine":957}}}],"partialFingerprints":{"codehealthFindingId/v1":"55307d110a2c93c09940e4de0bd51d6ac142ee5be259a5d528e9f8308e1f54a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/nub-cli/src/compile/mod.rs:3871-3877 | crates/nub-launcher/src/main.rs:2647-2653 \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":"crates/nub-cli/src/compile/mod.rs"},"region":{"startLine":3871}}}],"partialFingerprints":{"codehealthFindingId/v1":"4acff0480f927598d5d6d3be25eec31c13c5419beda92885e1296af1a61a7f98"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/nub-core/src/version_management/download.rs:670-678 | crates/nub-launcher/src/main.rs:2386-2395 \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":"crates/nub-core/src/version_management/download.rs"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9d0499dc23835cec48ddb46e303bc32cb065a1f82d6b81c8a2ec5c76602b888"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): crates/nub-cli/src/pm_engine/phantom_closure.rs:590-595 | crates/nub-phantom-scan/src/classify.rs:286-291 \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":"crates/nub-cli/src/pm_engine/phantom_closure.rs"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3566d2feb8f85fafecacf8026c1df8e56ee798a0b69718ceb7fa01450473f8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): crates/nub-cli/src/pm_engine/install_family.rs:1280-1285 | crates/nub-cli/src/pm_engine/mod.rs:633-643 \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":"crates/nub-cli/src/pm_engine/install_family.rs"},"region":{"startLine":1280}}}],"partialFingerprints":{"codehealthFindingId/v1":"97b7d0a47d93799adb965a80dc592c61455f51d87150b7ac4858cd20ead3cbb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): crates/nub-launcher/src/cache.rs:396-400 | crates/nub-launcher/src/main.rs:1167-1171 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-launcher/src/cache.rs"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"afd110b69ee489e40f2507ba34c40bcea9dd46b4b2bf7a32a9699d9e2d2cb572"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/nub-cli/src/compile/native_layout.rs:444-450 | crates/nub-phantom-scan/src/manifest.rs:112-118 \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":"crates/nub-cli/src/compile/native_layout.rs"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5f18f7a6d16a45cc986efd7fede1b879f655dfefb794c24e5a4863f0d8c127c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/nub-cli/src/pm_engine/min_release_age.rs:267-273 | crates/nub-cli/src/pm_engine/unsupported_config.rs:510-516 \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":"crates/nub-cli/src/pm_engine/min_release_age.rs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"97941688e14a56bae06f252fea348652e9abfa9f1d542b98aa1079e7dd342e54"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): crates/nub-cli/src/pm_engine/info_family.rs:527-530 | crates/nub-cli/src/pm_engine/install_family.rs:834-837 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/pm_engine/info_family.rs"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1e762d193836e2c5850a3930d09cd152171c75b60da1ffb9cac83dec8748f44"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): crates/nub-cli/src/compile/loaders.rs:297-302 | crates/nub-cli/src/compile/native.rs:549-554 \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":"crates/nub-cli/src/compile/loaders.rs"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d7124107f6ba3f0d12980778f4a306cd77741c6f981fc8eae198504014c6870"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): crates/nub-cli/src/compile/mod.rs:2866-2871 | crates/nub-core/src/version_management/mod.rs:393-398 \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":"crates/nub-cli/src/compile/mod.rs"},"region":{"startLine":2866}}}],"partialFingerprints":{"codehealthFindingId/v1":"f67064b2a523d406650e8b1e7b9298639c44573d84df105122db9b17e53f1859"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31\u201334 lines \u00D7 2): crates/nub-cli/src/cli.rs:11327-11360 | crates/nub-cli/src/cli.rs:11489-11519 \u2014 both copies are in the same file, so extract the block 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 \u0060crates/nub-cli/src/cli.rs:11327\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":"crates/nub-cli/src/cli.rs"},"region":{"startLine":11327}}}],"partialFingerprints":{"codehealthFindingId/v1":"28900e1aea17f894688455d409dc3e3e39e74de6d9281982a096d2c46ef61ee9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): crates/nub-cli/src/cli.rs:3177-3196 | crates/nub-cli/src/cli.rs:3270-3289 \u2014 both copies are in the same file, so extract the block 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":"crates/nub-cli/src/cli.rs"},"region":{"startLine":3177}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e1947bcaa1e2a6aeaee493689ffbe2ebdf6051f6ec3296c66e51521dad9c4ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201320 lines \u00D7 2): crates/nub-core/src/version_management/mod.rs:583-596 | crates/nub-core/src/version_management/mod.rs:1168-1187 \u2014 both copies are in the same file, so extract the block 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 \u0060crates/nub-core/src/version_management/mod.rs:583\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":"crates/nub-core/src/version_management/mod.rs"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"71012d022fe9cda94bced35532bbaeac5ca6dd50454970884699953bccfd51ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): crates/nub-native/src/resolve.rs:401-420 | crates/nub-tsconfig/src/lib.rs:538-557 \u2014 before extracting anything, compare \u0060crates/nub-native/src/resolve.rs\u0060 and \u0060crates/nub-tsconfig/src/lib.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 34 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/nub-native/src/resolve.rs:401\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":"crates/nub-native/src/resolve.rs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"d714d07e2e7443b824246ef61e3e1bf691251c711cc3da5b171567dfa0603c41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/nub-cli/src/cli.rs:6747-6765 | crates/nub-cli/src/cli.rs:6785-6803 \u2014 both copies are in the same file, so extract the block 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 \u0060crates/nub-cli/src/cli.rs:6747\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":"crates/nub-cli/src/cli.rs"},"region":{"startLine":6747}}}],"partialFingerprints":{"codehealthFindingId/v1":"f591a6d6a431eca237d16ee0cb2149f020ca9ac4a9c118a3d0156ac6b38fea2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): crates/nub-core/src/pm/extract.rs:56-72 | crates/nub-core/src/version_management/extract.rs:170-185 \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 \u0060crates/nub-core/src/pm/extract.rs:56\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-core/src/pm/extract.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"7362396901168e301fc67b130b11674d11bd8c6cf4b2f9d4580adfd1506857cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201316 lines \u00D7 2): crates/nub-core/src/windows_security.rs:230-245 | crates/nub-core/src/windows_security.rs:288-300 \u2014 both copies are in the same file, so extract the block 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 \u0060crates/nub-core/src/windows_security.rs:230\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":"crates/nub-core/src/windows_security.rs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ee4be2c3b4d97624dd3b81e51bed8256557b443d724cde4069ec314149d20b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/nub-cli/src/compile/bundle.rs:3696-3709 | crates/nub-cli/src/compile/loaders.rs:418-431 \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 \u0060crates/nub-cli/src/compile/bundle.rs:3696\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/compile/bundle.rs"},"region":{"startLine":3696}}}],"partialFingerprints":{"codehealthFindingId/v1":"74ae9aa6a0161816017fb67fa6da6c30ad4777e4dfccb9ef075efe39518c1f69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/nub-cli/src/compile/native.rs:195-208 | crates/nub-cli/src/compile/native.rs:292-305 \u2014 both copies are in the same file, so extract the block 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 \u0060crates/nub-cli/src/compile/native.rs:195\u0060 it does not close everything it opens, so those exact 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":"crates/nub-cli/src/compile/native.rs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"d73a1b4c5bedeb12f0d719811d2e5baa4c3ece76a870d08b6347618ffbbc3300"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): crates/nub-cli/src/cli.rs:10943-10955 | crates/nub-cli/src/cli.rs:10970-10980 \u2014 both copies are in the same file, so extract the block 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 \u0060crates/nub-cli/src/cli.rs:10943\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":"crates/nub-cli/src/cli.rs"},"region":{"startLine":10943}}}],"partialFingerprints":{"codehealthFindingId/v1":"93d4666d1c297ece754070665fe26099cbca5057b472ca5954a3083c44ff59ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/nub-cli/src/pm_engine/info_family.rs:324-336 | crates/nub-cli/src/pm_engine/info_family.rs:375-387 \u2014 both copies are in the same file, so extract the block 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 \u0060crates/nub-cli/src/pm_engine/info_family.rs:324\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":"crates/nub-cli/src/pm_engine/info_family.rs"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"5742a732a950ba96f1400c332c8f8dd1d32cfa10b73025db5cab0df748167fc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/nub-core/src/node/spawn.rs:715-726 | crates/nub-core/src/node/spawn.rs:1670-1683 \u2014 both copies are in the same file, so extract the block 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":"crates/nub-core/src/node/spawn.rs"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"13630436f2edc4d6349490af3a0739f21a49755621d3adcc35588a3498b8eee5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201312 lines \u00D7 2): crates/nub-core/src/pm/provision.rs:436-444 | crates/nub-core/src/pm/provision.rs:523-534 \u2014 both copies are in the same file, so extract the block 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 \u0060crates/nub-core/src/pm/provision.rs:523\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":"crates/nub-core/src/pm/provision.rs"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c58adcf74d9220ea63310dd59f7944e051ec67b75bfda7c1714d13e63a2ecd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 3): crates/nub-core/src/node/shim.rs:173-181 | crates/nub-core/src/pm/shim.rs:1274-1282 | crates/nub-core/src/pm/shim.rs:1325-1335 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-core/src/node/shim.rs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ae5b081e346b481e53e0af122d7f9fb55ae4e965f91626418d92114627ee899"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/nub-cli/src/cli.rs:6552-6562 | crates/nub-cli/src/cli.rs:8347-8357 \u2014 both copies are in the same file, so extract the block 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 \u0060crates/nub-cli/src/cli.rs:6552\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":"crates/nub-cli/src/cli.rs"},"region":{"startLine":6552}}}],"partialFingerprints":{"codehealthFindingId/v1":"508ec907e3aafb439aa4d4016672b0f4d8e07077b771239fc13b2206a5e3003f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u201311 lines \u00D7 2): crates/nub-cli/src/pm_engine/phantom_closure.rs:223-228 | crates/nub-cli/src/pm_engine/phantom_closure.rs:363-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 \u0060crates/nub-cli/src/pm_engine/phantom_closure.rs:363\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":"crates/nub-cli/src/pm_engine/phantom_closure.rs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f4e72c20c11cbc6fb48ab76a90deea09e7b2abeb46f475e54dce1543613cdfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/nub-cli/src/pm_engine/mod.rs:3431-3440 | crates/nub-cli/src/pm_engine/mod.rs:3587-3596 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/pm_engine/mod.rs"},"region":{"startLine":3431}}}],"partialFingerprints":{"codehealthFindingId/v1":"7315168a096288f9aba29ae70a9a6fc7fac9eb82f5da6b20f76cd8e94ed990b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): crates/nub-cli/src/cli.rs:5224-5232 | crates/nub-cli/src/cli.rs:5489-5496 \u2014 both copies are in the same file, so extract the block 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":"crates/nub-cli/src/cli.rs"},"region":{"startLine":5224}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c87b2eea38c05e3a9a7d892b5e9eb2ac452b89d9ef31a8c93d71db0c2b5ac6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/nub-cli/src/cli.rs:6142-6150 | crates/nub-cli/src/cli.rs:6157-6165 \u2014 both copies are in the same file, so extract the block 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 \u0060crates/nub-cli/src/cli.rs:6142\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":"crates/nub-cli/src/cli.rs"},"region":{"startLine":6142}}}],"partialFingerprints":{"codehealthFindingId/v1":"33b1d1990ed9837453b7ab9bcc48704389a710943fc0aa36d213bd0af421f473"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/nub-cli/src/compile/bundle.rs:1249-1257 | crates/nub-cli/src/compile/native.rs:2087-2095 \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 \u0060crates/nub-cli/src/compile/bundle.rs:1249\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":"crates/nub-cli/src/compile/bundle.rs"},"region":{"startLine":1249}}}],"partialFingerprints":{"codehealthFindingId/v1":"900beedd6c64a00b6bc7337cfeecc04a55b9e91a85e6c70f27d928d0a1fcec13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/nub-cli/src/pm_engine/info_family.rs:427-435 | crates/nub-cli/src/pm_engine/info_family.rs:445-453 \u2014 both copies are in the same file, so extract the block 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 \u0060crates/nub-cli/src/pm_engine/info_family.rs:427\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":"crates/nub-cli/src/pm_engine/info_family.rs"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"d48305057e4d54e480a454c49bfeedb2340fc3c73794a474579110989b4a8432"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/nub-core/src/version_management/download.rs:383-391 | crates/nub-core/src/version_management/download.rs:473-481 \u2014 both copies are in the same file, so extract the block 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 \u0060crates/nub-core/src/version_management/download.rs:383\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":"crates/nub-core/src/version_management/download.rs"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"6932a8e053a76c15b164b959282051d1425530fc34b5797eb1beccb851146ad4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/nub-launcher/src/main.rs:2656-2664 | crates/nub-launcher/src/main.rs:2969-2977 \u2014 both copies are in the same file, so extract the block 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":"crates/nub-launcher/src/main.rs"},"region":{"startLine":2656}}}],"partialFingerprints":{"codehealthFindingId/v1":"9576846617b0788a8a2e489f5c1bc1074de4650f77c87acd60141cb430ab56ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/nub-tsconfig/src/lib.rs:606-614 | crates/nub-tsconfig/src/lib.rs:887-895 \u2014 both copies are in the same file, so extract the block 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 \u0060crates/nub-tsconfig/src/lib.rs:606\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":"crates/nub-tsconfig/src/lib.rs"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6182d3253a31e2e495f90b51434d9a25cdebf1513bd061dd16b815e10d576d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 3): crates/nub-cli/src/compile/native.rs:193-200 | crates/nub-cli/src/compile/native.rs:290-297 | crates/nub-phantom-scan/src/bin/scan-verdicts.rs:42-48 \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 \u0060crates/nub-cli/src/compile/native.rs:193\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"crates/nub-cli/src/compile/native.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"25032352e22829616d437ce58938362b3fba56eb2fd73e9b186e4fc655da583d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/nub-cli/src/cli.rs:11831-11838 | crates/nub-cli/src/cli.rs:11866-11873 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/cli.rs"},"region":{"startLine":11831}}}],"partialFingerprints":{"codehealthFindingId/v1":"4570b9d77047ed95fdef5885b33fc8a58d9e06c3d530266f0ce68de9bb8b4f72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/nub-cli/src/compile/inject.rs:331-338 | crates/nub-cli/src/compile/inject.rs:593-601 \u2014 both copies are in the same file, so extract the block 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 \u0060crates/nub-cli/src/compile/inject.rs:331\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":"crates/nub-cli/src/compile/inject.rs"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dde3988aa2a8cdc196a0ee70a2de32de28856061f8838f34e1869b1c1af2597"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/nub-cli/src/pm_engine/install_family.rs:605-612 | crates/nub-cli/src/pm_engine/install_family.rs:688-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 \u0060crates/nub-cli/src/pm_engine/install_family.rs:605\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/pm_engine/install_family.rs"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b8d36928ebf0c2279696b46d67569b66666453222c10d3956703d42261f30ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u20138 lines \u00D7 2): crates/nub-cli/src/pm_engine/mod.rs:3414-3421 | crates/nub-cli/src/pm_engine/mod.rs:3547-3551 \u2014 both copies are in the same file, so extract the block 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 \u0060crates/nub-cli/src/pm_engine/mod.rs:3414\u0060 it does not close everything it opens, so those exact 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, \u0060crates/nub-cli/src/pm_engine/mod.rs:3551\u0060 calls \u0060stdout\u0060, \u0060flush\u0060, \u0060stderr\u0060 and \u0060crates/nub-cli/src/pm_engine/mod.rs:3421\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":"crates/nub-cli/src/pm_engine/mod.rs"},"region":{"startLine":3414}}}],"partialFingerprints":{"codehealthFindingId/v1":"90a4dafd965d0b4e13c1637be37ab666381f3b1b407f896476d81a0c1e6d4a66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/nub-cli/src/pm_engine/unsupported_config.rs:498-505 | crates/nub-cli/src/pm_engine/unsupported_config.rs:627-634 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/pm_engine/unsupported_config.rs"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a3562aa53b04fa0ca1bf687229d396bccd76a13499705b4bdaf93d67fc0f4a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/nub-cli/src/pm_engine/unsupported_config.rs:555-562 | crates/nub-cli/src/pm_engine/unsupported_config.rs:578-585 \u2014 both copies are in the same file, so extract the block 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 \u0060crates/nub-cli/src/pm_engine/unsupported_config.rs:555\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/pm_engine/unsupported_config.rs"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"20c43b14f915ba2efb855968c884135af65d6220d6ae78592c5976c90f8caa17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/nub-core/src/node/discovery.rs:283-290 | crates/nub-core/src/node/discovery.rs:297-304 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"crates/nub-core/src/node/discovery.rs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"35528fece0fa948946b49f6f6927e7c75b7df8838515193e21f559a51ad0e09d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/nub-tsconfig/src/lib.rs:892-899 | crates/nub-tsconfig/src/lib.rs:911-918 \u2014 both copies are in the same file, so extract the block 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 \u0060crates/nub-tsconfig/src/lib.rs:892\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-tsconfig/src/lib.rs"},"region":{"startLine":892}}}],"partialFingerprints":{"codehealthFindingId/v1":"149e11d53d7551854fca261136c3a8cf45d2f0af58612d7ad01b6752345c3860"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): crates/nub-cli/src/pm_engine/info_family.rs:477-486 | crates/nub-cli/src/pm_engine/info_family.rs:551-557 | crates/nub-cli/src/pm_engine/info_family.rs:563-572 \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 \u0060crates/nub-cli/src/pm_engine/info_family.rs:477\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":"crates/nub-cli/src/pm_engine/info_family.rs"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d807e408a92b3ede60adc88587c8d8dd3b217e0db731efdc1abe899a93e3d5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/nub-cli/src/compile/native.rs:2577-2583 | crates/nub-cli/src/compile/native.rs:2585-2591 \u2014 both copies are in the same file, so extract the block 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 \u0060crates/nub-cli/src/compile/native.rs:2577\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":"crates/nub-cli/src/compile/native.rs"},"region":{"startLine":2577}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb68e8c6e40896255b6158c08f9e676ecf8123392e3f241ba6b0389c2b4a5588"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/nub-core/src/version_management/download.rs:410-416 | crates/nub-core/src/version_management/download.rs:494-500 \u2014 both copies are in the same file, so extract the block 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":"crates/nub-core/src/version_management/download.rs"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"81eddb9360c06a51e050025e8636a393e996eea01b986e46f0e35f87da1d159f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/nub-cli/src/cli.rs:11155-11161 | crates/nub-cli/src/cli.rs:11943-11949 \u2014 both copies are in the same file, so extract the block 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":"crates/nub-cli/src/cli.rs"},"region":{"startLine":11155}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ce67ae539feb08740c8b5974062f4b35b577ddc49dfb43dd1f84e01f28c1d13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/nub-cli/src/compile/mod.rs:3943-3948 | crates/nub-cli/src/compile/native_layout.rs:779-784 \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 \u0060crates/nub-cli/src/compile/mod.rs:3943\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":"crates/nub-cli/src/compile/mod.rs"},"region":{"startLine":3943}}}],"partialFingerprints":{"codehealthFindingId/v1":"08e3e1a6eb2cf30bda0cf1513abb04bffa3ef4f2ff9fb93a6f0217700b87cd4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/nub-cli/src/env_owner.rs:586-592 | crates/nub-cli/src/prefix.rs:131-136 \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":"crates/nub-cli/src/env_owner.rs"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"3652a25f0764e082f2136871c63e807f0d0552b31d7278adf755f1c20bc3353b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/nub-cli/src/pm_engine/install_family.rs:745-752 | crates/nub-cli/src/pm_engine/install_family.rs:788-793 \u2014 both copies are in the same file, so extract the block 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 \u0060crates/nub-cli/src/pm_engine/install_family.rs:745\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/pm_engine/install_family.rs"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c880733688457c5de7df87a1fe3abb1127889f0144a3d89564fd75e5db74be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/nub-core/src/compile.rs:762-770 | crates/nub-core/src/compile.rs:801-809 \u2014 both copies are in the same file, so extract the block 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, \u0060crates/nub-core/src/compile.rs:810\u0060 calls \u0060from_le_bytes\u0060, \u0060take\u0060, \u0060try_into\u0060 and \u0060crates/nub-core/src/compile.rs:773\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":"crates/nub-core/src/compile.rs"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"352de45a7ba84a1cf9c57baf71d9e93de1cef1f7a9bd6b20023d5eec8a1e6a40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/nub-core/src/version_management/mod.rs:386-391 | crates/nub-core/src/version_management/mod.rs:402-407 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/nub-core/src/version_management/mod.rs:386\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":"crates/nub-core/src/version_management/mod.rs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"f67ad420f6e7368844eb4751d6c5c470b605e68f66806250042e03b482b12579"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/nub-tsconfig/src/lib.rs:611-616 | crates/nub-tsconfig/src/lib.rs:643-648 \u2014 both copies are in the same file, so extract the block 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 \u0060crates/nub-tsconfig/src/lib.rs:611\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-tsconfig/src/lib.rs"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"275dafb41b7a1095f37ed56bf0e5b8d5109b60e8c226d7990f17b9d0096ad14e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): crates/nub-cli/src/compile/bundle.rs:3102-3106 | crates/nub-cli/src/compile/bundle.rs:3257-3262 | crates/nub-cli/src/compile/bundle.rs:3425-3429 | crates/nub-cli/src/compile/bundle.rs:3533-3537 \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 \u0060crates/nub-cli/src/compile/bundle.rs:3102\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":"crates/nub-cli/src/compile/bundle.rs"},"region":{"startLine":3102}}}],"partialFingerprints":{"codehealthFindingId/v1":"437e3a58e7cebc0658d958e37bc04a8d4129afc47b3ce8ce6a128e10e34bbafe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): crates/nub-tsconfig/src/lib.rs:611-615 | crates/nub-tsconfig/src/lib.rs:643-647 | crates/nub-tsconfig/src/lib.rs:892-896 | crates/nub-tsconfig/src/lib.rs:911-915 \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 \u0060crates/nub-tsconfig/src/lib.rs:611\u0060 it does not close everything it opens, so those exact 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, \u0060crates/nub-tsconfig/src/lib.rs:638\u0060 calls \u0060normalize_compiler_options\u0060 and \u0060crates/nub-tsconfig/src/lib.rs:906\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":"crates/nub-tsconfig/src/lib.rs"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"6185a2ce90c18f2fa0c75d29ddb7dbb253f6cbf838a5635ad768594c53676de7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): crates/nub-cli/src/pm_engine/info_family.rs:324-328 | crates/nub-cli/src/pm_engine/info_family.rs:375-379 | crates/nub-cli/src/pm_engine/info_family.rs:445-449 \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 \u0060crates/nub-cli/src/pm_engine/info_family.rs:324\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":"crates/nub-cli/src/pm_engine/info_family.rs"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dc7a1f0a83e06588ea33a54895ffb031f8b8d7c8af70a50db7edb388a55d6e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/nub-core/src/version_management/download.rs:656-662 | crates/nub-launcher/src/main.rs:2400-2406 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-core/src/version_management/download.rs"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"55e6c32a0b540f93f80b2058eeb58e064c96b261dee58534c007514d8751a6c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/nub-core/src/version_management/node_index.rs:205-209 | crates/nub-core/src/version_management/node_index.rs:236-240 \u2014 both copies are in the same file, so extract the block 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 \u0060crates/nub-core/src/version_management/node_index.rs:205\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-core/src/version_management/node_index.rs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"980131a30ce998ebe3728c845d5261ee8545dbf075dbe55d1889be4cc3668ebd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/nub-cli/src/compile/assets.rs:424-429 | crates/nub-cli/src/compile/bundle.rs:1181-1186 \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":"crates/nub-cli/src/compile/assets.rs"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"84fb6c3f5f530ff9966512005008fee4c0498d65f9abf02d601ade145d6a91cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/nub-cli/src/compile/mod.rs:1276-1282 | crates/nub-cli/src/compile/native_layout.rs:807-813 \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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060bytes\u0060 to \u0060u64\u0060 in one and \u0060usize\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":"crates/nub-cli/src/compile/mod.rs"},"region":{"startLine":1276}}}],"partialFingerprints":{"codehealthFindingId/v1":"e510389ef72be76392fd22e979150a9ae462a096e37c701269e6106f7d97f4af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): crates/nub-cli/src/compile/mod.rs:3964-3968 | crates/nub-launcher/src/main.rs:3323-3327 | crates/nub-launcher/src/main.rs:3341-3345 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/nub-launcher/src/main.rs:3330\u0060 calls \u0060Ok\u0060, \u0060set_app_file_executable\u0060 and \u0060crates/nub-cli/src/compile/mod.rs:3964\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":"crates/nub-cli/src/compile/mod.rs"},"region":{"startLine":3964}}}],"partialFingerprints":{"codehealthFindingId/v1":"59d27c0d332b8827e33438435e1e9ca94a3e6611c38c4b73dfe9a08abcf9967a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/nub-cli/src/dynamic_phantom.rs:71-76 | crates/nub-cli/src/pm_engine/vite_compat.rs:67-72 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/dynamic_phantom.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"68e72cfef264d85cffa9de4aae8ed132cda6f11d37ef2d796fd2609329899539"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): crates/nub-cli/src/jsonc.rs:28-38 | crates/nub-data-formats/src/lib.rs:41-51 | crates/nub-tsconfig/src/lib.rs:50-60 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/jsonc.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"012cb4696c55de91b8929902278095772a5ccc97d913f23449cc8a9357a36e45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/nub-core/src/pm/mod.rs:77-85 | crates/nub-core/src/version_management/download.rs:642-650 \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":"crates/nub-core/src/pm/mod.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"c966e091c3a3fa1ca8cad814b6f547914685c0a9ed5877bc0d1fa7c759f7b164"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/nub-native/src/resolve.rs:382-387 | crates/nub-tsconfig/src/lib.rs:1175-1180 \u2014 before extracting anything, compare \u0060crates/nub-native/src/resolve.rs\u0060 and \u0060crates/nub-tsconfig/src/lib.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 34 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"crates/nub-native/src/resolve.rs"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5ad010b8ccbd919680a8e8fca90a0347e71971b958b89f8f14256b3dc043bad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/nub-native/src/resolve.rs:390-397 | crates/nub-tsconfig/src/lib.rs:526-533 \u2014 before extracting anything, compare \u0060crates/nub-native/src/resolve.rs\u0060 and \u0060crates/nub-tsconfig/src/lib.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 34 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"crates/nub-native/src/resolve.rs"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5fdb557b6b8b3d4981429e8dfafc6f14c41687dc6e8d7eda500eb58fb6297b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/nub-cli/src/pm_engine/install_family.rs:1399-1413 | crates/nub-cli/src/pm_engine/install_family.rs:1723-1736 \u2014 both copies are in the same file, so extract the block 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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060flags\u0060 to \u0060InstallFlags\u0060 in one and \u0060CiFlags\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":"crates/nub-cli/src/pm_engine/install_family.rs"},"region":{"startLine":1399}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9daa5a4e1509d46e765f3f5c3a62be6c7868683f49d2b16b11da7ef6e1b4e2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/nub-cli/src/cli.rs:9100-9112 | crates/nub-cli/src/cli.rs:9556-9567 \u2014 both copies are in the same file, so extract the block 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":"crates/nub-cli/src/cli.rs"},"region":{"startLine":9100}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c065ab04ba7f333efacdb12c04b283fd21954f3a64f6bab895de4a7f4dbf75e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/nub-cli/src/cli.rs:11398-11406 | crates/nub-cli/src/cli.rs:11552-11563 \u2014 both copies are in the same file, so extract the block 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 \u0060crates/nub-cli/src/cli.rs:11398\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":"crates/nub-cli/src/cli.rs"},"region":{"startLine":11398}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea7938a7e3799e5557094f79339762555a7fc8605456dbd32ff04ec2e6d5b1b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): crates/nub-cli/src/pm_engine/install_family.rs:609-619 | crates/nub-cli/src/pm_engine/install_family.rs:651-661 | crates/nub-cli/src/pm_engine/install_family.rs:692-702 \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 \u0060crates/nub-cli/src/pm_engine/install_family.rs:609\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"crates/nub-cli/src/pm_engine/install_family.rs"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"750142c1a32344dddbcb47f9a5048b651a80d7e57623cedc1cff9d37de42675c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/nub-core/src/node/discovery.rs:1748-1756 | crates/nub-core/src/node/discovery.rs:1782-1790 \u2014 both copies are in the same file, so extract the block 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 \u0060crates/nub-core/src/node/discovery.rs:1748\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":"crates/nub-core/src/node/discovery.rs"},"region":{"startLine":1748}}}],"partialFingerprints":{"codehealthFindingId/v1":"11f52e1776caad826b5afb1c4a42d56ee590432d81182a91593b45e8b1a57b4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/nub-cli/src/compile/assets.rs:356-364 | crates/nub-launcher/src/main.rs:2831-2835 \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":"crates/nub-cli/src/compile/assets.rs"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"310ad3babdb2809d8d154a00ba1015b1706b8e21c500bfc8f3b1a06fb6b73b99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/nub-core/src/pm/shim.rs:1511-1516 | crates/nub-core/src/pm/shim.rs:1543-1548 \u2014 both copies are in the same file, so extract the block 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 \u0060crates/nub-core/src/pm/shim.rs:1511\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":"crates/nub-core/src/pm/shim.rs"},"region":{"startLine":1511}}}],"partialFingerprints":{"codehealthFindingId/v1":"84ff98220acb931b26c1225761151daafbd251f0343ebc466d9f4711a7fe5e40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/nub-core/src/compile.rs:773-778 | crates/nub-core/src/compile.rs:811-816 \u2014 both copies are in the same file, so extract the block 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 \u0060crates/nub-core/src/compile.rs:773\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/nub-core/src/compile.rs:809\u0060 calls \u0060from_le_bytes\u0060, \u0060take\u0060, \u0060try_into\u0060 and \u0060crates/nub-core/src/compile.rs:769\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":"crates/nub-core/src/compile.rs"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea98decc1a440d93bb83fdd5f6d6645aa3fb29477a5a8cecb427cbba997a612b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/nub-core/src/node/discovery.rs:1301-1307 | crates/nub-launcher/src/main.rs:2193-2199 \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":"crates/nub-core/src/node/discovery.rs"},"region":{"startLine":1301}}}],"partialFingerprints":{"codehealthFindingId/v1":"b45b82eeddab94c7aa5d701b820b68708e5b91a8d17f12991c30c89bf113c229"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/nub-core/src/version_management/node_index.rs:196-202 | crates/nub-core/src/version_management/node_index.rs:227-233 \u2014 both copies are in the same file, so extract the block 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 \u0060crates/nub-core/src/version_management/node_index.rs:196\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-core/src/version_management/node_index.rs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b733579bb4a7a841f9d7af9404da0972183cd02382691c5e17b91ee1761f0eb"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: nub-core: nub-core: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 2 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"883760ad09aa5b1712a4d06cfde64afa543269c7b1eff07c9f7e76ba13658147"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: nub-phantom-core: nub-phantom-core: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 2 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5fe53584f57e8f246511938c83d391e8e8cfbe66677ca420bde9f3aaf5a4db3a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AugmentationEnv (LCOM4 4): AugmentationEnv\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-core/src/node/spawn.rs"},"region":{"startLine":2422}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4a456c3f78232088b6ac0cd253ba9a1113a8cab05ebbdd4f8a76cebc83b63ff"}},{"ruleId":"D8","level":"warning","message":{"text":"Coverage not measured \u2014 JavaScript/TypeScript suite: Coverage NOT MEASURED: the JavaScript/TypeScript half could not be measured \u2014 the vitest suite in benchmarks/pm/fixtures/workspace-descript/packages/tooling/ ran and not one test passed (RUN  v1.6.1 benchmarks/pm/fixtures/workspace-descript/packages/tooling), so the coverage would describe the failed run, not the code. Coverage is excluded from the score rather than counted as a near-zero. The named suite step is one the repository\u0027s maintainers can perform; once it passes, the real number is measured on the next scan."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"62e63e619c28f057e129f2997c965d32a457366a9ce18ca019ffb6bdfba85c99"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: (unnamed test): 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/worker-wpt/wpt/workers/Worker-replace-event-handler.any.js"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"77341e7bf93716ecfbecad501e2d3dbf701ee4930a94ec4b7cbac6447c042884"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: (unnamed test): 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/worker-wpt/wpt/webmessaging/Channel_postMessage_DataCloneErr.any.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeb8aae6ebedf220d096679cd2b398dc250f5ae9da7a30e3905ca014e0a7f785"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: (unnamed test): 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/worker-wpt/wpt/webmessaging/Channel_postMessage_clone_port.any.js"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca17a4386fae578e739a52fa4dddf2fd608040311a188343fbb77669933d9865"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: (unnamed test): 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/worker-wpt/wpt/webmessaging/Channel_postMessage_clone_port_error.any.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c752f932e86ad760ca7ec0646a30e74adeff68167cd57fe04a629d9a9d854f9"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: (unnamed test): 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/worker-wpt/wpt/webmessaging/MessageEvent.any.js"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd48d093f87677ae8e7dbeee4cf0cd60979a16dea276471a7f833e6d17e32d12"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: (unnamed test): 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/worker-wpt/wpt/webmessaging/MessageEvent.any.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"d99ef14d626b7248bde5894ba4c7bc17ed3d07c8b70ea13329c9ccbe05b8af45"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: (unnamed test): 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/worker-wpt/wpt/webmessaging/MessageEvent.any.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"0da1ee31b0f3cffcff9c69f0813a534d9532688d5de68f0dafe0c88d46e8e134"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: (unnamed test): 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/worker-wpt/wpt/webmessaging/message-channels/close.any.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"783d9ee82ccd0fa414283f60a14ab25e6d275b6bc987e69c3d949ca42b0601c3"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: (unnamed test): 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/worker-wpt/wpt/web-locks/non-secure-context.any.js"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f139d56390a8c7915bde8abd4e51ab11a17156439d48c59c2abbd7473363ef8"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: (unnamed test): 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/worker-wpt/wpt/urlpattern/urlpattern-constructor.any.js"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"cecc0669f231a4a27e911226ee99bbbad1902baa37fc1fcc73c1ba6f55c265b9"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: (unnamed test): 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/worker-wpt/wpt/urlpattern/urlpattern-constructor.any.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca259d207644b980500dee752827fd0636e201273996d1bb5cde97b373f5f347"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: (unnamed test): 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/worker-wpt/wpt/urlpattern/urlpattern-generate.tentative.any.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"360fbe360944a3b649173cb9fbff054ebfd2c4cada20e30c6959e7c169ac1a5d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: (unnamed test): 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/worker-wpt/wpt/urlpattern/resources/urlpattern-compare-tests.tentative.js"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"e206eb7e13f232d7659e1268d9a5db6ae508dabae506dce9961464cccdb4db92"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: (unnamed test): 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/worker-wpt/wpt/urlpattern/resources/urlpattern-hasregexpgroups-tests.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35df1102982b9727ae6a31613c278bbd7313d4fdd45db890b5ce1308ebe236a4"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: (unnamed test): 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/worker-wpt/wpt/urlpattern/resources/urlpatterntests.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"4afd31d9c0c8c62d36c607f4cad1be6dd31929868523c320e9901f7d7447e2c4"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: (unnamed test): 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/worker-wpt/wpt/resources/testharness.js"},"region":{"startLine":1228}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee03f1cc1371d3786e60fe280bf1741f55c882ef47cada6b8fde4fe7ce3e4016"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: (unnamed test): 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/worker-wpt/wpt/html/webappapis/scripting/reporterror.any.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"caa8511718b3229ffd068a546d6938b593500b858b2513445e0c08b33e7d32ac"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: (unnamed test): 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/worker-wpt/wpt/html/webappapis/scripting/reporterror.any.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"34a9da151f7f47f0f488494f7ba1c2facafa89eaa8aa000ecdb67f644b6faf06"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: (unnamed test): 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/worker-wpt/wpt/html/webappapis/scripting/reporterror.any.js"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"7122b12563d38434264c201b499a699c027221b8050a4a467ab505b7b1b01d58"}},{"ruleId":"D10","level":"error","message":{"text":"No assertions (empty test): nub-as-node parity leg: Test method has an empty body \u2014 it asserts nothing and exercises no code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/flag-parsing/flag-parsing.test.mjs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"69ac8b8067f808c3375e8dc2e5cd137bf1ad279015a7e01a1271a3bc418e95f7"}},{"ruleId":"D10","level":"error","message":{"text":"No assertions (empty test): noop: Test method has an empty body \u2014 it asserts nothing and exercises no code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/fixtures/non-program-modes/counts.test.mjs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"484d294d308c107c09360833225ed5ec85042341c1ffd60bc4189abd12011325"}},{"ruleId":"D10","level":"error","message":{"text":"No assertions (empty test): noop: Test method has an empty body \u2014 it asserts nothing and exercises no code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/fixtures/non-program-modes/serves.test.mjs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d6f145bf5ab36a54fccbf619be1a2922dbdc66d3d08abda52c385d18ebbad11"}},{"ruleId":"D10","level":"warning","message":{"text":"Test project verifies nothing: tests/fixtures/non-program-modes: No conventional assertion call was detected in 2 of 2 tests in \u0060tests/fixtures/non-program-modes\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/fixtures/non-program-modes/counts.test.mjs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3883af11689f9fa40056bbbe4e04a5dc6e09824ec87e5f1f2f93df7d8efc453"}},{"ruleId":"D11","level":"error","message":{"text":"Test suite declares a test script but contains no test files: benchmarks/pm/fixtures/workspace-descript/packages/service/: The vitest suite in benchmarks/pm/fixtures/workspace-descript/packages/service/ was installed and launched successfully, and the runner then found no test files to run \u2014 include: **/*.{test,spec}.?(c|m)[jt]s?(x). The package declares a test script, so it reads as a tested package to anyone who checks its manifest, but there is nothing behind the declaration: no test case exists, so it cannot detect a regression and its presence overstates how much of this repository is tested. The ask is the owner\u0027s: write the first test for this package, or remove the test script from a package that has none. This is not a report that the tests FAIL \u2014 there are none."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e281214557a81bf5e1a1a971737222ded4df501354bc9b9f3afcae6d5d49d7e7"}},{"ruleId":"D11","level":"error","message":{"text":"Test suite declares a test script but contains no test files: benchmarks/pm/fixtures/workspace-descript/packages/tooling/: The vitest suite in benchmarks/pm/fixtures/workspace-descript/packages/tooling/ was installed and launched successfully, and the runner then found no test files to run \u2014 include: **/*.{test,spec}.?(c|m)[jt]s?(x). The package declares a test script, so it reads as a tested package to anyone who checks its manifest, but there is nothing behind the declaration: no test case exists, so it cannot detect a regression and its presence overstates how much of this repository is tested. The ask is the owner\u0027s: write the first test for this package, or remove the test script from a package that has none. This is not a report that the tests FAIL \u2014 there are none."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"2856cc5c1fa9d7d4730ddfbf13a5c0e138674fd5b04f973b203df3b87d64c305"}},{"ruleId":"D11","level":"error","message":{"text":"Test suite declares a test script but contains no test files: benchmarks/pm/fixtures/workspace-descript/packages/ui-core/: The vitest suite in benchmarks/pm/fixtures/workspace-descript/packages/ui-core/ was installed and launched successfully, and the runner then found no test files to run \u2014 include: **/*.{test,spec}.?(c|m)[jt]s?(x). The package declares a test script, so it reads as a tested package to anyone who checks its manifest, but there is nothing behind the declaration: no test case exists, so it cannot detect a regression and its presence overstates how much of this repository is tested. The ask is the owner\u0027s: write the first test for this package, or remove the test script from a package that has none. This is not a report that the tests FAIL \u2014 there are none."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0671e6ae89aafbc1cb188b738d9c3e9ee08ccd1a830f8f5664642b81d54a3f81"}},{"ruleId":"D11","level":"error","message":{"text":"Test suite declares a test script but contains no test files: benchmarks/pm/fixtures/workspace-descript/packages/ui-widgets/: The vitest suite in benchmarks/pm/fixtures/workspace-descript/packages/ui-widgets/ was installed and launched successfully, and the runner then found no test files to run \u2014 include: **/*.{test,spec}.?(c|m)[jt]s?(x). The package declares a test script, so it reads as a tested package to anyone who checks its manifest, but there is nothing behind the declaration: no test case exists, so it cannot detect a regression and its presence overstates how much of this repository is tested. The ask is the owner\u0027s: write the first test for this package, or remove the test script from a package that has none. This is not a report that the tests FAIL \u2014 there are none."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1254e9e826b22f6237b4570a5fc0abfd41de2c2e49c82d68e314c138532ce035"}},{"ruleId":"D11","level":"error","message":{"text":"Test suite declares a test script but contains no test files: benchmarks/pm/fixtures/workspace-descript-b/packages/service/: The vitest suite in benchmarks/pm/fixtures/workspace-descript-b/packages/service/ was installed and launched successfully, and the runner then found no test files to run \u2014 include: **/*.{test,spec}.?(c|m)[jt]s?(x). The package declares a test script, so it reads as a tested package to anyone who checks its manifest, but there is nothing behind the declaration: no test case exists, so it cannot detect a regression and its presence overstates how much of this repository is tested. The ask is the owner\u0027s: write the first test for this package, or remove the test script from a package that has none. This is not a report that the tests FAIL \u2014 there are none."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a4b9a80194c0561adb40c6bf4da59f1acca2c39d7b46304cd587f32015f1e08c"}},{"ruleId":"D11","level":"error","message":{"text":"Test suite declares a test script but contains no test files: benchmarks/pm/fixtures/workspace-descript-b/packages/tooling/: The vitest suite in benchmarks/pm/fixtures/workspace-descript-b/packages/tooling/ was installed and launched successfully, and the runner then found no test files to run \u2014 include: **/*.{test,spec}.?(c|m)[jt]s?(x). The package declares a test script, so it reads as a tested package to anyone who checks its manifest, but there is nothing behind the declaration: no test case exists, so it cannot detect a regression and its presence overstates how much of this repository is tested. The ask is the owner\u0027s: write the first test for this package, or remove the test script from a package that has none. This is not a report that the tests FAIL \u2014 there are none."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"19cb17c239520894529102bd993b200f6ced32622802d541a28d9f47484b1480"}},{"ruleId":"D11","level":"error","message":{"text":"Test suite declares a test script but contains no test files: benchmarks/pm/fixtures/workspace-descript-b/packages/ui-core/: The vitest suite in benchmarks/pm/fixtures/workspace-descript-b/packages/ui-core/ was installed and launched successfully, and the runner then found no test files to run \u2014 include: **/*.{test,spec}.?(c|m)[jt]s?(x). The package declares a test script, so it reads as a tested package to anyone who checks its manifest, but there is nothing behind the declaration: no test case exists, so it cannot detect a regression and its presence overstates how much of this repository is tested. The ask is the owner\u0027s: write the first test for this package, or remove the test script from a package that has none. This is not a report that the tests FAIL \u2014 there are none."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c37900f1d7f40da0197f97e48355af165e5c6f7e9d73f2ab938ce98381d38ab1"}},{"ruleId":"D11","level":"error","message":{"text":"Test suite declares a test script but contains no test files: benchmarks/pm/fixtures/workspace-descript-b/packages/ui-widgets/: The vitest suite in benchmarks/pm/fixtures/workspace-descript-b/packages/ui-widgets/ was installed and launched successfully, and the runner then found no test files to run \u2014 include: **/*.{test,spec}.?(c|m)[jt]s?(x). The package declares a test script, so it reads as a tested package to anyone who checks its manifest, but there is nothing behind the declaration: no test case exists, so it cannot detect a regression and its presence overstates how much of this repository is tested. The ask is the owner\u0027s: write the first test for this package, or remove the test script from a package that has none. This is not a report that the tests FAIL \u2014 there are none."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"96424da864d5ab5add1131ae4dcf12eaaf610d1ae1d1f780da9290f02c63ef9d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/nub-cli/src/cli.rs: crates/nub-cli/src/cli.rs changed 64 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 77 in nub_cli::cli::run_nub at line 2175. 3 of those changes were fix/bug commits, and the other 61 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 18:54:51 -08:00\u0027 --until=\u00272026-11-12 18:54:51 -08:00\u0027 --full-history --no-merges -- crates/nub-cli/src/cli.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":"crates/nub-cli/src/cli.rs"},"region":{"startLine":2175}}}],"partialFingerprints":{"codehealthFindingId/v1":"203ad059418d325bca5615bb22a4764c45bfb0fbef380a18726de361068a77a5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/nub-core/src/node/spawn.rs: crates/nub-core/src/node/spawn.rs changed 27 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 55 in nub_core::node::spawn::spawn_node at line 828. 1 of those changes was a fix/bug commit, and the other 26 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 18:54:51 -08:00\u0027 --until=\u00272026-11-12 18:54:51 -08:00\u0027 --full-history --no-merges -- crates/nub-core/src/node/spawn.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":"crates/nub-core/src/node/spawn.rs"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"f20d6adda04e7fd85da993467c9f3901c97e55979ce3308f78228e47b77b8875"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/nub-cli/src/compile/mod.rs: crates/nub-cli/src/compile/mod.rs changed 31 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 46 in nub_cli::compile::run at line 114. 2 of those changes were fix/bug commits, and the other 29 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 18:54:51 -08:00\u0027 --until=\u00272026-11-12 18:54:51 -08:00\u0027 --full-history --no-merges -- crates/nub-cli/src/compile/mod.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":"crates/nub-cli/src/compile/mod.rs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d2254b2eef63a0edc5ae248c81f3471d5932ed4b15936d307bc205e55fbe3df"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: runtime/polyfills.cjs: runtime/polyfills.cjs changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 176 in polyfills.installIteratorSurface at line 465. 1 of those changes was a fix/bug commit, and the other 7 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 18:54:51 -08:00\u0027 --until=\u00272026-11-12 18:54:51 -08:00\u0027 --full-history --no-merges -- runtime/polyfills.cjs\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":"runtime/polyfills.cjs"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b7dd0f7ba533927d7ed57318349195b340455c42d5c86598d35568077facc83"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: runtime/preload-common.cjs: runtime/preload-common.cjs changed 26 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 53 in preload-common.makeHooks.loadInner at line 884. 4 of those changes were fix/bug commits, and the other 22 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 18:54:51 -08:00\u0027 --until=\u00272026-11-12 18:54:51 -08:00\u0027 --full-history --no-merges -- runtime/preload-common.cjs\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":"runtime/preload-common.cjs"},"region":{"startLine":884}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4ab4ab11b0c33427e5d3ea11226c7046d52d879ce7cd70d9a09a80a21e1316f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/nub-cli/src/compile/bundle.rs: crates/nub-cli/src/compile/bundle.rs changed 26 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in nub_cli::compile::bundle::bundle_inner at line 380. 3 of those changes were fix/bug commits, and the other 23 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 18:54:51 -08:00\u0027 --until=\u00272026-11-12 18:54:51 -08:00\u0027 --full-history --no-merges -- crates/nub-cli/src/compile/bundle.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":"crates/nub-cli/src/compile/bundle.rs"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd7aa8ea74b6beaf21630ab283a8320b8e909c7a5563df4728b2254175d61194"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/nub-launcher/src/main.rs: crates/nub-launcher/src/main.rs changed 22 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in nub_launcher::launch at line 201. 2 of those changes were fix/bug commits, and the other 20 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 18:54:51 -08:00\u0027 --until=\u00272026-11-12 18:54:51 -08:00\u0027 --full-history --no-merges -- crates/nub-launcher/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":"crates/nub-launcher/src/main.rs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eb17d78974e93b9694951ffa49d8dc872f496062788cee8c5c799b5cc7893b7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: runtime/worker-polyfill.mjs: runtime/worker-polyfill.mjs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 96 in worker-polyfill.installWorkerPolyfill at line 170. 1 of those changes was a fix/bug commit, and the other 4 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 18:54:51 -08:00\u0027 --until=\u00272026-11-12 18:54:51 -08:00\u0027 --full-history --no-merges -- runtime/worker-polyfill.mjs\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":"runtime/worker-polyfill.mjs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"42e7a702181bf5f1577ac96a47dea67eb44fa15adcb559342168928530407aa7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/nub-cli/src/pm_engine/install_family.rs: crates/nub-cli/src/pm_engine/install_family.rs changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in nub_cli::pm_engine::install_family::run_install at line 1388. 3 of those changes were fix/bug commits, and the other 13 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 18:54:51 -08:00\u0027 --until=\u00272026-11-12 18:54:51 -08:00\u0027 --full-history --no-merges -- crates/nub-cli/src/pm_engine/install_family.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":"crates/nub-cli/src/pm_engine/install_family.rs"},"region":{"startLine":1388}}}],"partialFingerprints":{"codehealthFindingId/v1":"9516a4aa6ea6a053f6aff9b0e0d14a4720eab28a12104835fd1779653b0a352c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: runtime/transform-core.mjs: runtime/transform-core.mjs changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in transform-core.resolveSpec at line 514. 1 of those changes was a fix/bug commit, and the other 12 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 18:54:51 -08:00\u0027 --until=\u00272026-11-12 18:54:51 -08:00\u0027 --full-history --no-merges -- runtime/transform-core.mjs\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":"runtime/transform-core.mjs"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ac31d967a077fffeb9abcd40e0bb7b67a7a661737abd55d58bed53ebffc23e8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: runtime/preload.cjs: runtime/preload.cjs changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in preload.installLazyEsmPolyfills at line 319. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 18:54:51 -08:00\u0027 --until=\u00272026-11-12 18:54:51 -08:00\u0027 --full-history --no-merges -- runtime/preload.cjs\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":"runtime/preload.cjs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"e86d7af1a76908697733e713cc63c347202135155ce82985cb87b443027c0c7a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: runtime/compile-sea-loader.cjs: runtime/compile-sea-loader.cjs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in compile-sea-loader.installPayloadContainer at line 159. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 18:54:51 -08:00\u0027 --until=\u00272026-11-12 18:54:51 -08:00\u0027 --full-history --no-merges -- runtime/compile-sea-loader.cjs\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":"runtime/compile-sea-loader.cjs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"348c095aaa5d82f04cabeed068a16cdda7a5bd044eff9731abc7d2f725b5788e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: tests/cross-runtime/run.mjs: tests/cross-runtime/run.mjs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 53 in main at line 670. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 18:54:51 -08:00\u0027 --until=\u00272026-11-12 18:54:51 -08:00\u0027 --full-history --no-merges -- tests/cross-runtime/run.mjs\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":"tests/cross-runtime/run.mjs"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"73ddc94e8c13259dbe5821af0f503d9f5e7c341bd88254e88eaf3f5f38ef480f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/nub-cli/src/pm_engine/use_nub.rs: crates/nub-cli/src/pm_engine/use_nub.rs changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in nub_cli::pm_engine::use_nub::apply_manifest_edits at line 622. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 18:54:51 -08:00\u0027 --until=\u00272026-11-12 18:54:51 -08:00\u0027 --full-history --no-merges -- crates/nub-cli/src/pm_engine/use_nub.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":"crates/nub-cli/src/pm_engine/use_nub.rs"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"f19576a19b806c9c4affd37fd6f521e865e8877f6eea8628cb70578f3fc7cb46"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/remote-build.ts: scripts/remote-build.ts changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in remote-build.main at line 1069. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 18:54:51 -08:00\u0027 --until=\u00272026-11-12 18:54:51 -08:00\u0027 --full-history --no-merges -- scripts/remote-build.ts\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":"scripts/remote-build.ts"},"region":{"startLine":1069}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c6b48021b310c8375e607104aa13a995cd002f35461256ffed72f1376829865"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/nub-cli/src/project_config.rs: crates/nub-cli/src/project_config.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in nub_cli::project_config::validate_root at line 1347. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 18:54:51 -08:00\u0027 --until=\u00272026-11-12 18:54:51 -08:00\u0027 --full-history --no-merges -- crates/nub-cli/src/project_config.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":"crates/nub-cli/src/project_config.rs"},"region":{"startLine":1347}}}],"partialFingerprints":{"codehealthFindingId/v1":"c505379ce87594e17a3ad59ab735a23ff457c45e7531019080697fc2dc52d487"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/nub-cli/src/compile/native.rs: crates/nub-cli/src/compile/native.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in NativeAddons::walk_closure at line 707. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 18:54:51 -08:00\u0027 --until=\u00272026-11-12 18:54:51 -08:00\u0027 --full-history --no-merges -- crates/nub-cli/src/compile/native.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":"crates/nub-cli/src/compile/native.rs"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"18e2605769dbdac93efae876a25eef9d05eac3c89ea6567ef78c28a6a731f5d9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/nub-cli/src/compile/inline.rs: crates/nub-cli/src/compile/inline.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in nub_cli::compile::inline::classify at line 328. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 18:54:51 -08:00\u0027 --until=\u00272026-11-12 18:54:51 -08:00\u0027 --full-history --no-merges -- crates/nub-cli/src/compile/inline.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":"crates/nub-cli/src/compile/inline.rs"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5cc0c9655a30a0819f67d383a19816e583da64666cb2f1b7f1451b6504ab3dd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/nub-core/src/node/runtime_cache.rs: crates/nub-core/src/node/runtime_cache.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in nub_core::node::runtime_cache::walk_windows_base_under at line 635. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 18:54:51 -08:00\u0027 --until=\u00272026-11-12 18:54:51 -08:00\u0027 --full-history --no-merges -- crates/nub-core/src/node/runtime_cache.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":"crates/nub-core/src/node/runtime_cache.rs"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1791b58243324e9bc612c16c2e8067df23aa5458bb1dacd5d4eb224d936adb5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/nub-cli/src/pm_engine/store_config_family.rs: crates/nub-cli/src/pm_engine/store_config_family.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in nub_cli::pm_engine::store_config_family::dispatch_config at line 652. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 18:54:51 -08:00\u0027 --until=\u00272026-11-12 18:54:51 -08:00\u0027 --full-history --no-merges -- crates/nub-cli/src/pm_engine/store_config_family.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":"crates/nub-cli/src/pm_engine/store_config_family.rs"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"1824b08eb44f5bcecba34432dc4ea4199dd76675338c609226464a4e07a05b43"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/nub-tsconfig/src/lib.rs: crates/nub-tsconfig/src/lib.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in nub_tsconfig::inner_parse at line 663. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 18:54:51 -08:00\u0027 --until=\u00272026-11-12 18:54:51 -08:00\u0027 --full-history --no-merges -- crates/nub-tsconfig/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":"crates/nub-tsconfig/src/lib.rs"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"489d22b5ad07b21cb48de1de5ed5be7f99f77f9616c4469e6a45b123a746b8ca"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/mac-build.ts: scripts/mac-build.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in mac-build.main at line 121. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 18:54:51 -08:00\u0027 --until=\u00272026-11-12 18:54:51 -08:00\u0027 --full-history --no-merges -- scripts/mac-build.ts\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":"scripts/mac-build.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"d89f81a8a18dae44d52ff37357e8f3e7c6dd1562980f7957a963046bfc73b08a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: runtime/loader-entry.mjs: runtime/loader-entry.mjs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in loader-entry.arm at line 124. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 18:54:51 -08:00\u0027 --until=\u00272026-11-12 18:54:51 -08:00\u0027 --full-history --no-merges -- runtime/loader-entry.mjs\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":"runtime/loader-entry.mjs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f5bc4c01bbd0c25f4c26c8d6fe82334e2e94a512f4e3eb8c79d385d927f3b6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/release-notify.ts: scripts/release-notify.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in release-notify.main at line 184. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 18:54:51 -08:00\u0027 --until=\u00272026-11-12 18:54:51 -08:00\u0027 --full-history --no-merges -- scripts/release-notify.ts\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":"scripts/release-notify.ts"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e7d3f5791b280c44e6ac506c07cbf41812f824c9946efac95692dca9ff75c6c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: npm/nub/postinstall.js: npm/nub/postinstall.js changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in postinstall.refreshShimsIn at line 120. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 18:54:51 -08:00\u0027 --until=\u00272026-11-12 18:54:51 -08:00\u0027 --full-history --no-merges -- npm/nub/postinstall.js\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":"npm/nub/postinstall.js"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"68b90ef3591397ab078626d1cbfaf76eb36c8df80583f80be656a138a3c95c9c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/soak/external-tools.mts: scripts/soak/external-tools.mts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in external-tools.checkPins at line 118. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 18:54:51 -08:00\u0027 --until=\u00272026-11-12 18:54:51 -08:00\u0027 --full-history --no-merges -- scripts/soak/external-tools.mts\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":"scripts/soak/external-tools.mts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b23efe0acfee2f210a14624bf6db82533a84e3833f22af91caa908968aeeb79"}},{"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 \u0060crates/nub-phantom-scan/src/bin/scan-verdicts.rs\u0060 makes this repository a deployable product (line 1)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-phantom-scan/src/bin/scan-verdicts.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"98202c1e47ceb017a2d51fd0b3debda9943a9f3d66d441ba1aa8ba5350a9a5a9"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Test if a string (actual) matches a regexp (expected)\u0022 repeats the code it sits on: 5 of its 6 words (test, actual, matches, regexp, expected) are already in \u0060assert(expected.test(actual),\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/worker-wpt/wpt/resources/testharness.js"},"region":{"startLine":2022}}}],"partialFingerprints":{"codehealthFindingId/v1":"92dcba5da78660df0cdfe8eff59df0783a7a633eba958024f0f27622cbd504be"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Make a promise that resolves when the lock is acquired.\u0022 repeats the code it sits on: 4 of its 5 words (make, promise, resolves, acquired) are already in \u0060const [acquired_promise, acquired_func] = makePromiseAndResolveFunc();\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/worker-wpt/wpt/web-locks/signal.https.any.js"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"594bbd1080c7fe28beb71590491ba994f9cbde0fd82c83cca8a76c62561af10c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Make a promise that resolves when the lock is acquired.\u0022 repeats the code it sits on: 4 of its 5 words (make, promise, resolves, acquired) are already in \u0060const [acquired_promise, acquired_func] = makePromiseAndResolveFunc();\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/worker-wpt/wpt/web-locks/signal.https.any.js"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0981a52fe5ecd67f430a880a6257d1edde238dba3a6d998e837063b5d59fa4f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022pnpm-workspace.yaml for pnpm \u2014 identical globs.\u0022 repeats the code it sits on: 4 of its 5 words (pnpm, workspace, yaml, globs) are already in \u0060writeFileSync(\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/workspace-filter/make-fixtures.mjs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"873438747771383216a7a77c73277016791f8a35af86cc151cbc6e46fb41a20d"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 3 of 16 project(s) overshoot their size bounds, lowering Project Cohesion to 6.3/10. The most over is \u0060crates/nub-cli\u0060 (81868 LoC, 146 module-visible types across 4 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":"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":"f73466023cbef6b93bfe6c0698c7a9733ca078403193617ade2e50b7b3aa2abc"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2f1411cc3e6504e77a62c977ed3fdbc94030cac95c57bbfa27494dcdec59ef03"},"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":"7b83db4ea144132d5b82d1e4ba6c0150eb82d7ba1f623c4734d02c76c16a56d2"},"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":"f209e6e27f4a2efaa3f39e627afc1c26da691294c896310389704b1c649c5ed3"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"850617c4a22d9e461879ff10b629919300cc00e963ff9394d479c9f99fe1f91d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b3b4ccac03178b3bd9cb95c1d16777c1933f944a6a7c5bbc30b3517c174e2550"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"60f347aa4c8e832d9c97a23241a938fabae77f815b43ccc5d1da32c5619c1b08"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4b4e467d6ffecaec3536cd676fe32aed7ce146a607439dd01ad0769873f7369d"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d390f5eed84f07ce918bdecadb27e67a8ac4fc15dbde853816a64c8a1908dda2"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f9b7b5aea7a859b29ce1d9a6e49f1442cf7ce948f3f38efd7812d4f48b024f32"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"23b2965b78530cfc8fff0d45a64bcb3b28c39fa3e8130ddc14d93ea27237d8c4"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"289de59c49dbade2773b8487e6686f753ae914e7189cff9063e647eaa3e0afb3"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ed3c4ef10e0940c1d862ef27b3d4e7b64d54f5fcb10a829b7922c52aa9686eb6"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f6216938ec6898edd3ff4b7a8ad99172b9f58c1dd0bfa631db85cbf6cca460a5"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fc7902e1f56d674c5b3bf262e67d87e7c10b11de4ebb298e4004671bda29b32c"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d6c6caae798cf61efd764303da503f7e9c6f5e88116aa29fa84ae48484161ebe"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d7691413be6f1a5e16102723e9260219a4464b1477ff1ccc62b19e503f1a609a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"607acaef5bc83e3edca748f67c8dea1d054de6240690149e1b66664e9612a369"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1a26fe72fcba0250e41d0f37a886009c786b8707c63031f0a575accdb4e85dcb"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"17f54fb2cbcb3a3ac79db6ee63e1de2d72883c1f15bc6adcd1384335d0b9f95e"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fd34071f0a37397b22950926e6e7d533f19a1ab2e35c80a3ec230eef7195ce4c"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"78f59b3aee4c1c119f8b11ddaa723a0ee28711cbb5caf84705633e4526d8f23e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4fb23ad95240b0f5fd30b626d971dcf126fc91ed63511d89fc8c9ff286396b7a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b643a3fd42dea45db11a6055661c66494d4e3cab574382ce6bc0dc08966d8f85"},"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":"d39e2f13fe0f43d114e70eafa51dca6dd6b2df336ab311a1cc7a2a375485df63"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9b48acbc5d1c5431f160a6fe55dca9bfb0231baa0b4650bd7b52390c612db666"},"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":"3f89c04d3de82346e539ed6f361c3137b2f8ea925392321c8a1a860449ba3909"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9c20a721e59dbab1d44d8eed0e53974f70ba79e4358f23dbe5a018f4815de308"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4f656050b41013c3f9ca21888c808b772991857d93da0dbf9a8d8b7af4154160"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8547afa4093f54bc8d506970e6fc3436931fbbc907db1be988fc28c1f29324d5"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"151dfd143e00a21d3b19df727d4a4aa8f793fa69243fd262fe547dc46c641207"},"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":"7b10ce997ae2ee6f3b4ec4bda2a99485d57486898ffe04888cf07e9fcd24a09a"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"016d8bed92d1ec9e8aa700577b1e5a623a71d32324f230eae3707604eae61787"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1d74b5087d918105796036f6abfea4a7cf46fbcaf987c4b37934048f24c70aa5"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"79cd262911733eedf3363058286f3fb61c3ef5993f6593bc7d3c49065305b9ec"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ba19283b4187a3dd3b717e09875486be63b0bf7c416932b1bbbc7b169c4aedeb"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1f59c7fd61a97704769f867230238ac3d93b07479e6c894fb85fd63405640c29"},"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":"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":"a568b41fc0fdf376fc7eed03c9e6f18c4709724efb8b4c40db489bb6db9143e9"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a10ca8862633642b72a93f08ad4ff83f40a5d04c8bb1d4729fd04449531eed82"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d72aee849539ea4cfa335cbb2efb05790c5bc2283e138a960cdb0e938a6a86e6"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"30f7cf3b4cb1b2533f914a4feb6b7623b4a112a8cef6d894d6f6516f6d7451e2"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"b5786b28c5187b57834cb3e432176c1c314dd124727f9a87eb3dee0060ac48e5"},"taxa":[{"id":"CWE-862","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":"5700cf8ee182fc440abb16030061d2e9976929eb60c880096208a514bc453b10"},"properties":{"dependency":{"package":"zip","version":"8.6.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0367","RUSTSEC-2026-0368","RUSTSEC-2026-0369","RUSTSEC-2026-0429"],"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":"668227f892797b2737120a290306295041e41c7687385a65c36f70a1788d799b"},"properties":{"dependency":{"package":"zip","version":"8.6.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0367","RUSTSEC-2026-0368","RUSTSEC-2026-0369","RUSTSEC-2026-0429"],"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":"b5308f9ed219ff7d361ed2b01ab7b5fa7a33b0013fcd35575e7068ccda1d2997"},"properties":{"dependency":{"package":"quinn-proto","version":"0.11.14","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0185","RUSTSEC-2026-0338","RUSTSEC-2026-0339","RUSTSEC-2026-0340","RUSTSEC-2026-0342","RUSTSEC-2026-0523","RUSTSEC-2026-0524"],"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":"5054b5ef6ca88a19b2a4fa2689cbae2481aef2a2d7596f87501f3e8c2e3f051d"},"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":"43ff810483687342e2c96fca98674836edeb5f03adf689075936a5a034926a02"},"properties":{"dependency":{"package":"nanoid","version":"3.3.12","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":"8e1e96462cd8bbbc0fccc1885981ac4d377506dbccc8a415ed5bd3bdc14dfc0b"},"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":"5698eb9cc6777ace6eec887073da451069e39dac881bcf1bca9461e59480aaf0"},"properties":{"dependency":{"package":"source-map-js","version":"1.2.1","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":"4bc1380f53cc842b12cf2edd543df2e98cfe9aa91585d8d091b56c7561c844f9"},"properties":{"dependency":{"package":"zod","version":"4.4.3","advisory":"[GHSA redacted]","aliases":["[CVE 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":"ca383df8f93c1fcb449201c7c47b9fc487e55acf31a9bb60212d29fe36dde189"},"properties":{"dependency":{"package":"block-buffer","version":"0.12.0","advisory":"[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":"c4a0c58aca13bc848c37d4c3d5bcb90f8e046f8df5b386f5a3743d0625ad8dae"},"properties":{"dependency":{"package":"crossbeam-epoch","version":"0.9.18","advisory":"RUSTSEC-2026-0204","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":"80b5c22beae306eb623d7a60ec13361ab89285e1cc30fcf5b8daa2e87ffb5c69"},"properties":{"dependency":{"package":"h2","version":"0.4.14","advisory":"RUSTSEC-2026-0258","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":"bf9b3890cba73cd3c5d5270d1976bd1bae94596a1c510482b94fe9367ef871f2"},"properties":{"dependency":{"package":"memmap2","version":"0.9.10","advisory":"RUSTSEC-2026-0186","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.14","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":"724dc287344d7132b72d1f16bb1fc253c8392cf978fd4bf6d454481b72775b59"},"properties":{"dependency":{"package":"rkyv","version":"0.8.16","advisory":"RUSTSEC-2026-0233","aliases":["RUSTSEC-2026-0234","RUSTSEC-2026-0235"],"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.4","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":"d7481fb93c86b503a82a3e06a3172c7e27c5da26b8a178702a1e8028944c7596"},"properties":{"dependency":{"package":"rustls","version":"0.23.40","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0285","RUSTSEC-2026-0346","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.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.52.3","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":"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.2.4","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.2.4","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.2.4","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.2.4","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.2.4","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.2.4","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.2.4","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.2.4","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.2.4","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.2.4","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.2.4","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.0.16\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":"81390409b91e96ba7388d17319f6e8a57fbeb08d64af41209d734fd8a141f20d"},"properties":{"dependency":{"package":"quinn-proto","version":"0.11.16","advisory":"RUSTSEC-2026-0338","aliases":["[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0339","RUSTSEC-2026-0340","RUSTSEC-2026-0341","RUSTSEC-2026-0342","RUSTSEC-2026-0523","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":"d203e6e2befee0eb790ed34cd2073f29b01de50ff0d306652148464c3660734e"},"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":"e1c4d8a7dc21f0ddfad72d37f6612eeaa1f1fc7263240220ce556ad0e2b69ae4"},"properties":{"dependency":{"package":"rustix","version":"1.1.4","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":"71595bb2ef0d283804803ccfed6de8fddb2cee1677d36f576f7c11ccb6738dea"},"properties":{"dependency":{"package":"rustls","version":"0.23.42","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0285","RUSTSEC-2026-0346","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":"0efe05ae422197b223bc88045aebceb3cf1dad9418b9e4f1f15750a8c4fb10eb"},"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":"f82b9f53aff8379226acd116f50809de7087acb05cb7d693ec0a06c092f6cee0"},"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":"9454aa32010e7201a0ed8ddceb78c222e7bb5bdaeaa31631d3e64e2fae753a57"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","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":"e7b5b47422b10c1c360d49bcd525e820cd16633486e0336b52e030cdecc96ad6"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","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":"59a27187bc34c493e20509bacb7fb7bc0f1815590e659d9db4712cd881806db3"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","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":"cefd29c6d7fc57c433f6b702833a08e17c81a58bacc9d4ef43c43d23775cc062"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","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":"56b9b6ac16515da96d6eedf4cb6c2d1711d78e353da29e45fdc3c667635c78e0"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","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":"fcaf672114f9009c7acfbc21355d310a0db2a60ab9a750351d4b53586e387e3e"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","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":"c3bdffc9bdbb6bfc04f1afecb9256cb469a99e3a93458c8ecde5799fc5aa6c66"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","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":"fd6215169d9adb84d32cb4263cd561a201f4459d317660b7258678b7304d7142"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","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":"d1ae91bc8d9e68451c362f46f2c012bb9593196e4cdf75ccf36e7fee391adaad"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","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":"48a869e1cf0604a7b5714a2ff601364d0763a57eea75e532407b544388e17d3f"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","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":"cf2569685b0d9dbf117f47dc7b44f087cca80b3db6dcf75ec7fdbbd8009ecc5b"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","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":"675be1b973fd74a14d710613cb45a23225ab77ccc328cd207b3ffd41fee4d837"},"properties":{"dependency":{"package":"zstd-sys","version":"2.0.16\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":"ef5ea7de09044579523cfaef0aa11dd3c14ebdf45624db38881a280584fccacb"},"properties":{"dependency":{"package":"tokio","version":"1.52.3","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":"4242b11c67d269937669a70c1aa4dfa805c7cc365b540e9d6d577d1ca076018a"},"properties":{"dependency":{"package":"quinn-proto","version":"0.11.15","advisory":"RUSTSEC-2026-0338","aliases":["[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0339","RUSTSEC-2026-0340","RUSTSEC-2026-0341","RUSTSEC-2026-0342","RUSTSEC-2026-0523","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":"3354140b88cf3730816ce27a3993a222c2ff112df2681c9de65e0efad974cf16"},"properties":{"dependency":{"package":"quinn-udp","version":"0.5.14","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":"7d610f1f980c9f37dc78b88661d97f9024bd9b705df21ded120fd59ef76ee007"},"properties":{"dependency":{"package":"rustix","version":"1.1.4","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":"d1b5303247de93e019580477a67a926871f08b2bcdcc5ecd11e47ddf2488dde0"},"properties":{"dependency":{"package":"rustls","version":"0.23.41","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0285","RUSTSEC-2026-0346","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":"01031437248e578bde5809cbece7a4ad9ed47e96e4a11da6994b13d3f683aeec"},"properties":{"dependency":{"package":"tokio","version":"1.52.3","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":"82e97f89a125d6c5802f129030710ad03750ddaabe1aa4bdf0fbe67f611f5cc0"},"properties":{"dependency":{"package":"baseline-browser-mapping","version":"2.10.33","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":"9bec0e934e5311be046ecb09a13e7ad2d10b5b0da50b1471b3976abaf9e4914c"},"properties":{"dependency":{"package":"esbuild","version":"0.28.0","advisory":"[GHSA 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":"c03eb5b7ca06956ec19af4574cb32ff1fa36bd7c0ac876af6ed3be58ad03f831"}},{"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":"dec655e012bcd5574c43ed28bbe7b014c74af4fbe8ec72c35b6a7cc6c16500ca"},"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":"16c0f718274c094a40a3ce2ba1a996e9cce018339f13602228f74d5cbeb37a46"}},{"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":"75bb269a05b54eb2675618811862e0d9d7100164d5fb7b94be94a0c8a536eab2"},"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":"575e5c4a61d4de88de2534bae42dc625caae185c020b8b5a89e8d664597d6290"},"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":"89be6c738559b585d8e238e5eebdd26c3f6b47710843fd4558aec36915fe1523"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"735d4eb63c10b1da57d6f4caeb8c7b82e1c4b1f2e8b06cdc17aedbdf571e6ad0"},"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":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d657599f6f99da1927d3377533dfc0888b34c4d84aa7d5579841fd72d0e39bce"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: npm/nub-types/README.md names TypeScript 6, but the manifest declares \u0060typescript\u0060 ^5.3.3. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"npm/nub-types/README.md"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"c91d33b9a8d185bab4db4ad220000d3af7b09af86d2ef9ae7d58abef9119b9c0"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: tests/compile-corpus/README.md names Node.js 24, but the repository declares engines \u0060\u003E=22.15.0\u0060, engines \u0060\u003E=18.19.0\u0060, engines \u0060\u003E=18.19.0\u0060, engines \u0060\u003E=18\u0060, engines \u0060\u003E=18\u0060, engines \u0060\u003E=18\u0060, engines \u0060\u003E=18\u0060, engines \u0060\u003E=14\u0060, pinned 22. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/compile-corpus/README.md"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"2964f3dc3f3d3dd938998ac040ae38775dd04fc278b943ecaba610f3d155c27b"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: tests/bench/runtime/README.md names Fastify 5, but the manifest declares \u0060fastify\u0060 ^4.28.1. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/bench/runtime/README.md"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3c724f23d7aca387415131fbab8f322acb9ffade4dc4af4ebc048ac61de7bb1"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: site/content/docs/runtime/loaders.mdx names TypeScript 7, but the manifest declares \u0060typescript\u0060 ^5.3.3. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"site/content/docs/runtime/loaders.mdx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdfd7c9dba5d1fe5fda16b542405246d0afb96af3aa1c0694cd5283d5719ab4d"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: site/content/docs/runtime/modern-apis.mdx names Node.js 24, but the repository declares engines \u0060\u003E=22.15.0\u0060, engines \u0060\u003E=18.19.0\u0060, engines \u0060\u003E=18.19.0\u0060, engines \u0060\u003E=18\u0060, engines \u0060\u003E=18\u0060, engines \u0060\u003E=18\u0060, engines \u0060\u003E=18\u0060, engines \u0060\u003E=14\u0060, pinned 22. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"site/content/docs/runtime/modern-apis.mdx"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"38bb3dcc081a66072b5a349c6633f62ef09853dce22d942f2071eb3c843b6eca"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: site/content/docs/runtime/modern-apis.mdx names Node.js 26, but the repository declares engines \u0060\u003E=22.15.0\u0060, engines \u0060\u003E=18.19.0\u0060, engines \u0060\u003E=18.19.0\u0060, engines \u0060\u003E=18\u0060, engines \u0060\u003E=18\u0060, engines \u0060\u003E=18\u0060, engines \u0060\u003E=18\u0060, engines \u0060\u003E=14\u0060, pinned 22. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"site/content/docs/runtime/modern-apis.mdx"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4d42dbd119023ff45272ec637b3dd9d5f0ce0603c57f1b046e0eab956072c1d"}},{"ruleId":"P12","level":"warning","message":{"text":"Coverage collected but not gated: CI collects a coverage report but no step enforces a minimum \u2014 coverage could halve and CI stays green. Add a step that fails the build when coverage drops below a floor (your coverage tool\u0027s minimum-threshold flag, or a coverage-gate action) so the number guards something. What was searched, so you can tell an absence from a miss: this repository\u0027s CI files AND its coverage configuration \u2014 the well-known coverage and test-runner config files, read at the repository root and inside workspace package directories two levels down, so a floor declared beside the tests rather than in the pipeline is credited \u2014 matched against the threshold settings this check knows by name. A floor set in your coverage service\u0027s web UI rather than in a committed file, or under a setting whose name is not one of those, is not seen here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7f63c06044cf998d9a0698692df30d8873e29bc9b0c98ee829255017c1193d33"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 2/9 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060.\u0060, \u0060crates/nub-alias\u0060, \u0060crates/nub-launcher\u0060, \u0060crates/nub-phantom\u0060, \u0060crates/nub-phantom-scan\u0060 and 2 more."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P4","level":"note","message":{"text":"No rollback/health safety: Deployment automation exists but no readiness/liveness probes, rolling-update strategy, lifecycle hooks or migration job were evidenced \u2014 a bad release is harder to detect and reverse."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"db6bab8a28a2145f47e5a4e6683cda39d2ba0296c723238e8057da979ae1c706"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060got (\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/preload-common.cjs"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2fbd301a5bdc97f7b49db589b9056869d87354969919938779b4025aab2b8fa"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060mkdirSync\u0060 in \u0060main\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/mac-build.ts"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"875803ea08fbeaa40fca6f757e672d05e7753fce1de8f662b0c57ca12695eca1"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060mkdtempSync\u0060 in \u0060main\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/mac-build.ts"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"74cd10f0a0cd7b3b2961c95ee0541d3f77de869b1454d0e73412383110f041ae"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060main\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/mac-build.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"47e6ca0dbc9eeaaf166de5b6bc1a00e573f69c2677a381aa03a8a3d7f35bb8e3"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060rmSync\u0060 in \u0060main\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/mac-build.ts"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d3b52b9e3c7d68fc70cf3a04bfb991c545884688a72ee6c409e7a0ba115ad5f"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readdirSync\u0060 in \u0060main\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/mac-build.ts"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"b47764baa483b6f7a2acda520aaa2b552bbf1785dd3d13340cb197a29568903c"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060renameSync\u0060 in \u0060main\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/mac-build.ts"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6f17a3352e642a5acb56e8c35d7614b7b404ea41966cbc68565c9e332f992cd"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060rmSync\u0060 in \u0060main\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/mac-build.ts"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"de85d589987e02453f6791bce704979ae1a01c14dda70410ba24de7bd7230f7c"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060main\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/mac-build.ts"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"c887f3d5c4c06c7eb4d9f485cbd54af28d66ccccfb5cb6d375be9318f5a02d72"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060mkdirSync\u0060 in \u0060main\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/mac-build.ts"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"82ac51908480556f254d3c35f2e01364c12fedd7ced049f88648503eb4788c3e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060rmSync\u0060 in \u0060main\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/mac-build.ts"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c94231c71cf0bfe60802c88e8967b825c0a8cf98b3d22a22eeae8e5ee5486c8"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060copyFileSync\u0060 in \u0060main\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/mac-build.ts"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c97e880d8d6f63f49af65447ebf6f68546bf3ca9e63df05636989e30c0e313"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060execFileSync\u0060 in \u0060main\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/merge-cascade.ts"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"99430189815eb03cc554eef980b93532964c5b61672de55794739d81ce194e3d"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readFileSync\u0060 in \u0060createInstance\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/remote-build.ts"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5ceffeb8f161961a47738b4f4acaaee014fd9409656eb0ebec1a4fa4feea0e5"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060attachToJob\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/remote-build.ts"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4ec484f32542b650a8134ea1d45e66c4df1d35d5ae5c76d29a62ed116e73d75"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060attachToJob\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/remote-build.ts"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"49e572680e7fe4872752b41949ef23c194bafe9c2586dd0f1d358c0c231a7338"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readFileSync\u0060 in \u0060attachToJob\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/remote-build.ts"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ad7acd3dfe5ee5933f5f3713569b2c29715f7eafb9a321f7f30932f144a28ad"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060writeFileSync\u0060 in \u0060drain\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/remote-build.ts"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"13cfdceb4383b16c9afaf0a4aeee9fc442d5e93c8a9b0e6180ad5707fdbefb0d"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060rmSync\u0060 in \u0060attachToJob\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/remote-build.ts"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f42ed5a9dc5ed7742f59ad51d430e11773e16a7cd916398f19c9eb409bfe6a0"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060reap\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/remote-build.ts"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f190b41c3ab9934a9a0942a0e974df0e428208b16db7a7eb7d8d5106558b7c2"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060statSync\u0060 in \u0060readdirSync\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/remote-build.ts"},"region":{"startLine":926}}}],"partialFingerprints":{"codehealthFindingId/v1":"467795b86d9468b52cabd0a34669b8d3fa753765a3f1b4479d71ed560f281154"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060main\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/remote-build.ts"},"region":{"startLine":1076}}}],"partialFingerprints":{"codehealthFindingId/v1":"7acfb796417c214cface9840a1551956ccf9191cb7b0537ceddb84d5421a5893"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readFileSync\u0060 in \u0060main\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/remote-build.ts"},"region":{"startLine":1080}}}],"partialFingerprints":{"codehealthFindingId/v1":"34103ec61d652ccf18c56f14f2a56f16acbbea2533978a3ffb5c0db606e4d0c4"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060installAssetTool\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/soak/external-tools.mts"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"7905e63500511c3a4e6887fb036e54fa32a6c2c3614fe4b83fcb07b018576229"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060installAssetTool\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/soak/external-tools.mts"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"991b378f7493b017ccca799dfd1d7003edd59079427b485c19ece9f9169c5d36"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060mkdirSync\u0060 in \u0060installAssetTool\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/soak/external-tools.mts"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8db20ee532f5c4843e1d9959772955e2b4e53f3e93ba4eee59050926c14a799"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060rmSync\u0060 in \u0060installAssetTool\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/soak/external-tools.mts"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"376e488d8d7998da5f2236be33ae45212af3cc49500df375d93b5900d9ff1da9"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060installAssetTool\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/soak/external-tools.mts"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"56ece500d66d79852b39dc1cd66ebbb4ded72688f105680c4176724af95d5f5e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060installAssetTool\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/soak/external-tools.mts"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e0438c5e6d0391b02e5af5ac1cd2640fe77649466ea722c9953d71bf7f841d2"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060rmSync\u0060 in \u0060installAssetTool\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/soak/external-tools.mts"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"157184b507715260c05121932b28c8b64a00c7894b8ad8fb4496e2160220242f"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060writeFileSync\u0060 in \u0060installAssetTool\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/soak/external-tools.mts"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"daa580e3e990b12cfc732a192daddd79afc8bb5ac4de70f91491c5353583981e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060chmodSync\u0060 in \u0060installAssetTool\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/soak/external-tools.mts"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebd84c4b2c537378cba8be61d10107e5afa6fbd094bc3442a42bedf28042a506"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060installNpmTarball\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/soak/external-tools.mts"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"0488333deb390f6a98bc756a6016772376712573428d9cf9665de30e3c4371dd"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060rmSync\u0060 in \u0060installNpmTarball\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/soak/external-tools.mts"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbf757bed15f96fc45b59311ac8c5a2f24211b8d9412e4a32ada23b184f28f02"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060mkdirSync\u0060 in \u0060installNpmTarball\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/soak/external-tools.mts"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"32a765b3ae18bba3c260d8b09818c736e5f55f1ba77f0942be8fc74be86d6138"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readFileSync\u0060 in \u0060installNpmTarball\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/soak/external-tools.mts"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"b410c35a1fffbf9207d80ccd624f2a55f9f29a157991677b47b5eeef7c05b590"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060installNpmTarball\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/soak/external-tools.mts"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d012cbaa265af96b8742060384a9c9eebaf0de7f747b2433f91087d88d6afe0"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060rmSync\u0060 in \u0060installNpmTarball\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/soak/external-tools.mts"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a54223d649dc589f9fe9189d510c0bae2b4ea0ba9b3d6054cf7703e5da03899"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060writeFileSync\u0060 in \u0060installNpmTarball\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/soak/external-tools.mts"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"c41262d21c0602bacd7e6f6095829655aedd22e75fbc4b1a385b4677137e3d13"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060chmodSync\u0060 in \u0060installNpmTarball\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/soak/external-tools.mts"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"66e8590213898251cda0c2bc95e394618ca553d547c62b3536a06614b83a0467"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readFileSync\u0060 in \u0060main\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/soak/external-tools.mts"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"dec34ce812d9ced52333fa3ab69d0121a74eb7ec86ed9d157887d3af8f74cbee"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060writeFileSync\u0060 in \u0060main\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/soak/external-tools.mts"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"639add910b84baa8c7591ddefa07cefc973b525cc689bd793df4113435013cd7"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060main\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/soak/external-tools.mts"},"region":{"startLine":699}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7416720b0081fc1d157a5f1cef41612019485e37c4b805d220c19399e162767"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readFileSync\u0060 in \u0060main\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/soak/external-tools.mts"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf7cdb43d6e975e03b6d1359455909a11ecc9356bfa853adb6d7a1b3c473e346"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060main\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/soak/external-tools.mts"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdb3aaef44e1858f68691360572cb637ae196b2e70bd3706e57e1a20f337ced0"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readFileSync\u0060 in \u0060main\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/soak/external-tools.mts"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"9101c4c096cf7a44ed9cc7b088ca37d6e6fd7955726a3de84d0ec98192adebdb"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readFileSync\u0060 in \u0060main\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/soak/external-tools.mts"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"a259b81c7d3c2334b474ff7442a8c29123990edb53a59c91ed3cb41ed3972454"}},{"ruleId":"R1","level":"warning","message":{"text":"Type Safety: 10 typed \u00B7 163 plain JS \u2014 the untyped files are crates/nub-cli/src/compile/code_cache.test.cjs, crates/nub-cli/src/compile/code_cache_generate.cjs, crates/nub-cli/src/compile/code_cache_install.cjs, npm/nub-types/test/run.mjs, npm/nub/platform.js, npm/nub/postinstall.js (\u002B157 more)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d00ee7953f55325a823d27e5db9657c80ca9b9861c0c0abf8fe487cd3fa586d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (84 matched lines \u00D7 2 locations): runtime/util/debounce.cjs:66 \u00B7 runtime/util/throttle.cjs:110 \u2014 the two spans are one implementation copied and then locally edited \u2014 382 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":"runtime/util/debounce.cjs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"36b094510285e4372f55a8c11d9df062e208e398d840019817b6c14ebef9374d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2 locations): runtime/polyfills.cjs:2317 \u00B7 runtime/polyfills.cjs:2398 \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":"runtime/polyfills.cjs"},"region":{"startLine":2317}}}],"partialFingerprints":{"codehealthFindingId/v1":"46520db8521ee8e35ab4f6c46059cd580bf6383e71ec3ee805b8606c6eed4f88"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2 locations): runtime/compile-inline-loader.cjs:181 \u00B7 runtime/compile-sea-loader.cjs:470 \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":"runtime/compile-inline-loader.cjs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"aff33136b2e2e3bb41843a1c85f63e4505aefa915cb7f578fc79fd62a7f16519"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 3 locations): runtime/compile-bootstrap.cjs:186 \u00B7 runtime/compile-sea-loader.cjs:303 \u00B7 runtime/worker-polyfill.mjs:45 \u2014 the 3 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. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/compile-bootstrap.cjs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"8687ba1bdc2a340022d529844371ed39dfe9b75d07cc5e9b229a5b6fd3c56a6f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): runtime/polyfills.cjs:2290 \u00B7 runtime/polyfills.cjs:2361 \u2014 both copies are in the same file, so extract the block 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":"runtime/polyfills.cjs"},"region":{"startLine":2290}}}],"partialFingerprints":{"codehealthFindingId/v1":"72510b47587874cbc13ffd04a62010ce733e200df828169f2219b559e85d8e0a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): runtime/cache-evict.mjs:74 \u00B7 runtime/cache-evict.mjs:140 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/cache-evict.mjs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"553d811c79b16e5b7b04b8b76a0deed82904e93d2febbf1c3d8ef1280281cd1b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): npm/nub/platform.js:16 \u00B7 runtime/loader-platform.cjs:18 \u2014 the two spans are one implementation copied and then locally edited \u2014 101 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":"npm/nub/platform.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"831338b2958f15fe63b19f75676928cf6a779d7cad9e4fdabb95daad68b9c28d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): scripts/lib/download-stats.mjs:32 \u00B7 scripts/lib/download-stats.mjs:78 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/download-stats.mjs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d07976328bb0f924a8bd1852e052c1cb8696cbc5811cb38808f002f786cfb5c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): runtime/compile-bootstrap.cjs:162 \u00B7 runtime/compile-sea-loader.cjs:350 \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":"runtime/compile-bootstrap.cjs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a1d5c4799ff4874709b6c43fcf1860fcbfaa7845a0cf3b8b1598aa69237efd5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): runtime/compile-bootstrap.cjs:249 \u00B7 runtime/preload-common.cjs:1822 \u2014 the two spans are one implementation copied and then locally edited \u2014 81 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":"runtime/compile-bootstrap.cjs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"a995abe97ef8b38c39ecae203282d2aca4cf6f95ffb58d950ad12fec56294366"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): scripts/md-toc/index.mjs:23 \u00B7 scripts/todo/index.mjs:103 \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":"scripts/md-toc/index.mjs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"617e316a2548644ba1dba2ccc78abbac8dfdbce03f50bdecee9aafbe8a6e850d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): scripts/soak/external-tools.mts:181 \u00B7 scripts/soak/external-tools.mts:213 \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":"scripts/soak/external-tools.mts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab4137f2044209f82677f97d1110d1da2304b59dd4567ecea0b5c42611086dd1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): scripts/soak/soak.mts:111 \u00B7 scripts/soak/soak.mts:204 \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":"scripts/soak/soak.mts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"f08d54de425d3b67cc9e173d8084fc1ac3483f5a3c8927925126fd1fdb5485d4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): runtime/preload-async-hooks.mjs:108 \u00B7 runtime/preload-common.cjs:799 \u2014 the two spans are one implementation copied and then locally edited \u2014 77 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":"runtime/preload-async-hooks.mjs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f86a4d971321ea63d80d7e853faebdaa115a66245cfcf8442e2a48e885598d9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): runtime/transform-core.mjs:90 \u00B7 runtime/worker-polyfill.mjs:79 \u2014 the two spans are one implementation copied and then locally edited \u2014 54 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":"runtime/transform-core.mjs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9ca9500fa43602478f7012f3ab1663e5a300f86cfce6215bab0c046b5885e98"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): scripts/mac-build.ts:59 \u00B7 scripts/remote-build.ts:170 \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":"scripts/mac-build.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"f85af97d5811f96a7144e0774e31a3c24283793a1082042abdf6e43d6d5474b0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): runtime/polyfills.cjs:729 \u00B7 runtime/polyfills.cjs:767 \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":"runtime/polyfills.cjs"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7cc0d768fba7295e063aa9a6dac0d97a102d9754064e103742e26314a466646"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): runtime/polyfills.cjs:1689 \u00B7 runtime/polyfills.cjs:1711 \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":"runtime/polyfills.cjs"},"region":{"startLine":1689}}}],"partialFingerprints":{"codehealthFindingId/v1":"31bfd1e94edd6f84f3afe4c0b9dba779257b6f1055eb6b59888465b60d4326b8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): runtime/polyfills.cjs:1768 \u00B7 runtime/polyfills.cjs:1799 \u2014 both copies are in the same file, so extract the block 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":"runtime/polyfills.cjs"},"region":{"startLine":1768}}}],"partialFingerprints":{"codehealthFindingId/v1":"89add41fe1d1c423c8aaf4e78fb462e685a28eb612dde6146dc322c373fd35c7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): scripts/mac-build.ts:279 \u00B7 scripts/remote-build.ts:1190 \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":"scripts/mac-build.ts"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"b788b533d5d16ac0499f8414f5030fd996ff8d56f545ef8d55d70b33ccc533ab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): scripts/soak/soak.mts:132 \u00B7 scripts/soak/soak.mts:148 \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":"scripts/soak/soak.mts"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"be3142621244bc4537b9aa542769b55f068bd96afafe4ce673ca3b6de3f1b254"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): runtime/nubr.mjs:218 \u00B7 runtime/nubr.mjs:311 \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":"runtime/nubr.mjs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"810631be19b833bd6bc9d72b068a3afa4c6d9577856120c642370e931d3d8fae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): runtime/polyfills.cjs:814 \u00B7 runtime/polyfills.cjs:830 \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":"runtime/polyfills.cjs"},"region":{"startLine":814}}}],"partialFingerprints":{"codehealthFindingId/v1":"efce3401853708ee0433535ac43d42eef37d79640891ac11ec1c7ec41a2280fe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): runtime/preload-common.cjs:852 \u00B7 runtime/preload-common.cjs:970 \u2014 both copies are in the same file, so extract the block 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":"runtime/preload-common.cjs"},"region":{"startLine":852}}}],"partialFingerprints":{"codehealthFindingId/v1":"d052eaaa45b4d8cb919d003b872450d1d4cfb0321ca1fdfdbf0b00bfa98cf321"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): scripts/gen-extensions-table.mjs:59 \u00B7 scripts/gen-extensions-table.mjs:82 \u2014 both copies are in the same file, so extract the block 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":"scripts/gen-extensions-table.mjs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b7d164bd7ae0f45ac30cd5265880dc447920ce804be815a55e824eac1b1e691"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): runtime/navigator-shim.mjs:30 \u00B7 runtime/transform-core.mjs:90 \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":"runtime/navigator-shim.mjs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"257d924ebe07ac1677612c0acabc73241354d5d535fa4d8660e5d0505457a28c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): runtime/navigator-shim.mjs:30 \u00B7 runtime/worker-polyfill.mjs:79 \u2014 the two spans are one implementation copied and then locally edited \u2014 51 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":"runtime/navigator-shim.mjs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"11ff93c5f5fbbbc4fbabec4e3d6c3cf5e9f4ac23d21df44a8cf1692ada76e447"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): runtime/polyfills.cjs:1092 \u00B7 runtime/polyfills.cjs:1117 \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":"runtime/polyfills.cjs"},"region":{"startLine":1092}}}],"partialFingerprints":{"codehealthFindingId/v1":"601444c9d6afd9c59e6e0526dda9e49fa9fa53e9f97214ed2ab305dfd78c4803"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): scripts/mac-build.ts:60 \u00B7 scripts/new-worktree.ts:87 \u00B7 scripts/remote-build.ts:171 \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":"scripts/mac-build.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"5939d0e1ca71c85a5c37c263b231a980ca361dc7157769b93f9cba4e8498b82e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): runtime/polyfills.cjs:1125 \u00B7 runtime/polyfills.cjs:2520 \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":"runtime/polyfills.cjs"},"region":{"startLine":1125}}}],"partialFingerprints":{"codehealthFindingId/v1":"038dea0f4247ca04d1261543748a25816286471cfc43b80c96703cd22336b037"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): scripts/remote-build.ts:780 \u00B7 scripts/remote-build.ts:827 \u2014 both copies are in the same file, so extract the block 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":"scripts/remote-build.ts"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"00f338594b88c49edd30cfc4ae2cc72f5097fce325fa7eec0aca1381d6d0a6e8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): stats/download-counts/report.mjs:107 \u00B7 stats/download-counts/report.mjs:141 \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":"stats/download-counts/report.mjs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"189ec099e20fcba58b7eaa643e8c582d47ef7cfa2e5232d93e1f42f5e80c368a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): npm/nub/bin/launch.js:187 \u00B7 npm/nub/bin/launch.js:213 \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":"npm/nub/bin/launch.js"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dac247742ceb16518b98a2e6a41252c7fc6ed6be77383cc9e531ddafdd8f110"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): npm/nub/bin/launch.js:313 \u00B7 npm/nub/bin/launch.js:336 \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":"npm/nub/bin/launch.js"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"65c6d01b983d0d42d7732a54c4aa9c7e25042fb0a56eed638e0f68f19e60fd65"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): scripts/merge-cascade.ts:302 \u00B7 scripts/merge-cascade.ts:340 \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":"scripts/merge-cascade.ts"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"79d6a7f019cdc86618becfabcec96e8b2f07f621220b47d53b58a05c8953ae5e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 53, cognitive 76): main has cyclomatic complexity 53 and cognitive complexity 76; 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":"tests/cross-runtime/run.mjs"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"f39b967b22632ba4ff80351ce61cdf4e2121670684045bd306318fdf86aff626"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadInner (cyclomatic 53, cognitive 51): loadInner has cyclomatic complexity 53 and cognitive complexity 51; 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":"runtime/preload-common.cjs"},"region":{"startLine":884}}}],"partialFingerprints":{"codehealthFindingId/v1":"3330d4eeb5ae8f88087b28fb84e7cc65f4bfb226a06722afe04125ece58c3392"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function check (cyclomatic 35, cognitive 54): check has cyclomatic complexity 35 and cognitive complexity 54; 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":"tests/npm-corpus/check-tree.mjs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b8e44f4cbf3a2f9cf8eb3931debe264a0538c93ac1af888f07cf6468ca9fd33"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function installSyncPolyfills (cyclomatic 35, cognitive 50): installSyncPolyfills has cyclomatic complexity 35 and cognitive complexity 50; 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":"runtime/polyfills.cjs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7e43b7c672d2508051c81a91f7f95f4abcc8076ea28d389c204ed788e721361"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 31, cognitive 51): parseArgs has cyclomatic complexity 31 and cognitive complexity 51; 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":"scripts/ci-watch.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd48cd277c3932a9780824aec10c71cfb64eff0079de4614483c8abdec47e5ec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 29, cognitive 30): parseArgs has cyclomatic complexity 29 and cognitive complexity 30; 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":"scripts/remote-build.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"1be744706400655ab91d1e4a50c1f17c5853d548149ea5cb4e279682acefab9d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function request (cyclomatic 29, cognitive 27): request has cyclomatic complexity 29 and cognitive complexity 27; 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":"runtime/navigator-locks.mjs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe22575b4eab56f3c09d859d7f07f7a1ef99a191d13987e96180128c22099034"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 28, cognitive 79): (anonymous) has cyclomatic complexity 28 and cognitive complexity 79; 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":"tests/worker-wpt/harness/run-wpt.mjs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a53aea04d8bb247d072f1246853bb45c9002abb9b0a6ebc4a6a0cf757337ca3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fromBase64 (cyclomatic 28, cognitive 66): fromBase64 has cyclomatic complexity 28 and cognitive complexity 66; 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":"runtime/polyfills.cjs"},"region":{"startLine":2010}}}],"partialFingerprints":{"codehealthFindingId/v1":"91a899409df771a3bf27901c098d547904ada17f028ba752de0943960db450ea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function catFor (cyclomatic 28, cognitive 16): catFor has cyclomatic complexity 28 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/pnpm-conformance/gen-allowlist.mjs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f103650bb10b993edf5b060018557045761d25640bf504afc0594eb3dd6371b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _resolveFilename (cyclomatic 26, cognitive 34): _resolveFilename has cyclomatic complexity 26 and cognitive complexity 34; 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":"runtime/preload-common.cjs"},"region":{"startLine":1263}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b95502d1264f129dd76acd588a4f6a322c8e4e27844530fd39b9b7ee95c3c16"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sumPrecise (cyclomatic 26, cognitive 33): sumPrecise has cyclomatic complexity 26 and cognitive complexity 33; 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":"runtime/polyfills.cjs"},"region":{"startLine":1496}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd5a2b4cb89d04b64290495eadf084aabb593787e5f3eb543d8304f6d85118ed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 26, cognitive 31): main has cyclomatic complexity 26 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":"scripts/mac-build.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"0567c1ef457b5bcfd56517caf7202b6c4ab6d2538aafe2fb02a686466c7c636b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fork (cyclomatic 24, cognitive 34): fork has cyclomatic complexity 24 and cognitive complexity 34; 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":"runtime/compile-bootstrap.cjs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"89c2858ed945d3c704b499401e67779d1f2d5e6a851f6129e4a1dd2a1a6e0ec1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 23, cognitive 24): main has cyclomatic complexity 23 and cognitive complexity 24; 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":"tests/compile-native-islands/driver.mjs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb29bad46dee2eb80360b973ac85e0c668f7dfc36a757d285498f9034b5dbc34"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractPnpm (cyclomatic 22, cognitive 55): extractPnpm has cyclomatic complexity 22 and cognitive complexity 55; 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":"tests/mutation/extract-graph.mjs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"11a49a950c52c899cee7c35df265db154be14ba39a51b3abb8887eabf09e9693"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 22, cognitive 35): main has cyclomatic complexity 22 and cognitive complexity 35; 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":"scripts/soak/external-tools.mts"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7fe9d928b68693278341363bdfcc0c16ed24f6e2696b916549d1f9fc5bb7feb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function constructor (cyclomatic 22, cognitive 34): constructor has cyclomatic complexity 22 and cognitive complexity 34; 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":"runtime/worker-polyfill.mjs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfb0ff8456605e537897b384a627e26f9e6d0872cca9e244baba6943a3a2996f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveSpec (cyclomatic 22, cognitive 31): resolveSpec has cyclomatic complexity 22 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":"runtime/transform-core.mjs"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"735f1db053d39a55cb87fa48fc1126363d1c94715d8b8000bba82561c1a78806"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadTranspile (cyclomatic 22, cognitive 24): loadTranspile has cyclomatic complexity 22 and cognitive complexity 24; 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":"runtime/transform-core.mjs"},"region":{"startLine":978}}}],"partialFingerprints":{"codehealthFindingId/v1":"70842ba06330ed3aeb7f1fcdcdb8860667f417317f7cb193710101df7fe56cab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parse (cyclomatic 21, cognitive 35): parse has cyclomatic complexity 21 and cognitive complexity 35; 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":"runtime/polyfills.cjs"},"region":{"startLine":1580}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc1ca9f3b0b4cad4dc09c79c5106da9847383cc40df54547b931e95f01d2351e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 21, cognitive 26): main has cyclomatic complexity 21 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 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":"scripts/release-notify.ts"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b2084da06f9103cd4f7b3b5aa32f777748ba7f1b84514aca8d10267570af04c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function determineSpecificType (cyclomatic 21, cognitive 25): determineSpecificType has cyclomatic complexity 21 and cognitive complexity 25; 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":"runtime/util/internals.cjs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"001efe47976bf4a02f2a9decfb34340131f957a364d14653f4c8ec53692f50df"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function phantomDepHint (cyclomatic 21, cognitive 23): phantomDepHint has cyclomatic complexity 21 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":"runtime/preload-common.cjs"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"79a2b9853b65bdabc94de3f81756420e08f4d88bde2ae80aa5d0a87386b7585f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function installWorkerPolyfill (cyclomatic 20, cognitive 33): installWorkerPolyfill has cyclomatic complexity 20 and cognitive complexity 33; 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":"runtime/worker-polyfill.mjs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b0f7605acda622e496e08b5cfe0cf44cb1c1dbb47cbec338016067879010da8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function refreshShimsIn (cyclomatic 20, cognitive 32): refreshShimsIn has cyclomatic complexity 20 and cognitive complexity 32; 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":"npm/nub/postinstall.js"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd82a7f5a09fd9b17f9e54e54e1a6a14929dc1745e8adb16610457c5271ac54e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildPlainCommand (cyclomatic 20, cognitive 28): buildPlainCommand has cyclomatic complexity 20 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 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":"tests/cross-runtime/run.mjs"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"575e23130a27e38fbfeead964134b2e2461d6b012f93dc8af5a9e8e04d68f833"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkHandCopies (cyclomatic 19, cognitive 27): checkHandCopies has cyclomatic complexity 19 and cognitive complexity 27; 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":"tests/cross-runtime/readme-table.mjs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d14f03d576665faf314544423655757ba7b790b844c32e40ede6c038a1b0859"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 22): (anonymous) has cyclomatic complexity 19 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":"tests/npm-corpus/check-tree.mjs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3e0cec20542bf0bf0793079cb7e94e6a40a7e497372438972e8b9bc9a241913"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function args (cyclomatic 19, cognitive 20): args has cyclomatic complexity 19 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":"tests/compile-native-islands/driver.mjs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"76f63b08ac2558a58daa4cb3a5535f889afa2fb8ce42eeb68fa221ef5364f10a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 19, cognitive 18): main has cyclomatic complexity 19 and cognitive complexity 18; 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":"runtime/nubr.mjs"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"f602e2fc2b064e7fcf1986aff08bd946cbf082632bf3c89a1cde3b349dadfb8c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 18, cognitive 36): main has cyclomatic complexity 18 and cognitive complexity 36; 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":"scripts/merge-cascade.ts"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"c96ea9fc80b4bae50b7fabe533ffdfc5b07a30febb920e937beffbb90003e904"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkPins (cyclomatic 18, cognitive 33): checkPins has cyclomatic complexity 18 and cognitive complexity 33; 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":"scripts/soak/external-tools.mts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fe0d4a038a150b1e131c758e6baf79a147d2f6ba7157e57d14c5ea30caaa11b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 23): (anonymous) has cyclomatic complexity 18 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":"runtime/compile-sea-loader.cjs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cc04a5257b7326e300f299d42a98fabfda0a17cbcad8a26df32514423211fd7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function installFloorBuiltins (cyclomatic 18, cognitive 21): installFloorBuiltins has cyclomatic complexity 18 and cognitive complexity 21; 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":"runtime/polyfills.cjs"},"region":{"startLine":1635}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0cb648513069d76edb15eaf79a9af22316db2b4c127699c9ed08cc9f0a74e65"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function installLazyEsmPolyfills (cyclomatic 18, cognitive 20): installLazyEsmPolyfills has cyclomatic complexity 18 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":"runtime/preload.cjs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cfbddbc25f403f0067cafabe4d702c340fc53f7c31b7888704c77e19eb0589c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function leadsToUs (cyclomatic 17, cognitive 34): leadsToUs has cyclomatic complexity 17 and cognitive complexity 34; 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":"npm/nub/bin/launch.js"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"5841753b4861ca3ac5c36db2cafced58d4958793268928365adfbb7f34aabbd1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifyRollup (cyclomatic 17, cognitive 27): classifyRollup has cyclomatic complexity 17 and cognitive complexity 27; 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":"scripts/lib/ci-rollup.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"1905533340280ff8ce0ca593a6d0ec911adeceb241410a35754a3cc1f43a51fc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function foreignAsyncLoaderPresent (cyclomatic 17, cognitive 25): foreignAsyncLoaderPresent has cyclomatic complexity 17 and cognitive complexity 25; 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":"runtime/loader-entry.mjs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d6f28039ffdb8cf81f12d478635ba4a8629f77475791c6c54c35461a67ea1b9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function b64ToU8 (cyclomatic 17, cognitive 15): b64ToU8 has cyclomatic complexity 17 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 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":"runtime/polyfills.cjs"},"region":{"startLine":2100}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d58d25ef983777f715b6e86cbbbc866bf549cb3ee1e6e680cfb49db55c1d676"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 11): (anonymous) has cyclomatic complexity 17 and cognitive complexity 11; 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":"crates/nub-cli/src/compile/code_cache_install.cjs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd4e72837e3416dfc0a69f294e856faf24aad6c7f14f5f667f0c44696b3fff47"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseBunLock (cyclomatic 16, cognitive 41): parseBunLock has cyclomatic complexity 16 and cognitive complexity 41; 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":"tests/registry/resolve-fixtures.mts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"f816c939629ad7e2c8f83a62896d84f4f399fbb66cc76fb824c37abe7a87f60e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function watch (cyclomatic 16, cognitive 32): watch has cyclomatic complexity 16 and cognitive complexity 32; 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":"scripts/ci-watch.ts"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb1305bf95c4e0f9a363ccf08074ec59cb07bc9be5a2500c39d60ce6d419f1f1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stripJsonComments (cyclomatic 16, cognitive 27): stripJsonComments has cyclomatic complexity 16 and cognitive complexity 27; 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":"runtime/transform-core.mjs"},"region":{"startLine":1143}}}],"partialFingerprints":{"codehealthFindingId/v1":"50b3e31de579b9534b6b31ce20141407fda74de25aa771de2bebf28601b535d0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseRunnerOptions (cyclomatic 16, cognitive 26): parseRunnerOptions has cyclomatic complexity 16 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 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":"tests/test262/selection.mjs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae127553dbb4243041c4c598389453034c02fac4fc9aa6cee430f53d18d377f2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 16, cognitive 20): main has cyclomatic complexity 16 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":"scripts/remote-build.ts"},"region":{"startLine":1069}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f59a215726a49e2ee4f789555abf5fef3b99098893d56c2a00f302ea5d940a5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function installAssetTool (cyclomatic 16, cognitive 20): installAssetTool has cyclomatic complexity 16 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":"scripts/soak/external-tools.mts"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfb75b44ebf885513e1c8c8b7081a7cbe3fd7d0e69196bc966bff9fda8a43b7b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifyRun (cyclomatic 16, cognitive 19): classifyRun has cyclomatic complexity 16 and cognitive complexity 19; 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":"scripts/ci-watch.ts"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fb4f98b93624c896a42fde958c8b45124fee8cf8934ec850bdaf921cad45506"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function installIteratorSurface (cyclomatic 16, cognitive 17): installIteratorSurface has cyclomatic complexity 16 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 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":"runtime/polyfills.cjs"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"536d17bf6a5352fe1545a38da1a70f5b7f0e14d44cd65b91a3cf10fa6d4a2883"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkDockerPrebake (cyclomatic 16, cognitive 17): checkDockerPrebake has cyclomatic complexity 16 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 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":"scripts/soak/external-tools.mts"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"f220c905e23440606677552ac862d7f3215e52a1bb81abbab5e1cb1c6bd030df"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function installThreadpoolPolicy (cyclomatic 16, cognitive 16): installThreadpoolPolicy has cyclomatic complexity 16 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":"runtime/preload-common.cjs"},"region":{"startLine":2036}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b4d03258fd2dac502ab52309c64532957704af6f5d60db966a8f00d9178234c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 46): (anonymous) has cyclomatic complexity 15 and cognitive complexity 46; 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":"runtime/polyfills.cjs"},"region":{"startLine":1052}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a25b20a781d20cd8186d8204e035ca0db48b7b762f7915a4d97f610b318fd42"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 15, cognitive 30): main has cyclomatic complexity 15 and cognitive complexity 30; 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":"scripts/check-docs-links.ts"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba0e5ff8697c7a8fc11246c95eaea471ec7e29abb4041d214975705bdf1745d3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function navigatorPlatform (cyclomatic 15, cognitive 21): navigatorPlatform has cyclomatic complexity 15 and cognitive complexity 21; 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":"runtime/navigator-shim.mjs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"8739ab58e1ace1a393973d0f99edb05c8b4a7c814d8b59bc16471be7810c0eb4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hexToU8 (cyclomatic 15, cognitive 19): hexToU8 has cyclomatic complexity 15 and cognitive complexity 19; 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":"runtime/polyfills.cjs"},"region":{"startLine":2141}}}],"partialFingerprints":{"codehealthFindingId/v1":"42d4da85ca691822045bac6459f6583f4be6722767614dfa48b330c313915d7e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findRealPnpm (cyclomatic 15, cognitive 19): findRealPnpm has cyclomatic complexity 15 and cognitive complexity 19; 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":"tests/pnpm-conformance/nub-pnpm-shim.cjs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceed71c7f130d4b16f91075b4d5443f7e1490603bdd335e4b241768a3729bfcf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fromAsync (cyclomatic 15, cognitive 18): fromAsync has cyclomatic complexity 15 and cognitive complexity 18; 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":"runtime/polyfills.cjs"},"region":{"startLine":1324}}}],"partialFingerprints":{"codehealthFindingId/v1":"36c7627a20a2a83ae6c2501544ab8022a55f9cf19c647d08941c27148386f7ce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function installTool (cyclomatic 15, cognitive 18): installTool has cyclomatic complexity 15 and cognitive complexity 18; 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":"scripts/soak/external-tools.mts"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea495b979502540915a6a28e45ce1635c128be06b939748ae411ad1e75e276b5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 17): (anonymous) has cyclomatic complexity 15 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 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":"runtime/compile-inline-loader.cjs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"31782eadb9c9fc6f0f4b102c2e946f692efad8242c7e118495178fb420227448"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function arm (cyclomatic 15, cognitive 17): arm has cyclomatic complexity 15 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 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":"runtime/loader-entry.mjs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"24ca400a6c0f7cddd89aed44016aaa805303696bad72f0c4debe30b6fb1f1669"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 14, cognitive 24): main has cyclomatic complexity 14 and cognitive complexity 24; 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":"tests/registry/seed.mts"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"93e020b6856af0a1a3176300a0029c3aeb4ce44341a883ae0e0eb7f81cadb5d7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parsePnpmLock (cyclomatic 14, cognitive 21): parsePnpmLock has cyclomatic complexity 14 and cognitive complexity 21; 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":"tests/registry/resolve-fixtures.mts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d1933d355153705b104074c0b15fa058bcc7cba633278b397f70b88b4411595"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolve (cyclomatic 14, cognitive 20): resolve has cyclomatic complexity 14 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":"runtime/preload-common.cjs"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7076914b892c6fc9ae969b6b0de61dc0079444ef454b540ce1b7a2934cc59ad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 14, cognitive 19): main has cyclomatic complexity 14 and cognitive complexity 19; 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":"scripts/soak/remotes.mts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"321ada948f0820d41dd835d1742c9b56ece7247fd7fca57c5567e59796bee270"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function withoutRefusedExecArgv (cyclomatic 14, cognitive 18): withoutRefusedExecArgv has cyclomatic complexity 14 and cognitive complexity 18; 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":"runtime/compile-bootstrap.cjs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca122c54523bf85649df7cb49f848e16327d4a28c7dd829e5ca0a7711fbec2fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function withoutRefusedExecArgv (cyclomatic 14, cognitive 18): withoutRefusedExecArgv has cyclomatic complexity 14 and cognitive complexity 18; 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":"runtime/compile-sea-loader.cjs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"69e08b433ec7fa600aa7f62180e9227ef77ce2de00de005025315165c8f27bd7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function withoutRefusedExecArgv (cyclomatic 14, cognitive 18): withoutRefusedExecArgv has cyclomatic complexity 14 and cognitive complexity 18; 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":"runtime/worker-polyfill.mjs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f552e04ef3ba9fa6fed061987db9ff0128f110cd74bce4d148c4f7adb95417e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchNpm (cyclomatic 14, cognitive 18): fetchNpm has cyclomatic complexity 14 and cognitive complexity 18; 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":"scripts/download-stats.mjs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd7ab38f6e1bcdbfdda28e74c7d5116c20982eae480d3c6d30f8bf08a19e176a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 14, cognitive 15): parseArgs has cyclomatic complexity 14 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":"scripts/new-worktree.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"60d5f315b817d149cb898dbaf6701135e964038e574d0a3d08981952cde4887e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function evalSourceFromExecArgv (cyclomatic 14, cognitive 14): evalSourceFromExecArgv has cyclomatic complexity 14 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":"runtime/transform-core.mjs"},"region":{"startLine":913}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0a9f1dd6a93662388e7aea49b7aeca35b8c15eba063945ff3f0992b1928d373"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isMusl (cyclomatic 14, cognitive 13): isMusl has cyclomatic complexity 14 and cognitive complexity 13; 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":"npm/nub/platform.js"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd052e270ebd92ae197a1a78a7d54e0037b5a1295bf30373e63e823b70db83ba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cliAsyncLoaderPresent (cyclomatic 14, cognitive 12): cliAsyncLoaderPresent has cyclomatic complexity 14 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 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":"runtime/preload-common.cjs"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"00d5b8ea7574c716055d207bb17a1486200ce9a7383d26bb79ce7ab62ebd2f68"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function modeRunsArgvAsProgram (cyclomatic 14, cognitive 12): modeRunsArgvAsProgram has cyclomatic complexity 14 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 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":"runtime/preload-common.cjs"},"region":{"startLine":2539}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0fa0067200692669d546f7ae47dcf5fd807311e7fa2ef1e5cf7b4a5be763628"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function constructor (cyclomatic 13, cognitive 22): constructor 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":"runtime/compile-sea-loader.cjs"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"a58a2abbef57d896548c12409a8b4ae872887edd96a24335c251155507bef7e8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sweepCompileCache (cyclomatic 13, cognitive 19): sweepCompileCache has cyclomatic complexity 13 and cognitive complexity 19; 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":"runtime/cache-evict.mjs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"92cbbe242d9f79941c2a86e8e4be4fb8a5b47f822f69121e89d8b162db716ca9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyInclude (cyclomatic 13, cognitive 19): applyInclude has cyclomatic complexity 13 and cognitive complexity 19; 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":"scripts/new-worktree.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9f97b5416a56b5c0b48b200ac15ab6fb0e90b183859956889b22db9dbfc4107"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function itemState (cyclomatic 13, cognitive 17): itemState has cyclomatic complexity 13 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 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":"scripts/lib/ci-rollup.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"f715bd2aff5aabb01724b45fab1cbed912bd73d0a8f8af35a15eb400a24762db"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractBun (cyclomatic 13, cognitive 17): extractBun has cyclomatic complexity 13 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 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":"tests/mutation/extract-graph.mjs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa8441ab4abf377c8a7abd400ec4af2ec5c5b65bd30905682ad1746c012fcfb5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function childSafeModes (cyclomatic 13, cognitive 15): childSafeModes 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":"runtime/nubr.mjs"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"857b4d3d58d33cad66fd9892c9cbdf4da39166e023b6dcdbbfc34e09cf50f377"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function writeResponse (cyclomatic 13, cognitive 14): writeResponse has cyclomatic complexity 13 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":"runtime/fetch-serve.cjs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fa0cb5ce1ac7759b5649e33d0da3d25f478df56b7146ae69a72bea3913e7024"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveViaParentRequire (cyclomatic 13, cognitive 14): resolveViaParentRequire has cyclomatic complexity 13 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":"runtime/preload-common.cjs"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce096faa9f5897c6e2b63a2a49601a281de97a9bfd327e26f8a2483ccce55c59"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fork (cyclomatic 13, cognitive 14): fork has cyclomatic complexity 13 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":"runtime/preload-common.cjs"},"region":{"startLine":1822}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff8efdbd6c941750fc2c06a5ff65c0588dd54e45166714b68f3221c589739316"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 13, cognitive 14): parseArgs has cyclomatic complexity 13 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":"scripts/mac-build.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9a6fa5abbd95e80c09169a4b3209d6053453d5467a8f2e4a3e37fda37254a2f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ensureExecutable (cyclomatic 13, cognitive 13): ensureExecutable has cyclomatic complexity 13 and cognitive complexity 13; 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":"npm/nub/bin/launch.js"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8d3be2397322c7628d739ad15d8ec4040418600198debaebb555cc525f68d9b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function variant (cyclomatic 13, cognitive 13): variant has cyclomatic complexity 13 and cognitive complexity 13; 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":"tests/verb-dispatch/win-latency-variants.mjs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"d50af701f6ab7d49c88a2d2a5fbda9aadaa65c34b6af872ee8ded786068ec854"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseJsonc (cyclomatic 12, cognitive 20): parseJsonc 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":"tests/cross-runtime/run.mjs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"221bd5a842a170629e68e17ced67b8f825349af3bab35a5ec03167bfc000175c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cutBalanced (cyclomatic 12, cognitive 20): cutBalanced 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":"tests/preamble-eval/ablate.mjs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"11c2eb55d63d6bdb3bb7f79092deefcca0b2054c4697a08673758fecdeb86084"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseNpmLock (cyclomatic 12, cognitive 20): parseNpmLock 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":"tests/registry/resolve-fixtures.mts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdc2b859011fe2b41d468bd3b8907c41f224b69bd3e78aaa0fac2eb06c38b5be"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function translateDenoFlags (cyclomatic 12, cognitive 18): translateDenoFlags has cyclomatic complexity 12 and cognitive complexity 18; 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":"tests/cross-runtime/run.mjs"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a60c449731123bc8f309cb9c2a3b5f1f33c85006c16dc4ce618f82dec12c191"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function healPathEntry (cyclomatic 12, cognitive 17): healPathEntry has cyclomatic complexity 12 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 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":"npm/nub/bin/launch.js"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c5923047c26f4d4def69e77b199233ae089dd94f8eb75e596e114c06f551992"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function constructor (cyclomatic 12, cognitive 17): constructor has cyclomatic complexity 12 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 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":"runtime/compile-bootstrap.cjs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"3492b171294f7ace7dc9ae02af83a882877d4e7505a4609267755a4cb67abbba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function dataExpression (cyclomatic 12, cognitive 15): dataExpression 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":"runtime/transform-core.mjs"},"region":{"startLine":1174}}}],"partialFingerprints":{"codehealthFindingId/v1":"be612219c36afb2a508d10320541aa73bba50bf2811286f2bdccc350a1162476"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function encodeParts (cyclomatic 12, cognitive 15): encodeParts 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":"runtime/worker-blob-url.cjs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"910060c8eeb77882c6adb94e1a6f3b438154dc8d4f56ee65a7aad27b3d462f58"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractNpm (cyclomatic 12, cognitive 15): extractNpm 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":"tests/mutation/extract-graph.mjs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf9ba55a9411a77bd641034e36ed79fad5cef5a8e456bec9f8e27c2238833cda"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function judge (cyclomatic 12, cognitive 14): judge has cyclomatic complexity 12 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":"tests/cross-runtime/run.mjs"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dc1b1af5e62dd5ca5f74ee663a535576a4cede5253f4c982fcd5f437ac56a93"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reap (cyclomatic 12, cognitive 13): reap has cyclomatic complexity 12 and cognitive complexity 13; 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":"scripts/remote-build.ts"},"region":{"startLine":907}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0ac3fb8e21c8a73fefa1b19471ff473b3a1f50a41ed3d6458b8bb88abf43f9d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateSelection (cyclomatic 12, cognitive 13): validateSelection has cyclomatic complexity 12 and cognitive complexity 13; 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":"tests/test262/selection.mjs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9a2c0518bde706f5c3210c3264be694ab126f25a96724ed5f072db9310507de"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadInner (cyclomatic 12, cognitive 12): loadInner has cyclomatic complexity 12 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":"runtime/preload-async-hooks.mjs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"99b9b93884b8f8984ad1301608e8edc0603190c0d6e5f0357107de9411f88830"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function flipThreadDone (cyclomatic 12, cognitive 12): flipThreadDone has cyclomatic complexity 12 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":"scripts/merge-cascade.ts"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"36a11d284a0d3aebd4cdce4307c46a28d0c8855379ba421ca32e44789822a62f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function wildcardMatch (cyclomatic 12, cognitive 12): wildcardMatch has cyclomatic complexity 12 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":"tests/cross-runtime/run.mjs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"41aabcf1949f3e522293a47c7c7d625be627bc34a7441e66a7f82c9a03a0d8e7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isOwnLoaderToken (cyclomatic 12, cognitive 11): isOwnLoaderToken has cyclomatic complexity 12 and cognitive complexity 11; 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":"runtime/loader-entry.mjs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cc501381f48a052e2e5ad0ea85d05fe38bc3b58d8f8e16587ce41030d1dee1b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addDelegated (cyclomatic 12, cognitive 11): addDelegated has cyclomatic complexity 12 and cognitive complexity 11; 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":"runtime/worker-polyfill.mjs"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4f994f7594fe39e772c783e3340ab3cb1f292174c47d76a980597eb59775f6a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readCompiledWorkerState (cyclomatic 12, cognitive 10): readCompiledWorkerState has cyclomatic complexity 12 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":"runtime/compile-preamble.mjs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c188d3863e302d05bbc854c2936d0a113227a7597975ac2918a33e4b51a2fb8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolve (cyclomatic 12, cognitive 10): resolve has cyclomatic complexity 12 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":"runtime/preload-async-hooks.mjs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d8fb1b70952a999b451b359bfe232c43aac460c0aa3981da2e3f7d3d2d2531f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 10): (anonymous) has cyclomatic complexity 12 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":"tests/worker-wpt/harness/run-file.mjs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"74bda2ad2015b95cea7bdb9bf76ddedc03b8c04bbe3712af1f165c12456f0d56"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 11, cognitive 23): main has cyclomatic complexity 11 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":"tests/registry/check-safety.mts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"7840077e69281249de9c12ef019270eaf2ebca8bd21c35412177a5ecc365d834"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 11, cognitive 15): main 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":"scripts/soak/soak.mts"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"c55078aed09c3ec3304cbd1ab945f2175bfa8c986bbb300d3cc6d31ebe558468"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function installNpmTarball (cyclomatic 11, cognitive 13): installNpmTarball has cyclomatic complexity 11 and cognitive complexity 13; 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":"scripts/soak/external-tools.mts"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1ddba27a0b38caf74131019063c7a982c070dded04a64e6f6694b4b7e16f93a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function expectedFailsFor (cyclomatic 11, cognitive 13): expectedFailsFor has cyclomatic complexity 11 and cognitive complexity 13; 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":"tests/worker-wpt/harness/run-wpt.mjs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"88b657c82d558ed2543ea8376025ea0b86688dc3f16700e504ee0939edbedd04"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function u8ToBase64 (cyclomatic 11, cognitive 12): u8ToBase64 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":"runtime/polyfills.cjs"},"region":{"startLine":1964}}}],"partialFingerprints":{"codehealthFindingId/v1":"da76c0f7abf0970a006e78304e03c553b6a94ed80f5141d82b814b6ebf9c8cd0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stripFromOptions (cyclomatic 11, cognitive 12): stripFromOptions 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":"runtime/preload-common.cjs"},"region":{"startLine":1755}}}],"partialFingerprints":{"codehealthFindingId/v1":"640749acc0ccb0159a8f801d0478a860932cc89a8ed6ffdefae3c68783381e66"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolvePendingExit (cyclomatic 11, cognitive 11): resolvePendingExit has cyclomatic complexity 11 and cognitive complexity 11; 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":"scripts/ci-watch.ts"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6c6d780f198184fb8c118762d36456d2f7e8c956223b80d176bb3508c30d9d2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isMusl (cyclomatic 11, cognitive 10): isMusl 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":"runtime/loader-platform.cjs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c2c0dac49684543799a467fbbb10db6fdcdb61f30e7dfe21440ab34a963bba4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function nodeLoadValidatorStrict (cyclomatic 11, cognitive 10): nodeLoadValidatorStrict 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":"runtime/preload-common.cjs"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fb0359867e18b0150376f29b432730995a17fe475c78895af120b0bb3822a22"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function maybeSweepCache (cyclomatic 11, cognitive 10): maybeSweepCache 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":"runtime/transform-core.mjs"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec2fe256ce4b8892bbdf59dce7b6d9b77af29dd85eb2283512a7fb61b4ab782a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectHarnessResult (cyclomatic 11, cognitive 10): inspectHarnessResult 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":"tests/test262/selection.mjs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"77bb91e2d5bd552b1a16ccc435c4a915f5e070d2a18520b7caec2f179d9b0687"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toJsLiteral (cyclomatic 11, cognitive 9): toJsLiteral has cyclomatic complexity 11 and cognitive complexity 9; 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":"runtime/transform-core.mjs"},"region":{"startLine":1199}}}],"partialFingerprints":{"codehealthFindingId/v1":"166e0781c618c43344b95798e3380f6c99cfd475374f66151a84eec8a1bc464e"}},{"ruleId":"R3","level":"warning","message":{"text":"runtime/preload-common.cjs: 2572 lines of code: runtime/preload-common.cjs has 2572 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":"runtime/preload-common.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c2def99304d2bcdfaa5dd6492c4f4fd0613f7ab23a4c042efaf8c292571f922"}},{"ruleId":"R3","level":"warning","message":{"text":"runtime/polyfills.cjs: 2515 lines of code: runtime/polyfills.cjs has 2515 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":"runtime/polyfills.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2522bf2191269c41abba0c00a00d8e84fa191d0f9bd6cde29e0fdf9e090a987f"}},{"ruleId":"R3","level":"warning","message":{"text":"runtime/transform-core.mjs: 1175 lines of code: runtime/transform-core.mjs has 1175 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":"runtime/transform-core.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"68db2308af4fcceea9e14df352583722cd6209f9fc0e01c42620d349f0fccb84"}},{"ruleId":"R3","level":"warning","message":{"text":"scripts/remote-build.ts: 1135 lines of code: scripts/remote-build.ts has 1135 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":"scripts/remote-build.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"845d9475d2fbcc0f1e7bda9612401c613381fdc4e07a38a6ff39bb129c2161c9"}},{"ruleId":"R3","level":"warning","message":{"text":"runtime/worker-polyfill.mjs: 795 lines of code: runtime/worker-polyfill.mjs has 795 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":"runtime/worker-polyfill.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a249431d0380a283f77888272939a70028e47a575239fafaaa22d952fae3fac"}},{"ruleId":"R3","level":"warning","message":{"text":"runtime/compile-sea-loader.cjs: 521 lines of code: runtime/compile-sea-loader.cjs has 521 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":"runtime/compile-sea-loader.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"847b513b380c138b438d6eb023bdd4e00faa6d664f8daf2848aca16dffeb1459"}},{"ruleId":"R3","level":"warning","message":{"text":"runtime/preload.cjs: 443 lines of code: runtime/preload.cjs has 443 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":"runtime/preload.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aebd6c7859b6d51452a4337a6185394aa99ca4f43ce6aa9a4cf040ceb41c0d11"}},{"ruleId":"R3","level":"warning","message":{"text":"scripts/ci-watch.ts: 432 lines of code: scripts/ci-watch.ts has 432 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":"scripts/ci-watch.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"111c7a43c56b15155fd5ad3041e6f5c3c8c720972d6f78bea078ef42c578486b"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: npm/nub-types/test/fixtures/positive/index.ts:41 imports \u0027./worker.js\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"npm/nub-types/test/fixtures/positive/index.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0d5446c461f533ee15cc4797d1541a4830ae56641e92feb81b1a688de8c8d8b"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: npm/nub-types/test/fixtures/stepaside-dom/index.ts:9 imports \u0027./worker.js\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"npm/nub-types/test/fixtures/stepaside-dom/index.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"967bf72adf274674b184311bebee4bd6f37443af014d0b1b585e5606813bc613"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: npm/nub-types/test/fixtures/stepaside-stub/index.ts:7 imports \u0027./worker.js\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"npm/nub-types/test/fixtures/stepaside-stub/index.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f75f3158d546fdf65df22d59b921a4d28483dd8899a630c2da35b0953f36665"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: scripts/native-worker.test.mts:8 imports \u0027../runtime/\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/native-worker.test.mts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee5796258033a0393d19731d5f6105e3b62bcc2cca2212229cb83a53467f8148"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: scripts/runtime-primordials.test.mts:8 imports \u0027../runtime/\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/runtime-primordials.test.mts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"5041418cd3513ae2013bffdc2daa3bf9b104d768b6bc13b95508e20f72c7ca7f"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: scripts/runtime-shims.test.mts:10 imports \u0027../runtime/\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/runtime-shims.test.mts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce3dbd656925a8debfe0ef7e5e3b8b6ca4688f2a132e628e9023b84e840a1e8b"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: scripts/worker-exec-argv.test.mts:16 imports \u0027../runtime/\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/worker-exec-argv.test.mts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ee1e71abbff0141062076f6dc19d1e21f31b789a498600584d8609158cb2e26"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: tests/compile-augmentation/fixtures/a-addon-esm-package.cjs:18 imports \u0027./nub-native.node\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/compile-augmentation/fixtures/a-addon-esm-package.cjs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"3afb93bdb337c4012d56eb358194b559bde616333cd24043271de7cc5142467c"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: tests/compile-augmentation/fixtures/a-resolution.ts:6 imports \u0027./src/deep\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either (2 further unresolvable import(s) in the same file). The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/compile-augmentation/fixtures/a-resolution.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"b66e7b3b9f3f497e4cbd56c69db6d2579dc5e8e787ea80599d59b6a56219bb21"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: tests/fixtures/data-loaders-require/resolution.cjs:10 imports \u0027./config\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/fixtures/data-loaders-require/resolution.cjs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"20e05afc92f113663285ffdbb645a5bbf48966d33c15a6701798b1399f7a6984"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: tests/fixtures/dir-main/main.ts:2 imports \u0027./main-no-index\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/fixtures/dir-main/main.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"951ec58f293d76b173a3390f6ca917a5ccd7f475c8559def64702d5d8757ac9a"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: tests/fixtures/loader-source-reuse/main.mjs:8 imports \u0027./absent.mjs\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/fixtures/loader-source-reuse/main.mjs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"88e8f677ec8bbe70fc255c0cdcee787ccf0bc53d953fa691ced0a2c72b6e99c3"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: tests/fixtures/vanilla-ts/js-no-probe.js:1 imports \u0027./nonexistent\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/fixtures/vanilla-ts/js-no-probe.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e1e5ea74f0dd1e7d05be85b26f5c1cecc89ff865dc194349567bee08e7aaf76"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: tests/fixtures/worker/unhandled-error-fatal-main.ts:7 imports \u0027./does-not-exist.mjs\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/fixtures/worker/unhandled-error-fatal-main.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8ce090787013c548ff7ba48b6b3bc599801f5e6df9cd15eaaaddb1accec1a0e"}},{"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":"runtime/compile-sea-loader.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"404cb95be8c99ace71d3707e9c98dceaae6648cc5ab1d5cbada410f074712266"}},{"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":"runtime/nubr.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0530e81c2caecf2bb1c527fcfb1d194d35793dc9412abbe293879772fa2d0695"}},{"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":"runtime/compile-bootstrap.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a951ccd1ebae7141b775d04f60d20fa2490ab148ef39a13579a80160b89b37"}},{"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":"npm/nub/postinstall.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0827404677ac82f3da2f4606ac903255a5149e8faeeeee192610aeade78da71b"}},{"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":"runtime/compile-inline-loader.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0737e22be6be928cbe8a07574d44975a13c8070cb951b8f38be6253484c10f3c"}},{"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":"runtime/loader-entry.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c61344a899b7494bd82b4df6a7686f7df8c6fb9e4e0c4448f55d1d18c4c90e27"}},{"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":"runtime/preload.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a55008740dee97b3655882003dd4b363c5691f6e6c80391a235853466c03398"}},{"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":"runtime/preload-async-hooks.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f19107ca435b7b9f5c6bd3eef57ed5f831f9e0938aa9b243fd97c524a62cab69"}},{"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":"stats/download-counts/report.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f604615566f437ac60a0bceb2dc09020f47aeb4012a6b3a332d02f22ea2e0836"}},{"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":"runtime/loader-platform.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9117acb35b534ce7cb274fa02a445a658cc483ee864ebc84329d46b5d739122"}},{"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":"runtime/pnp-bin-run.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"673d25c937e30ca59fa1654b7671a71bc4d89141dd1b24aa5229bef8b278a746"}},{"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":"runtime/watch-env-guard.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81d595406445e06657d5d3ddab34d8430b32565a66ed3447265ec65b1aa324aa"}},{"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":"runtime/floor-builtin.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aec76da627a4d9c4ee9a8ee7dd1232ba036c6361ccc4e9bf7cc1fcc4b06ab15b"}},{"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":"runtime/threadpool-snapshot.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc6f6d8c666c699169f149cffae592f154ebaad8f4492c703cfe8af93c6c06bb"}},{"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":"runtime/loader-register.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a00dec877d873d5d39945e47f0a0167295cc3be1d3fc6a4f7ccdd182726c5053"}},{"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":"runtime/loader-addon-env.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3710657c83afd0e793db94f4def5df6f690cc12a60bd386ebfeb8ddaa9b3a852"}},{"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":"runtime/compile-cache-restore.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"134aaf9d511bd636b8db3d56886cab58e2a793489d4eb50394689ec25893de23"}},{"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":"runtime/loader-esm.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42ab8f17d18fdf2a86947ca53cf01c465e69f561a01bdda085d65802fe2a42c4"}},{"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":"runtime/loader-register.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccab60264fe221c56ab0df48b48dd4825b59b004790ebf7a3e575cabc277dcbb"}},{"ruleId":"R6","level":"warning","message":{"text":"The declared test suite includes a file that cannot be loaded: This repository declares test tooling, and the \u2713 above records that declaration \u2014 but npm/nub-types/test/fixtures/positive/index.ts and 13 other test file(s) in this workspace cannot be loaded at all: it imports a module that names no file in this repository, so the runner throws while collecting it and none of its cases execute. The wiring is present and the suite it points at does not run as written, which is why the tooling tick must not be read as a statement that the tests pass. Fix the unloadable file(s) \u2014 each one is reported with its failing import under Test Coverage \u2014 then the declared script exercises what it claims to."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"npm/nub-types/test/fixtures/positive/index.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"870e12c9700914a301ec158ba3e4a0e4ba4d51312f980e477e4aed4a80deaa5a"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~13 LoC): no import path from any entry point (260 application, 70 tooling, 476 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":"scripts/lat-prompt.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7466c72d0a23782052a5ff24517ee72a0947bf72ff4431ebd7ca843797ecffd1"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027isDay\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/download-stats.mjs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f2120a411f9492530285d74318c22b52aa1be425fe3e98323337c5286bf5fff"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027TOOLS\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/conformance/registry/main.mjs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"06eade9136dd6f973f43c1c5182bea1c4c69576bc9467e0be0f57c96a0f88bc9"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027yaml\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/transform-core.mjs"},"region":{"startLine":1189}}}],"partialFingerprints":{"codehealthFindingId/v1":"36a786638178cd9df41ba15ffe3d5ca2f352d639fe278710eadfd660f601a018"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027typescript-5-8\u0027: Declared in npm/nub-types/test/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":"79f6a5e1ce0ce65fb5274ca7f551b44e201e6084eaa42ab55f6f53be70e19aaf"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027typescript-5-9\u0027: Declared in npm/nub-types/test/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":"95b92a0f3bbf22508dc5a45feb19e22b8e46eaca587d5435b6014eabf896f4f2"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027typescript-6-0\u0027: Declared in npm/nub-types/test/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":"618ba68b5fc5739fdd90d905c417568fa169a05609aa5080a4134530821b6fe1"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@anthropic-ai/sandbox-runtime\u0027: Declared in tests/agent-sandbox/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":"ff30281743fc36c1dd6cc02c2b9ab139677af28c843848e8ba6e16145a3a50d0"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@openai/codex\u0027: Declared in tests/agent-sandbox/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":"f1c29c3e0cf4680d4e327e56fa392cc2761192a011744b706e2dea799473116c"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060sha2::Sha256::digest(\u2026)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-core/src/pm/registry.rs"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bc0972f1bc24a923e0dca22dac6357b97174a6f757f7e9b68690984207c84fe"}},{"ruleId":"SC1","level":"warning","message":{"text":"JavaScript dependencies are not locked: npm/nub-types/package.json declares dependencies that no committed lockfile resolves \u2014 there is no package-lock.json / yarn.lock / pnpm-lock.yaml / bun.lock beside it, and no locked workspace above it names it \u2014 so its installs aren\u0027t reproducible (SSDF PW.4.4). Commit its package manager\u0027s lockfile (or add it to the locked workspace) and install from it (\u0060npm ci\u0060, \u0060yarn --immutable\u0060, \u0060pnpm i --frozen-lockfile\u0060 or \u0060bun i --frozen-lockfile\u0060). Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"npm/nub-types/package.json"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2916ee1bcc5e34d06bc76918b5974da7ceb0809b9df1f2fad43a41ffcaf4fc6"}},{"ruleId":"SC1","level":"warning","message":{"text":"JavaScript dependencies are not locked: npm/nub-types/test/package.json declares dependencies that no committed lockfile resolves \u2014 there is no package-lock.json / yarn.lock / pnpm-lock.yaml / bun.lock beside it, and no locked workspace above it names it \u2014 so its installs aren\u0027t reproducible (SSDF PW.4.4). Commit its package manager\u0027s lockfile (or add it to the locked workspace) and install from it (\u0060npm ci\u0060, \u0060yarn --immutable\u0060, \u0060pnpm i --frozen-lockfile\u0060 or \u0060bun i --frozen-lockfile\u0060). Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"npm/nub-types/test/package.json"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd1127e626c06febde34eeb968df81279cb363edde199e650dbd5b62d847f1bf"}},{"ruleId":"SC1","level":"warning","message":{"text":"JavaScript dependencies are not locked: npm/nub/package.json declares dependencies that no committed lockfile resolves \u2014 there is no package-lock.json / yarn.lock / pnpm-lock.yaml / bun.lock beside it, and no locked workspace above it names it \u2014 so its installs aren\u0027t reproducible (SSDF PW.4.4). Commit its package manager\u0027s lockfile (or add it to the locked workspace) and install from it (\u0060npm ci\u0060, \u0060yarn --immutable\u0060, \u0060pnpm i --frozen-lockfile\u0060 or \u0060bun i --frozen-lockfile\u0060). Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"npm/nub/package.json"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"61bfe3951d4b17365c2854b2c37b1fa20d80b8836d1338107a324b928b73582c"}},{"ruleId":"SC1","level":"warning","message":{"text":"JavaScript dependencies are not locked: npm/runner/package.json declares dependencies that no committed lockfile resolves \u2014 there is no package-lock.json / yarn.lock / pnpm-lock.yaml / bun.lock beside it, and no locked workspace above it names it \u2014 so its installs aren\u0027t reproducible (SSDF PW.4.4). Commit its package manager\u0027s lockfile (or add it to the locked workspace) and install from it (\u0060npm ci\u0060, \u0060yarn --immutable\u0060, \u0060pnpm i --frozen-lockfile\u0060 or \u0060bun i --frozen-lockfile\u0060). Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"npm/runner/package.json"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"60f65659ec137aa4bfe16eb0dda54cbdca197d5816ea0d707e3f078202eebd45"}},{"ruleId":"SC1","level":"warning","message":{"text":"JavaScript dependencies are not locked: package.json declares dependencies that no committed lockfile resolves \u2014 there is no package-lock.json / yarn.lock / pnpm-lock.yaml / bun.lock beside it, and no locked workspace above it names it \u2014 so its installs aren\u0027t reproducible (SSDF PW.4.4). Commit its package manager\u0027s lockfile (or add it to the locked workspace) and install from it (\u0060npm ci\u0060, \u0060yarn --immutable\u0060, \u0060pnpm i --frozen-lockfile\u0060 or \u0060bun i --frozen-lockfile\u0060). Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcd699919aa591b262d8f4a07a70eed2e90d52ddb856cc6e42aa98540126b06b"}},{"ruleId":"SC1","level":"warning","message":{"text":"JavaScript dependencies are not locked: tests/compile-native-islands/package.json declares dependencies that no committed lockfile resolves \u2014 there is no package-lock.json / yarn.lock / pnpm-lock.yaml / bun.lock beside it, and no locked workspace above it names it \u2014 so its installs aren\u0027t reproducible (SSDF PW.4.4). Commit its package manager\u0027s lockfile (or add it to the locked workspace) and install from it (\u0060npm ci\u0060, \u0060yarn --immutable\u0060, \u0060pnpm i --frozen-lockfile\u0060 or \u0060bun i --frozen-lockfile\u0060). Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/compile-native-islands/package.json"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"e23ceec1040f19f52a3599cdb5609b6b08063f57f346f45c378988334f74b4ec"}},{"ruleId":"SC1","level":"warning","message":{"text":"JavaScript dependencies are not locked: tests/native-deps/package.json declares dependencies that no committed lockfile resolves \u2014 there is no package-lock.json / yarn.lock / pnpm-lock.yaml / bun.lock beside it, and no locked workspace above it names it \u2014 so its installs aren\u0027t reproducible (SSDF PW.4.4). Commit its package manager\u0027s lockfile (or add it to the locked workspace) and install from it (\u0060npm ci\u0060, \u0060yarn --immutable\u0060, \u0060pnpm i --frozen-lockfile\u0060 or \u0060bun i --frozen-lockfile\u0060). Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/native-deps/package.json"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"8df639cd33b137621458e6cd83d63e5c023c0bccb43afd960e0f934285eaa5ed"}},{"ruleId":"SC1","level":"warning","message":{"text":"JavaScript dependencies are not locked: vendor/aube/docs/package.json declares dependencies that no committed lockfile resolves \u2014 there is no package-lock.json / yarn.lock / pnpm-lock.yaml / bun.lock beside it, and no locked workspace above it names it \u2014 so its installs aren\u0027t reproducible (SSDF PW.4.4). Commit its package manager\u0027s lockfile (or add it to the locked workspace) and install from it (\u0060npm ci\u0060, \u0060yarn --immutable\u0060, \u0060pnpm i --frozen-lockfile\u0060 or \u0060bun i --frozen-lockfile\u0060). Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vendor/aube/docs/package.json"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"de558120137aa166179c4733b93a01c96730a42c04bcfa15fb704e91f9c23985"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!arg.includes(\u0022=\u0022) \u0026\u0026 next !== undefined \u0026\u0026 !next.startsWith(\u0022-\u0022)\u0060 appears character-identically in 3 files \u2014 runtime/compile-bootstrap.cjs, runtime/compile-sea-loader.cjs, runtime/worker-polyfill.mjs. 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":"runtime/compile-bootstrap.cjs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f52148584772217f1e565ec7a16b32780331ca81f5c82b1aaf73aa70d7ba4d6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!isValidIsoDate(published) || !isValidIsoDate(removable)\u0060 appears character-identically in 2 files \u2014 scripts/soak/external-tools.mts, scripts/soak/soak.mts. 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":"scripts/soak/external-tools.mts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"77f61538159d13cc134d6abca70307b065bb98088e5621e3307eac969cb0aa7e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060/\\bgh\\b[\\s\\S]*?\\b(issue|pr)\\b[\\s\\S]*?\\b(comment|create)\\b/.test(cmd) \u0026\u0026 /\\bgh\\b\\s\u002B(issue|pr)\\s\u002B(comment|create)\\b/.test(cmd.replace(/\\s\u002B/g, \u2026\u0060 appears character-identically in 2 files \u2014 .claude/hooks/gh-comment-guard.mjs, .codex/hooks/gh-comment-guard.mjs. 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":".claude/hooks/gh-comment-guard.mjs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eac2cd81cdb684aa10ebfa9ab355af4facafb40526b95e4d4e27dbc0c128235"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060arg !== \u0022\u0022 \u0026\u0026 report.startsWith(arg, cursor) \u0026\u0026 (end === report.length || report.startsWith(\u0022, \u0022, end))\u0060 appears character-identically in 3 files \u2014 runtime/compile-bootstrap.cjs, runtime/compile-sea-loader.cjs, runtime/worker-polyfill.mjs. 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":"runtime/compile-bootstrap.cjs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"d164497b08521cb86399ac3efaa2b08ae7b98f7cb3f366cb249242b4834cc36a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cursor === report.length \u0026\u0026 refused.length \u003E 0\u0060 appears character-identically in 3 files \u2014 runtime/compile-bootstrap.cjs, runtime/compile-sea-loader.cjs, runtime/worker-polyfill.mjs. 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":"runtime/compile-bootstrap.cjs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e3c6d424e8130b13fef88c0e640a831472e0e6c2c2b3cd5ea7fd80ec0292c71"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060given !== undefined || error?.code !== \u0022ERR_WORKER_INVALID_EXEC_ARGV\u0022\u0060 appears character-identically in 2 files \u2014 runtime/compile-bootstrap.cjs, runtime/compile-sea-loader.cjs. 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":"runtime/compile-bootstrap.cjs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba22340b682fcbea32780fe67d3692076e42a07d1bf1ce062277cb767e9ecc68"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060header \u0026\u0026 \u0022glibcVersionRuntime\u0022 in header\u0060 appears character-identically in 2 files \u2014 npm/nub/platform.js, runtime/loader-platform.cjs. 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":"npm/nub/platform.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d47c9c8e2f26c6aebf2391dcacd5aa1e61a3b1c6cdc4c113ee417cb0808bac1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.env.__NUB_RUNTIME_CONFIG || \u0022{}\u0022\u0060 appears character-identically in 2 files \u2014 runtime/preload-common.cjs, runtime/transform-core.mjs. 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":"runtime/preload-common.cjs"},"region":{"startLine":2626}}}],"partialFingerprints":{"codehealthFindingId/v1":"52d7cbcb48c237dad6e7de57f76e09fe0b7f0387542b69c2f71544788e73b570"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060settled || process.exitCode !== undefined\u0060 appears character-identically in 2 files \u2014 runtime/compile-inline-loader.cjs, runtime/compile-sea-loader.cjs. 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":"runtime/compile-inline-loader.cjs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"f328cff056b94f29ace17ed6c7f5a949d4d021907ca7f8146970e930676ad529"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060st.terminal \u0026\u0026 !st.failed \u0026\u0026 !st.skipped\u0060 appears character-identically in 2 files \u2014 scripts/ci-watch.ts, scripts/lib/ci-rollup.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":"scripts/ci-watch.ts"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"1366f5d26cdb12348ac13b38e4b430ac68d3c8aa247295baba7bb19ef9fb0adb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060trimmed === \u0027$\u0027 || trimmed.startsWith(\u0027$ \u0027)\u0060 appears character-identically in 2 files \u2014 site/src/lib/ansi-screen.ts, site/src/lib/shiki-console.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":"site/src/lib/ansi-screen.ts"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa4565001644d9928473470b37e937a50db94e4f4f1df18298369ab9455d6616"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022object\u0022 \u0026\u0026 value !== null\u0060 appears character-identically in 2 files \u2014 runtime/fetch-serve.cjs, runtime/preload-common.cjs. 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":"runtime/fetch-serve.cjs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"27ee1e6b1042568a59b5feea5f1cb5d198b464ebef5be5ce6c7449b3818b0652"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!parsed.panicked \u0026\u0026 parsed.diagnostics.is_empty()\u0060 appears character-identically in 2 files \u2014 crates/nub-cli/src/compile/external.rs, crates/nub-cli/src/compile/native.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":"crates/nub-cli/src/compile/external.rs"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b9dbbb5ed702257c9e742d948b8160820e8fccce205283b593db1643e7e0e55"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060a.dev() == b.dev() \u0026\u0026 a.ino() == b.ino()\u0060 appears character-identically in 2 files \u2014 crates/nub-core/src/node/discovery.rs, crates/nub-launcher/src/main.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":"crates/nub-core/src/node/discovery.rs"},"region":{"startLine":1305}}}],"partialFingerprints":{"codehealthFindingId/v1":"851720ba0781bd29823235767e3b90ca7ff96c30d89085059c1de12c115c6539"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060c.is_ascii_alphanumeric() || c == \u0027-\u0027 || c == \u0027_\u0027\u0060 appears character-identically in 2 files \u2014 crates/nub-cli/src/compile/bundle.rs, crates/nub-cli/src/compile/loaders.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":"crates/nub-cli/src/compile/bundle.rs"},"region":{"startLine":3702}}}],"partialFingerprints":{"codehealthFindingId/v1":"460202e55ee848fff2aabda049ad86bb9fc921cbf13a1fcc333b8580b9aadc1b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060end \u003E 0 \u0026\u0026 (bytes[end - 1] == b\u0027 \u0027 || bytes[end - 1] == b\u0027\\t\u0027)\u0060 appears character-identically in 2 files \u2014 crates/nub-cli/src/compile/unbundlable.rs, crates/nub-native/src/cache.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":"crates/nub-cli/src/compile/unbundlable.rs"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"401b8c951fe2caaa13cc74e79ed8d39efe6d87bef02afba00e3052e627021d00"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060err.to_lowercase().contains(\u0022cap\u0022) || err.to_lowercase().contains(\u0022decompress\u0022)\u0060 appears character-identically in 2 files \u2014 crates/nub-core/src/pm/extract.rs, crates/nub-core/src/version_management/extract.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":"crates/nub-core/src/pm/extract.rs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"7138c82fb51458207c6744aabdd404fa91b51af4b6fabac8d395710e0511d4b6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060line.is_empty() || line.starts_with(\u0027#\u0027) || line.starts_with(\u0027;\u0027)\u0060 appears character-identically in 3 files \u2014 crates/nub-cli/src/pm_engine/unsupported_config.rs, crates/nub-cli/src/pm_engine/use_nub.rs, crates/nub-core/src/pm/registry.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":"crates/nub-cli/src/pm_engine/unsupported_config.rs"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"701acf566170ae4983eb668a4ca23cff04269d4af4347698aa2942aeed1331d6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060meta.meta.name == \u0022import\u0022 \u0026\u0026 meta.property.name == \u0022meta\u0022\u0060 appears character-identically in 2 files \u2014 crates/nub-cli/src/compile/bundle.rs, crates/nub-cli/src/compile/native.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":"crates/nub-cli/src/compile/bundle.rs"},"region":{"startLine":3120}}}],"partialFingerprints":{"codehealthFindingId/v1":"a18314b40ded0f7024e4a2adb6d722362d00d311e91256cecd15d18aac7eb551"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060name.ends_with(\u0022.d.ts\u0022) || name.ends_with(\u0022.d.mts\u0022) || name.ends_with(\u0022.d.cts\u0022)\u0060 appears character-identically in 2 files \u2014 crates/nub-cli/src/compile/unbundlable.rs, crates/nub-cli/src/phantom_scan.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":"crates/nub-cli/src/compile/unbundlable.rs"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef2cfd10912a4c098766138085516a6388ddd15f18998df1d6f7d2adf7e087a1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parent.uid() != euid \u0026\u0026 parent.uid() != 0\u0060 appears character-identically in 2 files \u2014 crates/nub-core/src/node/runtime_cache.rs, crates/nub-launcher/src/cache.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":"crates/nub-core/src/node/runtime_cache.rs"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc83ad82dd0ee6652d5ffc9cb86bc7cdf1fefa1bcac46f9fc66f65e187dac5e7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.recursive \u0026\u0026 filters.is_empty() \u0026\u0026 self.filter_prod.is_empty()\u0060 appears character-identically in 2 files \u2014 crates/nub-cli/src/pm_engine/install_family.rs, crates/nub-cli/src/pm_engine/publish_family.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":"crates/nub-cli/src/pm_engine/install_family.rs"},"region":{"startLine":1373}}}],"partialFingerprints":{"codehealthFindingId/v1":"284cebff34f1e3e058b55d2f8d34e0cdf32c42ac71fa0eeb17faa0ce2600ab87"}},{"ruleId":"X2","level":"note","message":{"text":"Not all async functions that make a request accept an AbortSignal: Only 1/4 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: getStarCount: \u0060getStarCount\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":"site/src/components/github-star-button.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7f028d06a0d7547f12613b015c8f532e6581711b87cacd8be036c57d1acfd6a"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: getStarCount: \u0060getStarCount\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":"site/src/components/github-star-pill.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"38ceac92b500cb84e8356ac16fb207a9c5d04a9bbae5c5575d0466082741fb57"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: getStarCount: \u0060getStarCount\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":"site/src/app/stars.svg/route.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1648997a010ccbf135e737b9a1460cec6c66dfd42778f033c55a8622e37daf3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 155 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-core/src/node/runtime_cache.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"a52c28bacef9b32c2dd3787022903ef5d83119c615b5de9caf4212762db6a65b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 213 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-core/src/node/runtime_cache.rs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"516af6ac60ffdd0b1bc16be303867e28a05fae6c5d12f615bcdbf801e91f9796"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 229 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-core/src/node/runtime_cache.rs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"c154140078af8ab169381e00ff2ac7f8cc78f5b58448a58bc24745e9aa9702bc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2137 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/pm_engine/mod.rs"},"region":{"startLine":2137}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa0d1ec2e639dbc51516f4614c13d2679ed0406e20ea12583e8e72c0278a929c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 478 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/src/pm_engine/phantom_closure.rs"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"415317633da7d3f33cdbcd78c0918cab6c8c3bbc793399b579ca93abd2d58852"}},{"ruleId":"X5","level":"note","message":{"text":"Strict null checking is not enabled everywhere the repository type-checks: 8/24 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.3 \u0060!\u0060 null assertions per 1k TypeScript source lines \u2014 2 assertion(s) across the 7969 source line(s) of the 63 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: site/src/components/code.tsx (1), site/src/lib/ansi-screen.ts (1). 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":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060unreached_forced_unbundled\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":"crates/nub-cli/src/compile/native.rs"},"region":{"startLine":1426}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2667a21af34913b4c1f6ef43652f37e38e40a88e8f5d96d8fd6798b0748fe4c"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060resolution_source\u0060 turns every \u0060Err\u0060 into \u0060\u0022package.json#devEngines.runtime (refused \u2014 non-Node runtime)\u0022.to_string()\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":"crates/nub-cli/src/cli.rs"},"region":{"startLine":12222}}}],"partialFingerprints":{"codehealthFindingId/v1":"e31cc277bf4b279a76957d9a83cba16e0031461ef6965904f288e0023a4a70b7"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060unreachable_dirs\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":"crates/nub-cli/src/compile/unbundlable.rs"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"05d9cf60b57b396d2b84d2ed3a9519a1dd56bd57711847f389d165b608791f81"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060empty_list_json\u0060 turns every \u0060Err\u0060 into \u0060\u0022[]\u0022.to_string()\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":"crates/nub-cli/src/pm_engine/info_family.rs"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf980ece2218fa5dc23f7791a5b91dbbaa6698b331d4f44e9e09d76501c98eb8"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060read\u0060 turns every \u0060Err\u0060 into \u0060Ok(0)\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":"crates/nub-core/src/version_management/download.rs"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbe3fce4e89ec5131528e3637443f0623fb942a6cc828b2e97e4c22215ad2ec1"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060discover_members\u0060 turns every \u0060Err\u0060 into \u0060vec![]\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":"crates/nub-core/src/workspace/filter.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"6176f6eb89e77a2ab0a505796ebfb074a329bb1c2b34fd4a36adb66f896478fd"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060config_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":"crates/nub-phantom-scan/src/graph.rs"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c1714b4421dadb803b91647c240066d36e7aa1010477fe85700679c83989fd9"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060dependency_candidates\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":"vendor/aube/crates/aube/src/commands/completion.rs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"f021217a6d899e58de6f068d9d6ac1f8abeb890403475ecaab1efeae48675e57"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060bin_candidates\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":"vendor/aube/crates/aube/src/commands/completion.rs"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"977b8c1cebefcf1a3669c1c7feaa0d05527bc8485a49124789591f946d48acbc"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060read_workspace_yaml_raw\u0060 turns every \u0060Err\u0060 into \u0060BTreeMap::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":"vendor/aube/crates/aube/src/commands/config/mod.rs"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"b82771e1993b68048454d240f02737f02a2df8bb7ba81c6b1b818676bd4a5cb5"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060load_user_entries\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":"vendor/aube/crates/aube/src/commands/config/aube_config.rs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"78f744e7ebc65191e4223df05e665610d01219fb3e00af9355db6d4a176f0ae1"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060scan_packages\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":"vendor/aube/crates/aube/src/commands/global.rs"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c558e0af6e0c995f39fae218025565c63b2fd9c9eacacf76b89855cfac27256"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060script_completion_candidates\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":"vendor/aube/crates/aube/src/commands/run.rs"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"044316c4517c4c40cec9b304f2e9d125b1c4d2ecbbcf0e77d0d9a54a27dfb6a1"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060legacy_project_records\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":"vendor/aube/crates/aube/src/commands/store.rs"},"region":{"startLine":1105}}}],"partialFingerprints":{"codehealthFindingId/v1":"6058ff50d7e4f007853f0697f1a7a8596029ce50dc58d976653c7218723af23c"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060read_applied_patches\u0060 turns every \u0060Err\u0060 into \u0060Default::default()\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":"vendor/aube/crates/aube-linker/src/patches.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"25c232e3adc4b995ed67ed43c2d40040a46506ab2607c8c74c146614a480818b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060preferred_root_placements\u0060 turns every \u0060Err\u0060 into \u0060BTreeMap::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":"vendor/aube/crates/aube-lockfile/src/npm/write.rs"},"region":{"startLine":881}}}],"partialFingerprints":{"codehealthFindingId/v1":"430e956b8619fa842c41cfbbb22698055f490f888c5bda32e7c89fb336828e4f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060read_workspace_yaml_string_list\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":"vendor/aube/crates/aube-manifest/src/workspace/edits.rs"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2e8bd16f00510a5ddab60a0a23b38136a051505db02e6ca8157e18a3386399a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060load_state\u0060 turns every \u0060Err\u0060 into \u0060LocalState::default()\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":"vendor/aube/crates/aube-registry/src/osv_bloom_client.rs"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"40217ff7a1546da24fdc39f182841186e421aaefaad6c4625a90454ae89b1d79"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060load_or_default\u0060 turns every \u0060Err\u0060 into \u0060IndexFile::default()\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":"vendor/aube/crates/aube-registry/src/osv_mirror.rs"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd6d6c22945c85fbcbf052474646f22027605931de4b1dd736cf4e848568cc5a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060read_cached_full_packument_typed_lookup\u0060 turns every \u0060Err\u0060 into \u0060CachedPackumentLookup::default()\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":"vendor/aube/crates/aube-registry/src/client/cache.rs"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"60cb4f603b2242e384f760ca6e26a2e4c61cba32ef00e329b1a49c25b67cafb7"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060load_yarnrc_entries_from_path\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":"vendor/aube/crates/aube-registry/src/config/yarnrc.rs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5ad8664783820c15e6b8e2e966b695b665f7d4288d61f6a10b08eb51b760bb2"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060translate_yarnrc_content\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":"vendor/aube/crates/aube-registry/src/config/yarnrc.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"15f0ad384e8e54f4c5ce9e671d8874b30ca2935d75d08cb942838154775bc26d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060load_classic_yarnrc_entries_from_path\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":"vendor/aube/crates/aube-registry/src/config/yarnrc.rs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"90f6533de7c13cef0001c5c17ac36f4ac15bdb51d769e8c26fa38595b7378199"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060scan_install_dir\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":"vendor/aube/crates/aube-runtime/src/discover.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"196c747106d2f18113286180cd382d07efd6b4fc690d54b13bc47adf410726b2"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060scan_aube_dir\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":"vendor/aube/crates/aube-runtime/src/self_install.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"e01d946de6c7be22b8a49e7d88a5eedab78ac98e6530656a254e040e2052b0cf"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060take_age_gate_downgrades\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":"vendor/aube/crates/aube-util/src/age_gate.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"e75c4111be9ec43d6e5aba27cd2df783ce7961e73134fa95148607eb94bdde31"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060take_age_gated_fallback_picks\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":"vendor/aube/crates/aube-util/src/age_gate.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce71aa58d8629c2363d791b4c4eed8d25bcd3aac3d28ac3684ef6194cb4ac707"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readEntries\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":"site/src/app/schema/page.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"3409d9afddc8d784bdaada8c252e873d25f10139d34ea464d7c6dcb9d4c6ceb4"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060capture\u0060 swallows every exception into \u0060return \u0022?\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/cross-runtime/run.mjs"},"region":{"startLine":942}}}],"partialFingerprints":{"codehealthFindingId/v1":"cec75026eb1efe23df8ff712ca97635fce0e380b84d3badc9cc089f20a19fb95"}},{"ruleId":"X9","level":"note","message":{"text":"Subsumed condition operand: \u0060flat.contains(\u0022exotic\u0022)\u0060 can never decide this \u0060\u0026\u0026\u0060 \u2014 every value satisfying \u0060flat.contains(\u0022foo@exotic:bar\u0022)\u0060 also satisfies \u0060flat.contains(\u0022exotic\u0022)\u0060, so the \u0060\u0026\u0026\u0060 chain is already decided by the former. The expression is equivalent to the chain without it, which means it is narrower than it reads. Delete the dead operand, or narrow the surviving one if IT is the accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/nub-cli/tests/abort_eagerly.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"63ff119da8732521a9ef1b2d2154209dfad1273d027a73cdcd6d0c7b579d225c"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-1104","guid":"4c918cb5-b2a6-6c55-9963-a44ee464305e","name":"Use of Unmaintained Third Party Components","shortDescription":{"text":"Use of Unmaintained Third Party Components"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.html"},{"id":"CWE-1352","guid":"5257f322-5cfc-6b52-bedd-0b9a526b4c7d","name":"CWE-1352","shortDescription":{"text":"CWE-1352"},"helpUri":"https://cwe.mitre.org/data/definitions/1352.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-250","guid":"52ee12e8-390a-7351-b1e6-388afa694e54","name":"CWE-250","shortDescription":{"text":"CWE-250"},"helpUri":"https://cwe.mitre.org/data/definitions/250.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-319","guid":"7af97476-9f0d-4458-9163-3d2043918a1a","name":"Cleartext Transmission of Sensitive Information","shortDescription":{"text":"Cleartext Transmission of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/319.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-862","guid":"2d96ecd7-f7f1-7f55-9f3a-43bb5bafdf33","name":"Missing Authorization","shortDescription":{"text":"Missing Authorization"},"helpUri":"https://cwe.mitre.org/data/definitions/862.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"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"},{"id":"CICD-SEC-7","guid":"4c4af28d-49e3-2d51-b597-e1396c49658b","name":"Insecure System Configuration","shortDescription":{"text":"Insecure System Configuration"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-07-Insecure-System-Configuration"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"}]}],"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":108,"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."]}]}