{"$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":"D7","name":"Architectural Integrity","shortDescription":{"text":"Architectural Integrity"},"helpUri":"https://codehealth.canine.dev/dimensions/D7"},{"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":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"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":"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":"R11","name":"Import Boundaries","shortDescription":{"text":"Import Boundaries"},"helpUri":"https://codehealth.canine.dev/dimensions/R11"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R4","name":"Test Coverage","shortDescription":{"text":"Test Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/R4"},{"id":"R5","name":"Dependency Freshness","shortDescription":{"text":"Dependency Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/R5"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"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":"source.rewriteSource (cyclomatic 218): source.rewriteSource has cyclomatic complexity 218 (threshold 15). Of this number, 198 points are the body\u0027s own statements and 20 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":"packages/cli/src/migration/vitest-v5/source.ts"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"b70f79e5d676a2bd152a867c4f476a9ca2b347e53515e40f6504aea21cd017b0"}},{"ruleId":"D1","level":"warning","message":{"text":"bin.main (cyclomatic 147): bin.main has cyclomatic complexity 147 (threshold 15). To reduce it, separate the cases: extract each independent 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 (bin.main::resolveProjectSetup) 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":"packages/cli/src/create/bin.ts"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"192859fb6e72b9d75a75b6232bcc8a9bd863c757319b02186a94db2684dd2ebc"}},{"ruleId":"D1","level":"warning","message":{"text":"bin.main (cyclomatic 116): bin.main has cyclomatic complexity 116 (threshold 15). Of this number, 109 points are the body\u0027s own statements and 7 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":"packages/cli/src/migration/bin.ts"},"region":{"startLine":1046}}}],"partialFingerprints":{"codehealthFindingId/v1":"a62a6d12953f7d76286bd06c30bda24f9a51b68b62328a14dcacb9410c77216a"}},{"ruleId":"D1","level":"warning","message":{"text":"scopes.resolveVitestV5TestModes::walk (cyclomatic 93): scopes.resolveVitestV5TestModes::walk has cyclomatic complexity 93 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/vitest-v5/scopes.ts"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ec8f60e7d86e481b98bdcf8ccd574f78f435ee18b2eac34731b45eebf5b2b23"}},{"ruleId":"D1","level":"warning","message":{"text":"ts-node-config.prepareTsNodeRun (cyclomatic 82): ts-node-config.prepareTsNodeRun has cyclomatic complexity 82 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/migrator/ts-node-config.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e81ab5ea035540490764596fad6874df12d1c62d87ec16724e5485cd5ade173"}},{"ruleId":"D1","level":"warning","message":{"text":"package-json.rewritePackageJson (cyclomatic 78): package-json.rewritePackageJson has cyclomatic complexity 78 (threshold 15). Of this number, 76 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/migrator/package-json.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb2e9c650bb58a3a5ada9844750844326d1ccca845b267678effa72f9e9c294"}},{"ruleId":"D1","level":"warning","message":{"text":"vite_plus_cli::check::execute_check (cyclomatic 63): vite_plus_cli::check::execute_check has cyclomatic complexity 63 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/binding/src/check/mod.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"904c4a3ef5ed7373c3f7f8e1d7bc35deb4201cfb99b604ebcded699cf1a5bacb"}},{"ruleId":"D1","level":"warning","message":{"text":"vp_global_cli::self_setup::run (cyclomatic 58): vp_global_cli::self_setup::run has cyclomatic complexity 58 (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/vp_global_cli/src/self_setup.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"b58ba1c2cee527a8ac09ef6a0f34221921c5a39aec002a870e80cccbe099f424"}},{"ruleId":"D1","level":"warning","message":{"text":"vp_global_cli::commands::global::install::install (cyclomatic 57): vp_global_cli::commands::global::install::install has cyclomatic complexity 57 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own 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/vp_global_cli/src/commands/global/install.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d2d677f8354919b0b904d6e17939da226a507b51202c80b85a9cd459f31040c"}},{"ruleId":"D1","level":"warning","message":{"text":"vite-plus-bootstrap.ensureVitePlusBootstrap (cyclomatic 56): vite-plus-bootstrap.ensureVitePlusBootstrap has cyclomatic complexity 56 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 24 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/migrator/vite-plus-bootstrap.ts"},"region":{"startLine":945}}}],"partialFingerprints":{"codehealthFindingId/v1":"d488aa44a50b4179478cd6144c2531c51d8c93434aa35fe7a271be59277de630"}},{"ruleId":"D1","level":"warning","message":{"text":"config.migrateConfig::testOptions (cyclomatic 54): config.migrateConfig::testOptions 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. This shape REPEATS in the file: one other method here (config.migrateConfig) 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":"packages/cli/src/migration/vitest-v5/config.ts"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d5f1394e04912fb46c1d88f5df13925fa351d1ab6f53a548718d72f5e30641a"}},{"ruleId":"D1","level":"warning","message":{"text":"vp_migration::import_rewriter::rewrite_reference_types (cyclomatic 53): vp_migration::import_rewriter::rewrite_reference_types 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/vp_migration/src/import_rewriter.rs"},"region":{"startLine":1786}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e55a616fe0c2f8056c732a3cbb0fd35b93e2bdbd035bda5dd51465bcc542236"}},{"ruleId":"D1","level":"warning","message":{"text":"benchmark-config.migrateBenchmarkConfig (cyclomatic 42): benchmark-config.migrateBenchmarkConfig has cyclomatic complexity 42 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/vitest-v5/benchmark-config.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"3835da1002eb9760f67992b10351b8295fd9bde0a4e0844684c2dfadc50767b5"}},{"ruleId":"D1","level":"warning","message":{"text":"lockfile.lockedVitestVersion (cyclomatic 42): lockfile.lockedVitestVersion has cyclomatic complexity 42 (threshold 15). Of this number, 37 points are the body\u0027s own statements and 5 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":"packages/cli/src/migration/vitest-v5/lockfile.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5396c4d0ec6af4563779d9a5168d857ba43c7a2ae3ec41cbd7d014b4d108e72"}},{"ruleId":"D1","level":"warning","message":{"text":"vp_global_cli::commands::env::use::execute (cyclomatic 41): vp_global_cli::commands::env::use::execute has cyclomatic complexity 41 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_global_cli/src/commands/env/use.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0eaf9d861d85216d1ac08910171ef4fe336cbf565b23b67d515d05c90b53c18"}},{"ruleId":"D1","level":"warning","message":{"text":"vp_global_cli::run (cyclomatic 40): vp_global_cli::run has cyclomatic complexity 40 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own 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/vp_global_cli/src/main.rs"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"061dca6bf4bf9a735627a0e475f3b92422d21f38856406c807f744363803b6b5"}},{"ruleId":"D1","level":"warning","message":{"text":"benchmarks.migrateBenchmarks (cyclomatic 40): benchmarks.migrateBenchmarks has cyclomatic complexity 40 (threshold 15). To reduce it, separate the cases: extract each independent 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 (benchmarks.migrateBenchmarks::directCall) 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":"packages/cli/src/migration/vitest-v5/benchmarks.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d77d5f542ff8e5a05bd9eb3024cf57d27316cd0c7e1226e8a6e807cd13a32cd"}},{"ruleId":"D1","level":"warning","message":{"text":"source.globalRestorationOrigin (cyclomatic 40): source.globalRestorationOrigin has cyclomatic complexity 40 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/vitest-v5/source.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"50f01e99732bd37a30dbc057a0656861c3d24d37507f5c5f165854de3d8813cf"}},{"ruleId":"D1","level":"warning","message":{"text":"vitest-v5.scanAndRewriteFile (cyclomatic 38): vitest-v5.scanAndRewriteFile has cyclomatic complexity 38 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/migrator/vitest-v5.ts"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"d864b850078b1569ee7da30b758f86ea5f8d1700b0a846365c398914319b7c57"}},{"ruleId":"D1","level":"warning","message":{"text":"orchestrators.rewriteStandaloneProject (cyclomatic 38): orchestrators.rewriteStandaloneProject has cyclomatic complexity 38 (threshold 15). Most of this is not in the body itself: 14 of the 38 points are its own statements and the rest belongs to one function literal inside it that branches (line 152). 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":"packages/cli/src/migration/migrator/orchestrators.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d6dc6c830dc5f9684c3c80e37a64609a00999578494bc002ef5717524b4865e"}},{"ruleId":"D1","level":"warning","message":{"text":"config.migrateConfig (cyclomatic 37): config.migrateConfig 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. This shape REPEATS in the file: one other method here (config.migrateConfig::testOptions) 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":"packages/cli/src/migration/vitest-v5/config.ts"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"32cc06f38d7838ef8380e91747ef31dd03b6274fc6d5990418c9556b506534be"}},{"ruleId":"D1","level":"warning","message":{"text":"vite-plus-bootstrap.detectVitePlusBootstrapPending (cyclomatic 36): vite-plus-bootstrap.detectVitePlusBootstrapPending has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/migrator/vite-plus-bootstrap.ts"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bc2c0112229abe4fe46bc2fa31e530143c3735643919ff9902783a0d8ef5be2"}},{"ruleId":"D1","level":"warning","message":{"text":"vp_migration::vite_config::rewrite_pack_dts_generators (cyclomatic 35): vp_migration::vite_config::rewrite_pack_dts_generators has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_migration/src/vite_config.rs"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"176a601cea95546964d4f6435c3a260a656640e5b9995c5cd731805f4229355e"}},{"ruleId":"D1","level":"warning","message":{"text":"sync-remote-deps.mergePnpmWorkspaces (cyclomatic 34): sync-remote-deps.mergePnpmWorkspaces 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":"packages/tools/src/sync-remote-deps.ts"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2fd63b9df4a4b2c78fd1b8a501606684198bfc712542e1406fb0ee6ecf10550"}},{"ruleId":"D1","level":"warning","message":{"text":"vp_global_cli::commands::env::doctor::collect_dev_engines_findings (cyclomatic 33): vp_global_cli::commands::env::doctor::collect_dev_engines_findings 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/vp_global_cli/src/commands/env/doctor.rs"},"region":{"startLine":1054}}}],"partialFingerprints":{"codehealthFindingId/v1":"b69215f2ac1aaa3af25a6b019116dac6a0d6e6b9ddd8ffeb9a67dfa3a89a846b"}},{"ruleId":"D1","level":"warning","message":{"text":"vite_plus_cli::exec::workspace::execute_exec_workspace (cyclomatic 33): vite_plus_cli::exec::workspace::execute_exec_workspace 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":"packages/cli/binding/src/exec/workspace.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"068b1414e0a783bbbb572d81198cf946ec8cfd509c1c47ecddd3cca173a05af3"}},{"ruleId":"D1","level":"warning","message":{"text":"script-runner.scanOptions (cyclomatic 33): script-runner.scanOptions 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":"packages/cli/src/migration/migrator/script-runner.ts"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e349696f023fa9f95e985cec95e0bb33f4312b526cf5b137d54175bdbb39978"}},{"ruleId":"D1","level":"warning","message":{"text":"bin.showMigrationSummary (cyclomatic 33): bin.showMigrationSummary has cyclomatic complexity 33 (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":"packages/cli/src/migration/bin.ts"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee79480160fac825aeffc780e378fe05ab4c89e33a6fd17018bc2bc48688a9df"}},{"ruleId":"D1","level":"warning","message":{"text":"build.buildVite (cyclomatic 33): build.buildVite has cyclomatic complexity 33 (threshold 15). Most of this is not in the body itself: 7 of the 33 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 108, 113, 235). 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":"packages/core/build.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"69289c99d9e591b85e35a22f532b836ff4fbb1661348fe724cbab6ee836d7592"}},{"ruleId":"D1","level":"warning","message":{"text":"storybook.resolveStorybookScope (cyclomatic 32): storybook.resolveStorybookScope has cyclomatic complexity 32 (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":"packages/cli/src/migration/vitest-v5/storybook.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"58153aee3d03c73004e25856d71f41f4e95ada35c32128cab74533a21e284f23"}},{"ruleId":"D1","level":"warning","message":{"text":"oxlint-config.prepareOxlintConfigModules (cyclomatic 32): oxlint-config.prepareOxlintConfigModules has cyclomatic complexity 32 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 13 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":"packages/cli/src/migration/migrator/oxlint-config.ts"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"a761827d97ad65e0a8c57658808968df9fde75c6b26c11742db1cc2f1eff919a"}},{"ruleId":"D1","level":"warning","message":{"text":"bin.executeMigrationPlan (cyclomatic 32): bin.executeMigrationPlan has cyclomatic complexity 32 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 6 belong to 3 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":"packages/cli/src/migration/bin.ts"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"91ee4c63eb883581c2a78cafa5e7a34bf22a9fb3ede98058306641c4d6c789a6"}},{"ruleId":"D1","level":"warning","message":{"text":"autocomplete.autocompleteMultiselect (cyclomatic 32): autocomplete.autocompleteMultiselect has cyclomatic complexity 32 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 12 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":"packages/prompts/src/autocomplete.ts"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"aba91950417203851f6d273d857e16d904af0c80e315553a8d9cd31bff9103ad"}},{"ruleId":"D1","level":"warning","message":{"text":"multi-select.multiselect (cyclomatic 32): multi-select.multiselect has cyclomatic complexity 32 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 13 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":"packages/prompts/src/multi-select.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa0b5f8b5527bf399b346026e4ef1109f7435cce8ee01ff951922791f3f651e2"}},{"ruleId":"D1","level":"warning","message":{"text":"vp_global_cli::cli::run_command_with_options (cyclomatic 31): vp_global_cli::cli::run_command_with_options has cyclomatic complexity 31 (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/vp_global_cli/src/cli.rs"},"region":{"startLine":1112}}}],"partialFingerprints":{"codehealthFindingId/v1":"2235b765a29069a54c43ba62af20c8240648be2513633da3ceb4f4cc643f23de"}},{"ruleId":"D1","level":"warning","message":{"text":"script-runner.rewriteSegment (cyclomatic 31): script-runner.rewriteSegment has cyclomatic complexity 31 (threshold 15). Of this number, 30 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":"packages/cli/src/migration/migrator/script-runner.ts"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"546ec3c6b2d26cc38a7c49eab759aba45f18e92a37ebf3b474ab24d7fcce4274"}},{"ruleId":"D1","level":"warning","message":{"text":"commands.migrateBenchmarkOutput (cyclomatic 31): commands.migrateBenchmarkOutput has cyclomatic complexity 31 (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":"packages/cli/src/migration/vitest-v5/commands.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"7937176172ddec59e07572be4045d22df7fb87465869eaab619498996a69ffe0"}},{"ruleId":"D1","level":"warning","message":{"text":"group-multi-select.groupMultiselect::opt (cyclomatic 31): group-multi-select.groupMultiselect::opt has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (group-multi-select.groupMultiselect) 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":"packages/prompts/src/group-multi-select.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"0849109aba30fe39c8fc1a7fe7e71faf7d74d0561e591604534d588aa41e6ea1"}},{"ruleId":"D1","level":"warning","message":{"text":"webdriverio.migrateWebdriverioDependencies::overrideMap (cyclomatic 30): webdriverio.migrateWebdriverioDependencies::overrideMap has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 2 other methods here (webdriverio.migrateWebdriverioDependencies, webdriverio.migrateWebdriverioDependencies::update) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 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":"packages/cli/src/migration/vitest-v5/webdriverio.ts"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"731d2ccbb575e7a0e053900c8cccd1723a5e9e4de4dc7c6fd877b8d8822bb366"}},{"ruleId":"D1","level":"warning","message":{"text":"autocomplete.autocomplete (cyclomatic 30): autocomplete.autocomplete has cyclomatic complexity 30 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/prompts/src/autocomplete.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0104149c987a7ae56e6387d256fa79b419d83a8128148f1d902aa6a6b2d7495"}},{"ruleId":"D1","level":"warning","message":{"text":"vp_global_cli::cli::managed_update (cyclomatic 29): vp_global_cli::cli::managed_update has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_global_cli/src/cli.rs"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"02e850bfed95f74b65403ea44ee9229caf79ced77827b1ddc847359104df93a0"}},{"ruleId":"D1","level":"warning","message":{"text":"vp_global_cli::shim::dispatch::check_npm_global_install_result (cyclomatic 29): vp_global_cli::shim::dispatch::check_npm_global_install_result has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_global_cli/src/shim/dispatch.rs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaa20a4ed08a038331757972da2420e656b6e23ce38d87b3a1ab4374ed6465a0"}},{"ruleId":"D1","level":"warning","message":{"text":"config-object.resolveConfigObject (cyclomatic 29): config-object.resolveConfigObject has cyclomatic complexity 29 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/vitest-v5/config-object.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1878bc523430f885f98599b002579ffb46386dc24bc7fb0bfb199f074282764"}},{"ruleId":"D1","level":"warning","message":{"text":"benchmarks.migrateBenchmarks::directCall (cyclomatic 29): benchmarks.migrateBenchmarks::directCall has cyclomatic complexity 29 (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. This shape REPEATS in the file: one other method here (benchmarks.migrateBenchmarks) 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":"packages/cli/src/migration/vitest-v5/benchmarks.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdfe31ada326da8c40c487a33dfabef4e07a5cc802e38d5fa51718111f03fda5"}},{"ruleId":"D1","level":"warning","message":{"text":"vp_global_cli::commands::env::setup::print_path_instructions (cyclomatic 28): vp_global_cli::commands::env::setup::print_path_instructions has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_global_cli/src/commands/env/setup.rs"},"region":{"startLine":1560}}}],"partialFingerprints":{"codehealthFindingId/v1":"72cf9f88e914596aaa8c9022cad621e2f1ca2eefc967eb5014d5995306ec5639"}},{"ruleId":"D1","level":"warning","message":{"text":"vp_global_cli::commands::vpx::execute_vpx (cyclomatic 28): vp_global_cli::commands::vpx::execute_vpx has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_global_cli/src/commands/vpx.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ba123e1594eb92060885f71c3cbb2d772db814603d7f476d28de7fc0df3f29b"}},{"ruleId":"D1","level":"warning","message":{"text":"vp_migration::pack_config::rewrite_options (cyclomatic 28): vp_migration::pack_config::rewrite_options has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_migration/src/pack_config.rs"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"823c7d7d089725e1821f65247db1560d9a7ebb390dead4115e77cf6af813afae"}},{"ruleId":"D1","level":"warning","message":{"text":"detector.detectConfigs (cyclomatic 28): detector.detectConfigs has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/detector.ts"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"36748893195256ca39993269e2054f14a80fc305856a0380c4b30da04b4194f3"}},{"ruleId":"D1","level":"warning","message":{"text":"script-runner.environmentFileUse (cyclomatic 28): script-runner.environmentFileUse has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/migrator/script-runner.ts"},"region":{"startLine":1195}}}],"partialFingerprints":{"codehealthFindingId/v1":"21b6b0c5059983ead270ac59ab535140246a33ae4d0041437227dccb730f3193"}},{"ruleId":"D1","level":"warning","message":{"text":"catalog.rewritePnpmWorkspaceYaml (cyclomatic 28): catalog.rewritePnpmWorkspaceYaml has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 2 of the 28 points are its own statements and the rest belongs to one function literal inside it that branches (line 329). 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":"packages/cli/src/migration/migrator/catalog.ts"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec080b258c104cf645cfedea805651b14e52d8b62e18349d24888b0590246195"}},{"ruleId":"D1","level":"warning","message":{"text":"vite-plus-bootstrap.reconcileVitePlusBootstrapPackage (cyclomatic 28): vite-plus-bootstrap.reconcileVitePlusBootstrapPackage has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/migrator/vite-plus-bootstrap.ts"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6a230f760604a146e6364cc326850eb64278551970aeed43446a05b089abfec"}},{"ruleId":"D1","level":"warning","message":{"text":"config.findVitestV5ConfigFiles (cyclomatic 27): config.findVitestV5ConfigFiles has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 11 of the 27 points are its own statements and the rest belongs to 3 function items inside it that branch (addReference, collectReferences, a function literal at line 92). 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":"packages/cli/src/migration/vitest-v5/config.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"499ad88465e57d4a706ac09b917f4dabf51d92d377e84419ee409ffd4c843d71"}},{"ruleId":"D1","level":"warning","message":{"text":"storybook.configPath (cyclomatic 27): storybook.configPath 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":"packages/cli/src/migration/vitest-v5/storybook.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2d0eae747bb06a6874278f34a440c80d366c94685d46e8c4443d4dea6212362"}},{"ruleId":"D1","level":"warning","message":{"text":"sync-remote-deps.mergeSemverVersions (cyclomatic 27): sync-remote-deps.mergeSemverVersions 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":"packages/tools/src/sync-remote-deps.ts"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"021e7d87763f4d4b7b4d62d01fa1c94c136e49c3e207ff89fc6c343960c4b26f"}},{"ruleId":"D1","level":"warning","message":{"text":"vp_global_cli::commands::upgrade::execute (cyclomatic 26): vp_global_cli::commands::upgrade::execute 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":"crates/vp_global_cli/src/commands/upgrade/mod.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"af1bb651bfd206ea043f4654428ac9b47e12c3c2de6e8a70271177bbe1ca921b"}},{"ruleId":"D1","level":"warning","message":{"text":"build.createConditionalShim (cyclomatic 26): build.createConditionalShim 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":"packages/cli/build.ts"},"region":{"startLine":1280}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca6f72a456c761f25b5681bc8cf2ab2ba9510fcc469489d06c291626b08341df"}},{"ruleId":"D1","level":"warning","message":{"text":"source.isAssertionBindingHandled (cyclomatic 26): source.isAssertionBindingHandled has cyclomatic complexity 26 (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":"packages/cli/src/migration/vitest-v5/source.ts"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"98fc300b2fdeb23fa03bd286deefb73a8a8818a9dc1d4b70796d5c1e6a17182a"}},{"ruleId":"D1","level":"warning","message":{"text":"webdriverio.migrateWebdriverioDependencies (cyclomatic 26): webdriverio.migrateWebdriverioDependencies 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. This shape REPEATS in the file: 2 other methods here (webdriverio.migrateWebdriverioDependencies::update, webdriverio.migrateWebdriverioDependencies::overrideMap) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 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":"packages/cli/src/migration/vitest-v5/webdriverio.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa27e16f547d8d2d865bedc366ede696160055fdcaa36b82567bf992cebf5de0"}},{"ruleId":"D1","level":"warning","message":{"text":"local-npm-registry.server (cyclomatic 26): local-npm-registry.server has cyclomatic complexity 26 (threshold 15). 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/tools/src/local-npm-registry.ts"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ff03ad19fcb3a09c394cc4ac051c55850ced2787101bdf2eac6e4e022773bba"}},{"ruleId":"D1","level":"warning","message":{"text":"build.syncTestPackageExports (cyclomatic 25): build.syncTestPackageExports 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":"packages/cli/build.ts"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"c230a12fb9b2309008f86281da596632612b42e4335889aa496a0a496a609f11"}},{"ruleId":"D1","level":"warning","message":{"text":"eslint.sanitizeMigratedOxlintConfig (cyclomatic 25): eslint.sanitizeMigratedOxlintConfig 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":"packages/cli/src/migration/migrator/eslint.ts"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"c60adcab1bd78f31877541217f5df37443113f17acf4872bfd844b1836287d0f"}},{"ruleId":"D1","level":"warning","message":{"text":"SourceEditor.finish (cyclomatic 25): SourceEditor.finish has cyclomatic complexity 25 (threshold 15). 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/vitest-v5/ast.ts"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"63951b4cc838f10e9f70182ca5f4b05957cad6061f05773b34589fe69e29b115"}},{"ruleId":"D1","level":"warning","message":{"text":"agent.writeAgentInstructions (cyclomatic 25): agent.writeAgentInstructions 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":"packages/cli/src/utils/agent.ts"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"67b86ed342032b707d98c4fc57e42042832acca7959f77dacbaa567654dbc439"}},{"ruleId":"D1","level":"warning","message":{"text":"scopes.projectSelected (cyclomatic 24): scopes.projectSelected has cyclomatic complexity 24 (threshold 15). Of this number, 23 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":"packages/cli/src/migration/vitest-v5/scopes.ts"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e4943f7cc21b0eee96d9a13926d744380b2842ae0481256415df4c2dd373b31"}},{"ruleId":"D1","level":"warning","message":{"text":"vitest-v5.lockedSourceVersion (cyclomatic 24): vitest-v5.lockedSourceVersion has cyclomatic complexity 24 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 12 belong to 2 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":"packages/cli/src/migration/migrator/vitest-v5.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"b509e2b73e21d7ecf429fe544db5c4ed314d773d2f3c9c08d658f4b425e27275"}},{"ruleId":"D1","level":"warning","message":{"text":"vitest-v5.planVitestV5Migration (cyclomatic 24): vitest-v5.planVitestV5Migration has cyclomatic complexity 24 (threshold 15). Of this number, 23 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":"packages/cli/src/migration/migrator/vitest-v5.ts"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0804588971e1e5829498239bc87fa5778ff6bfe3e263b7f788c6b9b59c74aa5"}},{"ruleId":"D1","level":"warning","message":{"text":"vite-config.mergeOxlintConfigFile (cyclomatic 24): vite-config.mergeOxlintConfigFile has cyclomatic complexity 24 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 3 belong to one function item 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":"packages/cli/src/migration/migrator/vite-config.ts"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"d49130e801bcbcd03589e8b6d768a12bed518cea4619e0441e3326f6b6761971"}},{"ruleId":"D1","level":"warning","message":{"text":"editor.writeEditorConfig (cyclomatic 24): editor.writeEditorConfig 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":"packages/cli/src/utils/editor.ts"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"560c485ffbcfb81cfcae061f27412fb1aa4ddd18c6e978efa5968ebf2cf980e2"}},{"ruleId":"D1","level":"warning","message":{"text":"vp_global_cli::self_setup::shell::configure (cyclomatic 23): vp_global_cli::self_setup::shell::configure 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/vp_global_cli/src/self_setup/shell.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"9acef867560f93a4f8553fba264d34a915261bd03097d69d6a03f27db4e48e92"}},{"ruleId":"D1","level":"warning","message":{"text":"vitest-v5.sourceVersion (cyclomatic 23): vitest-v5.sourceVersion 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":"packages/cli/src/migration/migrator/vitest-v5.ts"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e23af7dcb74c8028c00938abdc29b4debcfd1ff2456d416167862809ebed64c"}},{"ruleId":"D1","level":"warning","message":{"text":"catalog.rewriteBunCatalog (cyclomatic 23): catalog.rewriteBunCatalog 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 one function literal inside it that branches (line 1125). 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":"packages/cli/src/migration/migrator/catalog.ts"},"region":{"startLine":1108}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e247e3c715ff562fd420fec1a571a87c8c0b5da16ea7cdaf7160b5ba9f84353"}},{"ruleId":"D1","level":"warning","message":{"text":"catalog.rewriteRootWorkspacePackageJson (cyclomatic 23): catalog.rewriteRootWorkspacePackageJson has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 3 of the 23 points are its own statements and the rest belongs to one function literal inside it that branches (line 1251). 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":"packages/cli/src/migration/migrator/catalog.ts"},"region":{"startLine":1211}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb4f390d2b0e226948fbfdc411c06eb3d294293bdebd1d3a7f1e0367e92d3f27"}},{"ruleId":"D1","level":"warning","message":{"text":"git-hooks.installGitHooks (cyclomatic 23): git-hooks.installGitHooks has cyclomatic complexity 23 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/migrator/git-hooks.ts"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b7c1ca0fec11a70c5814419b7ec01ba0c6205e7fcdb607752daa91e6fae3a99"}},{"ruleId":"D1","level":"warning","message":{"text":"vp_global_cli::commands::env::execute (cyclomatic 22): vp_global_cli::commands::env::execute has cyclomatic complexity 22 (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/vp_global_cli/src/commands/env/mod.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"f13666d2ce2950ecfa544c6fcbaf770a466221570f0d2cd164ab5fb2505368a6"}},{"ruleId":"D1","level":"warning","message":{"text":"vp_global_cli::shim::dispatch::dispatch (cyclomatic 22): vp_global_cli::shim::dispatch::dispatch 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":"crates/vp_global_cli/src/shim/dispatch.rs"},"region":{"startLine":860}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bf23ee33c6b6be17cccea42d7ffb71d3da4b01318253f7fee21d9fdf083ecd3"}},{"ruleId":"D1","level":"warning","message":{"text":"ts-node.incompatibleModuleSource (cyclomatic 22): ts-node.incompatibleModuleSource has cyclomatic complexity 22 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 3 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/migrator/ts-node.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"0feade42d49f262ef8cf64b3de46356b5ce9a40316d17e737cefeddbac72531b"}},{"ruleId":"D1","level":"warning","message":{"text":"ast.sameStaticValue (cyclomatic 22): ast.sameStaticValue has cyclomatic complexity 22 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, 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":"packages/cli/src/migration/vitest-v5/ast.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"2870f1a747de04eb054632e8456b72fb01171ea6590c61572c241fe003dbdab6"}},{"ruleId":"D1","level":"warning","message":{"text":"scopes.findVitestV5ConfigEntries (cyclomatic 22): scopes.findVitestV5ConfigEntries has cyclomatic complexity 22 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/vitest-v5/scopes.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"25678c40f8607f74c2a94daab554561e2176b14022aef25e16c527c9e652aae1"}},{"ruleId":"D1","level":"warning","message":{"text":"source-scan.sourceTreeMatches::scanDir (cyclomatic 22): source-scan.sourceTreeMatches::scanDir 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":"packages/cli/src/migration/migrator/source-scan.ts"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"e576a977aa281fb5223e9f52f15f4dad5b073bf25750c066a664d22d59ecc39e"}},{"ruleId":"D1","level":"warning","message":{"text":"limit-options.limitOptions (cyclomatic 22): limit-options.limitOptions 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":"packages/prompts/src/limit-options.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"869d59466c2bfc54d0bd315489ae092711d452b416b9cba22a1435b0e293728e"}},{"ruleId":"D1","level":"warning","message":{"text":"vp_shared::header::query_terminal_colors (cyclomatic 21): vp_shared::header::query_terminal_colors 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/vp_shared/src/header.rs"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec873458757671695d69969d185e9f5fad379de7e703ff5e8d268653593126f2"}},{"ruleId":"D1","level":"warning","message":{"text":"script-runner.rewriteNodeLoader (cyclomatic 21): script-runner.rewriteNodeLoader has cyclomatic complexity 21 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/migrator/script-runner.ts"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecb27b57dc10186f95b11a8694a736adad5c20ac4d9e389fc9827f1548775892"}},{"ruleId":"D1","level":"warning","message":{"text":"commands.migrateVitestV5Command (cyclomatic 21): commands.migrateVitestV5Command has cyclomatic complexity 21 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body: 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":"packages/cli/src/migration/vitest-v5/commands.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c6c0ed9932665a557ccc2145a6ab94161a47d5b833791df7aee70b11e17a510"}},{"ruleId":"D1","level":"warning","message":{"text":"password.password (cyclomatic 21): password.password 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":"packages/prompts/src/password.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"f70d7ad8b8f885ea3277ebbfc2010c54d15a3cd9aa284df02703624a876d72c8"}},{"ruleId":"D1","level":"warning","message":{"text":"sync-remote-deps.createExportTransformer.\u003Creturned closure\u003E (cyclomatic 21): sync-remote-deps.createExportTransformer.\u003Creturned closure\u003E has cyclomatic complexity 21 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 8 belong 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":"packages/tools/src/sync-remote-deps.ts"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2086e3cb876cfc33738f35a941697ba0b97fa22a5e179f8e11e47fba569af42"}},{"ruleId":"D1","level":"warning","message":{"text":"vp_global_cli::self_setup::maybe_run (cyclomatic 20): vp_global_cli::self_setup::maybe_run has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_global_cli/src/self_setup.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9d91b84086aa389b0e66d5db81b87d5fe1cec85677a94cfe5f990c6d235755a"}},{"ruleId":"D1","level":"warning","message":{"text":"vp_toolchain::validate_manifest (cyclomatic 20): vp_toolchain::validate_manifest 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/vp_toolchain/src/lib.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cb44f1cb98ab058c0155a49d209de64ccf2d108235711673889816a81f2ddd1"}},{"ruleId":"D1","level":"warning","message":{"text":"vp_trampoline::win::run (cyclomatic 20): vp_trampoline::win::run 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/vp_trampoline/src/win.rs"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0f47a426b54e3f34983ad2f8c4f6a12a662077a45f48b8f8fb6e531cd4e52e8"}},{"ruleId":"D1","level":"warning","message":{"text":"tsup.migrateTsupToTsdown (cyclomatic 20): tsup.migrateTsupToTsdown has cyclomatic complexity 20 (threshold 15). Of this number, 19 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":"packages/cli/src/migration/migrator/tsup.ts"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"1970a1dd6b9edca2e459641b6c4a31c3e9950cd36c6a2b4887546483002bd493"}},{"ruleId":"D1","level":"warning","message":{"text":"vite-config.mergeAndRemoveJsonConfig (cyclomatic 20): vite-config.mergeAndRemoveJsonConfig has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/migrator/vite-config.ts"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"02f7f24827b3c66836210be5e3359400c2e60462326bca0cceb150d6dbaee4bf"}},{"ruleId":"D1","level":"warning","message":{"text":"discovery.expandCreateShorthand (cyclomatic 20): discovery.expandCreateShorthand 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":"packages/cli/src/create/discovery.ts"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cd2debc4a3bfa966c351a94b6a7dc51083cb57a21ff131946843d895210fda1"}},{"ruleId":"D1","level":"warning","message":{"text":"RemovalPlan::new (cyclomatic 19): RemovalPlan::new 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/vp_global_cli/src/commands/implode/plan.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"875925161ec54604841c47dd392c1e3a1f7522aa17cd9a5957d3ce49b77edc6b"}},{"ruleId":"D1","level":"warning","message":{"text":"PmCommand::is_quiet_or_machine_readable (cyclomatic 19): PmCommand::is_quiet_or_machine_readable 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. This is NOT this file\u0027s highest cyclomatic complexity: PmCommand::resolve_for_manager (cyclomatic 28) 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/vp_pm_cli/src/cli.rs"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"b79503ae439a6b3c8e4717a5612ae8396c7ab98906eb824651accea85ca176c1"}},{"ruleId":"D1","level":"warning","message":{"text":"eslint.sanitizeInheritedJsPlugins (cyclomatic 19): eslint.sanitizeInheritedJsPlugins has cyclomatic complexity 19 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 8 belong 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":"packages/cli/src/migration/migrator/eslint.ts"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"82c6c6992f4f6778f18a7973279547bd29e109fe61cc5c6a7ba25e542b817e0c"}},{"ruleId":"D1","level":"warning","message":{"text":"vpx-script.detectScript (cyclomatic 19): vpx-script.detectScript 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":"packages/cli/src/vpx-script.ts"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"32a6dcf41a49925cfaf5bccc24725d5f24e8413e3b241220c167f48a77cdcb29"}},{"ruleId":"D1","level":"warning","message":{"text":"ts-node-config.readTsNodeOptions (cyclomatic 19): ts-node-config.readTsNodeOptions 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":"packages/cli/src/migration/migrator/ts-node-config.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"82ddfdb4aa6b014501aa552deb72191ad58343a1af514000f2fba46280b40c5c"}},{"ruleId":"D1","level":"warning","message":{"text":"vitest-v5.finishVitestV5Migration (cyclomatic 19): vitest-v5.finishVitestV5Migration has cyclomatic complexity 19 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/migrator/vitest-v5.ts"},"region":{"startLine":958}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8ec400c80a2df7e700000f7c3fca7c09e53e71500892d97d708884e16697883"}},{"ruleId":"D1","level":"warning","message":{"text":"git-hooks.preflightGitHooksSetup (cyclomatic 19): git-hooks.preflightGitHooksSetup 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":"packages/cli/src/migration/migrator/git-hooks.ts"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"e50edfa522d0fcd936ac14e77470a3dcfce475001fb25f70b6b65907f0fb325a"}},{"ruleId":"D1","level":"warning","message":{"text":"define-config.vitePlusVitestResolverPlugin (cyclomatic 19): define-config.vitePlusVitestResolverPlugin has cyclomatic complexity 19 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 2 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":"packages/cli/src/define-config.ts"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d8e90647e787dbcea0de62cb48f869e803fa99a7416b3edd31e3a69bd56c91d"}},{"ruleId":"D1","level":"warning","message":{"text":"oxlint-plugin.rewriteVitePlusImportSpecifier (cyclomatic 19): oxlint-plugin.rewriteVitePlusImportSpecifier 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":"packages/cli/src/oxlint-plugin.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"9de4c49396c2d95b0dd504f14ab75e4af3fef06af84ed0f5e6395079d154e552"}},{"ruleId":"D1","level":"warning","message":{"text":"select.select (cyclomatic 19): select.select has cyclomatic complexity 19 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 9 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":"packages/prompts/src/select.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4401071aee219e414c61f86fc6103ba81afbc7d6634f4e03a6349ed0c15f246"}},{"ruleId":"D1","level":"warning","message":{"text":"text.text (cyclomatic 19): text.text 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":"packages/prompts/src/text.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6f05e45688b0d5f280a8bb5a2d7897a654d305c7700acf5351b9a9f530563d4"}},{"ruleId":"D1","level":"warning","message":{"text":"vp_global_cli::commands::env::pin::pin_package_manager (cyclomatic 18): vp_global_cli::commands::env::pin::pin_package_manager 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/vp_global_cli/src/commands/env/pin.rs"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4248759f8c1279f1e4ce02ba2caf87597598fbf8945c7d748a35ebabccca0d0"}},{"ruleId":"D1","level":"warning","message":{"text":"vp_installer::legacy::install (cyclomatic 18): vp_installer::legacy::install 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/vp_installer/src/legacy.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6ac2d9dc5729c2598ef0da745ff2a1ef7fbdeff96ab437d338bb623b494506e"}},{"ruleId":"D1","level":"warning","message":{"text":"vp_migration::vite_config::upsert_json_config_content (cyclomatic 18): vp_migration::vite_config::upsert_json_config_content 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/vp_migration/src/vite_config.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"b39fd76684cfc51eb4fdb993f194341e625a17a5f3ba65cc64b461d9ab8115f3"}},{"ruleId":"D1","level":"warning","message":{"text":"vpx-script.parseVpxArgs (cyclomatic 18): vpx-script.parseVpxArgs 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":"packages/cli/src/vpx-script.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"39290e1c7a020ccd46ebd2441ef86740de40efda9ed2842645bf0c70a7002b21"}},{"ruleId":"D1","level":"warning","message":{"text":"tsx.typescriptScriptKeepReason (cyclomatic 18): tsx.typescriptScriptKeepReason 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":"packages/cli/src/migration/migrator/tsx.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"093d5d6f5f0ab9aabc8ed27b713fcece6393fc11ad4a6e2f395937a1497c649c"}},{"ruleId":"D1","level":"warning","message":{"text":"ast.testApiName (cyclomatic 18): ast.testApiName has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/vitest-v5/ast.ts"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"01da9b3562727ae0717c0638afdd7c69775a6cc47932779d4961a23d117ede0b"}},{"ruleId":"D1","level":"warning","message":{"text":"vitest-v5.checkNodeRange (cyclomatic 18): vitest-v5.checkNodeRange 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":"packages/cli/src/migration/migrator/vitest-v5.ts"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"cace8e02945fd6eb23dbfbaac6d83e29a311d9a4cc74e8939a36242b226e9178"}},{"ruleId":"D1","level":"warning","message":{"text":"bin.main (cyclomatic 18): bin.main 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":"packages/cli/src/config/bin.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"62c3f6daa3665e4bc5235d4a16b0e175b625086f25318b2259e4948c41113402"}},{"ruleId":"D1","level":"warning","message":{"text":"group-multi-select.groupMultiselect (cyclomatic 18): group-multi-select.groupMultiselect 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. This shape REPEATS in the file: one other method here (group-multi-select.groupMultiselect::opt) 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":"packages/prompts/src/group-multi-select.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ea24a9a7201626b14c47df014dfe3157f57c5a8ac5c8da71cd2c26f217062dd"}},{"ruleId":"D1","level":"warning","message":{"text":"install-global-cli.installGlobalCli (cyclomatic 18): install-global-cli.installGlobalCli 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":"packages/tools/src/install-global-cli.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"8611f91d6af0384fc357a15aa0623dcf686e5c7c9a24a501945e4a304816d214"}},{"ruleId":"D1","level":"warning","message":{"text":"vp_global_cli::commands::env::list_remote::execute (cyclomatic 17): vp_global_cli::commands::env::list_remote::execute 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/vp_global_cli/src/commands/env/list_remote.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"deb0cd0d1187ff8956e06a253cbf41aa51702d81ce860769fd1aa6f0cceee6d7"}},{"ruleId":"D1","level":"warning","message":{"text":"vp_global_cli::commands::env::setup::has_configured_profile (cyclomatic 17): vp_global_cli::commands::env::setup::has_configured_profile 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/vp_global_cli/src/commands/env/setup.rs"},"region":{"startLine":1497}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a08410788454067679155c155685aa7c338f6cb2fbd4c2f4dc6364d816cbae5"}},{"ruleId":"D1","level":"warning","message":{"text":"vp_migration::import_merge::merge_group (cyclomatic 17): vp_migration::import_merge::merge_group 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/vp_migration/src/import_merge.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1a4c57b70bf45ebaa21402a40ed22d0d0ca4bf1eb3f144958377b2ad83d0d02"}},{"ruleId":"D1","level":"warning","message":{"text":"vp_migration::pack_config::move_option (cyclomatic 17): vp_migration::pack_config::move_option 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/vp_migration/src/pack_config.rs"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"2549c30f6900c85def78e18df1c1a2265277e47fc70e87ab030e6a69ad37f918"}},{"ruleId":"D1","level":"warning","message":{"text":"vp_migration::script_rewrite::strip_flags_from_suffix (cyclomatic 17): vp_migration::script_rewrite::strip_flags_from_suffix 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/vp_migration/src/script_rewrite.rs"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"f43f5d56b90fa24c2009b41eee273d2da5c35a567d6df343a3445519067306a8"}},{"ruleId":"D1","level":"warning","message":{"text":"vp_static_config::count_returns_in_stmt (cyclomatic 17): vp_static_config::count_returns_in_stmt 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/vp_static_config/src/lib.rs"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"f94d181cbe6c3bae70189838bb6bad281522396dd4217ccd7b2c1d5d7b6285f4"}},{"ruleId":"D1","level":"warning","message":{"text":"vp_static_config::expr_to_json (cyclomatic 17): vp_static_config::expr_to_json 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/vp_static_config/src/lib.rs"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"638e46605c9c53e9c2efac10550b6271e5f3a464bf992982831616f93aa7a0b5"}},{"ruleId":"D1","level":"warning","message":{"text":"build.resolveToolchainNode (cyclomatic 17): build.resolveToolchainNode 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":"packages/cli/build.ts"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dc91ddbcdf3b4021cbcee8b8e665e9b13604003ae590a0d832fb0bc72db2154"}},{"ruleId":"D1","level":"warning","message":{"text":"build.createShimForExport (cyclomatic 17): build.createShimForExport 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":"packages/cli/build.ts"},"region":{"startLine":1192}}}],"partialFingerprints":{"codehealthFindingId/v1":"37b9adec82d525ef9ef3eda242289e30332775dcc37adf760de9e86fa97f566d"}},{"ruleId":"D1","level":"warning","message":{"text":"detector.detectMigrationWarnings (cyclomatic 17): detector.detectMigrationWarnings 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":"packages/cli/src/migration/detector.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"fca4c7b4841d05c116e17442fcc25f20af743c08326cb98e33bdeadb07901ac1"}},{"ruleId":"D1","level":"warning","message":{"text":"tsx.jsdocTagUsesTsx (cyclomatic 17): tsx.jsdocTagUsesTsx 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":"packages/cli/src/migration/migrator/tsx.ts"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"d36001376214932702ebcb7bb2c9c0bfac52eaed3011f524f7030e07bbf4ef56"}},{"ruleId":"D1","level":"warning","message":{"text":"script-runner.rewriteRunnerShebang (cyclomatic 17): script-runner.rewriteRunnerShebang 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":"packages/cli/src/migration/migrator/script-runner.ts"},"region":{"startLine":1035}}}],"partialFingerprints":{"codehealthFindingId/v1":"32b4fc11b278d5f705f9f38e9b1acc9714862ca2e982e237d9678dd0b51a0311"}},{"ruleId":"D1","level":"warning","message":{"text":"script-runner.migrateScriptRunnerToVpx (cyclomatic 17): script-runner.migrateScriptRunnerToVpx has cyclomatic complexity 17 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 6 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/migrator/script-runner.ts"},"region":{"startLine":1317}}}],"partialFingerprints":{"codehealthFindingId/v1":"948cf8365ed60e917e97ada0dd3f9b9f66129b893312bb67259f61afc320cdb1"}},{"ruleId":"D1","level":"warning","message":{"text":"ast.importedName (cyclomatic 17): ast.importedName 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":"packages/cli/src/migration/vitest-v5/ast.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"477fb3206679c18c1635bea61b8afa0049a7bbc65ecca3141b36df762c25a8e9"}},{"ruleId":"D1","level":"warning","message":{"text":"source.processApiName (cyclomatic 17): source.processApiName 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":"packages/cli/src/migration/vitest-v5/source.ts"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"327abb479981a340fdc0c5c7f00e5f87f009e9a811e62bf7ab5f4bb5546c15f6"}},{"ruleId":"D1","level":"warning","message":{"text":"webdriverio.migrateWebdriverioDependencies::update (cyclomatic 17): webdriverio.migrateWebdriverioDependencies::update has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 2 other methods here (webdriverio.migrateWebdriverioDependencies, webdriverio.migrateWebdriverioDependencies::overrideMap) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 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":"packages/cli/src/migration/vitest-v5/webdriverio.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"77a6565eaeb34ad3d6dba3dad15028f6ef6042a1b81dcb74953bbd01c04b8b90"}},{"ruleId":"D1","level":"warning","message":{"text":"vitest-v5.installedSourceVersion (cyclomatic 17): vitest-v5.installedSourceVersion 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":"packages/cli/src/migration/migrator/vitest-v5.ts"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdca251db0bca540f26ef4c950e8bff15acd516e35e8237a0298da2f8bdbe31d"}},{"ruleId":"D1","level":"warning","message":{"text":"vitest-v5.migrateNode (cyclomatic 17): vitest-v5.migrateNode has cyclomatic complexity 17 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 3 belong 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":"packages/cli/src/migration/migrator/vitest-v5.ts"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"a611e5c2bb6009a4e0f7ba397c4cece6eace22e5ad6558a9814966165c2c029a"}},{"ruleId":"D1","level":"warning","message":{"text":"vite-plus-bootstrap.collectToolchainVersionChanges (cyclomatic 17): vite-plus-bootstrap.collectToolchainVersionChanges has cyclomatic complexity 17 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 5 belong to 2 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":"packages/cli/src/migration/migrator/vite-plus-bootstrap.ts"},"region":{"startLine":1367}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e5007fa66b7360c96c68c89b2df507652837d87f1e58ab24430a492bd6b2a36"}},{"ruleId":"D1","level":"warning","message":{"text":"command.runCommandAndDetectProjectDir (cyclomatic 17): command.runCommandAndDetectProjectDir 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":"packages/cli/src/create/command.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2d7e06be57d9fc5f0f4e30e08f285d17ce121d025532e42c3d7542dd04c07f2"}},{"ruleId":"D1","level":"warning","message":{"text":"sync-remote-deps.transformViteExport (cyclomatic 17): sync-remote-deps.transformViteExport has cyclomatic complexity 17 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 8 belong 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":"packages/tools/src/sync-remote-deps.ts"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7a8799deae35fb906acffbc156ff7f3bee2792c67336b27ced25f142250c442"}},{"ruleId":"D1","level":"warning","message":{"text":"vp_global_cli::commands::env::exec::execute_with_version (cyclomatic 16): vp_global_cli::commands::env::exec::execute_with_version has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_global_cli/src/commands/env/exec.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdb18e6b7504468400d2eb3143b16326f62f06205f85b6e41f9e4e435e70a62c"}},{"ruleId":"D1","level":"warning","message":{"text":"vp_global_cli::commands::env::list::execute (cyclomatic 16): vp_global_cli::commands::env::list::execute 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/vp_global_cli/src/commands/env/list.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"23b853aeade7ec29adee02b64bc4bcbc4cc78b0ea87e0cdc9618bfaba9b38800"}},{"ruleId":"D1","level":"warning","message":{"text":"vp_global_cli::commands::env::pin::unpin_package_manager (cyclomatic 16): vp_global_cli::commands::env::pin::unpin_package_manager has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_global_cli/src/commands/env/pin.rs"},"region":{"startLine":966}}}],"partialFingerprints":{"codehealthFindingId/v1":"6094659c44cc3d42cb0906dfc4f46f4e8f2681304016abba1d74712ee30bdf62"}},{"ruleId":"D1","level":"warning","message":{"text":"vp_global_cli::commands::global::install::stale_installation_dirs (cyclomatic 16): vp_global_cli::commands::global::install::stale_installation_dirs 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/vp_global_cli/src/commands/global/install.rs"},"region":{"startLine":982}}}],"partialFingerprints":{"codehealthFindingId/v1":"301ff6bdf6c90d4d1ef93877d220453f3de628ecab32fc0aae7bc66672ddec16"}},{"ruleId":"D1","level":"warning","message":{"text":"vp_global_cli::commands::implode::execute (cyclomatic 16): vp_global_cli::commands::implode::execute has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_global_cli/src/commands/implode.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"0080f3499f1bf0e6b1a2a1e266a0366ddd6f3d391f68715bb6171614d2b702e7"}},{"ruleId":"D1","level":"warning","message":{"text":"vp_migration::shell_command::parse_literal_commands (cyclomatic 16): vp_migration::shell_command::parse_literal_commands 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/vp_migration/src/shell_command.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"32e5263922ad0595b008ee7345d8ec5e3f5eef50a5cefb3a5ba7378357f30b67"}},{"ruleId":"D1","level":"warning","message":{"text":"vp_shared::header::is_osc_query_unsupported (cyclomatic 16): vp_shared::header::is_osc_query_unsupported has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_shared/src/header.rs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"549236b4dfe087caaa75fbcfe1279a2b70fffe07de100971f6e403f04ff386a4"}},{"ruleId":"D1","level":"warning","message":{"text":"ts-node-config.readTsNodeEnvironment (cyclomatic 16): ts-node-config.readTsNodeEnvironment 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":"packages/cli/src/migration/migrator/ts-node-config.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8b60bd4d30f3bfe16a003c5b4a4f572459ea43d920a76fb180794cbdf70e56a"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace.detectWorkspace (cyclomatic 16): workspace.detectWorkspace 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":"packages/cli/src/utils/workspace.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"27f844a49f5783059960feed868eb5dd9ca02a976cd6b74cf91b62673ab99121"}},{"ruleId":"D1","level":"warning","message":{"text":"catalog.rewriteYamlCatalogAtPath (cyclomatic 16): catalog.rewriteYamlCatalogAtPath 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":"packages/cli/src/migration/migrator/catalog.ts"},"region":{"startLine":978}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcf7801a99ff9bce8363e8a123d45b39cdaef1eb0960eaf2c20c24832d1439a6"}},{"ruleId":"D1","level":"warning","message":{"text":"hooks.status (cyclomatic 16): hooks.status has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/config/hooks.ts"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"b50967f011fe599f0bf3cf7d59cbde05b904d7c5d2eeeaf69a759c60357399b4"}},{"ruleId":"D1","level":"warning","message":{"text":"git-hooks.vpConfigHookCommands (cyclomatic 16): git-hooks.vpConfigHookCommands 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":"packages/cli/src/migration/migrator/git-hooks.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b3b98ce499e1a9c040312527fb07a471968aea5dbb851dc6fdb16acede68a03"}},{"ruleId":"D1","level":"warning","message":{"text":"bin.main::resolveProjectSetup (cyclomatic 16): bin.main::resolveProjectSetup has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: one other method here (bin.main) 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":"packages/cli/src/create/bin.ts"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"d24fdc9fff9816f4285dbe3bcafcd2a507f1eca8f7c457016f22fcb6a3d7a6d2"}},{"ruleId":"D1","level":"warning","message":{"text":"box.box (cyclomatic 16): box.box 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":"packages/prompts/src/box.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0b1cd2859446bed9701716faecae38eb3c351922e5fce14a140e6c580f68366"}},{"ruleId":"D2","level":"warning","message":{"text":"bin.main (cognitive 271): bin.main has cognitive complexity 271 (threshold 15). Drivers by points: if/else 107 (181 pts), boolean chains 44, ternaries 20 (32 pts), loops 3 (8 pts), error handling 3 (6 pts) (nesting depth added 94). Of this number, 231 points are the body\u0027s own statements and 40 belong to 11 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":"packages/cli/src/create/bin.ts"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"e26bfecb5d2edd5c858b816607b5acf335892f5e428d421d477f9d21a7b557c1"}},{"ruleId":"D2","level":"warning","message":{"text":"source.rewriteSource (cognitive 265): source.rewriteSource has cognitive complexity 265 (threshold 15). Drivers by points: if/else 84 (132 pts), boolean chains 79, ternaries 15 (42 pts), loops 6 (12 pts) (nesting depth added 81). Of this number, 249 points are the body\u0027s own statements and 16 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":"packages/cli/src/migration/vitest-v5/source.ts"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceb7267f0f99ebe7eb4d6ffbac3bdd28385c6d2be867c0ea6aef5e6430d39863"}},{"ruleId":"D2","level":"warning","message":{"text":"bin.main (cognitive 214): bin.main has cognitive complexity 214 (threshold 15). Drivers by points: if/else 66 (158 pts), boolean chains 26, ternaries 8 (18 pts), loops 4 (12 pts) (nesting depth added 110). Of this number, 202 points are the body\u0027s own statements and 12 belong to 4 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/bin.ts"},"region":{"startLine":1046}}}],"partialFingerprints":{"codehealthFindingId/v1":"96b7039f7146943debe5006af46ac3b894d85b337133cf710873aca9ff2d7e5b"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_global_cli::commands::global::install::install (cognitive 130): vp_global_cli::commands::global::install::install has cognitive complexity 130 (threshold 15). Drivers by points: if/else 40 (92 pts), match/switch 11 (22 pts), loops 8 (15 pts), boolean chains 1 (nesting depth added 70). 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/vp_global_cli/src/commands/global/install.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"e83c257145f4299d9d12e0aef985fcad89bd8c867fc1e296d26961fbc2723f8d"}},{"ruleId":"D2","level":"warning","message":{"text":"ts-node-config.prepareTsNodeRun (cognitive 127): ts-node-config.prepareTsNodeRun has cognitive complexity 127 (threshold 15). Drivers by points: if/else 46 (89 pts), boolean chains 24, ternaries 4 (7 pts), error handling 2 (6 pts), loops 1 (nesting depth added 50). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/migrator/ts-node-config.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"7595c286ccab69e5b665deb37be9da1658d8614b31e874fbad8f273102e4cd60"}},{"ruleId":"D2","level":"warning","message":{"text":"scopes.resolveVitestV5TestModes::walk (cognitive 121): scopes.resolveVitestV5TestModes::walk has cognitive complexity 121 (threshold 15). Drivers by points: if/else 26 (55 pts), boolean chains 33, ternaries 22 (26 pts), loops 3 (7 pts) (nesting depth added 37). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/vitest-v5/scopes.ts"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"29c6a0f18b2a6c618fe5b5d7cad888bc14f5943d385f6110ae9ceadb9392c61e"}},{"ruleId":"D2","level":"warning","message":{"text":"vite_plus_cli::check::execute_check (cognitive 105): vite_plus_cli::check::execute_check has cognitive complexity 105 (threshold 15). Drivers by points: if/else 38 (77 pts), boolean chains 22, match/switch 3 (6 pts) (nesting depth added 42). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/binding/src/check/mod.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d1298f9b260e0f980fd12702932913d947f4ef6481494b3c86cd69de9f9aa18"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_migration::import_rewriter::rewrite_reference_types (cognitive 103): vp_migration::import_rewriter::rewrite_reference_types has cognitive complexity 103 (threshold 15). Drivers by points: if/else 37 (82 pts), boolean chains 11, match/switch 3 (7 pts), loops 3 (nesting depth added 49). To reduce it, split the body into named stages: move each independent step or branch into 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/vp_migration/src/import_rewriter.rs"},"region":{"startLine":1786}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ea3c6bed347fb85313ead9edf953f0d423efbb8fb11636951fd8ca17251d9c8"}},{"ruleId":"D2","level":"warning","message":{"text":"package-json.rewritePackageJson (cognitive 103): package-json.rewritePackageJson has cognitive complexity 103 (threshold 15). Drivers by points: if/else 31 (64 pts), boolean chains 23, loops 8 (12 pts), ternaries 3 (4 pts) (nesting depth added 38). Of this number, 102 points are the body\u0027s own statements and 1 belongs to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/migrator/package-json.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"a15100ad4715230f386334af8f77cf3794c6662a2ec3c4758ca834d9efad5609"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_global_cli::self_setup::run (cognitive 88): vp_global_cli::self_setup::run has cognitive complexity 88 (threshold 15). Drivers by points: if/else 49 (64 pts), boolean chains 18, match/switch 2 (6 pts) (nesting depth added 19). 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/vp_global_cli/src/self_setup.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"f919284a467f95923a73ae906b2d52903f96465d1fc13573a5c793f66d73b6ac"}},{"ruleId":"D2","level":"warning","message":{"text":"config.migrateConfig::testOptions (cognitive 83): config.migrateConfig::testOptions has cognitive complexity 83 (threshold 15). Drivers by points: if/else 31 (57 pts), boolean chains 17, loops 4 (9 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. This shape REPEATS in the file: one other method here (config.migrateConfig) 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":"packages/cli/src/migration/vitest-v5/config.ts"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1bc3edb608bd5987db3cf124f55a2a38f49ad42e774bb798a8dccb06874b134"}},{"ruleId":"D2","level":"warning","message":{"text":"script-runner.scanOptions (cognitive 77): script-runner.scanOptions has cognitive complexity 77 (threshold 15). Drivers by points: if/else 15 (43 pts), ternaries 6 (24 pts), boolean chains 9, loops 1 (nesting depth added 46). 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":"packages/cli/src/migration/migrator/script-runner.ts"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8310383a5537f78df71f2c93f16c6cf6808524e5ab35773dbea3032a234b96f"}},{"ruleId":"D2","level":"warning","message":{"text":"lockfile.lockedVitestVersion (cognitive 72): lockfile.lockedVitestVersion has cognitive complexity 72 (threshold 15). Drivers by points: if/else 19 (41 pts), ternaries 7 (16 pts), boolean chains 8, loops 3 (6 pts), error handling 1 (nesting depth added 34). Of this number, 66 points are the body\u0027s own statements and 6 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":"packages/cli/src/migration/vitest-v5/lockfile.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"467dae9e0fbe53b97c06eaaf8a4c565b8f55d2a92a3479aaf5b3bb743d59fc81"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_global_cli::run (cognitive 69): vp_global_cli::run has cognitive complexity 69 (threshold 15). Drivers by points: if/else 29 (50 pts), match/switch 6 (10 pts), boolean chains 7, loops 1 (2 pts) (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_global_cli/src/main.rs"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"40f3f0b800a170dc06744cca793a4bf9bee91ff4749aa9c1da7b8777e3c32774"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_global_cli::commands::env::use::execute (cognitive 68): vp_global_cli::commands::env::use::execute has cognitive complexity 68 (threshold 15). Drivers by points: if/else 31 (42 pts), loops 6 (16 pts), boolean chains 6, match/switch 2 (4 pts) (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_global_cli/src/commands/env/use.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"588979f6f0845af7d0fcc6ff2809e96b18f19806f4b82a2ed4988f18c4840e56"}},{"ruleId":"D2","level":"warning","message":{"text":"vite_plus_cli::exec::workspace::execute_exec_workspace (cognitive 66): vite_plus_cli::exec::workspace::execute_exec_workspace has cognitive complexity 66 (threshold 15). Drivers by points: if/else 25 (49 pts), loops 5 (9 pts), match/switch 4 (6 pts), boolean chains 2 (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/binding/src/exec/workspace.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e08b171a347dfcc78f542568c524e8a5cfeddc22af1fa164a333f22ddecca10"}},{"ruleId":"D2","level":"warning","message":{"text":"vite-plus-bootstrap.ensureVitePlusBootstrap (cognitive 66): vite-plus-bootstrap.ensureVitePlusBootstrap has cognitive complexity 66 (threshold 15). Drivers by points: if/else 24 (39 pts), boolean chains 18, ternaries 5 (8 pts), loops 1 (nesting depth added 18). Of this number, 35 points are the body\u0027s own statements and 31 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/migrator/vite-plus-bootstrap.ts"},"region":{"startLine":945}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a01c8b8f422b481842833b9c6618cf320f02755a6644e856603b7c54db5030d"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_global_cli::cli::managed_update (cognitive 65): vp_global_cli::cli::managed_update has cognitive complexity 65 (threshold 15). Drivers by points: if/else 26 (55 pts), loops 4 (6 pts), boolean chains 4 (nesting depth added 31). 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/vp_global_cli/src/cli.rs"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"369ad587896f220d7597d5dffe0de1bafd83ca35f019eb737422149dca2f11f9"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_migration::vite_config::rewrite_pack_dts_generators (cognitive 59): vp_migration::vite_config::rewrite_pack_dts_generators has cognitive complexity 59 (threshold 15). Drivers by points: if/else 18 (40 pts), boolean chains 13, loops 4 (6 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/vp_migration/src/vite_config.rs"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"17637a2b9f00709810181d2c31dc0e14010a7543c904ba373930cc45a65297bd"}},{"ruleId":"D2","level":"warning","message":{"text":"eslint.sanitizeMigratedOxlintConfig (cognitive 59): eslint.sanitizeMigratedOxlintConfig has cognitive complexity 59 (threshold 15). Drivers by points: if/else 18 (41 pts), loops 7 (17 pts), boolean chains 1 (nesting depth added 33). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/migrator/eslint.ts"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"59997d8f8fe601ebe974be128e5f8d08454a46b1c7a8fe70daaa948e7d6b7ca8"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_global_cli::shim::dispatch::check_npm_global_install_result (cognitive 58): vp_global_cli::shim::dispatch::check_npm_global_install_result has cognitive complexity 58 (threshold 15). Drivers by points: if/else 20 (47 pts), boolean chains 5, loops 3 (5 pts), match/switch 1 (nesting depth added 29). 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/vp_global_cli/src/shim/dispatch.rs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6ba0354517ea3ce25138924016ecd0fb151241e174a70f3e77e7e3f1c0540cd"}},{"ruleId":"D2","level":"warning","message":{"text":"orchestrators.rewriteStandaloneProject (cognitive 57): orchestrators.rewriteStandaloneProject has cognitive complexity 57 (threshold 15). Drivers by points: if/else 23 (38 pts), boolean chains 10, ternaries 2 (5 pts), loops 2 (4 pts) (nesting depth added 20). Most of this is not in the body itself: 15 of the 57 points are its own statements and the rest belongs to one function literal inside it that branches (line 152). 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":"packages/cli/src/migration/migrator/orchestrators.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5e20f772f9caa11bdc448f440493e194b82f2fc0a424001e6db6ff926bd7ed5"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.writeAgentInstructions (cognitive 56): agent.writeAgentInstructions has cognitive complexity 56 (threshold 15). Drivers by points: if/else 19 (47 pts), ternaries 2 (5 pts), boolean chains 3, loops 1 (nesting depth added 31). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/utils/agent.ts"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ad0a73edc72ec4ed31d7c319ac4a411ba548a8feea82de35910f921b30a6a70"}},{"ruleId":"D2","level":"warning","message":{"text":"autocomplete.autocomplete (cognitive 55): autocomplete.autocomplete has cognitive complexity 55 (threshold 15). Drivers by points: ternaries 18 (40 pts), if/else 5 (10 pts), boolean chains 4, match/switch 1 (nesting depth added 27). Of this number, 45 points are the body\u0027s own statements and 10 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":"packages/prompts/src/autocomplete.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef7ae091682bf7aeefa49d0f97b240fb112382875436e96f0a778e4173650cb3"}},{"ruleId":"D2","level":"warning","message":{"text":"webdriverio.migrateWebdriverioDependencies (cognitive 52): webdriverio.migrateWebdriverioDependencies has cognitive complexity 52 (threshold 15). Drivers by points: if/else 40 (76 pts), ternaries 15 (39 pts), boolean chains 18, loops 5 (9 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. This shape REPEATS in the file: 2 other methods here (webdriverio.migrateWebdriverioDependencies::update, webdriverio.migrateWebdriverioDependencies::overrideMap) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 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":"packages/cli/src/migration/vitest-v5/webdriverio.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"16680f8873578b3d7c3138f9eae4e87cecc99a660fb53276f3f5b92aeca26cac"}},{"ruleId":"D2","level":"warning","message":{"text":"build.syncTestPackageExports (cognitive 51): build.syncTestPackageExports has cognitive complexity 51 (threshold 15). Drivers by points: if/else 8 (21 pts), ternaries 7 (17 pts), loops 6 (9 pts), boolean chains 2, error handling 1 (2 pts) (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":"packages/cli/build.ts"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"acba82d24c90ccb99777739fe562f81f38c4153c06b28399b8f19616026f524b"}},{"ruleId":"D2","level":"warning","message":{"text":"editor.writeEditorConfig (cognitive 51): editor.writeEditorConfig has cognitive complexity 51 (threshold 15). Drivers by points: if/else 15 (34 pts), ternaries 4 (13 pts), boolean chains 3, loops 1 (nesting depth added 28). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/utils/editor.ts"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5e8f5bd840527e3b71881f29cd1724f4d27067627781920faac98992c9f3d40"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_global_cli::commands::env::doctor::collect_dev_engines_findings (cognitive 50): vp_global_cli::commands::env::doctor::collect_dev_engines_findings has cognitive complexity 50 (threshold 15). Drivers by points: if/else 21 (32 pts), boolean chains 8, loops 4 (7 pts), match/switch 2 (3 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_global_cli/src/commands/env/doctor.rs"},"region":{"startLine":1054}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae6f019944c96da2660fcdee99b19e2750c34c8cfd0f868208faa007a92286f6"}},{"ruleId":"D2","level":"warning","message":{"text":"script-runner.environmentFileUse (cognitive 50): script-runner.environmentFileUse has cognitive complexity 50 (threshold 15). Drivers by points: if/else 12 (31 pts), boolean chains 8, error handling 1 (4 pts), ternaries 2 (4 pts), loops 2 (3 pts) (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/migrator/script-runner.ts"},"region":{"startLine":1195}}}],"partialFingerprints":{"codehealthFindingId/v1":"9198aa71163344b36f1b4857a02f469cb30dd13ad515e90d522982a1a406aa4b"}},{"ruleId":"D2","level":"warning","message":{"text":"config.findVitestV5ConfigFiles (cognitive 49): config.findVitestV5ConfigFiles has cognitive complexity 49 (threshold 15). Drivers by points: if/else 14 (29 pts), loops 5 (9 pts), boolean chains 7, error handling 1 (2 pts), ternaries 1 (2 pts) (nesting depth added 21). Of this number, 20 points are the body\u0027s own statements and 29 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":"packages/cli/src/migration/vitest-v5/config.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"30b64275e91a5e8ee37958cd0785870900c5ecf5fdc2574dc3bf699843dc2a2a"}},{"ruleId":"D2","level":"warning","message":{"text":"vitest-v5.scanAndRewriteFile (cognitive 49): vitest-v5.scanAndRewriteFile has cognitive complexity 49 (threshold 15). Drivers by points: if/else 16 (30 pts), boolean chains 10, ternaries 2 (5 pts), error handling 1 (2 pts), loops 1 (2 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/migrator/vitest-v5.ts"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"7295dc10d44786e567f1143e7ec92b77f0fa364f10b6796592e397029b5264c2"}},{"ruleId":"D2","level":"warning","message":{"text":"scopes.findVitestV5ConfigEntries (cognitive 48): scopes.findVitestV5ConfigEntries has cognitive complexity 48 (threshold 15). Drivers by points: if/else 9 (21 pts), loops 4 (10 pts), ternaries 2 (10 pts), boolean chains 7 (nesting depth added 26). Of this number, 47 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":"packages/cli/src/migration/vitest-v5/scopes.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ec0f10560636f47fab4eb18826e8f91be2d2c05d5b65310bc6ad146abfec9ae"}},{"ruleId":"D2","level":"warning","message":{"text":"webdriverio.migrateWebdriverioDependencies::overrideMap (cognitive 47): webdriverio.migrateWebdriverioDependencies::overrideMap has cognitive complexity 47 (threshold 15). Drivers by points: if/else 9 (22 pts), ternaries 5 (16 pts), boolean chains 8, loops 1 (nesting depth added 24). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This shape REPEATS in the file: 2 other methods here (webdriverio.migrateWebdriverioDependencies, webdriverio.migrateWebdriverioDependencies::update) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 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":"packages/cli/src/migration/vitest-v5/webdriverio.ts"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a4a3d0fcb8cc8150669d3f61d03d9cc1ff09bb519145c3ca73bcc5f3bdabed3"}},{"ruleId":"D2","level":"warning","message":{"text":"sync-remote-deps.mergePnpmWorkspaces (cognitive 47): sync-remote-deps.mergePnpmWorkspaces has cognitive complexity 47 (threshold 15). Drivers by points: if/else 15 (29 pts), boolean chains 12, loops 3 (5 pts), ternaries 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":"packages/tools/src/sync-remote-deps.ts"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"c52224180177e4bd5ea8b54e0e9c8dfb09c2ac99eda55fd55693e39edfabcd73"}},{"ruleId":"D2","level":"warning","message":{"text":"benchmark-config.migrateBenchmarkConfig (cognitive 46): benchmark-config.migrateBenchmarkConfig has cognitive complexity 46 (threshold 15). Drivers by points: if/else 17 (25 pts), boolean chains 15, ternaries 4, 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":"packages/cli/src/migration/vitest-v5/benchmark-config.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"44411d4302b9dd9b1a040604506cb4903c4c533a275d48deeb9ce157195ea70a"}},{"ruleId":"D2","level":"warning","message":{"text":"catalog.rewritePnpmWorkspaceYaml (cognitive 46): catalog.rewritePnpmWorkspaceYaml has cognitive complexity 46 (threshold 15). Drivers by points: if/else 19 (31 pts), loops 7 (9 pts), ternaries 2 (5 pts), boolean chains 1 (nesting depth added 17). Most of this is not in the body itself: 1 of the 46 points is its own statement and the rest belongs to one function literal inside it that branches (line 329). 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":"packages/cli/src/migration/migrator/catalog.ts"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"c35f555acafcfe311e2f15729045a962b4b0890bc5118bc4c9562de228c8e1ab"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_migration::pack_config::rewrite_options (cognitive 45): vp_migration::pack_config::rewrite_options has cognitive complexity 45 (threshold 15). Drivers by points: if/else 18 (34 pts), boolean chains 6, loops 3, match/switch 1 (2 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_migration/src/pack_config.rs"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b6305d26020abe4a2dd6de6e2589b98709ea80b36d8d47c9e47d4602d586077"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_migration::script_rewrite::strip_flags_from_suffix (cognitive 44): vp_migration::script_rewrite::strip_flags_from_suffix has cognitive complexity 44 (threshold 15). Drivers by points: if/else 13 (38 pts), loops 3 (5 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/vp_migration/src/script_rewrite.rs"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a57ec647c140058926e8e45967e6b8b8169340705d708f228c2b22fabe77877"}},{"ruleId":"D2","level":"warning","message":{"text":"vite-plus-bootstrap.reconcileVitePlusBootstrapPackage (cognitive 43): vite-plus-bootstrap.reconcileVitePlusBootstrapPackage has cognitive complexity 43 (threshold 15). Drivers by points: if/else 16 (29 pts), loops 6 (8 pts), boolean chains 6 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/migrator/vite-plus-bootstrap.ts"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"69ebf17233296659811dfb12e646eaceeee92d0fff039ae485d835fadaa46871"}},{"ruleId":"D2","level":"warning","message":{"text":"build.createConditionalShim (cognitive 42): build.createConditionalShim has cognitive complexity 42 (threshold 15). Drivers by points: if/else 13 (25 pts), ternaries 3 (10 pts), boolean chains 7 (nesting depth added 19). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/build.ts"},"region":{"startLine":1280}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d3a33eb1f7a9bd295976806aac782ebfa8acca5664a63600ffc333d22be1e79"}},{"ruleId":"D2","level":"warning","message":{"text":"SourceEditor.finish (cognitive 42): SourceEditor.finish has cognitive complexity 42 (threshold 15). Drivers by points: ternaries 8 (19 pts), if/else 4 (9 pts), boolean chains 7, loops 3 (5 pts), error handling 1 (2 pts) (nesting depth added 19). Of this number, 41 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":"packages/cli/src/migration/vitest-v5/ast.ts"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"23953f7890471fcc00b50fb91653d4a3922fb05774c393cd1769d32241158d1b"}},{"ruleId":"D2","level":"warning","message":{"text":"bin.showMigrationSummary (cognitive 42): bin.showMigrationSummary has cognitive complexity 42 (threshold 15). Drivers by points: if/else 22 (24 pts), ternaries 5 (11 pts), loops 2 (4 pts), boolean chains 3 (nesting depth added 10). 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":"packages/cli/src/migration/bin.ts"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9ee2b941e0632494231c07c73278d2ecf97de66e8048c0fd827429ec5857657"}},{"ruleId":"D2","level":"warning","message":{"text":"sync-remote-deps.mergeSemverVersions (cognitive 42): sync-remote-deps.mergeSemverVersions has cognitive complexity 42 (threshold 15). Drivers by points: if/else 15 (25 pts), ternaries 3 (10 pts), boolean chains 7 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/tools/src/sync-remote-deps.ts"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"31945752f8f9267dac83f40d8c49cdc2a2efb836bbb445bef1aa10fb452dc007"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_global_cli::commands::env::setup::print_path_instructions (cognitive 41): vp_global_cli::commands::env::setup::print_path_instructions has cognitive complexity 41 (threshold 15). Drivers by points: if/else 19 (26 pts), match/switch 4 (10 pts), boolean chains 4, loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_global_cli/src/commands/env/setup.rs"},"region":{"startLine":1560}}}],"partialFingerprints":{"codehealthFindingId/v1":"0deaddee44e384028273cae5c25f18fb6e583752b1aa4c4e3c432f8555a70c6a"}},{"ruleId":"D2","level":"warning","message":{"text":"benchmarks.migrateBenchmarks (cognitive 41): benchmarks.migrateBenchmarks has cognitive complexity 41 (threshold 15). Drivers by points: if/else 32 (44 pts), boolean chains 25, loops 5 (7 pts), ternaries 4 (6 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (benchmarks.migrateBenchmarks::directCall) 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":"packages/cli/src/migration/vitest-v5/benchmarks.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0b2800aacbceabd5eed9fdd2ec8e5b7960c5ffdd09dd9ab5e3ca7a50b36ccea"}},{"ruleId":"D2","level":"warning","message":{"text":"oxlint-config.prepareOxlintConfigModules (cognitive 41): oxlint-config.prepareOxlintConfigModules has cognitive complexity 41 (threshold 15). Drivers by points: if/else 12 (19 pts), loops 5 (8 pts), boolean chains 7, ternaries 4 (7 pts) (nesting depth added 13). Of this number, 28 points are the body\u0027s own statements and 13 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":"packages/cli/src/migration/migrator/oxlint-config.ts"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7f9f48e70dd7d9ae60503a9cec2f017970d3f3231d2635fd78102a149dab7f1"}},{"ruleId":"D2","level":"warning","message":{"text":"autocomplete.autocompleteMultiselect (cognitive 41): autocomplete.autocompleteMultiselect has cognitive complexity 41 (threshold 15). Drivers by points: ternaries 20 (32 pts), boolean chains 6, if/else 2, match/switch 1 (nesting depth added 12). Of this number, 30 points are the body\u0027s own statements and 11 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":"packages/prompts/src/autocomplete.ts"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"6993a83584ce1e60e554c324fd5ed4f59c6156aa117dca1750d82d74dccdf085"}},{"ruleId":"D2","level":"warning","message":{"text":"detector.detectConfigs (cognitive 40): detector.detectConfigs has cognitive complexity 40 (threshold 15). Drivers by points: if/else 15 (27 pts), loops 9, boolean chains 2, error handling 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":"packages/cli/src/migration/detector.ts"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b979f7a7698961e7a3c2fb8a98c64b4f1e5bbab17dbdda5d7defae8bb1ae33d"}},{"ruleId":"D2","level":"warning","message":{"text":"tsup.migrateTsupToTsdown (cognitive 40): tsup.migrateTsupToTsdown has cognitive complexity 40 (threshold 15). Drivers by points: if/else 12 (22 pts), loops 5 (10 pts), ternaries 4 (8 pts) (nesting depth added 19). Of this number, 39 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":"packages/cli/src/migration/migrator/tsup.ts"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"a83a0c8fe088649590b5b4cf188f0ee97b86494f27397b5b21a0956a3f86af9f"}},{"ruleId":"D2","level":"warning","message":{"text":"source.globalRestorationOrigin (cognitive 40): source.globalRestorationOrigin has cognitive complexity 40 (threshold 15). Drivers by points: if/else 12 (16 pts), ternaries 5 (13 pts), boolean chains 11 (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":"packages/cli/src/migration/vitest-v5/source.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e015f7e82ab40dc123fe9c04d6316b66ed883caf876e57582747c4f1ff888a3"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_global_cli::commands::vpx::execute_vpx (cognitive 39): vp_global_cli::commands::vpx::execute_vpx has cognitive complexity 39 (threshold 15). Drivers by points: if/else 15 (24 pts), match/switch 6 (11 pts), boolean chains 4 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_global_cli/src/commands/vpx.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"b38e6890ce5b848835cbfee242aacaaab89bd595555b8d099e785b00b9fac7a6"}},{"ruleId":"D2","level":"warning","message":{"text":"config.migrateConfig (cognitive 39): config.migrateConfig has cognitive complexity 39 (threshold 15). Drivers by points: if/else 55 (90 pts), boolean chains 37, loops 4 (9 pts), ternaries 2 (4 pts) (nesting depth added 42). To reduce it, split the body into named stages: move each independent 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 (config.migrateConfig::testOptions) 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":"packages/cli/src/migration/vitest-v5/config.ts"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1a634f9d440a590e84351975ec0ad351920f38363129f530799b868aa5648c4"}},{"ruleId":"D2","level":"warning","message":{"text":"multi-select.multiselect (cognitive 39): multi-select.multiselect has cognitive complexity 39 (threshold 15). Drivers by points: ternaries 12 (22 pts), if/else 11 (12 pts), boolean chains 4, match/switch 1 (nesting depth added 11). Of this number, 25 points are the body\u0027s own statements and 14 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":"packages/prompts/src/multi-select.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac5e8ebf7567bf87e5b3d8fe297b40219d26b13aec7df27415b0458b16c7c66e"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_global_cli::commands::upgrade::execute (cognitive 38): vp_global_cli::commands::upgrade::execute has cognitive complexity 38 (threshold 15). Drivers by points: if/else 24 (33 pts), boolean chains 5 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_global_cli/src/commands/upgrade/mod.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"f91ed3b80877b22e5e636e4bc50df3277ede5efadc903d3c1c9e157fe6d3e85b"}},{"ruleId":"D2","level":"warning","message":{"text":"bin.executeMigrationPlan (cognitive 38): bin.executeMigrationPlan has cognitive complexity 38 (threshold 15). Drivers by points: if/else 24 (29 pts), boolean chains 6, ternaries 3 (nesting depth added 5). Of this number, 32 points are the body\u0027s own statements and 6 belong to 3 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/bin.ts"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"c723e4a355dcc6852314eebca84e951abfc5a2bd4f046cfcedeae375819dcfe8"}},{"ruleId":"D2","level":"warning","message":{"text":"script-runner.rewriteSegment (cognitive 37): script-runner.rewriteSegment has cognitive complexity 37 (threshold 15). Drivers by points: if/else 17 (23 pts), boolean chains 6, loops 4 (5 pts), ternaries 2 (3 pts) (nesting depth added 8). Of this number, 36 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":"packages/cli/src/migration/migrator/script-runner.ts"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceaf1ae91e689b58e307aba30d26ed96fc556016eed9c96084e7508a8a38a308"}},{"ruleId":"D2","level":"warning","message":{"text":"catalog.rewriteRootWorkspacePackageJson (cognitive 37): catalog.rewriteRootWorkspacePackageJson has cognitive complexity 37 (threshold 15). Drivers by points: if/else 16 (29 pts), loops 2 (5 pts), boolean chains 2, ternaries 1 (nesting depth added 16). Most of this is not in the body itself: 2 of the 37 points are its own statements and the rest belongs to one function literal inside it that branches (line 1251). 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":"packages/cli/src/migration/migrator/catalog.ts"},"region":{"startLine":1211}}}],"partialFingerprints":{"codehealthFindingId/v1":"81364e5a8555f5726082422f59ff740dec77753089b7ede0000a1e82ba158b39"}},{"ruleId":"D2","level":"warning","message":{"text":"local-npm-registry.server (cognitive 37): local-npm-registry.server has cognitive complexity 37 (threshold 15). Drivers by points: if/else 9 (14 pts), ternaries 6 (12 pts), boolean chains 8, error handling 2 (3 pts) (nesting depth added 12). Of this number, 36 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":"packages/tools/src/local-npm-registry.ts"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"f18ef9d8dda90a935b1a31443199aafa883d387df1cf78671b01d4ea276b00d5"}},{"ruleId":"D2","level":"warning","message":{"text":"RemovalPlan::new (cognitive 36): RemovalPlan::new has cognitive complexity 36 (threshold 15). Drivers by points: if/else 9 (23 pts), match/switch 3 (7 pts), loops 3 (5 pts), boolean chains 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_global_cli/src/commands/implode/plan.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"a792b95d5899e735f7b0eb438839f549b715725fc0f80e42c436d2344574adbb"}},{"ruleId":"D2","level":"warning","message":{"text":"vitest-ecosystem.dropRemovePackageOverrideKeys (cognitive 36): vitest-ecosystem.dropRemovePackageOverrideKeys has cognitive complexity 36 (threshold 15). Drivers by points: if/else 11 (32 pts), ternaries 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/migrator/vitest-ecosystem.ts"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"30b828a45c89e26cacd4de310e675135750598b744fd7f2d4c6b57b9a3ebaf93"}},{"ruleId":"D2","level":"warning","message":{"text":"commands.migrateBenchmarkOutput (cognitive 36): commands.migrateBenchmarkOutput has cognitive complexity 36 (threshold 15). Drivers by points: if/else 15 (21 pts), ternaries 8 (9 pts), boolean chains 4, loops 2 (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/vitest-v5/commands.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"554ad2e7c99601943a28f0fc1d295339318448d33f62f814300b32aabf43fb28"}},{"ruleId":"D2","level":"warning","message":{"text":"storybook.resolveStorybookScope (cognitive 36): storybook.resolveStorybookScope has cognitive complexity 36 (threshold 15). Drivers by points: if/else 18 (24 pts), boolean chains 8, loops 2, error handling 1, ternaries 1 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"packages/cli/src/migration/vitest-v5/storybook.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"953354d96666e5870b98eee59b45cb1e7bf1d8c76d4c1a795d094b2e0ecfa730"}},{"ruleId":"D2","level":"warning","message":{"text":"vite-plus-bootstrap.detectVitePlusBootstrapPending (cognitive 36): vite-plus-bootstrap.detectVitePlusBootstrapPending has cognitive complexity 36 (threshold 15). Drivers by points: if/else 14 (20 pts), boolean chains 12, ternaries 2 (3 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/migrator/vite-plus-bootstrap.ts"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"43e7f10fcdaca4c8e0907ac83172f7cf6371cc65be09cca6877ef0280a61da8b"}},{"ruleId":"D2","level":"warning","message":{"text":"install-global-cli.installGlobalCli (cognitive 36): install-global-cli.installGlobalCli has cognitive complexity 36 (threshold 15). Drivers by points: if/else 16 (28 pts), error handling 1 (4 pts), loops 1 (2 pts), ternaries 2 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/tools/src/install-global-cli.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d7bb13ce41747e54e14916094e98f1b5e433ef9c0caf7bb59a33b8e1c7639a7"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_migration::pack_config::constant_initializer (cognitive 35): vp_migration::pack_config::constant_initializer has cognitive complexity 35 (threshold 15). Drivers by points: if/else 6 (23 pts), loops 3 (9 pts), match/switch 1 (2 pts), boolean chains 1 (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/vp_migration/src/pack_config.rs"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"3928520e64a607edc973cd55be46eb203a1267536fde2763c868eb80ae1c3953"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_migration::vite_config::upsert_json_config_content (cognitive 35): vp_migration::vite_config::upsert_json_config_content has cognitive complexity 35 (threshold 15). Drivers by points: if/else 11 (30 pts), loops 3, 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/vp_migration/src/vite_config.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ec3ac5b2422083d96f36b2fb802cc282f4c5cca022ab22ae10c4030e14c687c"}},{"ruleId":"D2","level":"warning","message":{"text":"vitest-v5.finishVitestV5Migration (cognitive 35): vitest-v5.finishVitestV5Migration has cognitive complexity 35 (threshold 15). Drivers by points: if/else 6 (16 pts), ternaries 2 (6 pts), boolean chains 5, loops 3 (5 pts), error handling 1 (3 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/migrator/vitest-v5.ts"},"region":{"startLine":958}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b09e2b07a6a9c215a1dc5855560683284ae74b82a45af56dad995df5a6c1a27"}},{"ruleId":"D2","level":"warning","message":{"text":"group-multi-select.groupMultiselect::opt (cognitive 35): group-multi-select.groupMultiselect::opt has cognitive complexity 35 (threshold 15). Drivers by points: ternaries 13 (22 pts), boolean chains 10, if/else 3 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (group-multi-select.groupMultiselect) 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":"packages/prompts/src/group-multi-select.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe0366635d77956c89508518047d0f264855a4209fb141a68aa2ed6f284b85e6"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_global_cli::shim::dispatch::remove_npm_global_uninstall_links (cognitive 34): vp_global_cli::shim::dispatch::remove_npm_global_uninstall_links has cognitive complexity 34 (threshold 15). Drivers by points: if/else 10 (24 pts), match/switch 4 (9 pts), loops 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_global_cli/src/shim/dispatch.rs"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"71041c6ff990b85df34e926eb7837fc7e15f1a659f7ea5e966205aef51ce55a5"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_toolchain::filter_manifest (cognitive 34): vp_toolchain::filter_manifest has cognitive complexity 34 (threshold 15). Drivers by points: if/else 6 (19 pts), loops 7 (14 pts), boolean chains 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_toolchain/src/lib.rs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"185dd0659676e5bf8a824708f8c76fe1376e4802eacbe1b5d1d22452588e0687"}},{"ruleId":"D2","level":"warning","message":{"text":"limit-options.limitOptions (cognitive 34): limit-options.limitOptions has cognitive complexity 34 (threshold 15). Drivers by points: if/else 14 (26 pts), loops 3 (4 pts), boolean chains 2, ternaries 1 (2 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":"packages/prompts/src/limit-options.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"0093e262bd6606e3bd56775eb4a6694debc63d2f88bc8bffd9256026e5b0625a"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_global_cli::self_setup::shell::configure (cognitive 33): vp_global_cli::self_setup::shell::configure has cognitive complexity 33 (threshold 15). Drivers by points: if/else 9 (19 pts), match/switch 4 (9 pts), boolean chains 4, 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/vp_global_cli/src/self_setup/shell.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5094c62125cff65d17acba93425bb2e1ced9e1c94a7742cf34b730a277eb0af"}},{"ruleId":"D2","level":"warning","message":{"text":"vitest-v5.planVitestV5Migration (cognitive 33): vitest-v5.planVitestV5Migration has cognitive complexity 33 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 9, loops 4 (6 pts), ternaries 3 (6 pts) (nesting depth added 12). Of this number, 32 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":"packages/cli/src/migration/migrator/vitest-v5.ts"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"059996f389bb5f56bbc40c2da6af05e1cda671536636d290700504379c2fe837"}},{"ruleId":"D2","level":"warning","message":{"text":"bin.main (cognitive 32): bin.main has cognitive complexity 32 (threshold 15). Drivers by points: if/else 13 (29 pts), boolean chains 3 (nesting depth added 16). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/config/bin.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"07423da79594fd3fbe00656c10d3215ae2f081ce0affa0b9fc656e995ef46acc"}},{"ruleId":"D2","level":"warning","message":{"text":"sync-remote-deps.createExportTransformer.\u003Creturned closure\u003E (cognitive 32): sync-remote-deps.createExportTransformer.\u003Creturned closure\u003E has cognitive complexity 32 (threshold 15). Drivers by points: if/else 13 (22 pts), ternaries 3 (5 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 12). Of this number, 17 points are the body\u0027s own statements and 15 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":"packages/tools/src/sync-remote-deps.ts"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"a472f53831c78dc00eac03d12d52d3a17285ec07f238d16aeb23f442d3cc606a"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_global_cli::shim::dispatch::dispatch (cognitive 31): vp_global_cli::shim::dispatch::dispatch has cognitive complexity 31 (threshold 15). Drivers by points: if/else 16 (23 pts), match/switch 4 (5 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_global_cli/src/shim/dispatch.rs"},"region":{"startLine":860}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4300e64b0678c8942d117a7e0c71720ddc9aed7f25b775d78d80fc22f13b5fb"}},{"ruleId":"D2","level":"warning","message":{"text":"script-runner.migrateScriptRunnerToVpx (cognitive 31): script-runner.migrateScriptRunnerToVpx has cognitive complexity 31 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 5 (8 pts), ternaries 2 (5 pts), boolean chains 2 (nesting depth added 15). Of this number, 18 points are the body\u0027s own statements and 13 belong to 3 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/migrator/script-runner.ts"},"region":{"startLine":1317}}}],"partialFingerprints":{"codehealthFindingId/v1":"1979f30aba11f0ee17b52c5b7e5d93ef8417845e465a7fe1cb0679fb3b6e2d20"}},{"ruleId":"D2","level":"warning","message":{"text":"config-object.resolveConfigObject (cognitive 31): config-object.resolveConfigObject has cognitive complexity 31 (threshold 15). Drivers by points: if/else 13 (23 pts), boolean chains 7, 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":"packages/cli/src/migration/vitest-v5/config-object.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"76927347dc5f3a71b7a6c9ba4ae46e7fc95061a5beebed5804da2f28fffe20ac"}},{"ruleId":"D2","level":"warning","message":{"text":"source-scan.sourceTreeMatches::scanDir (cognitive 31): source-scan.sourceTreeMatches::scanDir has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (20 pts), boolean chains 6, error handling 2 (4 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":"packages/cli/src/migration/migrator/source-scan.ts"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"c177e6e108637d82ba2f148df19c217d7418f7c10077e2b10e762c0792775c77"}},{"ruleId":"D2","level":"warning","message":{"text":"org-tarball-reader.validateTarRecords (cognitive 31): org-tarball-reader.validateTarRecords has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (26 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/create/org-tarball-reader.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"b27b024319acbeb7b6e9a63ff8444e72070baf8ebbbbd42e0eabac23be425a04"}},{"ruleId":"D2","level":"warning","message":{"text":"build.buildVite (cognitive 31): build.buildVite has cognitive complexity 31 (threshold 15). Drivers by points: if/else 14 (21 pts), boolean chains 8, loops 2 (nesting depth added 7). Most of this is not in the body itself: 10 of the 31 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 108, 113, 235). 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":"packages/core/build.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd474894f64a50d49f1392cb40480fec5840d90043574d959c03407e374f3ed7"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_global_cli::command_picker::render_picker (cognitive 30): vp_global_cli::command_picker::render_picker has cognitive complexity 30 (threshold 15). Drivers by points: if/else 19 (29 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/vp_global_cli/src/command_picker.rs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e85afe665d6797b71d58aed69820125ff7001868e2ae7609cc3c2fec6ffa86a"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_migration::import_merge::merge_group (cognitive 30): vp_migration::import_merge::merge_group has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (20 pts), boolean chains 4, loops 2 (3 pts), match/switch 1 (3 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_migration/src/import_merge.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"a627926b6be159173939c857534bca2b8bfa18064e61feac2b2d675b85e804c8"}},{"ruleId":"D2","level":"warning","message":{"text":"group-multi-select.groupMultiselect (cognitive 30): group-multi-select.groupMultiselect has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 29 (64 pts), boolean chains 15, if/else 7 (9 pts), match/switch 1 (nesting depth added 37). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (group-multi-select.groupMultiselect::opt) 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":"packages/prompts/src/group-multi-select.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"d412c8c336a4583c988fe0f2fb1c99d9e8b03b211766d32a75084431b94137f1"}},{"ruleId":"D2","level":"warning","message":{"text":"password.password (cognitive 30): password.password has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 13 (25 pts), boolean chains 2, if/else 1 (2 pts), match/switch 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/prompts/src/password.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"373d39b4e20d40581237583f368f65539e5b13feceff39902bcd058a3ef87ea1"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_global_cli::command_picker::run_picker (cognitive 29): vp_global_cli::command_picker::run_picker has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (19 pts), match/switch 4 (9 pts), loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_global_cli/src/command_picker.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"397e4dc8add7ebf065e34fedf786996e18e62c7c9f39c87771146ecd8c0bb6ea"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_global_cli::commands::env::list_remote::execute (cognitive 29): vp_global_cli::commands::env::list_remote::execute has cognitive complexity 29 (threshold 15). Drivers by points: if/else 15 (18 pts), loops 3 (7 pts), match/switch 2 (4 pts) (nesting depth added 9). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_global_cli/src/commands/env/list_remote.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"3493b78a15468b34a5b0bce6e732ba774bbf554477b2d793002f2de6fb4260e9"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_migration::package::transform_scripts_json (cognitive 29): vp_migration::package::transform_scripts_json has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (22 pts), loops 2 (5 pts), boolean chains 2 (nesting depth added 17). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_migration/src/package.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f1713e95c926eca1aa19a06cd184d6c837ed89372630cb4a49534ac2d6b40ef"}},{"ruleId":"D2","level":"warning","message":{"text":"git-hooks.installGitHooks (cognitive 29): git-hooks.installGitHooks has cognitive complexity 29 (threshold 15). Drivers by points: if/else 16 (22 pts), boolean chains 5, ternaries 1 (2 pts) (nesting depth added 7). Of this number, 24 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":"packages/cli/src/migration/migrator/git-hooks.ts"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b7179c960a0afe3baa03adb0a9c4205c70e24353988a2b32d6ed6583597cc93"}},{"ruleId":"D2","level":"warning","message":{"text":"eslint.sanitizeInheritedJsPlugins (cognitive 28): eslint.sanitizeInheritedJsPlugins has cognitive complexity 28 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 6 (8 pts), boolean chains 4, ternaries 1 (3 pts) (nesting depth added 11). Of this number, 18 points are the body\u0027s own statements and 10 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":"packages/cli/src/migration/migrator/eslint.ts"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"545b28869c2055895aeb8d704750c53f4936c719b4266635dae0b46c6c99cf2f"}},{"ruleId":"D2","level":"warning","message":{"text":"vpx-script.detectScript (cognitive 28): vpx-script.detectScript has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (18 pts), ternaries 3 (6 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":"packages/cli/src/vpx-script.ts"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"d27609671c8de4a19f56be59a0b8e5e2b9de853368ad2bf3c29159c5a4dc94a5"}},{"ruleId":"D2","level":"warning","message":{"text":"script-runner.rewriteNodeLoader (cognitive 28): script-runner.rewriteNodeLoader has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (14 pts), ternaries 4 (10 pts), boolean chains 4 (nesting depth added 10). Of this number, 27 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":"packages/cli/src/migration/migrator/script-runner.ts"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"c201cfff9370c1a33d1d436850cf671c87feea13f8973462064fba1b1758016b"}},{"ruleId":"D2","level":"warning","message":{"text":"storybook.configPath (cognitive 28): storybook.configPath has cognitive complexity 28 (threshold 15). Drivers by points: if/else 14 (19 pts), boolean chains 6, ternaries 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":"packages/cli/src/migration/vitest-v5/storybook.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fc4543e6dedf7d7663dfaa2d7d2cd5d067ab77e52b2918e29b5ae6225f08572"}},{"ruleId":"D2","level":"warning","message":{"text":"vite-config.mergeOxlintConfigFile (cognitive 28): vite-config.mergeOxlintConfigFile has cognitive complexity 28 (threshold 15). Drivers by points: if/else 14 (16 pts), boolean chains 4, error handling 3, ternaries 2 (3 pts), loops 2 (nesting depth added 3). Of this number, 24 points are the body\u0027s own statements and 4 belong to one function item 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":"packages/cli/src/migration/migrator/vite-config.ts"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"51d48bbc01d82f236cd934c9c5336aa342bcee455d15deced95979aa52137940"}},{"ruleId":"D2","level":"warning","message":{"text":"text.text (cognitive 28): text.text has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 14 (27 pts), match/switch 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/prompts/src/text.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"5474dcaf1d47ec539feb790076db217e14c48d1742744f755e4688329b49a178"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_cli_help::visible_length (cognitive 27): vp_cli_help::visible_length has cognitive complexity 27 (threshold 15). Drivers by points: if/else 4 (13 pts), loops 3 (9 pts), match/switch 1 (3 pts), boolean chains 2 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_cli_help/src/lib.rs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3bc6ef7e7bff808fa0cbbc89f831516663b8b466d2750a0e4c840e57a5cb7e7"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_global_cli::commands::env::current::resolve_package_manager_info (cognitive 27): vp_global_cli::commands::env::current::resolve_package_manager_info has cognitive complexity 27 (threshold 15). Drivers by points: if/else 16 (24 pts), boolean chains 2, 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/vp_global_cli/src/commands/env/current.rs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"14217153a622077c8efe9eebdc78d32a57ff40ec7ca1dfb92514fc6bcb93a27c"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_global_cli::commands::global::install::stale_installation_dirs (cognitive 27): vp_global_cli::commands::global::install::stale_installation_dirs has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (23 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_global_cli/src/commands/global/install.rs"},"region":{"startLine":982}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cd191a25cb9e2677c615b3a9b4742abd6693abff0f7088e757be08e22595787"}},{"ruleId":"D2","level":"warning","message":{"text":"vitest-v5.migrateNode (cognitive 27): vitest-v5.migrateNode has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (13 pts), ternaries 2 (7 pts), boolean chains 5, loops 1 (2 pts) (nesting depth added 12). Of this number, 23 points are the body\u0027s own statements and 4 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":"packages/cli/src/migration/migrator/vitest-v5.ts"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"b45d70e775aefe4b4987c58860f3d0edfa5ae7dd0ad60fb4f50e4522cb6dfa56"}},{"ruleId":"D2","level":"warning","message":{"text":"catalog.rewriteBunCatalog (cognitive 27): catalog.rewriteBunCatalog has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 6, loops 3 (5 pts), ternaries 3 (nesting depth added 5). Most of this is not in the body itself: 1 of the 27 points is its own statement and the rest belongs to one function literal inside it that branches (line 1125). 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":"packages/cli/src/migration/migrator/catalog.ts"},"region":{"startLine":1108}}}],"partialFingerprints":{"codehealthFindingId/v1":"28b52b555081f00e4517b838bc7641c0543bb11fa6e4116534491fe79b260772"}},{"ruleId":"D2","level":"warning","message":{"text":"discovery.expandCreateShorthand (cognitive 27): discovery.expandCreateShorthand has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (13 pts), ternaries 6 (12 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":"packages/cli/src/create/discovery.ts"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6da28d47814d2ef699b9cd0d31bcc69c7801053cf8cef656d667404b71cd7e6"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_global_cli::commands::env::pin::pin_package_manager (cognitive 26): vp_global_cli::commands::env::pin::pin_package_manager has cognitive complexity 26 (threshold 15). Drivers by points: if/else 16 (22 pts), boolean chains 4 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_global_cli/src/commands/env/pin.rs"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"de5c76b6c83897bcddbbe67ae6c224672c6945c6947378efb05e94727b288348"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_global_cli::help::strip_ansi (cognitive 26): vp_global_cli::help::strip_ansi has cognitive complexity 26 (threshold 15). Drivers by points: if/else 3 (12 pts), loops 3 (9 pts), match/switch 1 (3 pts), boolean chains 2 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_global_cli/src/help.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc53883817d95dc3e313d22743cad72d48b954b636258b0443717e60b037a48f"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_migration::vite_config::ensure_lazy_plugins_import (cognitive 26): vp_migration::vite_config::ensure_lazy_plugins_import has cognitive complexity 26 (threshold 15). Drivers by points: if/else 14 (23 pts), boolean chains 2, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_migration/src/vite_config.rs"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef580efb50875bf75a3b372119e1646d88c38d199ad16f6c44381f68a9927e67"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_toolchain::validate_manifest (cognitive 26): vp_toolchain::validate_manifest has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 6, loops 3 (4 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_toolchain/src/lib.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"370482adb433c8db61413c42abb9146f4ba702d9b81413841ed2dc8189900634"}},{"ruleId":"D2","level":"warning","message":{"text":"tsup.restoreSharedTsupUsage (cognitive 26): tsup.restoreSharedTsupUsage has cognitive complexity 26 (threshold 15). Drivers by points: loops 6 (11 pts), if/else 4 (10 pts), boolean chains 3, ternaries 1 (2 pts) (nesting depth added 12). Most of this is not in the body itself: 12 of the 26 points are its own statements and the rest belongs to one function literal inside it that branches (line 307). 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":"packages/cli/src/migration/migrator/tsup.ts"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6d235db78a9ecca822bb49aa6012b9faad7156b665e9fb2af226cdbcc2b6caf"}},{"ruleId":"D2","level":"warning","message":{"text":"scopes.projectSelected (cognitive 26): scopes.projectSelected has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 8, ternaries 1 (2 pts), loops 1 (nesting depth added 4). 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: 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":"packages/cli/src/migration/vitest-v5/scopes.ts"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8d570c41f03028e1e4b19c3b637e369a8e7005993b87afc64c5d3d035b57814"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace.detectWorkspace (cognitive 26): workspace.detectWorkspace has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13 (23 pts), loops 1 (2 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":"packages/cli/src/utils/workspace.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0f051e0ca934c5c5500e6c1544b9e421a2da3d098f4d130fb64c80ec10fb70b"}},{"ruleId":"D2","level":"warning","message":{"text":"rewrite-module-specifiers.rewriteModuleSpecifiers (cognitive 26): rewrite-module-specifiers.rewriteModuleSpecifiers has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (17 pts), loops 3 (6 pts), boolean chains 3 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/build-support/rewrite-module-specifiers.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"e222aa77282d71725a203fe87b54aa28de6e94523272b484278f1da66d301621"}},{"ruleId":"D2","level":"warning","message":{"text":"BinRollback::restore (cognitive 25): BinRollback::restore has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (18 pts), match/switch 2 (4 pts), boolean chains 2, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_global_cli/src/commands/global/install.rs"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"16d500a40fdc111f2197bba7d3c30c27a03927b5dc7c946081f012a78c0c3639"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_global_cli::self_setup::maybe_run (cognitive 25): vp_global_cli::self_setup::maybe_run has cognitive complexity 25 (threshold 15). Drivers by points: if/else 14 (18 pts), boolean chains 7 (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/vp_global_cli/src/self_setup.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"baf2d3d0ccfaf6ed87f11f9d7541ed93d28f4331be5c364b36b022843b0dd1b2"}},{"ruleId":"D2","level":"warning","message":{"text":"build.createShimForExport (cognitive 25): build.createShimForExport has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 6 (11 pts), if/else 6 (10 pts), boolean chains 4 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/build.ts"},"region":{"startLine":1192}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4ae9f4d895701955b0d038ca831897aebf011da64cc9ff3e1791a2c39dfdeeb"}},{"ruleId":"D2","level":"warning","message":{"text":"command.runCommandAndDetectProjectDir (cognitive 25): command.runCommandAndDetectProjectDir has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 4, loops 2 (3 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":"packages/cli/src/create/command.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c60d3e57b47bdafe0285441ea6732f8ef28e5cc2103b1e016a618414845c8f9"}},{"ruleId":"D2","level":"warning","message":{"text":"select.select (cognitive 25): select.select has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 10 (20 pts), if/else 2 (3 pts), match/switch 2 (nesting depth added 11). Of this number, 15 points are the body\u0027s own statements and 10 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":"packages/prompts/src/select.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"539eff47cd8fae538685a3b8f22dac6850af60a2ea8d5bddf855082aaedc99b3"}},{"ruleId":"D2","level":"warning","message":{"text":"box.box (cognitive 25): box.box has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 3 (5 pts), ternaries 4 (5 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":"packages/prompts/src/box.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"0be46b18f07b0de94591f1187c16cc31e5f618a1ef90999b86eaa8c99dca1384"}},{"ruleId":"D2","level":"warning","message":{"text":"confirm.confirm (cognitive 25): confirm.confirm has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 12 (24 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":"packages/prompts/src/confirm.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"97bdfd0668bfdbd656fafafdb8ef0b58e93dba9c0885008264136203e919a851"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_global_cli::commands::env::default::show_default (cognitive 24): vp_global_cli::commands::env::default::show_default has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (13 pts), match/switch 3 (8 pts), loops 1 (3 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_global_cli/src/commands/env/default.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbe1c45678bff55818597e94fbdf1ebc3626f456bfcd05a7a87ffbde65060d3c"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_global_cli::commands::env::exec::execute_with_version (cognitive 24): vp_global_cli::commands::env::exec::execute_with_version has cognitive complexity 24 (threshold 15). Drivers by points: if/else 17 (20 pts), boolean chains 3, loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_global_cli/src/commands/env/exec.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"101bddf59bec70a8b7133f988d8c6cb78032fffb1edeff3bd685ca0f94285586"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_global_cli::commands::env::list::execute (cognitive 24): vp_global_cli::commands::env::list::execute has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (16 pts), loops 2 (4 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_global_cli/src/commands/env/list.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcc4ec44fe2db433445963de37b57f9d5495388ae39691527632e77834cef251"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_global_cli::commands::global::outdated::get_outdated_packages (cognitive 24): vp_global_cli::commands::global::outdated::get_outdated_packages has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 2 (3 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_global_cli/src/commands/global/outdated.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"44ef5523d42798379ee4c15ce047e749dad552f49e9f2788d672d9ee0a27b08b"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_installer::legacy::install (cognitive 24): vp_installer::legacy::install has cognitive complexity 24 (threshold 15). Drivers by points: if/else 14 (21 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_installer/src/legacy.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dafb7e6ab0ce3ea11aa65d70b556fdf743f1b7d374ff39e890cfe0de2798f36"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_js_runtime::runtime::resolve_node_version (cognitive 24): vp_js_runtime::runtime::resolve_node_version has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (19 pts), boolean chains 2, match/switch 1 (2 pts), loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_js_runtime/src/runtime.rs"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6126e965755d434837d84604bb8567a0fc093100b7ec381ba9e9e0b526c4cf7"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_migration::pack_config::move_option (cognitive 24): vp_migration::pack_config::move_option has cognitive complexity 24 (threshold 15). Drivers by points: if/else 14 (20 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_migration/src/pack_config.rs"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae1e661d9769f76142c9e19bdb7491e6a644f8dbd4d80ff78424bb58dae1f1b8"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_migration::shell_command::parse_literal_commands (cognitive 24): vp_migration::shell_command::parse_literal_commands has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 3, 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/vp_migration/src/shell_command.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8b91aa79d21cd459e0d028b6ff5eacf1cd8dbb3ae0cb52a3cb08bc7873c2b04"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_migration::vite_config::wrap_lazy_plugins_content (cognitive 24): vp_migration::vite_config::wrap_lazy_plugins_content has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (21 pts), loops 2, 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/vp_migration/src/vite_config.rs"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"73421d19fc519a042cceeeeb7035a51f19aa4e166110befa3203a9697ec5dbee"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_static_config::extract_config_from_expr (cognitive 24): vp_static_config::extract_config_from_expr has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (21 pts), match/switch 2 (3 pts) (nesting depth added 12). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_static_config/src/lib.rs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c505b345c4b19b16bf463cbd9f215912dd08ebd805b50f378be721a53227497"}},{"ruleId":"D2","level":"warning","message":{"text":"tsup.deleteTsupConfigFiles (cognitive 24): tsup.deleteTsupConfigFiles has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (20 pts), boolean chains 3, loops 1 (nesting depth added 11). Of this number, 23 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":"packages/cli/src/migration/migrator/tsup.ts"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"09896fe336389e76ea75965047fe0ff4ddc0f20815724ebdd463e5f92bfee143"}},{"ruleId":"D2","level":"warning","message":{"text":"tsx.jsdocTagUsesTsx (cognitive 24): tsx.jsdocTagUsesTsx has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (17 pts), ternaries 2 (4 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":"packages/cli/src/migration/migrator/tsx.ts"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"18c7787b3a17e263c85e6474e6ad198de0e31802baf449bae56bfefffcce0677"}},{"ruleId":"D2","level":"warning","message":{"text":"ts-node-config.readTsNodeOptions (cognitive 24): ts-node-config.readTsNodeOptions has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 4, error handling 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":"packages/cli/src/migration/migrator/ts-node-config.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3dced1eb4c8e7aad937e184c13b2c4216b14437d38fd66658741c18bf7863d9"}},{"ruleId":"D2","level":"warning","message":{"text":"benchmarks.migrateBenchmarks::directCall (cognitive 24): benchmarks.migrateBenchmarks::directCall has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 7, 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. This shape REPEATS in the file: one other method here (benchmarks.migrateBenchmarks) 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":"packages/cli/src/migration/vitest-v5/benchmarks.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"381a8f2a6f8e71597e78e3f41f9d0a6e60d26b4a7fdf21b2f6a5e7bc9b9f5558"}},{"ruleId":"D2","level":"warning","message":{"text":"source.isAssertionBindingHandled (cognitive 24): source.isAssertionBindingHandled has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 6, loops 3, 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":"packages/cli/src/migration/vitest-v5/source.ts"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b1e89ba8481e7834dabc26685b08f7c99138a98912533ee49976ba0fe6815ee"}},{"ruleId":"D2","level":"warning","message":{"text":"vitest-v5.lockedSourceVersion (cognitive 24): vitest-v5.lockedSourceVersion has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10, ternaries 5 (7 pts), boolean chains 6, error handling 1 (nesting depth added 2). Of this number, 12 points are the body\u0027s own statements and 12 belong to 2 function items 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":"packages/cli/src/migration/migrator/vitest-v5.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ef7ea88132b00160b29ace77f03f6e1287ba4fdd98f0e6d38e5d7544fc5a6d2"}},{"ruleId":"D2","level":"warning","message":{"text":"vite-config.mergeAndRemoveJsonConfig (cognitive 24): vite-config.mergeAndRemoveJsonConfig has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (13 pts), loops 3 (4 pts), boolean chains 3, ternaries 1 (3 pts), error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/migrator/vite-config.ts"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac62ae50d590bb31b53783a63de0ffb28ca8b9eaa7d0ed6cbac941fd5de74183"}},{"ruleId":"D2","level":"warning","message":{"text":"sync-remote-deps.transformViteExport (cognitive 24): sync-remote-deps.transformViteExport has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (15 pts), ternaries 2 (4 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 9). Most of this is not in the body itself: 11 of the 24 points are its own statements and the rest belongs to one function item inside it that branches (transformValue). 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":"packages/tools/src/sync-remote-deps.ts"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0db15849bf31e3e25834429ab9f7bd2c26d2889a457e7012bed2d444e30a5eb"}},{"ruleId":"D2","level":"warning","message":{"text":"sync-remote-deps.mergePackageExports (cognitive 24): sync-remote-deps.mergePackageExports has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 4 (8 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":"packages/tools/src/sync-remote-deps.ts"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aed4bca324773896547e626b042ffbcfc15bf118266225416122b3b918a0e17"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_global_cli::commands::env::package_metadata::list_packages_recursive (cognitive 23): vp_global_cli::commands::env::package_metadata::list_packages_recursive has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (22 pts), loops 1 (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_global_cli/src/commands/env/package_metadata.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa95c1cd7e852fab682f48470c3462dba8a118e8531ff65f551150a8a12b1f36"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_global_cli::commands::env::setup::has_configured_profile (cognitive 23): vp_global_cli::commands::env::setup::has_configured_profile has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (15 pts), match/switch 2 (4 pts), loops 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/vp_global_cli/src/commands/env/setup.rs"},"region":{"startLine":1497}}}],"partialFingerprints":{"codehealthFindingId/v1":"843e7133f6de392a572eb1fd6a65e71f0f8c72adcfaeabfee9626f38366b35fd"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_js_runtime::download::download_file (cognitive 23): vp_js_runtime::download::download_file has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (18 pts), match/switch 1 (3 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_js_runtime/src/download.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"d65ef159d38791a42131d05a3e19a57e98c228c2d7a6f0bd6bee9e4a53c3aaf7"}},{"ruleId":"D2","level":"warning","message":{"text":"Npm::resolve (cognitive 23): Npm::resolve has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (17 pts), loops 2 (5 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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/vp_pm_cli/src/resolution/commands/approve_builds.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"cae993b5052e817298bab330a8fa2fb458a147fe77846fb8a8b6b406adfb87b0"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_shared::header::query_terminal_colors (cognitive 23): vp_shared::header::query_terminal_colors has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (14 pts), match/switch 5 (6 pts), loops 2, boolean chains 1 (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_shared/src/header.rs"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"46cf44757e2d5b91cf1630e0b91df0578ac8f52a3ebeee694394646c9551c2cd"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_trampoline::win::run (cognitive 23): vp_trampoline::win::run has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (16 pts), loops 2 (3 pts), boolean chains 2, match/switch 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/vp_trampoline/src/win.rs"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fe86d25c5ad68a07615038ec867c2bb8d1bb7e3778a21ce63c66acca0d11cc0"}},{"ruleId":"D2","level":"warning","message":{"text":"build.validateToolchainConfig (cognitive 23): build.validateToolchainConfig has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 4 (5 pts), boolean chains 3 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/build.ts"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"40770230a94437436cbac00b93c0186102db4fd5dd0ddce96f6388b71b9947b7"}},{"ruleId":"D2","level":"warning","message":{"text":"ts-node.incompatibleModuleSource (cognitive 23): ts-node.incompatibleModuleSource has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 7, loops 1 (nesting depth added 7). Of this number, 22 points are the body\u0027s own statements and 1 belongs to 3 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/migrator/ts-node.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"f65696aa4e90ff8648c301793ffd24c076ae442aec8a450b15b3acf0d3578995"}},{"ruleId":"D2","level":"warning","message":{"text":"build.brandTsdown (cognitive 23): build.brandTsdown has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (17 pts), loops 4 (6 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":"packages/core/build.ts"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f741e9b46c3feae4cfa3fe4d93703706adb5e463bbe45acc4cb106f3553abbc"}},{"ruleId":"D2","level":"warning","message":{"text":"vendored-vitest.alignVendoredVitestDependencies (cognitive 23): vendored-vitest.alignVendoredVitestDependencies has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (16 pts), loops 3 (6 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":"packages/tools/src/vendored-vitest.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"98538b9042e49db021bb6380305cb54c576a565408819caadcfb1c924883b5ea"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_global_cli::commands::vpx_script::detect (cognitive 22): vp_global_cli::commands::vpx_script::detect has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 2, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_global_cli/src/commands/vpx_script.rs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"8043f0d3ef279fd3be99e2115179c33361904a9461ff3be953e2202309ac4929"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_global_cli::shim::dispatch::parse_npm_global_command (cognitive 22): vp_global_cli::shim::dispatch::parse_npm_global_command has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 4, 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/vp_global_cli/src/shim/dispatch.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a803610d32fe132bac126cc0fd775dec1e303571f5d0553fa45ca3366251fdd"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_migration::import_rewriter::rewrite_imports_in_directory_with_options (cognitive 22): vp_migration::import_rewriter::rewrite_imports_in_directory_with_options has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (16 pts), match/switch 2 (3 pts), boolean chains 2, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_migration/src/import_rewriter.rs"},"region":{"startLine":2284}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb9f5f44fab0c6ee24effe6687fd2b2e1b116d3d66664cbc63ea40027b231aa8"}},{"ruleId":"D2","level":"warning","message":{"text":"build.resolveUpstreamDtsPath (cognitive 22): build.resolveUpstreamDtsPath has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 4, ternaries 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":"packages/cli/build.ts"},"region":{"startLine":1129}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0513457dbae2f6fa43c6819f75d495066383e262c2c3b67b8c906929a1b2b2f"}},{"ruleId":"D2","level":"warning","message":{"text":"tsconfig.fixBaseUrlInTsconfig (cognitive 22): tsconfig.fixBaseUrlInTsconfig has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 2, error handling 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":"packages/cli/src/utils/tsconfig.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"180fc60769dc2fdf1ebff95f466c85683ca7438697f887e16af6321b194ae786"}},{"ruleId":"D2","level":"warning","message":{"text":"detector.detectMigrationWarnings (cognitive 22): detector.detectMigrationWarnings has cognitive complexity 22 (threshold 15). Drivers by points: if/else 4 (10 pts), boolean chains 7, loops 2 (3 pts), error handling 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/detector.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a70126a9f548cc4b915a814a1add3bff18d06459ee6be08cff3e30887763a54"}},{"ruleId":"D2","level":"warning","message":{"text":"prettier.deletePrettierConfigFiles (cognitive 22): prettier.deletePrettierConfigFiles has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (20 pts), boolean chains 1, loops 1 (nesting depth added 11). Of this number, 21 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/migrator/prettier.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"e71dc15f75e8244f355dc23440d30c2acf7ff54b60040ec645dd2c2b70553362"}},{"ruleId":"D2","level":"warning","message":{"text":"prettier.rewritePrettierPackageJson (cognitive 22): prettier.rewritePrettierPackageJson has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (15 pts), loops 2 (4 pts), boolean chains 2, ternaries 1 (nesting depth added 8). Most of this is not in the body itself: 1 of the 22 points is its own statement and the rest belongs to one function literal inside it that branches (line 238). 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":"packages/cli/src/migration/migrator/prettier.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b5d230365b63a0c3278832dadf778f4021f9783450618b6e777a80eb6778d62"}},{"ruleId":"D2","level":"warning","message":{"text":"tsx.typescriptScriptKeepReason (cognitive 22): tsx.typescriptScriptKeepReason has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (8 pts), ternaries 3 (6 pts), boolean chains 5, loops 1 (2 pts), error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/migrator/tsx.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf1ee8a79ea21d26e7087f9d9eb92f694880cd62cbce70942a91728cd06526d7"}},{"ruleId":"D2","level":"warning","message":{"text":"webdriverio.migrateWebdriverioDependencies::update (cognitive 22): webdriverio.migrateWebdriverioDependencies::update has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 3, ternaries 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 2 other methods here (webdriverio.migrateWebdriverioDependencies, webdriverio.migrateWebdriverioDependencies::overrideMap) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 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":"packages/cli/src/migration/vitest-v5/webdriverio.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a4ff2c1390df07ce0bd48cab45c0a4defce14693700edd85b28d5a8f20b05a0"}},{"ruleId":"D2","level":"warning","message":{"text":"vite-config.rewriteLintStagedConfigFile (cognitive 22): vite-config.rewriteLintStagedConfigFile has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (16 pts), ternaries 1 (3 pts), loops 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":"packages/cli/src/migration/migrator/vite-config.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fa97be5c6b6859bd1181fb362b64f25c0764e6bf5253ad3ec83d4813bf78de8"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.ensurePnpmCreateCatalogEntries (cognitive 22): utils.ensurePnpmCreateCatalogEntries has cognitive complexity 22 (threshold 15). Drivers by points: if/else 4 (8 pts), ternaries 2 (7 pts), boolean chains 4, 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":"packages/cli/src/create/utils.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"84130445bf757db0957450cc457331101dc3349c141856b3caa1d25c46c4ac2d"}},{"ruleId":"D2","level":"warning","message":{"text":"oxlint-plugin.rewriteVitePlusImportSpecifier (cognitive 22): oxlint-plugin.rewriteVitePlusImportSpecifier has cognitive complexity 22 (threshold 15). Drivers by points: if/else 15 (18 pts), ternaries 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/oxlint-plugin.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"fda2bb4d7eeb5d99c1086f43c1f62a1e3780748873b4995fe2bda1e8a4b0657c"}},{"ruleId":"D2","level":"warning","message":{"text":"oxlint-plugin.nearestPackageMatches (cognitive 22): oxlint-plugin.nearestPackageMatches has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (11 pts), error handling 2 (6 pts), ternaries 1 (3 pts), boolean chains 1, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/oxlint-plugin.ts"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"c73e61a3bbf7eb47f214ffc091fe9500ea2e0c7c8de5a749a1ea78f2b24207e8"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_global_cli::commands::env::default::execute (cognitive 21): vp_global_cli::commands::env::default::execute has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (14 pts), match/switch 2 (5 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_global_cli/src/commands/env/default.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"522a9bd9bc09edfaea06ce45208bedc856a8af4dd5e3dcd0ffd5ab5bca0c606f"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_global_cli::commands::global::install::uninstall_locked (cognitive 21): vp_global_cli::commands::global::install::uninstall_locked has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (14 pts), loops 3 (4 pts), match/switch 2 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_global_cli/src/commands/global/install.rs"},"region":{"startLine":1075}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4b25e189c2608a30347d4fedbf54badb7917a2f443948e8ef6f79fc114c5b6d"}},{"ruleId":"D2","level":"warning","message":{"text":"eslint.rewriteEslintPackageJson (cognitive 21): eslint.rewriteEslintPackageJson has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 2 (3 pts), boolean chains 1, ternaries 1 (nesting depth added 9). None of this is in the body itself: all 21 points belong to one function literal inside it that branches (line 453). 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":"packages/cli/src/migration/migrator/eslint.ts"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"8578d17d1a5e199ecc75e4e2f52ee0000dd471cc603c3d2d3182d2b77b72b4c9"}},{"ruleId":"D2","level":"warning","message":{"text":"vpx-script.parseVpxArgs (cognitive 21): vpx-script.parseVpxArgs has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 7, loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/vpx-script.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"2152d2f996a1bae37dc15b3df49b72d25a46f533b967596b12705a32c87e5ff3"}},{"ruleId":"D2","level":"warning","message":{"text":"vitest-v5.sourceVersion (cognitive 21): vitest-v5.sourceVersion has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 6, ternaries 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/migrator/vitest-v5.ts"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad12294c025bc6e7469e1e04bedaef2da46491b3f1897bf28638232216cc64e3"}},{"ruleId":"D2","level":"warning","message":{"text":"vitest-v5.checkNodeRange (cognitive 21): vitest-v5.checkNodeRange has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 8 (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":"packages/cli/src/migration/migrator/vitest-v5.ts"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"92d52ebbddac9a6475879c2001a2a1110a5f18f8b55ea013dca715f27af12c94"}},{"ruleId":"D2","level":"warning","message":{"text":"oxlint-config.removeMigratedOxlintConfigs (cognitive 21): oxlint-config.removeMigratedOxlintConfigs has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 5 (6 pts), boolean chains 2, error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/migrator/oxlint-config.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"99ae6fa83261cf92a5ffcc6a1663ef838bc576315e18d931fb6eb0628c57546e"}},{"ruleId":"D2","level":"warning","message":{"text":"npm-reinstall.prepareNpmViteAliasReinstall (cognitive 21): npm-reinstall.prepareNpmViteAliasReinstall has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 3, loops 2 (3 pts), error handling 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":"packages/cli/src/migration/npm-reinstall.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"f38a6915c460a1c87504f4b913caa846464cdea568396a454384f7cf29ef9ef3"}},{"ruleId":"D2","level":"warning","message":{"text":"select-key.selectKey (cognitive 21): select-key.selectKey has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 8 (16 pts), if/else 4, match/switch 1 (nesting depth added 8). Of this number, 13 points are the body\u0027s own statements and 8 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/prompts/src/select-key.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae9d9a3a12551422c68201a5d4ee8f1304fce53a4354ab101ce9394286a93d87"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_global_cli::commands::env::doctor::check_shim_mode (cognitive 20): vp_global_cli::commands::env::doctor::check_shim_mode has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 1 (4 pts), match/switch 2 (3 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/vp_global_cli/src/commands/env/doctor.rs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c51de6b52628b0af24e8df2f41f0bdb4516cc8fdbada6b524789ae5923f2f5c"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_global_cli::commands::env::doctor::check_conflicts (cognitive 20): vp_global_cli::commands::env::doctor::check_conflicts has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 2 (3 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/vp_global_cli/src/commands/env/doctor.rs"},"region":{"startLine":1297}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc2309bfcc61a6a7ffcba10c6aeb0d815a440ca769966a5aa10eb99a99f4afe3"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_global_cli::commands::implode::execute (cognitive 20): vp_global_cli::commands::implode::execute has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 3, loops 1, match/switch 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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/vp_global_cli/src/commands/implode.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1f28c5886f431712adcd5c02d5fd07898f4517e79c5191b55af41e0719c5f86"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_installer::do_install (cognitive 20): vp_installer::do_install has cognitive complexity 20 (threshold 15). Drivers by points: if/else 15 (18 pts), boolean chains 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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/vp_installer/src/main.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"7714182a55f9706d4c96c23fdeebd87d4c479ee565b32f4c391d537156a983c7"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_migration::import_rewriter::rewrite_import_content_full (cognitive 20): vp_migration::import_rewriter::rewrite_import_content_full has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 3 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_migration/src/import_rewriter.rs"},"region":{"startLine":2472}}}],"partialFingerprints":{"codehealthFindingId/v1":"e51bed66f06b702f731488cc8588fd953e8dabcad050e2e552148eb1e949b66d"}},{"ruleId":"D2","level":"warning","message":{"text":"HttpClient::send_get (cognitive 20): HttpClient::send_get has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (18 pts), boolean chains 1, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_pm_cli/src/request.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"af620e5b8a3a71589b2c7fbfc2407d319882a21b748402d6ae7e85add0a7b49c"}},{"ruleId":"D2","level":"warning","message":{"text":"prettier.migratePrettierToOxfmt (cognitive 20): prettier.migratePrettierToOxfmt has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (14 pts), error handling 1 (3 pts), loops 1 (2 pts), ternaries 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":"packages/cli/src/migration/migrator/prettier.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"6515b8ae3780679a73098aa746956779caff67c3dd100c9e30d35023005f4992"}},{"ruleId":"D2","level":"warning","message":{"text":"script-runner.scanEnvironmentOptions (cognitive 20): script-runner.scanEnvironmentOptions has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 3, ternaries 1 (2 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/migrator/script-runner.ts"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"7566f1f211dfc945f5095c9959fcd4e3beebdbd558b197771092e2b5db9415d0"}},{"ruleId":"D2","level":"warning","message":{"text":"config.findVitestV5MergedConfigFiles (cognitive 20): config.findVitestV5MergedConfigFiles has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 4 (6 pts), error handling 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":"packages/cli/src/migration/vitest-v5/config.ts"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed2b1ea58ddba80b583c646f07832a127f8e54a6428b78db0243e59a4a30e84d"}},{"ruleId":"D2","level":"warning","message":{"text":"catalog.applyBuildAllowanceToWorkspaceYaml (cognitive 20): catalog.applyBuildAllowanceToWorkspaceYaml has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (5 pts), ternaries 1 (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":"packages/cli/src/migration/migrator/catalog.ts"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c8116c0ff290aee3ea34184c94aeba72872de85448c4740c39f6f3434097669"}},{"ruleId":"D2","level":"warning","message":{"text":"catalog.rewriteYamlCatalogAtPath (cognitive 20): catalog.rewriteYamlCatalogAtPath has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 5, loops 3 (4 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/migrator/catalog.ts"},"region":{"startLine":978}}}],"partialFingerprints":{"codehealthFindingId/v1":"5023856ed5f863e2945467443222fa4778efd0036ec38a39ac3760c3c4af1181"}},{"ruleId":"D2","level":"warning","message":{"text":"git-hooks.findWorkspacePackageHookPolicy (cognitive 20): git-hooks.findWorkspacePackageHookPolicy has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 3, loops 2 (3 pts), ternaries 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":"packages/cli/src/migration/migrator/git-hooks.ts"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"f52d9209ec554a0637213e53112715a6fe919f77fc133406d2fed77c6c436580"}},{"ruleId":"D2","level":"warning","message":{"text":"define-config.vitePlusVitestResolverPlugin (cognitive 20): define-config.vitePlusVitestResolverPlugin has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 4, loops 3 (4 pts), ternaries 3 (nesting depth added 3). Of this number, 19 points are the body\u0027s own statements and 1 belongs 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":"packages/cli/src/define-config.ts"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3d46b9671fa54349ac21da3d8d014b23905dbec0d0411f98db74d725315940f"}},{"ruleId":"D2","level":"warning","message":{"text":"org-resolve.resolveOrgManifestForCreate (cognitive 20): org-resolve.resolveOrgManifestForCreate has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 2, ternaries 1 (2 pts), error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/create/org-resolve.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"c02d7b6aae8cdb3322737fd09f2c5001400605b100593e23307b244d0dd55f46"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_global_cli::commands::env::doctor::execute (cognitive 19): vp_global_cli::commands::env::doctor::execute has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (15 pts), match/switch 2 (4 pts) (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_global_cli/src/commands/env/doctor.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"89eb142c72defd6c2cdcdc37e2754b7431a22f99e7b1959aa730188118fa4780"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_global_cli::commands::env::lifecycle::install (cognitive 19): vp_global_cli::commands::env::lifecycle::install has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (17 pts), 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/vp_global_cli/src/commands/env/lifecycle.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3f5297764ebaf0320360b0c1107e94a18a055ed00aa2360032f315cfc7ff5b8"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_global_cli::commands::env::list_remote::format_remote_version (cognitive 19): vp_global_cli::commands::env::list_remote::format_remote_version has cognitive complexity 19 (threshold 15). Drivers by points: if/else 15 (19 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_global_cli/src/commands/env/list_remote.rs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0ec637cd8ec73a101c20c77bd090e0bf1227f8d38dcbe496db86df8d6b4cdf4"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_global_cli::commands::env::pin::unpin_package_manager (cognitive 19): vp_global_cli::commands::env::pin::unpin_package_manager has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 4, 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/vp_global_cli/src/commands/env/pin.rs"},"region":{"startLine":966}}}],"partialFingerprints":{"codehealthFindingId/v1":"222cab74d0ca61ee4ccc9377a4fd083c495de7ab2345757a971f3b07f03857b6"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_global_cli::commands::env::setup::refresh_shims (cognitive 19): vp_global_cli::commands::env::setup::refresh_shims has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (15 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/vp_global_cli/src/commands/env/setup.rs"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a413b29fcc8dc6c759683fedc724039871d596ff25d00fa0aa9a0585a6cdf7d"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_global_cli::help::parse_rows_with_alias_normalization (cognitive 19): vp_global_cli::help::parse_rows_with_alias_normalization has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (17 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/vp_global_cli/src/help.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"68afbf26f269546e7fd3f126d6ef7d0d01814a87803d4f490b0096a8463ff246"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_global_cli::help::parse_clap_help_to_doc (cognitive 19): vp_global_cli::help::parse_clap_help_to_doc has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 2 (3 pts), 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/vp_global_cli/src/help.rs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"f938c9c86d1a6615714fc26061f7d75e86dbe3b35ddc0c85eed4b482e556d0e3"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_migration::import_merge::merge_duplicate_imports (cognitive 19): vp_migration::import_merge::merge_duplicate_imports has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 4, loops 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_migration/src/import_merge.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"df8d1415e4c9ce861f5d205b80dba1d50362184378cb89f832692f83ced7d241"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_static_config::expr_to_json (cognitive 19): vp_static_config::expr_to_json has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 2 (4 pts), boolean chains 1, match/switch 1 (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_static_config/src/lib.rs"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbf43fd08e8f3ed23a7632a500cfddc5e6e1c43dabd5cee71b0d6e3978759441"}},{"ruleId":"D2","level":"warning","message":{"text":"ts-node-config.readTsNodeEnvironment (cognitive 19): ts-node-config.readTsNodeEnvironment has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 6, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/migrator/ts-node-config.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea176a419c3794d9eb50842ec6da106f88ae757cc8f7371f691e998217f623c"}},{"ruleId":"D2","level":"warning","message":{"text":"commands.migrateVitestV5Command (cognitive 19): commands.migrateVitestV5Command has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8, boolean chains 7, ternaries 3 (4 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/vitest-v5/commands.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"935501b6678bc505f1cdd5b7df491d1d889c1070654a9c48bae8afbb2fe99719"}},{"ruleId":"D2","level":"warning","message":{"text":"catalog.rewriteCatalogObject (cognitive 19): catalog.rewriteCatalogObject has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 5, loops 3 (4 pts), ternaries 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/migrator/catalog.ts"},"region":{"startLine":1053}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdbcbe7a32c3a55f87eb7444362d45c52c3b1a10d99d0b958e301d8751f05cf1"}},{"ruleId":"D2","level":"warning","message":{"text":"vite-config.rewriteAllImports (cognitive 19): vite-config.rewriteAllImports has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 3 (8 pts), if/else 5 (6 pts), loops 2 (4 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":"packages/cli/src/migration/migrator/vite-config.ts"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ba8e06f47865ce5b55bbfddbb9a2faf1fb119c75a20f4d0592f28beaa29d382"}},{"ruleId":"D2","level":"warning","message":{"text":"git-hooks.vpConfigHookCommands (cognitive 19): git-hooks.vpConfigHookCommands has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 5, 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":"packages/cli/src/migration/migrator/git-hooks.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"13bc88dc690a2388cb4304c7526772e405c9cd073ce3fc534be7376ce64cfbcd"}},{"ruleId":"D2","level":"warning","message":{"text":"monorepo.executeMonorepoTemplate (cognitive 19): monorepo.executeMonorepoTemplate has cognitive complexity 19 (threshold 15). Drivers by points: if/else 13 (17 pts), ternaries 2 (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":"packages/cli/src/create/templates/monorepo.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"b119d6d77e4686a2c34184b99d88bb362c5d218d0109c390b959fa6d9d02afb4"}},{"ruleId":"D2","level":"warning","message":{"text":"build.wireBundledTsdownExtensions (cognitive 19): build.wireBundledTsdownExtensions has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (16 pts), loops 2, boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/build.ts"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"de77b204a0be1682b200b0a6b773ea91a96f9891449ce6a897ff3925504e9dd1"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_global_cli::commands::env::pin::do_pin (cognitive 18): vp_global_cli::commands::env::pin::do_pin has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (12 pts), 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/vp_global_cli/src/commands/env/pin.rs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9364a27aadd04bf4216c50cd382a319ab03448302b2a644ac35d24f7a7efc52"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_global_cli::commands::implode::remove_vite_plus_lines (cognitive 18): vp_global_cli::commands::implode::remove_vite_plus_lines has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 3, loops 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_global_cli/src/commands/implode.rs"},"region":{"startLine":977}}}],"partialFingerprints":{"codehealthFindingId/v1":"67eb7d433f44ff179fb15b99a39481ee3a44918a0d90c6b02142b9d372cb05c6"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_global_cli::help::maybe_print_unified_clap_subcommand_help (cognitive 18): vp_global_cli::help::maybe_print_unified_clap_subcommand_help has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (15 pts), loops 2, boolean chains 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_global_cli/src/help.rs"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5dacb07fc867bc338512dc1b4f8640fd73cf5dbb0df300a012b863edac41fde"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_migration::vite_config::strip_import_comments (cognitive 18): vp_migration::vite_config::strip_import_comments has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (7 pts), loops 3 (7 pts), boolean chains 4 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_migration/src/vite_config.rs"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"147c3afa91ec5ea04b56f6f8010de1ca9a3cd9500178eb77c95e4bb7567c24ef"}},{"ruleId":"D2","level":"warning","message":{"text":"approve-builds.collectDirectDependencyNames (cognitive 18): approve-builds.collectDirectDependencyNames has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/utils/approve-builds.ts"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"31520c4f733ab8cc8594356ef765f2b3f243618ea0e3cf58dcc4436cfc341647"}},{"ruleId":"D2","level":"warning","message":{"text":"tsup.collectUnsupportedTsupConfigConsumers (cognitive 18): tsup.collectUnsupportedTsupConfigConsumers has cognitive complexity 18 (threshold 15). Drivers by points: if/else 2 (6 pts), loops 3 (6 pts), boolean chains 4, ternaries 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":"packages/cli/src/migration/migrator/tsup.ts"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"a80ec54e7ff70aff5fba58cb5e0b1120bedf265d932f6299b02a8b52f9b6f713"}},{"ruleId":"D2","level":"warning","message":{"text":"vitest-ecosystem.pruneLegacyWrapperAliases (cognitive 18): vitest-ecosystem.pruneLegacyWrapperAliases has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/migrator/vitest-ecosystem.ts"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"f923806dd95f89c44ea8e176c346e926414157882dec5867ea84f6ee0b8339c3"}},{"ruleId":"D2","level":"warning","message":{"text":"rewrite-module-specifiers.applyRules (cognitive 18): rewrite-module-specifiers.applyRules has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (17 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":"packages/core/build-support/rewrite-module-specifiers.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"96eeff74d07479a1080924cb817544b03b8249aed27126e0dfae3eb1068873eb"}},{"ruleId":"D2","level":"warning","message":{"text":"build.bundleRolldown (cognitive 18): build.bundleRolldown has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 2 (5 pts), boolean chains 2 (nesting depth added 7). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/build.ts"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3f9d270727429411d0dc584115c56a5491ce3d0fb035912dc89da12f0038343"}},{"ruleId":"D2","level":"warning","message":{"text":"limit-options.trimLines (cognitive 18): limit-options.trimLines has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 2 (4 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":"packages/prompts/src/limit-options.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1749d0acf2e7e9489ee4e99564a16f3f02ba47bb34a4c24064724012b4be7c1"}},{"ruleId":"D2","level":"warning","message":{"text":"sync-remote-deps.cloneOrResetRepo (cognitive 18): sync-remote-deps.cloneOrResetRepo has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (13 pts), ternaries 1 (3 pts), error handling 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/tools/src/sync-remote-deps.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d3d99744156fd3bb256b7404e36ccd1bdd094665fc952dc51c501928f058e8d"}},{"ruleId":"D2","level":"warning","message":{"text":"RegistryCache.load (cognitive 18): RegistryCache.load has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (12 pts), error handling 3 (5 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":"packages/tools/src/registry-cache.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"7098022021fa7313ac459cc0e82cb492762a4625bb29c0648f9018c500ed0e20"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_cli_help::render_help_doc_with_width (cognitive 17): vp_cli_help::render_help_doc_with_width has cognitive complexity 17 (threshold 15). Drivers by points: loops 5 (13 pts), if/else 2, match/switch 1 (2 pts) (nesting depth added 9). 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/vp_cli_help/src/lib.rs"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9d45bf7739f87864abfc4d9ed0746610ed54002f1f05151abcfee9555eafe3d"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_cli_snapshots::bin::vpt::backpressure_run::replay (cognitive 17): vp_cli_snapshots::bin::vpt::backpressure_run::replay has cognitive complexity 17 (threshold 15). Drivers by points: loops 3 (9 pts), if/else 5 (7 pts), boolean chains 1 (nesting depth added 8). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_cli_snapshots/src/bin/vpt/backpressure_run.rs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"bad8f80f0e0d9b2b34dd6b2df4440bd458589b8ee35cb89793bd8e84c5acabf5"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_global_cli::cli::run_command_with_options (cognitive 17): vp_global_cli::cli::run_command_with_options has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 2, 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/vp_global_cli/src/cli.rs"},"region":{"startLine":1112}}}],"partialFingerprints":{"codehealthFindingId/v1":"c99b6af0e20e264f7adb1dedf4be2d1db12b390cff4aaa8457901cdcd23aae28"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_global_cli::commands::env::print_env (cognitive 17): vp_global_cli::commands::env::print_env has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (13 pts), match/switch 1 (3 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_global_cli/src/commands/env/mod.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"efb3ed3a00d0f690e6d8e81605c4591fb763292e6499dc4c9dd7c02a8b892e8b"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_global_cli::commands::env::list::print_section (cognitive 17): vp_global_cli::commands::env::list::print_section has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 1, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_global_cli/src/commands/env/list.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5f7fc1e79f637fb8db16e78ce515a3be4fbc2a5347ada6252a38a6faead4b4a"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_global_cli::commands::global::install::extract_binaries (cognitive 17): vp_global_cli::commands::global::install::extract_binaries has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 1 (3 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_global_cli/src/commands/global/install.rs"},"region":{"startLine":1168}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c585ca93f79ff31432cf0d6a6035b9065a25c212ae5e27713c69248cca26b91"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_migration::script_rewrite::collapse_newlines (cognitive 17): vp_migration::script_rewrite::collapse_newlines has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (8 pts), loops 3 (7 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_migration/src/script_rewrite.rs"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"102accbb855348577665c458b82aa0f1879ee95db5c1292d5333575d72fdd4eb"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_migration::task_cache::move_fields_under_cache (cognitive 17): vp_migration::task_cache::move_fields_under_cache has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (7 pts), match/switch 3 (6 pts), boolean chains 3, 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/vp_migration/src/task_cache.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1f080d1064a9b1ceb5861f0ee4a24c9fb895e3b2afb6b312bd9c8c094472ba8"}},{"ruleId":"D2","level":"warning","message":{"text":"help.renderCliDoc (cognitive 17): help.renderCliDoc has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (13 pts), ternaries 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/utils/help.ts"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c1aa9650090720fd36ee2499715dde20579ef3645d687c810c2ecdb4db1cf5b"}},{"ruleId":"D2","level":"warning","message":{"text":"SourceEditor.constructor (cognitive 17): SourceEditor.constructor has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (7 pts), loops 4 (6 pts), ternaries 1 (3 pts), boolean chains 1 (nesting depth added 7). Most of this is not in the body itself: 6 of the 17 points are its own statements and the rest belongs to one function item inside it that branches (index). 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":"packages/cli/src/migration/vitest-v5/ast.ts"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"0730e496cfcaa5b45dfa8f95c0d95081b8994a3218aaec69fb19f5efb1de6918"}},{"ruleId":"D2","level":"warning","message":{"text":"vitest-v5.installedSourceVersion (cognitive 17): vitest-v5.installedSourceVersion has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7, boolean chains 5, ternaries 3 (5 pts) (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/migrator/vitest-v5.ts"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"caef0e18ef1b487b3093ce5671a11247ac1b39f58b696ece8b85dc30ed61491d"}},{"ruleId":"D2","level":"warning","message":{"text":"catalog.rewriteCatalog (cognitive 17): catalog.rewriteCatalog has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 3 (6 pts), if/else 3 (5 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/migrator/catalog.ts"},"region":{"startLine":914}}}],"partialFingerprints":{"codehealthFindingId/v1":"159a185e1915115bfff73912c0e202890d360af981313b4e74660b31a37afd79"}},{"ruleId":"D2","level":"warning","message":{"text":"source-scan.projectListsRequiredOxlintPluginsPeer (cognitive 17): source-scan.projectListsRequiredOxlintPluginsPeer has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 2, error handling 1 (2 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":"packages/cli/src/migration/migrator/source-scan.ts"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"31b7372697bbb0848222d4ed6b1fccaafa3719155429b24f24bba1d172441140"}},{"ruleId":"D2","level":"warning","message":{"text":"vite-plus-bootstrap.ensureVitePlusDependencySpecs (cognitive 17): vite-plus-bootstrap.ensureVitePlusDependencySpecs has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 5, 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":"packages/cli/src/migration/migrator/vite-plus-bootstrap.ts"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"a13c5dfc08b40a7d99aa2656c9dbba55722f8a4d03c72a373477d294a70c129d"}},{"ruleId":"D2","level":"warning","message":{"text":"vite-plus-bootstrap.collectToolchainVersionChanges (cognitive 17): vite-plus-bootstrap.collectToolchainVersionChanges has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 4, loops 3 (4 pts), ternaries 1 (nesting depth added 3). Of this number, 12 points are the body\u0027s own statements and 5 belong to 2 function items inside it that branch. 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":"packages/cli/src/migration/migrator/vite-plus-bootstrap.ts"},"region":{"startLine":1367}}}],"partialFingerprints":{"codehealthFindingId/v1":"18d1533b8220401bd1ca1fef3346643a26f47c8c895e8439d3d27328c5e68954"}},{"ruleId":"D2","level":"warning","message":{"text":"oxlint-config.prepareOxlintConfigs (cognitive 17): oxlint-config.prepareOxlintConfigs has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (8 pts), loops 3 (4 pts), ternaries 1 (3 pts), error handling 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/migrator/oxlint-config.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb35bd0884307f46b712e1cf5e098a586a897b988725b6e6b2d5a42e186a4807"}},{"ruleId":"D2","level":"warning","message":{"text":"hooks.status (cognitive 17): hooks.status has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 6 (8 pts), boolean chains 5, error handling 1 (2 pts), if/else 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/config/hooks.ts"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ef473d6d8b02161255c9dda1550f8f34a51c5969b35f321113d23ce6d01c5e9"}},{"ruleId":"D2","level":"warning","message":{"text":"git-hooks.isViteHooksSetupComplete (cognitive 17): git-hooks.isViteHooksSetupComplete has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 2, ternaries 1 (2 pts), loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/migrator/git-hooks.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"e637ec7b69736e7d5fb09b2fe0f5df08547e75629e80c9ef8dc94247eb4a5518"}},{"ruleId":"D2","level":"warning","message":{"text":"git-hooks.preflightGitHooksSetup (cognitive 17): git-hooks.preflightGitHooksSetup has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 4, loops 1, ternaries 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":"packages/cli/src/migration/migrator/git-hooks.ts"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"51554ee8ef04830037bc7651be6761e1b3894f590f07c1a9b39a685063526ecb"}},{"ruleId":"D2","level":"warning","message":{"text":"org-tarball.extractTarballTo (cognitive 17): org-tarball.extractTarballTo has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 4, error handling 2, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/create/org-tarball.ts"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"166640c91dd6073dbe3eb0eecc7f04099a8a79df168ed7ae9b29dfd3e0159164"}},{"ruleId":"D2","level":"warning","message":{"text":"remote.executeRemoteTemplate (cognitive 17): remote.executeRemoteTemplate has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (16 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":"packages/cli/src/create/templates/remote.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eb25e6b9b7ef325cb77a19081e02ad57d906c44638e1450d58a91a5d563f12b"}},{"ruleId":"D2","level":"warning","message":{"text":"legacy-vitest-alias.findLegacyVitestAliasConfig (cognitive 17): legacy-vitest-alias.findLegacyVitestAliasConfig has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 5, 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":"packages/cli/src/utils/legacy-vitest-alias.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8088d8bf85873cbf7e145ac9959974c3155a41dff5b5b22482825d3d0ef9376"}},{"ruleId":"D2","level":"warning","message":{"text":"BinConfig::find_bins_where (cognitive 16): BinConfig::find_bins_where has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (15 pts), loops 1 (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_global_cli/src/commands/env/bin_config.rs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb85cf476d53c972d4e837c8ce1243a2e67fe3a9bd9d2653b42e1e2d5ca3b075"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_global_cli::commands::env::doctor::check_path (cognitive 16): vp_global_cli::commands::env::doctor::check_path has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (13 pts), match/switch 2, loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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/vp_global_cli/src/commands/env/doctor.rs"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"cebc9525fe37a7f027440a120f37830bfc378c0e3194e2fe6a89b7f8476ddc4d"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_global_cli::commands::env::setup::execute_for_binary (cognitive 16): vp_global_cli::commands::env::setup::execute_for_binary has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (10 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_global_cli/src/commands/env/setup.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0db64cf0b59981d20ec3fdd19adb905eb83399ce7ad0d0007ec88614b59c557"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_global_cli::shim::extract_tool_name (cognitive 16): vp_global_cli::shim::extract_tool_name has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 2 (6 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/vp_global_cli/src/shim/mod.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"33090b8c3100c543aa1208d1eb39603f7cad19b9e5e22b968300b25b71808736"}},{"ruleId":"D2","level":"warning","message":{"text":"vp_migration::task_cache::merge_into_object (cognitive 16): vp_migration::task_cache::merge_into_object has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (13 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_migration/src/task_cache.rs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ae5da351084ca3e0bcf6146d09ec0a85f928ece11c835fb5ac78ef976b4c260"}},{"ruleId":"D2","level":"warning","message":{"text":"scopes.staticPatterns (cognitive 16): scopes.staticPatterns has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 1, loops 1, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/vitest-v5/scopes.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"22003eac40a8e9ce040d07e4ef3b4a03ea4b2a6fb03346f3491d8c764206691d"}},{"ruleId":"D2","level":"warning","message":{"text":"scopes.resolveSetupFile (cognitive 16): scopes.resolveSetupFile has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (7 pts), ternaries 3 (5 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 7). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/vitest-v5/scopes.ts"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"246d48574694035b43b90465da4a7f7654ed6c21bf1f4e22309a736632cd3db9"}},{"ruleId":"D2","level":"warning","message":{"text":"hooks.findUnsafeHookInstallPath (cognitive 16): hooks.findUnsafeHookInstallPath has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/config/hooks.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bd59568602f8fcd94d693ab169ca2f2688d9d491c665aa4f035a771beba246a"}},{"ruleId":"D2","level":"warning","message":{"text":"define-config.computeAutoInlineList (cognitive 16): define-config.computeAutoInlineList has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (8 pts), error handling 1 (3 pts), boolean chains 2, ternaries 2, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/define-config.ts"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"16a8f1082b387f8500ee5de14d9e141d8a4e9c36973fff70ef827fb726d6539e"}},{"ruleId":"D2","level":"warning","message":{"text":"path.path (cognitive 16): path.path has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 5, error handling 1, ternaries 1 (nesting depth added 1). Of this number, 14 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body: 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":"packages/prompts/src/path.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"105fd08dd2bedfaf3f6c1a260405294a2218182a4d702ac61493f8fc8ae97708"}},{"ruleId":"D2","level":"warning","message":{"text":"install-global-cli.setupLocalDevDeps (cognitive 16): install-global-cli.setupLocalDevDeps 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":"packages/tools/src/install-global-cli.ts"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"d41c8cc767e407c5fa2989a8f1e6b9b133d2f2bdd6dae8d121d8385ad09e1bac"}},{"ruleId":"D2","level":"warning","message":{"text":"check-rolldown-compat.checkRolldownCompatibility (cognitive 16): check-rolldown-compat.checkRolldownCompatibility has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (7 pts), ternaries 3 (5 pts), boolean chains 3, 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":"packages/tools/src/check-rolldown-compat.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"b09a14a2858d84bd85c2ee35afee9783ee311519860fb5dafff15f86d8d54dbe"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: bin.main: FunctionTooLong \u2014 main runs 731 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 631 over it, 7.31\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/create/bin.ts"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef1ead6de6e3393e8b8db337045ae9300529f629154647464d40dae2660409be"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: source.rewriteSource: FunctionTooLong \u2014 rewriteSource runs 492 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 392 over it, 4.92\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":"packages/cli/src/migration/vitest-v5/source.ts"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"e03657601262f14b949a970cf890db64954d6dfb010d099f1ca102d06b7da0f9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: bin.main: FunctionTooLong \u2014 main runs 467 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 367 over it, 4.67\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":"packages/cli/src/migration/bin.ts"},"region":{"startLine":1046}}}],"partialFingerprints":{"codehealthFindingId/v1":"72ad6d833563b8bbc5a61dda8a647652caca2f9e7930dd4c6842d678c1874269"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/import_rewriter.rs: FileTooLong \u2014 1987 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 1487 over it, 3.97\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/vp_migration/src/import_rewriter.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeb6a69ffd18df0362396dec51a6d2420bce55cf50b89d93a8364e458408e69d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: scopes.resolveVitestV5TestModes: FunctionTooLong \u2014 resolveVitestV5TestModes runs 328 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 228 over it, 3.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/vitest-v5/scopes.ts"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bee6d2302ca5bb10eefdd8f2d1fd787d565318e3ddf6fff5186f098bb7347b8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/package_manager.rs: FileTooLong \u2014 1392 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 68 free functions. The bar is 500 significant lines; this is 892 over it, 2.78\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_pm_cli/src/package_manager.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c298e24d168fe61d958fab679849c706bba2e68016928edb85aa8d9c2fbdf209"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: config.migrateConfig: FunctionTooLong \u2014 migrateConfig runs 265 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 165 over it, 2.65\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":"packages/cli/src/migration/vitest-v5/config.ts"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfc2921d66826ae871fb79f85551810a2eac6fbbfeed94012cb877e791c8f174"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: vp_global_cli::commands::global::install::install: FunctionTooLong \u2014 vp_global_cli::commands::global::install::install runs 254 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 154 over it, 2.54\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_global_cli/src/commands/global/install.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"10cfd96c9da4a83c46ac5bfcb0039a85c0741346ef82751898bbd6c413dd719a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: migration/bin.ts: FileTooLong \u2014 1220 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 720 over it, 2.44\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":"packages/cli/src/migration/bin.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c15e084a10519a01e9574e3a451659cfbfe3702cf7fb520b15ac1c311e0bb7d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: vite-plus-bootstrap.ensureVitePlusBootstrap: FunctionTooLong \u2014 ensureVitePlusBootstrap runs 244 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 144 over it, 2.44\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":"packages/cli/src/migration/migrator/vite-plus-bootstrap.ts"},"region":{"startLine":945}}}],"partialFingerprints":{"codehealthFindingId/v1":"17cdbc7eef9764a4f171cb5bc33005a16377565b9bbc8ee198a11fb7026dcb15"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: env/setup.rs: FileTooLong \u2014 1112 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 34 free functions. The bar is 500 significant lines; this is 612 over it, 2.22\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/vp_global_cli/src/commands/env/setup.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ce1a0779f61d3286d5fff22da9168cc3789ca1e32ae8c776a32669e5f5ab857"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: bin.executeMigrationPlan: FunctionTooLong \u2014 executeMigrationPlan runs 203 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 103 over it, 2.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/bin.ts"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad98f6412a2b70767e4b3d3912aafa20de6060bdbf3af3d5bc5e52b5cae33705"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: migrator/script-runner.ts: FileTooLong \u2014 1002 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 502 over it, 2.00\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":"packages/cli/src/migration/migrator/script-runner.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"71416983e679facb00365805acd71e281dd2e878a9ac14364f4316ce4e5025b2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: vp_global_cli::self_setup::run: FunctionTooLong \u2014 vp_global_cli::self_setup::run runs 200 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 100 over it, 2.00\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/vp_global_cli/src/self_setup.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"842e114a765229566495cdc71ed82b58ccbdcf143ae2a5813ebe8c37f292c405"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: vite_plus_cli::check::execute_check: FunctionTooLong \u2014 vite_plus_cli::check::execute_check runs 197 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 97 over it, 1.97\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":"packages/cli/binding/src/check/mod.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"105845f691cab2559bee28884cb606bb5de9ca7efd23091eb3f380cfb44e531c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: create/bin.ts: FileTooLong \u2014 981 significant lines (blank, comment-only and punctuation-only lines excluded), about 75% of them inside a single declaration: main (311-1419). The bar is 500 significant lines; this is 481 over it, 1.96\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/create/bin.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"07bc3e36bfe9599a33e9dd2387d21051c136f073061dc602c1f0fa2068ee4697"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: migrator/vite-plus-bootstrap.ts: FileTooLong \u2014 925 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 425 over it, 1.85\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":"packages/cli/src/migration/migrator/vite-plus-bootstrap.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"108b700594a4919f66df94a9cfd05c368fddcb968a25649785404eafd8936b42"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: vite_plus_cli::exec::workspace::execute_exec_workspace: FunctionTooLong \u2014 vite_plus_cli::exec::workspace::execute_exec_workspace runs 184 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 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":"packages/cli/binding/src/exec/workspace.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"788eac1ea420850856e2925ca558a37130bdd358d4d279d064b8f677fc1054da"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: spinner.spinner: FunctionTooLong \u2014 spinner 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":"packages/prompts/src/spinner.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5a2dba8cb34e355e31f0d237cc5833845c8f3c8f353627ff786868ea7fd258e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: benchmarks.migrateBenchmarks: FunctionTooLong \u2014 migrateBenchmarks runs 181 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 81 over it, 1.81\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/vitest-v5/benchmarks.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ce1266c10643cd712ef6b3777cfd3639994c549f243dba28d65369888b1c282"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: migrator/catalog.ts: FileTooLong \u2014 904 significant lines (blank, comment-only and punctuation-only lines excluded). 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":"packages/cli/src/migration/migrator/catalog.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7b0e4b1f7c83881c5c83d5fc7473371ec62254d678a3130a9186473a343d51b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: vitest-v5/source.ts: FileTooLong \u2014 896 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 396 over it, 1.79\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":"packages/cli/src/migration/vitest-v5/source.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d39a29d199fdd735886a186799151a3357bfabb5446d87cea0257bfcbc03cb2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: orchestrators.rewriteStandaloneProject: FunctionTooLong \u2014 rewriteStandaloneProject runs 177 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 77 over it, 1.77\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":"packages/cli/src/migration/migrator/orchestrators.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"f97bdad9496285f9a10b0fba676940064f185f179e0ef282979668a3979d3a6c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ts-node-config.prepareTsNodeRun: FunctionTooLong \u2014 prepareTsNodeRun runs 177 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 77 over it, 1.77\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":"packages/cli/src/migration/migrator/ts-node-config.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"d85ee64908ae7069da838061e2a89684eae77de11491646a933cbc89d29281b8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: shim/dispatch.rs: FileTooLong \u2014 873 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 43 free functions. The bar is 500 significant lines; this is 373 over it, 1.75\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/vp_global_cli/src/shim/dispatch.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f58f21f3d950d0e746dfa0cd27a33a71b3028e4c3d851d1cf63b45d2337486b1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: global/install.rs: FileTooLong \u2014 863 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 363 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/vp_global_cli/src/commands/global/install.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1999ab197ef744feab749e02b6acad0ecf05667684bb218ae5c527e8dd82e6ae"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: env/doctor.rs: FileTooLong \u2014 852 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 352 over it, 1.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/vp_global_cli/src/commands/env/doctor.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"17533f0fa8a68de141f5173d1dceec780fcb590c9e3ea1dfcba5da031fb79f88"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: group-multi-select.groupMultiselect: FunctionTooLong \u2014 groupMultiselect runs 169 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 69 over it, 1.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":"packages/prompts/src/group-multi-select.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2a0d77b42a52e2a4f4b6c792662d77b2dc37c0c365623b216d3140c0ee8ad81"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: cli/build.ts: FileTooLong \u2014 835 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 335 over it, 1.67\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":"packages/cli/build.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5594aaaa14ebb17130383f2ff0acca995dc78c49b88343f48453a5801a0fcab"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SubcommandResolver.resolve: MethodTooLong \u2014 resolve runs 165 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 65 over it, 1.65\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":"packages/cli/binding/src/cli/resolver.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f0d6700a1942b4bc3ee062f2951ae4570e5f394fe68b7508d6cd8c3f893a55"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: vp_migration::import_rewriter::rewrite_reference_types: FunctionTooLong \u2014 vp_migration::import_rewriter::rewrite_reference_types runs 158 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 58 over it, 1.58\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/vp_migration/src/import_rewriter.rs"},"region":{"startLine":1786}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac914f47f7f1a69d8124feacfa814f620255cd887acd18b2cff8a57c96d61e85"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: vp_global_cli::run: FunctionTooLong \u2014 vp_global_cli::run runs 153 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 53 over it, 1.53\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_global_cli/src/main.rs"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"5832df7e84411ad930553ce904011052a16d0e07cbb9f5f44c7b7755992e949d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: migrator/vitest-v5.ts: FileTooLong \u2014 744 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 244 over it, 1.49\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/migrator/vitest-v5.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"49c1280d2631d6317dde6081c08fafcb65de756bffb427003b391efb238d30c6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: build.buildVite: FunctionTooLong \u2014 buildVite 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":"packages/core/build.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"4125e23806ceea7dc9df8e3500062d87b96fa9f2b2a57a9d22fa0a9c3ad28ac3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: env/pin.rs: FileTooLong \u2014 720 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 220 over it, 1.44\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/vp_global_cli/src/commands/env/pin.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba04066c667725521391638a6641b72c0a770aedbe2384f06a64b8453a1c6d74"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: vp_global_cli::commands::env::use::execute: FunctionTooLong \u2014 vp_global_cli::commands::env::use::execute runs 142 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 42 over it, 1.42\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/vp_global_cli/src/commands/env/use.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"e32e3d10b8b93dd62ea8d50db10a1cfda5e2f2caf18af02d3c5c8356d16746da"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/help.ts: FileTooLong \u2014 682 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: commandHelpDocs (6-1131). The bar is 500 significant lines; this is 182 over it, 1.36\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/help.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b678c10f3debaae27301b27b8d80350941e64277112afab477a8521fb6a2285"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: task-log.taskLog: FunctionTooLong \u2014 taskLog 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":"packages/prompts/src/task-log.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"3391f85e7d7bbc31ea7fe447d136a550e15fad9b2b14c8920c8d2bd55ebcc2b3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/implode.rs: FileTooLong \u2014 670 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 170 over it, 1.34\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_global_cli/src/commands/implode.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f46d9334afe882742517b60e71ea9df59cd62f9886d71ce68766b149c844fd73"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: vite-plus-bootstrap.detectVitePlusBootstrapPending: FunctionTooLong \u2014 detectVitePlusBootstrapPending runs 132 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 32 over it, 1.32\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/migrator/vite-plus-bootstrap.ts"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"b89df677ee6136c00ffea5ead6307a5fffb276d4178da37c088f2c44e8e6aaa3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: migrator/eslint.ts: FileTooLong \u2014 656 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 156 over it, 1.31\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":"packages/cli/src/migration/migrator/eslint.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"626c4ea7f14e59db7a16c4258962f96e2180991493c3d73a92d9b7e6c4ab4239"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/sync-remote-deps.ts: FileTooLong \u2014 655 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 155 over it, 1.31\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":"packages/tools/src/sync-remote-deps.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf723a7eee4eebc1a787563a78dfe9b0a46dcb9a40fa4333cb3b1073b695f9fc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: orchestrators.rewriteMonorepo: FunctionTooLong \u2014 rewriteMonorepo runs 130 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 30 over it, 1.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/migrator/orchestrators.ts"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"0596d724298b80e64490d2ec7ed90e60cabf09671aeb976f5d59e6a51469d3ae"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: migrator/vite-config.ts: FileTooLong \u2014 639 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 139 over it, 1.28\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/migrator/vite-config.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4989005bf8f422e0d090d465e3898388986e39009fe32088bc245526df6f622b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: vp_global_cli::commands::env::current::resolve_package_manager_info: FunctionTooLong \u2014 vp_global_cli::commands::env::current::resolve_package_manager_info runs 125 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 25 over it, 1.25\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_global_cli/src/commands/env/current.rs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"face5ee8d9e4a4da905bb84f28cd0d6d6a04ba2e449262f1b31e40d93d409ac2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: vp_global_cli::command_picker::render_picker: FunctionTooLong \u2014 vp_global_cli::command_picker::render_picker runs 124 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 24 over it, 1.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_global_cli/src/command_picker.rs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"835df5441c652401d184d7da885bb8c0caf5633809941a2fed8d20550b4e70e4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/vite_config.rs: FileTooLong \u2014 619 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 34 free functions. The bar is 500 significant lines; this is 119 over it, 1.24\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_migration/src/vite_config.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d202eaf060027e7dba51dbc4b2fbce8f6d70ea8068664fe8cb3ab511c404bb0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: vp_global_cli::commands::env::doctor::collect_dev_engines_findings: FunctionTooLong \u2014 vp_global_cli::commands::env::doctor::collect_dev_engines_findings 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/vp_global_cli/src/commands/env/doctor.rs"},"region":{"startLine":1054}}}],"partialFingerprints":{"codehealthFindingId/v1":"7583bff603a24e177cf8bfda4148b72e319ce9f583567cea9ba1c21da6784879"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: vitest-v5.scanAndRewriteFile: FunctionTooLong \u2014 scanAndRewriteFile runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) 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":"packages/cli/src/migration/migrator/vitest-v5.ts"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"75801f9575a2cf546f3bb635b4e0ccfd6a8f3cb22af176e5d87117f398fce982"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: vp_migration::vite_config::generate_merge_rule: FunctionTooLong \u2014 vp_migration::vite_config::generate_merge_rule runs 121 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 21 over it, 1.21\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/vp_migration/src/vite_config.rs"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"be1b7ded514f3d80de5af8b71977141fddf478d6454b8d59328e5282b956ee7b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: webdriverio.prepareWebdriverioProject: FunctionTooLong \u2014 prepareWebdriverioProject runs 119 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecosystem-ci/webdriverio.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"376cc34553f429266bbd3494dbfcbb02137ce60d9053d398390bc6ac071710ae"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: autocomplete.autocomplete: FunctionTooLong \u2014 autocomplete runs 119 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/prompts/src/autocomplete.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f554ed81266605ee0e300ee272e17b5bd529a71a766cbfa31a139041941526c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: vitest-v5/scopes.ts: FileTooLong \u2014 592 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 92 over it, 1.18\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":"packages/cli/src/migration/vitest-v5/scopes.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"975643c147532c07dc9a51a8b59307e3b7d8b15e8866439309ec32caa2d6230c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: autocomplete.autocompleteMultiselect: FunctionTooLong \u2014 autocompleteMultiselect runs 117 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/prompts/src/autocomplete.ts"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d4c4d7e3b01171557ca85ebce7c49347cf7ce97cf3fc3d0b846459779cd2ec4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/install.rs: FileTooLong \u2014 570 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 34 free functions. The bar is 500 significant lines; this is 70 over it, 1.14\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_setup/src/install.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"012cc6df96df8053f9b82305d4209d6a3a45288f5d45cf61f68d1ef200d169ed"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: vite-config.mergeOxlintConfigFile: FunctionTooLong \u2014 mergeOxlintConfigFile runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/migrator/vite-config.ts"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b5ae6f232ba3cb08f7ee137aa544f3b5e53b1e762c02e905b5b219cb26f7c33"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: sync-remote-deps.syncRemote: FunctionTooLong \u2014 syncRemote runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/tools/src/sync-remote-deps.ts"},"region":{"startLine":910}}}],"partialFingerprints":{"codehealthFindingId/v1":"9926065782b827a5764b2dd8b508df0566eacf5478cba971974a1747b04dc2ce"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: vitest-v5.planVitestV5Migration: FunctionTooLong \u2014 planVitestV5Migration runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/migrator/vitest-v5.ts"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8fc8afbd4efbd3f2735e850b04e2f78df6349bc3f1f0e1c7bb5139aae89a054"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: vp_global_cli::commands::upgrade::execute: FunctionTooLong \u2014 vp_global_cli::commands::upgrade::execute runs 104 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 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_global_cli/src/commands/upgrade/mod.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c1c91fbe0fa0bf1738ca898327d10369785ef0c34db111e7aaa4376498cd3a1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: vp_global_cli::commands::env::list_remote::execute: FunctionTooLong \u2014 vp_global_cli::commands::env::list_remote::execute runs 103 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 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_global_cli/src/commands/env/list_remote.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"da67f70a417e6cf0743f3cfef8538274093ff4f13afee5a4900cfcacdbfc1694"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/define-config.ts: FileTooLong \u2014 510 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 10 over it, 1.02\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/define-config.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"28018d74ab267acaba5aa394eea081edaad80bb61dc453a40ce10d6ad2a63636"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: bin.showMigrationSummary: FunctionTooLong \u2014 showMigrationSummary runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/bin.ts"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"c00bb23b37aca9475fd9da4a553c2cbea8273b3decf31499cab98039376c0d40"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: vite-plus-bootstrap.reconcileVitePlusBootstrapPackage: FunctionTooLong \u2014 reconcileVitePlusBootstrapPackage runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/migrator/vite-plus-bootstrap.ts"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"8991971a896fa0879d4285693af01e4567750f298d7c8299a4f1503ae0c5593a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: vp_trampoline::win::run: FunctionTooLong \u2014 vp_trampoline::win::run runs 101 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_trampoline/src/win.rs"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e2d230b5c79636098bbfd3215b2479e1e01e666c5cdeaf2e053043623be79fa"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: config/hooks.ts: FileTooLong \u2014 501 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1 over it, 1.00\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":"packages/cli/src/config/hooks.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb65b623daa4ad233f086075c36a71aca0d79032070dfba820a84b6e474bd647"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (43 shared lines): crates/vp_pm_cli/src/package_manager.rs:1904-2031 | crates/vp_pm_cli/src/package_manager.rs:2113-2239 \u2014 These two members are variants of one another: 43 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_pm_cli/src/package_manager.rs"},"region":{"startLine":1904}}}],"partialFingerprints":{"codehealthFindingId/v1":"be7eea3af7d6a8fa862ef032abdf43e6b5a4a1e68f47da3cc5f03debb967d84e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): crates/vp_pm_cli/src/resolution/commands/add.rs:167-215 | crates/vp_pm_cli/src/resolution/commands/add.rs:316-359 \u2014 These two members are one piece of code written twice and then edited apart: 44 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_pm_cli/src/resolution/commands/add.rs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"18641df4a2a76938c2f48ce41f72942893b832beb102757e3b07db401ecd5979"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): crates/vp_global_cli/src/commands/env/pin.rs:596-642 | crates/vp_global_cli/src/commands/env/pin.rs:922-964 \u2014 These two members are one piece of code written twice and then edited apart: 43 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_global_cli/src/commands/env/pin.rs"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"36f1ae62e55b720898085f97c5f7e73ed58499368c4b289e98303e86f122f30c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): crates/vp_global_cli/src/commands/env/off.rs:15-48 | crates/vp_global_cli/src/commands/env/on.rs:14-47 \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/vp_global_cli/src/commands/env/off.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"c72bdc2f16469052dfd7b5603432912576f3b49cbe8b94813a924c589015f6a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): crates/vp_global_cli/src/commands/env/which.rs:87-116 | crates/vp_global_cli/src/commands/env/which.rs:289-331 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_global_cli/src/commands/env/which.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c158eac6d9112dcf1640fd1d21b4ce2501dbf853273918003ce6023b051c156"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): crates/vp_global_cli/src/commands/env/which.rs:337-362 | crates/vp_global_cli/src/shim/dispatch.rs:1119-1153 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_global_cli/src/commands/env/which.rs"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb3e9803a38c9aa382241230002eac35cf4bf40a80abc21bd7c1c35595965092"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): crates/vp_pm_cli/src/resolution/commands/list.rs:71-93 | crates/vp_pm_cli/src/resolution/commands/outdated.rs:108-129 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_pm_cli/src/resolution/commands/list.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"5da255a0232fee702a9c3dd4b5216fca5854144276533ef5d934af7a0908e3ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): crates/vp_cli_help/src/lib.rs:181-214 | crates/vp_global_cli/src/help.rs:142-178 \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/vp_cli_help/src/lib.rs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb979e737f4813e2a3350bc7cadfa8d28d05f82d34e3b37fef90067a27c8f9df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): crates/vp_pm_cli/src/package_manager.rs:1857-1878 | crates/vp_pm_cli/src/package_manager.rs:2034-2055 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_pm_cli/src/package_manager.rs"},"region":{"startLine":1857}}}],"partialFingerprints":{"codehealthFindingId/v1":"a49649e11749fc0e924c852e264f18f0aa467ce74aef76e0058e8386b01a68b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): crates/vp_setup/src/install.rs:761-789 | crates/vp_setup/src/install.rs:969-991 \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/vp_setup/src/install.rs"},"region":{"startLine":761}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c5bc9f42a398cd654aad00ee91dbec1c3fabf71dd44d75f6e1ef3250a87419c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): packages/cli/binding/src/js_command_args/commands/config.rs:84-104 | packages/cli/binding/src/js_command_args/commands/create.rs:202-230 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/binding/src/js_command_args/commands/config.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec8235a8d290826482724f359056b9a2d3c093aac8c8587cdeaefbd894093e1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): crates/vp_pm_cli/src/resolution/commands/update.rs:76-92 | crates/vp_pm_cli/src/resolution/commands/why.rs:86-104 \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/vp_pm_cli/src/resolution/commands/update.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdf30a7913d5f3f2203753ad5014ff74ebb028be8ed129cba96452edf3b3d673"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): crates/vp_pm_cli/src/resolution/commands/install.rs:280-299 | crates/vp_pm_cli/src/resolution/commands/install.rs:354-373 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_pm_cli/src/resolution/commands/install.rs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"68029d5ee8617272a64099d965bde8dc54ed9f70dd4654f846e97290431a1076"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/vp_js_runtime/src/providers/node.rs:464-477 | crates/vp_js_runtime/src/providers/node.rs:487-502 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_js_runtime/src/providers/node.rs"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fd750b3bb93d61e739ed3cc145205bd4c37b2c5690cde66c4b54ebf9a41f774"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/vp_global_cli/src/commands/env/current.rs:49-60 | crates/vp_global_cli/src/commands/version.rs:130-137 \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/vp_global_cli/src/commands/env/current.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"72bafe92ab1acb7105e8e9b24b6b3cf002a6af33363dcc0af5a63fae25902679"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): crates/vp_global_cli/src/commands/vpx.rs:421-437 | crates/vp_pm_cli/src/resolution/commands/dlx.rs:151-167 \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/vp_global_cli/src/commands/vpx.rs"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"27ec5964c9cc8b12d4a5a3b962b8a1ae0eee91b1cec26104d28769bc65a426b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/vp_pm_cli/src/resolution/commands/pack.rs:55-64 | crates/vp_pm_cli/src/resolution/commands/pack.rs:84-96 \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/vp_pm_cli/src/resolution/commands/pack.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"508b8efea58e2ef57e3d73be241e1beedb2e0302d4494c5b3b23057cb5c0a820"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/vp_pm_cli/src/resolution/commands/dlx.rs:28-41 | crates/vp_pm_cli/src/resolution/commands/dlx.rs:122-136 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_pm_cli/src/resolution/commands/dlx.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"04e0cb56de2a9f072fac8a888b0b0f3bb5249fc98c43a69f3ee29d7cb9323ae9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/vp_global_cli/src/commands/env/bin_config.rs:120-129 | crates/vp_global_cli/src/commands/env/package_metadata.rs:136-144 \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/vp_global_cli/src/commands/env/bin_config.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"24d680e29b9354e4be60f50c77cbe79bfafc5db4eddc5db36cc5bb2a141def11"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/vp_global_cli/src/commands/global/mod.rs:127-138 | crates/vp_global_cli/src/shim/dispatch.rs:142-152 \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/vp_global_cli/src/commands/global/mod.rs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"b319cf00aca83816ac584546fc4857f86112948b62a08d413ecc2d38072d1432"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/vp_migration/src/vite_config.rs:629-642 | crates/vp_migration/src/vite_config.rs:673-684 \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/vp_migration/src/vite_config.rs"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"b51289c7514fc845e2e6867649eddde0253d24a89e08b863c3c0c130d5b55bcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): crates/vp_pm_cli/src/resolution/commands/licenses.rs:24-36 | crates/vp_pm_cli/src/resolution/commands/licenses.rs:50-62 | crates/vp_pm_cli/src/resolution/commands/licenses.rs:66-78 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 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/vp_pm_cli/src/resolution/commands/licenses.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5d7a69b601aa103012c9f5ad33cf55aeb58998b00457d5e20c1f18c29c8c3fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/vp_pm_cli/src/resolution/commands/publish.rs:92-104 | crates/vp_pm_cli/src/resolution/commands/publish.rs:119-131 \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/vp_pm_cli/src/resolution/commands/publish.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd7ef09fdab02ee7d51473a5a46c97c7c535bc3d7c8e9750f9abeca193c15e8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/vp_pm_cli/src/resolution/commands/dedupe.rs:36-49 | crates/vp_pm_cli/src/resolution/commands/dedupe.rs:53-66 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_pm_cli/src/resolution/commands/dedupe.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6ad91691e34bc16388336bd030487835352d7894587a9557c5c7c884e2c805e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): crates/vp_shared/src/output.rs:93-105 | crates/vp_shared/src/output.rs:108-120 | crates/vp_shared/src/output.rs:151-160 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_shared/src/output.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc086734453f45b9c0fec5f8eacd9562d182670e79d27f55bdeb3c5355f840cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/vp_pm_cli/src/resolution/commands/view.rs:39-51 | crates/vp_pm_cli/src/resolution/commands/view.rs:60-68 \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/vp_pm_cli/src/resolution/commands/view.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"94d992a16c9d66c69729f73abead7527e655258f3858dde0bbe105123ff69956"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): crates/vp_global_cli/src/commands/env/bin_config.rs:97-107 | crates/vp_global_cli/src/commands/env/bin_config.rs:132-145 | crates/vp_global_cli/src/commands/env/package_metadata.rs:147-157 \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/vp_global_cli/src/commands/env/bin_config.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"54d1b4ac9e8ff3af2386f878be8549524d080a7496c6202117eac7cad2b32b6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/vp_pm_cli/src/resolution/commands/login.rs:46-54 | crates/vp_pm_cli/src/resolution/commands/logout.rs:46-54 \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/vp_pm_cli/src/resolution/commands/login.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"067f11777b9ace670e683648b2a3e85466f0f8f1f7f1d650a7bcf17fe4273fcb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/vp_pm_cli/src/resolution/commands/audit.rs:34-48 | crates/vp_pm_cli/src/resolution/commands/audit.rs:52-61 \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/vp_pm_cli/src/resolution/commands/audit.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"24309a895dd372f125b773b8e520706e2d53746dc76bdb00ddf0ca43979d4e23"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): crates/vp_pm_cli/src/resolution/commands/patch.rs:19-30 | crates/vp_pm_cli/src/resolution/commands/patch.rs:34-45 | crates/vp_pm_cli/src/resolution/commands/patch.rs:49-60 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_pm_cli/src/resolution/commands/patch.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"f206025cf2b7b3e077fde22f3c96ba192ef6d16a3912cdf55a2e7db9f586d54b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/vp_pm_cli/src/resolution/commands/patch_commit.rs:19-30 | crates/vp_pm_cli/src/resolution/commands/patch_commit.rs:34-45 \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/vp_pm_cli/src/resolution/commands/patch_commit.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bd90b67095342eef5c96416fb711007ee6cf23b37475bcca7e3b831012417a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/vp_pm_cli/src/resolution/commands/audit.rs:97-105 | crates/vp_pm_cli/src/resolution/commands/pack.rs:100-108 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_pm_cli/src/resolution/commands/audit.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"0350f6f9fd6c42348586700c0c7c8c0dfe6473b20e2416bb41b33dc137c5dba9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/vp_pm_cli/src/resolution/commands/deprecate.rs:35-44 | crates/vp_pm_cli/src/resolution/commands/search.rs:37-46 \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/vp_pm_cli/src/resolution/commands/deprecate.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"d85664ce729e7518e5f3ec2c720047971eb471dd87f735b9660c20a21f62a232"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 5\u002B corresponding lines): crates/vp_global_cli/src/commands/env/current.rs:157-164 | crates/vp_global_cli/src/commands/env/doctor.rs:925-929 | crates/vp_global_cli/src/commands/env/exec.rs:266-273 | crates/vp_global_cli/src/shim/dispatch.rs:1005-1011 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 5 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_global_cli/src/commands/env/current.rs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"229bdf875f58dd525f251306988bf991c8e35956df326644d04ffbc245764385"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 7\u002B corresponding lines): crates/vp_global_cli/src/commands/env/bin_config.rs:110-117 | crates/vp_global_cli/src/commands/env/config.rs:319-326 | crates/vp_global_cli/src/commands/env/config.rs:328-335 | crates/vp_global_cli/src/commands/global/install.rs:805-811 | crates/vp_setup/src/install.rs:140-146 | crates/vp_setup/src/lockfile.rs:49-55 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_global_cli/src/commands/env/bin_config.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c169c387585cf969de659f284ae005ec0a7d538512fefc07e6b2c71406ece97"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/vp_pm_cli/src/resolution/commands/stage.rs:353-362 | crates/vp_pm_cli/src/resolution/commands/stage.rs:364-373 \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/vp_pm_cli/src/resolution/commands/stage.rs"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d758325241b575651d099db686be0168685985a6911e229f93c1d5a6661e7ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/vp_pm_cli/src/package_manager.rs:1104-1111 | crates/vp_setup/src/lockfile.rs:40-46 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_pm_cli/src/package_manager.rs"},"region":{"startLine":1104}}}],"partialFingerprints":{"codehealthFindingId/v1":"33fe013bb35d946bc57e91d07a5827c481b9a8e02b58cc33ac8c408f4c0a2486"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): crates/vp_global_cli/src/commands/env/config.rs:273-278 | crates/vp_global_cli/src/commands/env/config.rs:280-285 | crates/vp_global_cli/src/commands/env/config.rs:288-293 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_global_cli/src/commands/env/config.rs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c32dc87116c6849a088a3673957cb9854ef88b51527d6e926071f70ef50cb39"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): crates/vp_global_cli/src/commands/delegate.rs:43-48 | crates/vp_global_cli/src/commands/migrate.rs:14-19 \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/vp_global_cli/src/commands/delegate.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"345f8308762202f4842e4fa10b4d58de6eecce0f3c4b90a5a21a614cc3154278"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): crates/vp_global_cli/src/commands/env/clean.rs:140-146 | crates/vp_global_cli/src/install_dirs.rs:84-90 | crates/vp_pm_cli/src/package_manager.rs:1114-1120 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_global_cli/src/commands/env/clean.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"929f8bf09c83d52ce0a88462853ba44e20854b7400d17d908e12b30d3b36a94b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/vp_migration/src/vite_config.rs:664-671 | crates/vp_migration/src/vite_config.rs:691-699 \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/vp_migration/src/vite_config.rs"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7eb3c09b62ea76a28ca9d6f996a4b2b3af2d3ea62ce44f9f16a831f85ddca09"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/vp_global_cli/src/commands/mod.rs:37-49 | crates/vp_global_cli/src/commands/mod.rs:62-73 \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/vp_global_cli/src/commands/mod.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"17b294a4cad794e71c1a5363be8b11a1984040603fa272b4f8a9d8cbf46df970"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/vp_pm_cli/src/resolution/commands/ping.rs:25-31 | crates/vp_pm_cli/src/resolution/commands/whoami.rs:61-68 \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/vp_pm_cli/src/resolution/commands/ping.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ce651c26b9a52fccbf861263bd59eaae70a10363f7f3fbd4de556644f11badf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): crates/vp_pm_cli/src/resolution/commands/patch.rs:64-68 | crates/vp_pm_cli/src/resolution/commands/patch_commit.rs:75-79 \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/vp_pm_cli/src/resolution/commands/patch.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcf234496c54361679d53af946afff976163f7e6853f0f040b177823b99859fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/vp_global_cli/src/cli.rs:579-588 | packages/cli/binding/src/cli/help.rs:76-85 \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/vp_global_cli/src/cli.rs"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6647e77efa9d8a4cbcb771b3637875d721da363ddda48b8adf252dd53f693d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): crates/vp_global_cli/src/commands/env/doctor.rs:666-669 | crates/vp_global_cli/src/self_setup.rs:511-514 \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/vp_global_cli/src/commands/env/doctor.rs"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"c722b57672e35b253ee927290794b9c3d51ba814d84a69fd9a0e068d50be9b30"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201327 lines \u00D7 2): crates/vp_cli_help/src/lib.rs:183-207 | crates/vp_global_cli/src/help.rs:144-170 \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/vp_cli_help/src/lib.rs:183\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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/vp_cli_help/src/lib.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a1415a1b84152000c75ba3401923597cbbf5fd7594b2cbe246bc9165ee4702d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201319 lines \u00D7 2): crates/vp_js_runtime/src/download.rs:149-165 | crates/vp_pm_cli/src/request.rs:368-386 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/vp_js_runtime/src/download.rs:149\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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/vp_js_runtime/src/download.rs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"78805cf5aeaae6c4e86ea7ecf6d4b4ed09c47cea62272b8928aac36affe7d1e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/vp_pm_cli/src/package_manager.rs:1965-1979 | crates/vp_pm_cli/src/package_manager.rs:2176-2190 \u2014 both copies are in the same file, so extract the block 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/vp_pm_cli/src/package_manager.rs:1965\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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/vp_pm_cli/src/package_manager.rs"},"region":{"startLine":1965}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7d930f070418c02d8c39b71e191e96d81fb205b690dbe0071345a97791f2d40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201314 lines \u00D7 2): crates/vp_global_cli/src/main.rs:259-272 | crates/vp_global_cli/src/main.rs:590-600 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/vp_global_cli/src/main.rs:259\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_global_cli/src/main.rs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f36c4a10b68bbc64a9cb4dbe41132e82f76985fb8e7e48416bf2830736510d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201314 lines \u00D7 2): crates/vp_migration/src/vite_config.rs:293-306 | crates/vp_migration/src/vite_config.rs:331-340 \u2014 both copies are in the same file, so extract the block 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/vp_migration/src/vite_config.rs:293\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_migration/src/vite_config.rs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"acca78f7e1872cada5fb6b99b64abcb370fc13640a9f1570e58b0eeb9ee54b10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/vp_command/src/lib.rs:112-124 | crates/vp_command/src/lib.rs:163-175 \u2014 both copies are in the same file, so extract the block 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/vp_command/src/lib.rs:112\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/vp_command/src/lib.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6676842e17fc8368c2e7b0372b9cd8d5ddddc5a2554e04ee873d1d9fc63187e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/vp_pm_cli/src/package_manager.rs:2006-2017 | crates/vp_pm_cli/src/package_manager.rs:2214-2225 \u2014 both copies are in the same file, so extract the block 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/vp_pm_cli/src/package_manager.rs:2006\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/vp_pm_cli/src/package_manager.rs"},"region":{"startLine":2006}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c7aba408fc3932435c5f1d09debddb01fca20e1909748e9c743bcdb6cb17e51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): crates/vp_pm_cli/src/resolution/commands/add.rs:180-190 | crates/vp_pm_cli/src/resolution/commands/add.rs:237-248 \u2014 both copies are in the same file, so extract the block 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/vp_pm_cli/src/resolution/commands/add.rs:180\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_pm_cli/src/resolution/commands/add.rs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"19d57518c9726a6c11adc1557d1de0ab3e9225978cfdeb2684499b102226b47c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/vp_pm_cli/src/resolution/commands/add.rs:285-296 | crates/vp_pm_cli/src/resolution/commands/add.rs:322-333 \u2014 both copies are in the same file, so extract the block 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/vp_pm_cli/src/resolution/commands/add.rs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2be7935ed4f5a53060ae7de6cc8f1d63482beebf4962114558bda6134e35f19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): crates/vp_global_cli/src/commands/env/current.rs:85-94 | crates/vp_global_cli/src/commands/env/doctor.rs:886-896 \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/vp_global_cli/src/commands/env/current.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ce93d4178102455a8fc1101888cc745415129515d6aa2c6e9f207a891200463"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/vp_global_cli/src/commands/env/off.rs:25-35 | crates/vp_global_cli/src/commands/env/on.rs:24-34 \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/vp_global_cli/src/commands/env/off.rs:25\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/vp_global_cli/src/commands/env/off.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"dec38a1b760b5d4aab6d41f56cdece83086f599ff64b220dcb886a343b9c2d76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/vp_global_cli/src/shim/dispatch.rs:252-262 | crates/vp_global_cli/src/shim/dispatch.rs:650-660 \u2014 both copies are in the same file, so extract the block 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/vp_global_cli/src/shim/dispatch.rs:252\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060node_dir\u0060 to \u0060\u0026AbsolutePathBuf\u0060 in one and \u0060\u0026AbsolutePath\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/vp_global_cli/src/shim/dispatch.rs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"60e0fd39a11e8932c4f2823bb4ba0dfc6a30c5283518d8123de5f9db6fdd1205"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): packages/cli/binding/src/cli/resolver.rs:118-128 | packages/cli/binding/src/cli/resolver.rs:142-158 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/cli/binding/src/cli/resolver.rs:118\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060packages/cli/binding/src/cli/resolver.rs:140\u0060 calls \u0060chain\u0060, \u0060once\u0060, \u0060from\u0060 and \u0060packages/cli/binding/src/cli/resolver.rs:116\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":"packages/cli/binding/src/cli/resolver.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9be439747b0f5aab6b02d9c31c186731dcccffe8c4daabdce4d710bc1aa1896"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u201310 lines \u00D7 4): packages/cli/binding/src/cli/resolver.rs:130-139 | packages/cli/binding/src/cli/resolver.rs:216-225 | packages/cli/binding/src/cli/resolver.rs:234-243 | packages/cli/binding/src/cli/resolver.rs:253-257 \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 \u0060packages/cli/binding/src/cli/resolver.rs:130\u0060 it does not close everything it opens, so those exact 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":"packages/cli/binding/src/cli/resolver.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c08f34f8abd82b4687522ecc423fed859df2d4f532a7e0dd9f3ff787597fe1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/vp_global_cli/src/commands/vpx.rs:156-165 | crates/vp_global_cli/src/commands/vpx.rs:194-203 \u2014 both copies are in the same file, so extract the block 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/vp_global_cli/src/commands/vpx.rs:156\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/vp_global_cli/src/commands/vpx.rs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fe25bf14aac40ec60592ac80cd211d593ec2db1cb1d0b40004bf73afbc69c16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): crates/vp_global_cli/src/commands/env/doctor.rs:509-517 | crates/vp_global_cli/src/commands/env/doctor.rs:677-685 | crates/vp_global_cli/src/commands/env/doctor.rs:766-774 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_global_cli/src/commands/env/doctor.rs"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"78f68653c99948b116d49c3d952b4f69f3993fbd8aea54fc6286dd558b8d4aa9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/vp_js_runtime/src/download.rs:268-276 | crates/vp_js_runtime/src/download.rs:337-346 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/vp_js_runtime/src/download.rs:268\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/vp_js_runtime/src/download.rs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"591c8db967a98d1b2f1560ed5ac63e92e4a74412ba04633e630e88a749f68872"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/vp_migration/src/vite_config.rs:226-234 | crates/vp_migration/src/vite_config.rs:422-430 \u2014 both copies are in the same file, so extract the block 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/vp_migration/src/vite_config.rs:431\u0060 calls \u0060ensure_lazy_plugins_import\u0060 and \u0060crates/vp_migration/src/vite_config.rs:236\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/vp_migration/src/vite_config.rs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4f7fa8016c408c9b1bf5c0ecf95e92bb0088be6f619e00879190848eb4e6566"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/vp_pm_cli/src/resolution/commands/login.rs:64-72 | crates/vp_pm_cli/src/resolution/commands/logout.rs:64-72 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060args\u0060 to \u0060\u0026LoginArgs\u0060 in one and \u0060\u0026LogoutArgs\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/vp_pm_cli/src/resolution/commands/login.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"b155625cbaea16ac02b3f0f36635dc791ae2795c4d78c2effd793c2c2b6eca18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/vp_global_cli/src/commands/env/list.rs:55-62 | crates/vp_global_cli/src/commands/env/list_remote.rs:96-103 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/vp_global_cli/src/commands/env/list.rs:55\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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/vp_global_cli/src/commands/env/list.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"96a45095c16fc67fd0400d5575db0604c721d8ef8409017a7451aa408ea0b4b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/vp_pm_cli/src/resolution/commands/remove.rs:62-68 | crates/vp_pm_cli/src/resolution/commands/remove.rs:87-93 \u2014 both copies are in the same file, so extract the block 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/vp_pm_cli/src/resolution/commands/remove.rs:62\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/vp_pm_cli/src/resolution/commands/remove.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f80460c0eb9eb8a4da53a2304bfeeb5fdd91ca617611d6761483fc9531f9f35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): packages/cli/binding/src/cli/resolver.rs:114-119 | packages/cli/binding/src/cli/resolver.rs:200-205 | packages/cli/binding/src/cli/resolver.rs:259-264 \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 \u0060packages/cli/binding/src/cli/resolver.rs:114\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060packages/cli/binding/src/cli/resolver.rs:208\u0060 calls \u0060Some\u0060, \u0060build_pack_cache_inputs\u0060 and \u0060packages/cli/binding/src/cli/resolver.rs:122\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":"packages/cli/binding/src/cli/resolver.rs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"e42e12f0a269647134fa4cf8bac8c92b674fe88f41db0e2e60263676a61f7f46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/vp_global_cli/src/commands/global/install.rs:991-996 | crates/vp_global_cli/src/commands/global/install.rs:1019-1024 \u2014 both copies are in the same file, so extract the block 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/vp_global_cli/src/commands/global/install.rs:991\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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/vp_global_cli/src/commands/global/install.rs"},"region":{"startLine":991}}}],"partialFingerprints":{"codehealthFindingId/v1":"6649b2b7252d9fcf60fda693ba6693d48d2213fc049855fdc501fdee305c0e6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): crates/vp_pm_cli/src/package_manager.rs:1811-1816 | crates/vp_pm_cli/src/package_manager.rs:2024-2028 | crates/vp_pm_cli/src/package_manager.rs:2232-2236 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_pm_cli/src/package_manager.rs"},"region":{"startLine":1811}}}],"partialFingerprints":{"codehealthFindingId/v1":"59cf27cf5926b9d4ac4557feed7864440e23fd38be9d3207988e9119664e2dea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/vp_global_cli/src/commands/env/config.rs:321-326 | crates/vp_global_cli/src/commands/global/install.rs:935-940 \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/vp_global_cli/src/commands/env/config.rs:321\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/vp_global_cli/src/commands/env/config.rs"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"a34f9040ecedd7172fdcd3f7e53b907d691a1cda872ef4ee2697a941b875a881"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20135 lines \u00D7 3): crates/vp_global_cli/src/commands/env/current.rs:160-164 | crates/vp_global_cli/src/commands/env/doctor.rs:926-927 | crates/vp_global_cli/src/commands/env/exec.rs:269-273 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/vp_global_cli/src/commands/env/current.rs:160\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/vp_global_cli/src/commands/env/doctor.rs:927\u0060 calls \u0060as_path\u0060, \u0060arg\u0060, \u0060output\u0060 and \u0060crates/vp_global_cli/src/commands/env/exec.rs:273\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_global_cli/src/commands/env/current.rs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"afa8c843a7608dfb2d429943a8501f38053e10b4d50354f062ed2ac30eb2b55b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/vp_shared/src/output.rs:26-31 | crates/vp_shared/src/output.rs:36-41 \u2014 both copies are in the same file, so extract the block 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/vp_shared/src/output.rs:26\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/vp_shared/src/output.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3b81b9821619481de713e5e375bc02ed9e2d1e166f979706f2be801aa5447f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/vp_cli_snapshots/src/bin/vpt/exit_code.rs:7-16 | crates/vp_shared/src/process.rs:5-14 \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/vp_cli_snapshots/src/bin/vpt/exit_code.rs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aa7cc447090688262eb9e2940ab4b712b89e63dea35497ffaa6c240d84c079a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/vp_global_cli/src/cli.rs:567-577 | packages/cli/binding/src/cli/help.rs:64-74 \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/vp_global_cli/src/cli.rs"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf0fecff1d07fe986e8edca59c4ca4fbe349c9afd71ffbfa0abdfd4bdf49895d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/vp_global_cli/src/commands/env/bin_config.rs:148-154 | crates/vp_global_cli/src/commands/env/package_metadata.rs:160-166 \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/vp_global_cli/src/commands/env/bin_config.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b2c28903e4755cea7975f233c3ed12515139ef318eec5ebde6da9dfe6ae87eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/vp_setup/src/install.rs:777-789 | crates/vp_setup/src/install.rs:979-991 \u2014 both copies are in the same file, so extract the block 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/vp_setup/src/install.rs:777\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/vp_setup/src/install.rs"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ca342b975649bdb980ca9b7818b650f106ec70d1abdb39d05355dfab265a738"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/vp_pm_cli/src/package_manager.rs:1932-1942 | crates/vp_pm_cli/src/package_manager.rs:2143-2153 \u2014 both copies are in the same file, so extract the block 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/vp_pm_cli/src/package_manager.rs"},"region":{"startLine":1932}}}],"partialFingerprints":{"codehealthFindingId/v1":"70e61a89d1028c329cd618ea0f49c24e8ee6e40b8b9cfc595d44cb6cfef903a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/vp_pm_cli/src/resolution/commands/dedupe.rs:39-49 | crates/vp_pm_cli/src/resolution/commands/dedupe.rs:56-66 \u2014 both copies are in the same file, so extract the block 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/vp_pm_cli/src/resolution/commands/dedupe.rs:39\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_pm_cli/src/resolution/commands/dedupe.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a17aab8951c0f8d918610c5598224bbfbb5ea3b755c184717286177f7ca0def"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/vp_pm_cli/src/package_manager.rs:601-608 | crates/vp_pm_cli/src/package_manager.rs:636-643 \u2014 both copies are in the same file, so extract the block 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/vp_pm_cli/src/package_manager.rs:601\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_pm_cli/src/package_manager.rs"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b052ca68ab7c969ed0eeeaa2d29f885668acef5c72b25874e3e339e96b4e814"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/vp_shared/src/output.rs:98-105 | crates/vp_shared/src/output.rs:113-120 \u2014 both copies are in the same file, so extract the block 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/vp_shared/src/output.rs:98\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/vp_shared/src/output.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb69c7ae1e33338f1b209c6aec0b6fb286f28cc7df99c09fcf90347c89c513f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/vp_pm_cli/src/shim.rs:43-50 | crates/vp_pm_cli/src/shim.rs:130-137 \u2014 both copies are in the same file, so extract the block 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/vp_pm_cli/src/shim.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b5eec81e8e068b30947e62e70eabbe1c8ce527ae5e852a9c1adad38c3bc021f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): packages/cli/binding/src/js_command_args/commands/create.rs:205-212 | packages/cli/binding/src/js_command_args/commands/migrate.rs:134-141 \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 \u0060packages/cli/binding/src/js_command_args/commands/create.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":"packages/cli/binding/src/js_command_args/commands/create.rs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3c774c7d7c6d51d69d8987b1544b338eea08a81aa3bc6aaada127236426c5c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/vp_pm_cli/src/resolution/commands/pack.rs:76-82 | crates/vp_pm_cli/src/resolution/commands/pack.rs:90-96 \u2014 both copies are in the same file, so extract the block 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/vp_pm_cli/src/resolution/commands/pack.rs:76\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/vp_pm_cli/src/resolution/commands/pack.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1061652a01a68ed1314f5f0f0483856be67b8c6bd9bcd08f107f11a3560d654"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/vp_global_cli/src/main.rs:104-110 | crates/vp_global_cli/src/main.rs:139-145 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/vp_global_cli/src/main.rs:104\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/vp_global_cli/src/main.rs:148\u0060 calls \u0060push\u0060, \u0060to_string\u0060 and \u0060crates/vp_global_cli/src/main.rs:113\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_global_cli/src/main.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc2f29a9595bf4961b81a921c05d7829bcf662cc3a2128cb03383127a66461a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): packages/cli/binding/src/cli/resolver.rs:226-232 | packages/cli/binding/src/cli/resolver.rs:244-250 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/cli/binding/src/cli/resolver.rs:226\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":"packages/cli/binding/src/cli/resolver.rs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"19693ff677d30af9d4567e3533986e654d7a66371b76d8c9f1b5486b0a381ade"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/vp_global_cli/src/commands/env/doctor.rs:693-698 | crates/vp_global_cli/src/commands/env/doctor.rs:700-705 \u2014 both copies are in the same file, so extract the block 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/vp_global_cli/src/commands/env/doctor.rs"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c81819dac8e100d8a5eba69542baa4300a9dcab92ed8d7eacce7dd0a23f26b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/vp_toolchain/src/lib.rs:288-293 | crates/vp_toolchain/src/lib.rs:307-312 \u2014 both copies are in the same file, so extract the block 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/vp_toolchain/src/lib.rs:288\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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/vp_toolchain/src/lib.rs"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"82952b6df669f5649e231ae060add90a958f25d7053f8b224b0b8252ee4e9576"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: @voidzero-dev/vite-plus-core: @voidzero-dev/vite-plus-core: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e34f85f977f339146b209391c71c8c7701b9862b3bebfab19d2ec01599b770dd"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: vp_static_config: vp_static_config: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e50b7e4e1602c99c006861dba79346dc0e348f6a78e98fa4daaf4375e500b652"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: vp_toolchain: vp_toolchain: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 3 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"680a2fcfa77d9de5b656cbca2aff58b8d2452c5280443f99a97d2588d8caf09e"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: vp_error: vp_error: abstractness 0.00, instability 0.17, distance 0.83 \u2014 zone of pain \u2014 concrete and depended on by 5 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5ef9d5b0d9826e83d061115484a14314c7dcf335d9e1250ee75658ce2d455b73"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Bun (LCOM4 25): Bun\u0027s methods fall into 25 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 25 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/vp_pm_cli/src/resolution/dialect.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"85cb5e7fa4dd42485145311cab8d371cc2e0a69c7ea042827e38041995b71ac9"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Pnpm (LCOM4 17): Pnpm\u0027s methods fall into 17 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 17 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/vp_pm_cli/src/resolution/dialect.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d4c1ea1bc8e64384d8f68a6ad28658d440543ef83bd0fe2867af34c41500b55"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Npm (LCOM4 9): Npm\u0027s methods fall into 9 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 9 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_pm_cli/src/resolution/dialect.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"82babee8d860171e963f1c0b11058dc716be51f65a09d525780fbcb5830e922f"}},{"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 repository root runs vitest but declares no coverage provider, so the suite can run and still produce no lcov \u2014 add \u0060@vitest/coverage-v8\u0060 (or \u0060@vitest/coverage-istanbul\u0060) as a devDependency. 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: accepts test config without TS error: 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":"packages/cli/src/__tests__/define-config-test-field.spec.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"32075e19a3bdcd15af2408cd7e7f0b9d11e6766be5ee5b18b530ec6205cec267"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: accepts test config alongside other vite-plus fields: 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":"packages/cli/src/__tests__/define-config-test-field.spec.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccf56f8156907d716c03048d87953aa44d767306ea0aa2c4b073c26866586470"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: refreshes independent exceptions when the manifest changes: 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":"packages/cli/src/__tests__/oxlint-plugin.spec.ts"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"8faf3d4b7c901487b934f47d34b07319fff9d72b94b832cc9dabdba903822daf"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: does not inherit exceptions across nested package boundaries: 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":"packages/cli/src/__tests__/oxlint-plugin.spec.ts"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"e764fbda6dfc4e0be49e6ea2236420a0e5259dc49d4dd3eb95bf89bb66e0bdc3"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: initializes NODE_ENV before evaluation when $name: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/__tests__/resolve-config-from-file.spec.ts"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f367a06f0379ac3558191f32ad880978cd53cc1f8cdb90c97ee61588954e7b6"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: resolves through the built %s entry: 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":"packages/cli/src/__tests__/resolve-config-from-file.spec.ts"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"657dbd5d9857a7fdd694ccd9393e2c77e8f3f36f74dc41bfbd6221f5905edfd6"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: does not fall back to the project when the CLI dependency is missing: 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":"packages/cli/src/__tests__/resolve-core.spec.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"83830809ad858d49aefe9400d186303489b201b238b2310161394de5744886b9"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: accepts string commands: 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":"packages/cli/src/__tests__/staged/config.spec.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"afb9d6c2c025c72edf2fdfcff3a51eda30603d4ce551c2d783da1f274165b83f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: accepts arrays of string commands: 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":"packages/cli/src/__tests__/staged/config.spec.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"a091e187526b6b5d40e64c220d78eab0092cf6a27f6ecf7eeba3d7c1423a4651"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: accepts sync generate task functions: 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":"packages/cli/src/__tests__/staged/config.spec.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc25bf1ea05c068d02ef79fef98458ca9d2c9e3839a4de3b131a3f506ddd7eed"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: accepts async generate task functions: 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":"packages/cli/src/__tests__/staged/config.spec.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab784d60883dcd73482a6c69b2048e165f1ecb9b32855e555624e20acf3c3e3f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: accepts mixed arrays of strings and functions: 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":"packages/cli/src/__tests__/staged/config.spec.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4005921294d917ffee2711cfb32ac215d9f7fc87950cefd0d4757dbbaf8b56f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: accepts task function objects: 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":"packages/cli/src/__tests__/staged/config.spec.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ecbffde2052e824415572846536fec0d5d61ad2072ba1e9e8e918ddbad7f270"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: accepts a top-level generate task function: 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":"packages/cli/src/__tests__/staged/config.spec.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"a27f684ee8d34341cb7fd5dd1bc8c6ab9bd389864e208d82f01cf2be75cb239b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: annotations and custom artifacts: 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":"crates/vp_cli_snapshots/tests/cli_snapshots/fixtures/test_v5_node_apis/runtime.test.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"67adab0765c1720440449da06a1b8eab5745892ac4c77f3c8678600890572e7c"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: skips Git-backed hook resolution when hooks are disabled by environment: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 6 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/config/__tests__/bin.spec.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbed8e8fc3d16b1b469ca517608ccf40fcb2f82f1ad6837e7ab430470f859c31"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/cli/src/migration/bin.ts: packages/cli/src/migration/bin.ts changed 23 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 116 in bin.main at line 1046. 9 of those changes were fix/bug commits, and the other 14 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- packages/cli/src/migration/bin.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":"packages/cli/src/migration/bin.ts"},"region":{"startLine":1046}}}],"partialFingerprints":{"codehealthFindingId/v1":"cab70dbbec3a2c35847b3a37662f58be47142dd6f9fd130c704096ccb9708cf6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/cli/src/create/bin.ts: packages/cli/src/create/bin.ts changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 185 in bin.main at line 311. 7 of those changes were fix/bug commits, and the other 7 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- packages/cli/src/create/bin.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":"packages/cli/src/create/bin.ts"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6729c22e4c4b822657f31984d8ae4dcab4170b3b48bb80c40ea86c3ff783aba"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/vp_global_cli/src/self_setup.rs: crates/vp_global_cli/src/self_setup.rs changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 58 in vp_global_cli::self_setup::run at line 193. 5 of those changes were fix/bug commits, and the other 9 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- crates/vp_global_cli/src/self_setup.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/vp_global_cli/src/self_setup.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1b472b5680f6367f02906ef730338338b19064bb7c7c6dbfbcff8c66a22ae56"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/vp_global_cli/src/commands/global/install.rs: crates/vp_global_cli/src/commands/global/install.rs changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 57 in vp_global_cli::commands::global::install::install at line 130. 9 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- crates/vp_global_cli/src/commands/global/install.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/vp_global_cli/src/commands/global/install.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cf98cc2bbf05059a303ffa29e74d2378212084bbda4cc1d32d386e3771c1deb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/vp_global_cli/src/commands/env/setup.rs: crates/vp_global_cli/src/commands/env/setup.rs changed 25 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in vp_global_cli::commands::env::setup::print_path_instructions at line 1560. 15 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- crates/vp_global_cli/src/commands/env/setup.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/vp_global_cli/src/commands/env/setup.rs"},"region":{"startLine":1560}}}],"partialFingerprints":{"codehealthFindingId/v1":"28008348d6ea317f55afe88392246214c370c51e991c48f30b79f38f1e659ef7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/vp_global_cli/src/main.rs: crates/vp_global_cli/src/main.rs changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 in vp_global_cli::run at line 360. 10 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- crates/vp_global_cli/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/vp_global_cli/src/main.rs"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8dffbf8d289277e9b52020e106fe4c2a0ea4564d8035689adb8485ab34f03f5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/cli/src/migration/migrator/orchestrators.ts: packages/cli/src/migration/migrator/orchestrators.ts changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in orchestrators.rewriteStandaloneProject at line 76. 8 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- packages/cli/src/migration/migrator/orchestrators.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":"packages/cli/src/migration/migrator/orchestrators.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb98905a364a7039f438710523fc8c23177b668e6afdc635398b5981850f5a26"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/vp_global_cli/src/commands/env/doctor.rs: crates/vp_global_cli/src/commands/env/doctor.rs changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in vp_global_cli::commands::env::doctor::collect_dev_engines_findings at line 1054. 6 of those changes were fix/bug commits, and the other 8 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- crates/vp_global_cli/src/commands/env/doctor.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/vp_global_cli/src/commands/env/doctor.rs"},"region":{"startLine":1054}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f141a4f94c30bfd42324cc55719bcbbcb9e4d346bf600cd6c2af08234f9ceeb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/cli/binding/src/check/mod.rs: packages/cli/binding/src/check/mod.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 63 in vite_plus_cli::check::execute_check at line 21. 1 of those changes was a fix/bug commit, and the other 6 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- packages/cli/binding/src/check/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":"packages/cli/binding/src/check/mod.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bd70044f6acae27322e0baed5aacd785b7d21d0c2b61e02e1dfef84aa9a8917"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/vp_global_cli/src/shim/dispatch.rs: crates/vp_global_cli/src/shim/dispatch.rs changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in vp_global_cli::shim::dispatch::check_npm_global_install_result at line 217. 9 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- crates/vp_global_cli/src/shim/dispatch.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/vp_global_cli/src/shim/dispatch.rs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"749e87c74e1a7daafcbe42d703e02d65a1dd3d19b030e0ab3d7b75d4e16abe8b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/vp_migration/src/import_rewriter.rs: crates/vp_migration/src/import_rewriter.rs changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 53 in vp_migration::import_rewriter::rewrite_reference_types at line 1786. 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- crates/vp_migration/src/import_rewriter.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/vp_migration/src/import_rewriter.rs"},"region":{"startLine":1786}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c45bd4ddc89b6745b5e8b578caef19117e4d6fbd6fb57f4a3b1444d745017f4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/vp_global_cli/src/commands/upgrade/mod.rs: crates/vp_global_cli/src/commands/upgrade/mod.rs changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in vp_global_cli::commands::upgrade::execute at line 38. 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- crates/vp_global_cli/src/commands/upgrade/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/vp_global_cli/src/commands/upgrade/mod.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"50316146aada905fad16c752770f1180d2a12aa18cd3edf4f477869650221ae7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/tools/src/sync-remote-deps.ts: packages/tools/src/sync-remote-deps.ts changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in sync-remote-deps.mergePnpmWorkspaces at line 596. 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- packages/tools/src/sync-remote-deps.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":"packages/tools/src/sync-remote-deps.ts"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"62b3e8508d16cfe9bb27fd7bc91106f80dfe54652232207409790bdf5799690f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/cli/src/migration/migrator/vite-plus-bootstrap.ts: packages/cli/src/migration/migrator/vite-plus-bootstrap.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 56 in vite-plus-bootstrap.ensureVitePlusBootstrap at line 945. 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- packages/cli/src/migration/migrator/vite-plus-bootstrap.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":"packages/cli/src/migration/migrator/vite-plus-bootstrap.ts"},"region":{"startLine":945}}}],"partialFingerprints":{"codehealthFindingId/v1":"f44dc99365e6f04ddf35856d83ee24533493a54d6017752abe64adb4bd9c4ff5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/cli/src/migration/migrator/package-json.ts: packages/cli/src/migration/migrator/package-json.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 78 in package-json.rewritePackageJson at line 39. 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- packages/cli/src/migration/migrator/package-json.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":"packages/cli/src/migration/migrator/package-json.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"c03935142c604ba8fbd6f4d729f44ff161fbd3fb9d14e5b6d432e64c428c80ae"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/core/build.ts: packages/core/build.ts changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in build.buildVite at line 107. 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- packages/core/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":"packages/core/build.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"4149d587174e9bb7f0cb73012ab0a240f72bff20b5c7bd1ebacda61cd4cf721d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/vp_global_cli/src/commands/env/use.rs: crates/vp_global_cli/src/commands/env/use.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in vp_global_cli::commands::env::use::execute at line 96. 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- crates/vp_global_cli/src/commands/env/use.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/vp_global_cli/src/commands/env/use.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6d441a8b35f58d9e846fa67beb5656a1bc2eb49ccfcc47d181b80e38040ec23"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/vp_migration/src/vite_config.rs: crates/vp_migration/src/vite_config.rs changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in vp_migration::vite_config::rewrite_pack_dts_generators at line 447. 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- crates/vp_migration/src/vite_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/vp_migration/src/vite_config.rs"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"440d9924c35a8253024b74dca0e621bc51f42cf598c4d0602675500a4102f6cc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/cli/src/migration/migrator/catalog.ts: packages/cli/src/migration/migrator/catalog.ts changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in catalog.rewritePnpmWorkspaceYaml at line 312. 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- packages/cli/src/migration/migrator/catalog.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":"packages/cli/src/migration/migrator/catalog.ts"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"c22611b4001752dca03193bddf6a88d572590a7099c5dff16ea182ed410d730f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/cli/src/migration/migrator/eslint.ts: packages/cli/src/migration/migrator/eslint.ts changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in eslint.sanitizeMigratedOxlintConfig at line 855. 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- packages/cli/src/migration/migrator/eslint.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":"packages/cli/src/migration/migrator/eslint.ts"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d15c583b5951f6b6bc67707f0f33f13d7615a39bff95c29fffc2708d751aea7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/vp_global_cli/src/commands/env/pin.rs: crates/vp_global_cli/src/commands/env/pin.rs changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in vp_global_cli::commands::env::pin::pin_package_manager at line 806. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- crates/vp_global_cli/src/commands/env/pin.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/vp_global_cli/src/commands/env/pin.rs"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9ea115840481af442a0c3439d40153568cc33dd86b948601e6144e825e5ca76"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/vp_global_cli/src/commands/vpx.rs: crates/vp_global_cli/src/commands/vpx.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in vp_global_cli::commands::vpx::execute_vpx at line 77. 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- crates/vp_global_cli/src/commands/vpx.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/vp_global_cli/src/commands/vpx.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e58639cac981d0da70f682cfbaab706ef1be7c8e399106908523706fa98eeaf"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/vp_pm_cli/src/cli.rs: crates/vp_pm_cli/src/cli.rs changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in PmCommand::is_quiet_or_machine_readable at line 385. 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- crates/vp_pm_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/vp_pm_cli/src/cli.rs"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"346e354466b0f4abb4dcc2ae250aa36af39f19b04e880b1fd8e691b5d8587ec7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/tools/src/local-npm-registry.ts: packages/tools/src/local-npm-registry.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in local-npm-registry.server at line 607. 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- packages/tools/src/local-npm-registry.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":"packages/tools/src/local-npm-registry.ts"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9a3a223e7a695a8af1f0ef634ff678e2f1185654ed3bb39cdac3b825a92abc7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/vp_global_cli/src/commands/implode.rs: crates/vp_global_cli/src/commands/implode.rs changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in vp_global_cli::commands::implode::execute at line 69. 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- crates/vp_global_cli/src/commands/implode.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/vp_global_cli/src/commands/implode.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"b30edc32588617a341a67a774e92135f7085c9eedbcc32eb46cee0b8bc808cab"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/vp_global_cli/src/commands/env/exec.rs: crates/vp_global_cli/src/commands/env/exec.rs changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in vp_global_cli::commands::env::exec::execute_with_version at line 142. 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- crates/vp_global_cli/src/commands/env/exec.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/vp_global_cli/src/commands/env/exec.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"72c8f7e38421d745bffb11b1c49003627c65c3bc19443538fe739344efa881f4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/vp_global_cli/src/commands/env/list_remote.rs: crates/vp_global_cli/src/commands/env/list_remote.rs changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in vp_global_cli::commands::env::list_remote::execute at line 54. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- crates/vp_global_cli/src/commands/env/list_remote.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/vp_global_cli/src/commands/env/list_remote.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"07a6a93b2170bfbaf3f5b435a0d5b49b59b6a11e726ae41ad7091c8a705adb7b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/cli/src/define-config.ts: packages/cli/src/define-config.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in define-config.vitePlusVitestResolverPlugin at line 282. 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- packages/cli/src/define-config.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":"packages/cli/src/define-config.ts"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"46f4ec66c0e7944866d1bb15a0dfb2f4aa341f6a9b59d09886ad7e4107de40ad"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/cli/src/migration/migrator/vite-config.ts: packages/cli/src/migration/migrator/vite-config.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in vite-config.mergeAndRemoveJsonConfig at line 638. 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- packages/cli/src/migration/migrator/vite-config.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":"packages/cli/src/migration/migrator/vite-config.ts"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eba0fbef96556cdaf1a72e68da9c8cf66bceddcfed408437b3d777c6676fe40"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/cli/src/migration/migrator/git-hooks.ts: packages/cli/src/migration/migrator/git-hooks.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in git-hooks.installGitHooks at line 383. 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- packages/cli/src/migration/migrator/git-hooks.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":"packages/cli/src/migration/migrator/git-hooks.ts"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c3c366e739696e1bb0a2f84002dc6600bdd88dc9ff6c4a7b57d62e55b09ab63"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/vp_global_cli/src/commands/env/list.rs: crates/vp_global_cli/src/commands/env/list.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in vp_global_cli::commands::env::list::execute at line 48. 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- crates/vp_global_cli/src/commands/env/list.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/vp_global_cli/src/commands/env/list.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fb75ed72ed72f53bad09f1cee559c7be1aa4eb141583f026fa91e2bd13d78a0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/cli/src/migration/migrator/source-scan.ts: packages/cli/src/migration/migrator/source-scan.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in source-scan.sourceTreeMatches at line 196. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- packages/cli/src/migration/migrator/source-scan.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":"packages/cli/src/migration/migrator/source-scan.ts"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"370b0add01d154058926d651027f689fb1e57e2e55263957bd76a860a18e388f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/vp_migration/src/pack_config.rs: crates/vp_migration/src/pack_config.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in vp_migration::pack_config::rewrite_options at line 489. 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- crates/vp_migration/src/pack_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/vp_migration/src/pack_config.rs"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"07c8cbd614bbf45f892d21677fa89c4eda3af4b785a064c64adf4e7edc0259bf"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/cli/src/migration/vitest-v5/lockfile.ts: packages/cli/src/migration/vitest-v5/lockfile.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 42 in lockfile.lockedVitestVersion at line 79. 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- packages/cli/src/migration/vitest-v5/lockfile.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":"packages/cli/src/migration/vitest-v5/lockfile.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f2519f332de5a7a1125b27c26834031fca798b448380403dec6f8fbfa0d842f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/cli/src/migration/migrator/tsup.ts: packages/cli/src/migration/migrator/tsup.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in tsup.migrateTsupToTsdown at line 410. 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- packages/cli/src/migration/migrator/tsup.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":"packages/cli/src/migration/migrator/tsup.ts"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"41e94227cd9181bd5fb8120b7c56a0fafa8745ca671033897a9268abc3e40978"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/cli/src/oxlint-plugin.ts: packages/cli/src/oxlint-plugin.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in oxlint-plugin.rewriteVitePlusImportSpecifier at line 80. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- packages/cli/src/oxlint-plugin.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":"packages/cli/src/oxlint-plugin.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2e0fb66a6ee7363653ac4b1dac692c653eafe9f6e5bfc3cf067ee19f6a1e9d8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/vp_installer/src/legacy.rs: crates/vp_installer/src/legacy.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in vp_installer::legacy::install at line 11. 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- crates/vp_installer/src/legacy.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/vp_installer/src/legacy.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b584f2e34bb5090cb8cdddd98b7d1ac9d5bfb8fcc03d8497c4b522bd4e5b31b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/cli/src/migration/migrator/vitest-v5.ts: packages/cli/src/migration/migrator/vitest-v5.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in vitest-v5.lockedSourceVersion at line 183. 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- packages/cli/src/migration/migrator/vitest-v5.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":"packages/cli/src/migration/migrator/vitest-v5.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"06c9122566cecab676851e8e15284dcc737959f5e73799638638358b3b3952bb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/cli/binding/src/exec/workspace.rs: packages/cli/binding/src/exec/workspace.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in vite_plus_cli::exec::workspace::execute_exec_workspace at line 17. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- packages/cli/binding/src/exec/workspace.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":"packages/cli/binding/src/exec/workspace.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f3158b735515cb2536685e3cf2451530ea22ee5e3f300bcae4ae86ed1bea759"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/tools/src/install-global-cli.ts: packages/tools/src/install-global-cli.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in install-global-cli.installGlobalCli at line 66. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- packages/tools/src/install-global-cli.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":"packages/tools/src/install-global-cli.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a8550ef9f5a1dc4841b3b078543e23e73559791386a44c7dea17e62db33f4d1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/cli/src/migration/detector.ts: packages/cli/src/migration/detector.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in detector.detectMigrationWarnings at line 110. 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- packages/cli/src/migration/detector.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":"packages/cli/src/migration/detector.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"301f363ae858e317cfbefa7bf9da9c3aa8ac1d77e41c8030ed2ca77f14b5f58d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/cli/src/vpx-script.ts: packages/cli/src/vpx-script.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in vpx-script.detectScript at line 224. 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- packages/cli/src/vpx-script.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":"packages/cli/src/vpx-script.ts"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"830ac2f57ca0ece18469c66dd4d496c4e0925afc5164fae1fe610e7d43e8be27"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/cli/src/config/bin.ts: packages/cli/src/config/bin.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in bin.main at line 17. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- packages/cli/src/config/bin.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":"packages/cli/src/config/bin.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"03a4478d250eefef2bbb1037f43633e0ca7156d452662d3f2530ed82c2a84124"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/prompts/src/log.ts: packages/prompts/src/log.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in message at line 23. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- packages/prompts/src/log.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":"packages/prompts/src/log.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"28b8a4a02f7ebb5f73d38e38b8a4081bf22cedc1f8b05b7112b9aa1d29d8e254"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/vp_pm_cli/src/package_manager.rs: crates/vp_pm_cli/src/package_manager.rs changed 23 times in last 90 days and 13 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 15 (its worst body is vp_pm_cli::package_manager::get_package_manager_type_and_version at line 568), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(pm): verify and content-key managed package-manager installs (#3400)\u201D; \u201Cfix(pm): require a dist-tag version to be valid semver (#3395)\u201D; \u201Cfix(pm): prevent concurrent installs from exposing unfinished shims (#3248)\u201D; \u201Cfix(pm): verify Bun request pins on fresh installs (#3134)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- crates/vp_pm_cli/src/package_manager.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/vp_pm_cli/src/package_manager.rs"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"9761b7d17880be3b407ef9c9bdfda743e69ad25936fae5a2b364ee2e4a5a510e"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: packages/cli/binding/src/lib.rs: packages/cli/binding/src/lib.rs changed 11 times in last 90 days and 8 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is vite_plus_cli::format_error_message at line 173), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(http): send a User-Agent header on all requests (#3425)\u201D; \u201Cfix(cli): set package-manager lifecycle env for vp run (#2895)\u201D; \u201Cfix(pm): default to pnpm when no package manager is detected (#2750)\u201D; \u201Cfix(cli): resolve lowercase Windows shims in case-sensitive directories (#2727)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- packages/cli/binding/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":"packages/cli/binding/src/lib.rs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"035edab5617db495ef76369241cc326213366aede6738147bcebaed9783aa463"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/vp_pm_cli/src/resolution/commands/add.rs: crates/vp_pm_cli/src/resolution/commands/add.rs changed 9 times in last 90 days and 7 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is Pnpm::resolve at line 167), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(pm): reject unsupported flags for managed global commands (#3285)\u201D; \u201Cfix(pm): make dependency filters compatible with npm 6 (#3251)\u201D; \u201Cfix(pm): enforce package manager option compatibility (#3122)\u201D; \u201Cfix(pm): fail on unsupported package manager options (#2775)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- crates/vp_pm_cli/src/resolution/commands/add.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/vp_pm_cli/src/resolution/commands/add.rs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"0adf308de48301eac8f8d9cfb906c3ea11c2ba95d0943d96532da2dc82b5ecac"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/vp_pm_cli/src/resolution/commands/update.rs: crates/vp_pm_cli/src/resolution/commands/update.rs changed 8 times in last 90 days and 7 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 5 (its worst body is Yarn::resolve at line 117), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(pm): reject unsupported flags for managed global commands (#3285)\u201D; \u201Cfix(pm): make dependency filters compatible with npm 6 (#3251)\u201D; \u201Cfix(pm): enforce package manager option compatibility (#3122)\u201D; \u201Cfix(pm): fail on unsupported package manager options (#2775)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- crates/vp_pm_cli/src/resolution/commands/update.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/vp_pm_cli/src/resolution/commands/update.rs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"910ecfd0d1b2e577b3d09fc7ddeb55909a15b1fbf35920e770375af3c8164457"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/vp_pm_cli/src/resolution/commands/install.rs: crates/vp_pm_cli/src/resolution/commands/install.rs changed 7 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is Npm::resolve at line 240), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(pm): reject unsupported flags for managed global commands (#3285)\u201D; \u201Cfix(pm): make dependency filters compatible with npm 6 (#3251)\u201D; \u201Cfix(pm): enforce package manager option compatibility (#3122)\u201D; \u201Cfix(pm): fail on unsupported package manager options (#2775)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- crates/vp_pm_cli/src/resolution/commands/install.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/vp_pm_cli/src/resolution/commands/install.rs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fd172dc2c06e35c80dca84c689b02db33aba049adfc402fe133d7100c80ec20"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: packages/cli/src/bin.ts: packages/cli/src/bin.ts changed 8 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 6 (its worst body is bin.getErrorMessage at line 56), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(cli): restore blocking stdin after loading a dynamic config (#3361)\u201D; \u201Cfix(cli): set package-manager lifecycle env for vp run (#2895)\u201D; \u201Cfix(cli): reuse the current Node runtime for built-in tools (#2673)\u201D; \u201Cfix(cli): recover from stale Vitest aliases (#2605)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- packages/cli/src/bin.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":"packages/cli/src/bin.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"a94ebd7c26d9d9c66de04af1ee3aad4cc5d15e118c1236e5f1a061763a1a6231"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/vp_js_runtime/src/download.rs: crates/vp_js_runtime/src/download.rs changed 7 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is vp_js_runtime::download::download_file at line 38), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(upgrade): serialize installation changes and keep  existing version directories (#3412)\u201D; \u201Cfix: prevent cold runtime downloads from timing out snapshots (#3024)\u201D; \u201Cfix(install): show progress and shell activation instructions (#2744)\u201D; \u201Cfix(cli): prevent download progress from overwriting terminal output (#2741)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- crates/vp_js_runtime/src/download.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/vp_js_runtime/src/download.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6ae96b4f1527116e0b4e571a8215e1f4ae9ed78777396fa82e1fa7300744f80"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/vp_pm_cli/src/resolution/commands/remove.rs: crates/vp_pm_cli/src/resolution/commands/remove.rs changed 6 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 6 (its worst body is Yarn::resolve at line 103), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(pm): reject unsupported flags for managed global commands (#3285)\u201D; \u201Cfix(pm): enforce package manager option compatibility (#3122)\u201D; \u201Cfix(pm): fail on unsupported package manager options (#2775)\u201D; \u201Cfix(pm): respect filters for recursive removal on Yarn Berry (#2712)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- crates/vp_pm_cli/src/resolution/commands/remove.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/vp_pm_cli/src/resolution/commands/remove.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"32e0200fc88bacd054827465b0e6374742e556ec7de6f1a301b732868f46b1c1"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/vp_pm_cli/src/resolution/resolve.rs: crates/vp_pm_cli/src/resolution/resolve.rs changed 6 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is vp_pm_cli::resolution::resolve::resolve_for_manager at line 38), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(pm): fail on unsupported package manager options (#2775)\u201D; \u201Cfix(env): track injected tools across nested shim calls (#2631)\u201D; \u201Cfix(pm): disable Yarn update notifications (#2651)\u201D; \u201Cfix(pm): disable npm update notifications (#2650)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- crates/vp_pm_cli/src/resolution/resolve.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/vp_pm_cli/src/resolution/resolve.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"0036591967809b147855347d4ed699d689df16c4d4fce2b6e922cf3e93d6ef4c"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/vp_pm_cli/src/resolution/commands/dlx.rs: crates/vp_pm_cli/src/resolution/commands/dlx.rs changed 5 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is Npm::resolve at line 45), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(pm): skip unavailable commands and reject unsupported options (#3286)\u201D; \u201Cfix(dlx): let npm infer executables from package metadata (#3229)\u201D; \u201Cfix(pm): fail on unsupported package manager options (#2775)\u201D; \u201Cfix(pm): default to pnpm when no package manager is detected (#2750)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- crates/vp_pm_cli/src/resolution/commands/dlx.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/vp_pm_cli/src/resolution/commands/dlx.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"355d8ffca5a98aacd4e157c5ed8a0100dd84a4efb35244c64082c9e4c496a428"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/vp_pm_cli/src/resolution/commands/outdated.rs: crates/vp_pm_cli/src/resolution/commands/outdated.rs changed 5 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 6 (its worst body is Npm::resolve_outdated at line 133), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(pm): reject unsupported flags for managed global commands (#3285)\u201D; \u201Cfix(pm): make dependency filters compatible with npm 6 (#3251)\u201D; \u201Cfix(cli): check npm workspaces for recursive outdated (#3240)\u201D; \u201Cfix(pm): enforce package manager option compatibility (#3122)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- crates/vp_pm_cli/src/resolution/commands/outdated.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/vp_pm_cli/src/resolution/commands/outdated.rs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"57d95fbd54f0230878d50b41fe0fd2311a9090f25897348e1cfef4c18bb47850"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: .github/scripts/upgrade-deps-utils.ts: .github/scripts/upgrade-deps-utils.ts changed 7 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is (anonymous) at line 101), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cchore(deps): automate pnpm installer pins and fix validation (#3407)\u201D; \u201Crevert(deps): stop bumping vite-task in the upstream dependency upgrade (#3324)\u201D; \u201Cfix(install): share the Node 24 pin with development and CI (#3269)\u201D; \u201Cfix(deps): synchronize bundled tool dependencies (#2921)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- .github/scripts/upgrade-deps-utils.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":".github/scripts/upgrade-deps-utils.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"f24986db78a40c6e28e92ece80a948b25eb002feb39e493189f553d47a1dd459"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/vp_global_cli/src/upgrade_check.rs: crates/vp_global_cli/src/upgrade_check.rs changed 7 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 6 (its worst body is vp_global_cli::upgrade_check::run_background_check at line 231), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(deps): migrate node-semver crate to js-semver (#2835)\u201D; \u201Cfix(cli): handle Homebrew installs during first-run setup (#2729)\u201D; \u201Cfix(cli): honor NO_COLOR in Rust output (#2716)\u201D; \u201Cfix(cli): run upgrade checks in a separate process (#2380)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- crates/vp_global_cli/src/upgrade_check.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/vp_global_cli/src/upgrade_check.rs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"5297d6c1edeca86915a4aec5bfe7eec58e16bc0b22b346d452d1d46bad428011"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: packages/cli/binding/src/cli/resolver.rs: packages/cli/binding/src/cli/resolver.rs changed 7 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is SubcommandResolver::resolve at line 72), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(cli): set package-manager lifecycle env for vp run (#2895)\u201D; \u201Cfix(cli): use native config discovery for lint and fmt (#2807)\u201D; \u201Cfix(cli): reuse the current Node runtime for built-in tools (#2673)\u201D; \u201Cfix(cli): share Vite runtime through the core alias (#2617)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- packages/cli/binding/src/cli/resolver.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":"packages/cli/binding/src/cli/resolver.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cc034e9747a392e1230e36ffd1edbdb6abe591ad9ffdb69d78d6d1de70f48c1"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/vp_pm_cli/src/dispatch.rs: crates/vp_pm_cli/src/dispatch.rs changed 6 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 4 (its worst body is vp_pm_cli::dispatch::dispatch_with_manager at line 58), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(create): align package manager versions and pnpm workspace config (#3197)\u201D; \u201Cfix(pm): support authenticated private registries (#2624)\u201D; \u201Cfix(pm): default to pnpm when no package manager is detected (#2750)\u201D; \u201Cfix(pm): avoid implicit project writes (#2399)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- crates/vp_pm_cli/src/dispatch.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/vp_pm_cli/src/dispatch.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a778bf9e44bb1d43b75baee509464b270a1199719e7e6beb30f11d20fe93b81"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/vp_global_cli/src/commands/global/mod.rs: crates/vp_global_cli/src/commands/global/mod.rs changed 6 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is vp_global_cli::commands::global::latest_package_versions at line 83), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(progress): block keyboard input while a Rust spinner is visible (#3373)\u201D; \u201Cfix(global): prevent concurrent installs from deleting active packages (#3185)\u201D; \u201Cfix(deps): migrate node-semver crate to js-semver (#2835)\u201D; \u201Cfix(env): track injected tools across nested shim calls (#2631)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- crates/vp_global_cli/src/commands/global/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/vp_global_cli/src/commands/global/mod.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad7da1ff32b1aeb39eab2d7ede82d1cf6f825610650dc291e77f3672d2f0c46b"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: packages/cli/binding/src/cli/help.rs: packages/cli/binding/src/cli/help.rs changed 6 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 6 (its worst body is vite_plus_cli::cli::help::should_prepend_vitest_run at line 87), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(cli): forward Vitest doctor and complete subcommands (#2879)\u201D; \u201Cfix(cli): honor NO_COLOR in Rust output (#2716)\u201D; \u201Cfix(cli): improve workspace app target classification (#2530)\u201D; \u201Cfix(cli): guide local users to global-only commands (#2522)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- packages/cli/binding/src/cli/help.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":"packages/cli/binding/src/cli/help.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"b903f7fa080ea3bfb9993cdd7765b10411608d7f69eab3c1160bcebef97e1246"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/vp_global_cli/src/commands/env/package_manager.rs: crates/vp_global_cli/src/commands/env/package_manager.rs changed 5 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 4 (its worst body is vp_global_cli::commands::env::package_manager::resolve_shim_for at line 18), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(create): align package manager versions and pnpm workspace config (#3197)\u201D; \u201Cfix(pm): support authenticated private registries (#2624)\u201D; \u201Cfix(cli): default unpinned npm to Node\u0027s bundled version (#2742)\u201D; \u201Cfix(env): isolate direct shims from package manager selection (#2658)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- crates/vp_global_cli/src/commands/env/package_manager.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/vp_global_cli/src/commands/env/package_manager.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"db10636979495ee65cb7dafb886af598a1624ecb531af1848ffab7b519031952"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/vp_pm_cli/src/resolution/commands/list.rs: crates/vp_pm_cli/src/resolution/commands/list.rs changed 5 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is Npm::resolve_list at line 97), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(pm): reject unsupported flags for managed global commands (#3285)\u201D; \u201Cfix(pm): make dependency filters compatible with npm 6 (#3251)\u201D; \u201Cfix(pm): enforce package manager option compatibility (#3122)\u201D; \u201Cfix(pm): fail on unsupported package manager options (#2775)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- crates/vp_pm_cli/src/resolution/commands/list.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/vp_pm_cli/src/resolution/commands/list.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"82b9f7995a4375d7a0be0bbdc416bbde5048692b9d0782e3e174456473aeb7f2"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: packages/cli/src/migration/migrator/core-finalization.ts: packages/cli/src/migration/migrator/core-finalization.ts changed 5 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is core-finalization.finalizeCoreMigrationForExistingVitePlus at line 145), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(migrate): remove unused oxlint plugin dependencies on upgrades (#2751)\u201D; \u201Crevert(migrate): stop merging Oxc configs in existing projects (#2696)\u201D; \u201Cfix(migrate): finish leftover Oxc config migration (#2654)\u201D; \u201Cfix(migrate): integrate leftover tsdown config (#2646)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- packages/cli/src/migration/migrator/core-finalization.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":"packages/cli/src/migration/migrator/core-finalization.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"0732a24166106a00d493b587bdd3b29e2a0fdb09183ff6e19a0f09123ad0a762"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: packages/cli/binding/src/package_manager.rs: packages/cli/binding/src/package_manager.rs changed 4 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 6 (its worst body is vite_plus_cli::package_manager::download_package_manager at line 79), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(create): align package manager versions and pnpm workspace config (#3197)\u201D; \u201Cfix(cli): resolve npm registry and auth via shared Rust config loader (#3124)\u201D; \u201Cfix(cli): use the Rust workspace lookup for the monorepo root (#3101)\u201D; \u201Cfix(pm): support authenticated private registries (#2624)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- packages/cli/binding/src/package_manager.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":"packages/cli/binding/src/package_manager.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"02cdf12d390432e1c29a17167b5b77bcc18fc3c6b75f6551a37e0047a6fcdaa4"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: packages/cli/src/pack-bin.ts: packages/cli/src/pack-bin.ts changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is pack-bin.cli.command(\u0022[...files]\u0022,\u0022Bundle files\u0022).option(\u0022--config-loader \u003Cloader\u003E\u0022,\u0022Config loader to use: auto, native, tsx, unr at line 140), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(cli): reload pack config on Windows in watch mode (#2826)\u201D; \u201Cfix(cli): share Vite runtime through the core alias (#2617)\u201D; \u201Cfix(cli): make \u0060pack --no-config\u0060 skip Vite config loading (#2486)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- packages/cli/src/pack-bin.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":"packages/cli/src/pack-bin.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"f05b8f8242c69d5fc25a7b57f64f6ab06c998d12619e57016b281183304deff9"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/vp_shared/src/dirs.rs: crates/vp_shared/src/dirs.rs changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is vp_shared::dirs::shim_pointer_data at line 199), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(env): track injected tools across nested shim calls (#2631)\u201D; \u201Cfix(trampoline): reject unversioned shim pointers (#2526)\u201D; \u201Cfix(installer): enforce Windows setup requirements (#2505)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- crates/vp_shared/src/dirs.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/vp_shared/src/dirs.rs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f87bea3553df2f2667aa9daf16800708a8b69d42c9f191426bf0ef2cc28d04"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: packages/cli/src/utils/prompts.ts: packages/cli/src/utils/prompts.ts changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 12 (its worst body is prompts.runViteInstall at line 101), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(create): align package manager versions and pnpm workspace config (#3197)\u201D; \u201Cfix(create): run child commands without a global vp (#3181)\u201D; \u201Cfix(pm): support authenticated private registries (#2624)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- packages/cli/src/utils/prompts.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":"packages/cli/src/utils/prompts.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"9561d391a69710363f940eb74a34becd60a7ad90ff28fd039c634a64035c83bd"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/vp_global_cli/src/commands/env/lifecycle.rs: crates/vp_global_cli/src/commands/env/lifecycle.rs changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is vp_global_cli::commands::env::lifecycle::install at line 26), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(pm): verify and content-key managed package-manager installs (#3400)\u201D; \u201Cfix(pm): support authenticated private registries (#2624)\u201D; \u201Cfix(deps): migrate node-semver crate to js-semver (#2835)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- crates/vp_global_cli/src/commands/env/lifecycle.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/vp_global_cli/src/commands/env/lifecycle.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"139d30b39af50879e9d1d942b3fbb11ef4df0cd170adc51d13b027514a7cd3c9"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/vp_pm_cli/src/resolution/commands/audit.rs: crates/vp_pm_cli/src/resolution/commands/audit.rs changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 5 (its worst body is Yarn::resolve at line 65), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(pm): skip unavailable commands and reject unsupported options (#3286)\u201D; \u201Cfix(pm): make dependency filters compatible with npm 6 (#3251)\u201D; \u201Cfix(pm): fail on unsupported package manager options (#2775)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- crates/vp_pm_cli/src/resolution/commands/audit.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/vp_pm_cli/src/resolution/commands/audit.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"a751a1d365204fcce6fa60c86dfcce1bd3943bffe25cf76f53831cce11ba2ed4"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/vp_pm_cli/src/resolution/commands/unlink.rs: crates/vp_pm_cli/src/resolution/commands/unlink.rs changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is Yarn::resolve at line 46), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(pm): skip unavailable commands and reject unsupported options (#3286)\u201D; \u201Cfix(pm): enforce package manager option compatibility (#3122)\u201D; \u201Cfix(pm): fail on unsupported package manager options (#2775)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- crates/vp_pm_cli/src/resolution/commands/unlink.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/vp_pm_cli/src/resolution/commands/unlink.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aff663b00d3f8bdd5568b4b5eaba1176605fa2eaec8305c2741a4ddd75f71b3"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/vp_shared/src/progress.rs: crates/vp_shared/src/progress.rs changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is Progress::download at line 57), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(progress): hide cursor before starting redraws (#3417)\u201D; \u201Cfix(progress): block keyboard input while a Rust spinner is visible (#3373)\u201D; \u201Cci: use latest Vite\u002B for docs and fix flaky tests (#2855)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- crates/vp_shared/src/progress.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/vp_shared/src/progress.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"99c337c09c0ce0fcb4a9c5bda33a1e7c5b23ee5594046f34d84fe20e6c273b84"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/vp_pm_cli/src/resolution/commands/approve_builds.rs: crates/vp_pm_cli/src/resolution/commands/approve_builds.rs changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is Npm::resolve at line 102), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(pm): skip unavailable commands and reject unsupported options (#3286)\u201D; \u201Cfix(pm): correct Yarn Berry build script guidance (#2902)\u201D; \u201Cfix(pm): fail on unsupported package manager options (#2775)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- crates/vp_pm_cli/src/resolution/commands/approve_builds.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/vp_pm_cli/src/resolution/commands/approve_builds.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"08db9d56b1c5d2d30677a0b7188af2c95d66feb44b5179f42ecf54539e61c584"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/vp_pm_cli/src/resolution/commands/pack.rs: crates/vp_pm_cli/src/resolution/commands/pack.rs changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 4 (its worst body is Yarn::resolve_berry_pack at line 84), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(pm): skip unavailable commands and reject unsupported options (#3286)\u201D; \u201Cfix(pm): enforce package manager option compatibility (#3122)\u201D; \u201Cfix(pm): fail on unsupported package manager options (#2775)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- crates/vp_pm_cli/src/resolution/commands/pack.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/vp_pm_cli/src/resolution/commands/pack.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"6efa3afae61c2052ef383b2aeca2e8e5ff0fd7b8c92ed4c1bd9bc18d30348045"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/vp_global_cli/src/shim/exec.rs: crates/vp_global_cli/src/shim/exec.rs changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is vp_global_cli::shim::exec::sync_child_pwd at line 14), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(vpx): handle \u0060--experimental-config-file\u0060 and Windows Ctrl\u002BC (#3167)\u201D; \u201Cfix(shim): preserve Windows terminal after Ctrl\u002BC (#2890)\u201D; \u201Cfix(env): track injected tools across nested shim calls (#2631)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- crates/vp_global_cli/src/shim/exec.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/vp_global_cli/src/shim/exec.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"51505abcdb616cecb8cbe1403d8cde68b879d485f551ea0f18de3ac2e3c7d11f"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/vp_pm_cli/src/resolution/commands/publish.rs: crates/vp_pm_cli/src/resolution/commands/publish.rs changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 4 (its worst body is Npm::resolve at line 108), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(pm): enforce package manager option compatibility (#3122)\u201D; \u201Cfix(pm): prefer native pnpm and Yarn registry commands (#3044)\u201D; \u201Cfix(pm): fail on unsupported package manager options (#2775)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- crates/vp_pm_cli/src/resolution/commands/publish.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/vp_pm_cli/src/resolution/commands/publish.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a6b5cd4bbaaaa0162d18df8d0b6e5535ab45d8e8baf2315cab9109f58101683"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/vp_pm_cli/src/resolution/commands/why.rs: crates/vp_pm_cli/src/resolution/commands/why.rs changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 4 (its worst body is vp_pm_cli::resolution::commands::why::is_machine_readable_arg at line 75), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(pm): enforce package manager option compatibility (#3122)\u201D; \u201Cfix(pm): fail on unsupported package manager options (#2775)\u201D; \u201Cfix(pm): correct workspace-root handling for Yarn and Bun (#2713)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- crates/vp_pm_cli/src/resolution/commands/why.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/vp_pm_cli/src/resolution/commands/why.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"f059352293f132e507b30bb44d73aa35176659d5bf052b7c927d014adf98b395"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/vp_pm_cli/src/resolution/commands/whoami.rs: crates/vp_pm_cli/src/resolution/commands/whoami.rs changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 2 (its worst body is Pnpm::resolve at line 20), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(pm): prefer native pnpm and Yarn registry commands (#3044)\u201D; \u201Cfix(pm): fail on unsupported package manager options (#2775)\u201D; \u201Cfix(pm): disable npm update notifications (#2650)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 23:21:37 \u002B08:00\u0027 --until=\u00272026-11-14 23:21:37 \u002B08:00\u0027 --full-history --no-merges -- crates/vp_pm_cli/src/resolution/commands/whoami.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/vp_pm_cli/src/resolution/commands/whoami.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7e5d5b829f35e3235c274ebe8a93c95f8a1e44335ab9a9732bc4701ac0f0e63"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 12 significant file(s) lose their only recent owner: packages/cli/src/migration/vitest-v5/source.ts, packages/cli/src/migration/vitest-v5/scopes.ts, packages/cli/binding/src/cli/app_target.rs, packages/cli/src/migration/migrator/source-scan.ts, packages/cli/src/migration/vitest-v5/ast.ts, crates/vp_global_cli/src/homebrew.rs, packages/cli/binding/src/cli/handler.rs, packages/cli/src/migration/vitest-v5/commands.ts (\u002B4 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"511f0792714fadff908e42fb80e3e51f42d18b60fcb22772c4ee5f290d283dff"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 10 significant file(s) lose their only recent owner: crates/vp_pm_cli/src/resolution/commands/install.rs, crates/vp_pm_cli/src/resolution/commands/update.rs, crates/vp_pm_cli/src/resolution/commands/add.rs, crates/vp_pm_cli/src/resolution/commands/outdated.rs, crates/vp_pm_cli/src/resolution/commands/remove.rs, crates/vp_pm_cli/src/resolution/commands/config.rs, crates/vp_pm_cli/src/resolution/commands/dist_tag.rs, crates/vp_pm_cli/src/resolution/commands/patch_commit.rs (\u002B2 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"41039e96874ec3b2d59943b45fe8bb9d81824ffb1af7382d1e4081641022f513"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 1 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (24 single-owned of 309 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 309 of the 421 production source files in this repository met that bar). They are anonymized user #3 (2 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: packages/prompts/src/task-log.ts, packages/prompts/src/password.ts."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Switch to callback within core to avoid isCancel Fn \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/prompts/src/group.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"fafa6792c2e66942901cd1fdc55b2f0420c3093f10e03a3abc1558de8bf88a5f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (43081j): this currently doesn\u0027t support custom \u0060output\u0060 writable \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/prompts/src/stream.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5d9d4f5295c725d1d05c0c608d369d9f7636b9da3e98196c1688a0e87a3a9a2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO, analysis the optional peerDependencies in the dependencies tree to exclude them in the future \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/build-support/find-create-require.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"49586d4f5b9cc205ec47790e5375d81d9963816506c907555fbc7dcafe1f7982"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add more options as needed \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/templates/generator/src/template.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"b331b0e74d3d35bd17dba3393a92b113ba8d3d546aa235ed618b389cc0e77b3a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add more package.json fields \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/templates/generator/src/template.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6d85d98475b030a290dd253aeae7a60542d1f7c87e72aec9e879ead946db44e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add more files \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/templates/generator/src/template.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"2175f8f007ea8deb07ac0e41270bdf8fa4381c7b510b7ab5b50593a19987e220"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: provide envs inference API \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/resolve-doc.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"86c1e7c42e33ae0ad976ec44032998eb54bf2ab50ccb6621b10480d06466a72e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: provide envs inference API \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/resolve-fmt.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"00ab4d7c8bc07c756d571a4a37682fdb462e1cb86254c09183dc3f278bd7aa14"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: provide envs inference API \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/resolve-lint.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"0538ecb74c6d48f0d083d6852233c943affe3521a6780e0077b337b1b6495d58"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: move back to devDependencies once the bundle refactoring lands \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/utils/tsconfig.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"e26fcf92dcd7f28cdba52ee1dd23dbf3f71d2c9b5347e9235a38f414f1fb3e1e"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: yarn don\u0027t support catalog on resolutions \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/migrator/catalog.ts"},"region":{"startLine":1270}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c90b56db2a89a73adf8ab74daef239654c7ebe8dac1c3141a8dc1cd55b656a"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: ignore itself as dependency \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/create/bin.ts"},"region":{"startLine":1284}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd0088b1a292cc127c229cdeec6772b68ea1a7fade363a37d8d8d227e0901f7"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: should use \u0060vp add\u0060 command instead \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/create/bin.ts"},"region":{"startLine":1297}}}],"partialFingerprints":{"codehealthFindingId/v1":"327a621c82fe6b5d36c82fa2bb4339da6acab2674b763cac3ce407c6440d0f2c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: will use \u0060vp dlx\u0060 instead, see https://github.com/voidzero-dev/vite-task/issues/27"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/create/command.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a03b13e1db089ab9d06bdb30f5cf16ed1ff62d50401698f8499c2eee5dab304"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: prompt for project name if not provided for degit \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/create/templates/remote.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a9d490bca336427198150d2f02fe3972f1f4aa47a53c862384b1518a772eaf4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO: The hardcoded \u0060!dist/**\u0060 exclusion is a temporary workaround. It will be replaced \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/binding/src/cli/resolver.rs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"0831369782f6478caa17bd1bf87684cc1d6340316cf5a4dd8dc4232e1ad350b8"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_pm_cli/src/shim.rs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"6100757dee3951173efc32a944733cc9f7978e90dc3cb409f2d3c9b8bec9125d"}},{"ruleId":"D20","level":"note","message":{"text":"ADR has no Consequences section: rfcs/windows-installer.md has no Consequences section (a heading such as \u0060## Consequences\u0060, or the MADR equivalent). A decision record states the context that forced it, the decision and its consequences, so a reader can tell later whether it still holds."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rfcs/windows-installer.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"591b8ed3b11e6e29243d9d728d26265cad202d0e4d5298e1641060336cc2ca1b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Update CLI package.json\u0022 repeats the code it sits on: 4 of its 4 words (update, cli, package, json) are already in \u0060await updateCliPackageJson(cliPkgPath, generatedExports);\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":"packages/cli/build.ts"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b7a282f020491bbd21262262f59cb5093ab17809f747489f1f2853e887bed79"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check if template name is a GitHub URL\u0022 repeats the code it sits on: 5 of its 6 words (template, name, git, hub, url) are already in \u0060export function isGitHubUrl(templateName: string): boolean\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":"packages/cli/src/create/discovery.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"79ea3b49592be6f6497be6f7da67a2ae47ba51abec303e7463f4fe9f8782391f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Execute generator scaffold template\u0022 repeats the code it sits on: 4 of its 4 words (execute, generator, scaffold, template) are already in \u0060export async function executeGeneratorScaffold(\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":"packages/cli/src/create/templates/generator.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc3e682c61d910b9259a5c062da67aa2d752b6685e7211b66388ef7f07bd20bd"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022invalid package name\u0022 repeats the code it sits on: 3 of its 3 words (invalid, package, name) are already in \u0060const message = result.errors?.[0] ?? result.warnings?.[0] ?? \u0027Invalid package name\u0027;\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":"packages/cli/src/create/utils.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c801f3082aa66e93c7ea80be04fbd8577344bd49517e4c83dd727726ea7783a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Override jsPlugins.\u0022 repeats the code it sits on: 3 of its 3 words (override, js, plugins) are already in \u0060let overrideSurvivors: NonNullable\u003COxlintConfig[\u0027jsPlugins\u0027]\u003E = [];\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/migrator/eslint.ts"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6c39d55dad5b0ff1687ecfb14b1cf7bb3961bd3ed8316be7878291245f7ad6b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022merge oxfmt config into vite.config.ts\u0022 repeats the code it sits on: 4 of its 5 words (merge, oxfmt, config, vite) are already in \u0060mergeAndRemoveJsonConfig(projectPath, viteConfig, configs.oxfmtConfig, \u0027fmt\u0027, silent, report);\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":"packages/cli/src/migration/migrator/vite-config.ts"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbfc1af46d54146f8f63d05807612971f88378b401951405aaede8d5e0af3d99"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Discover all workspace packages\u0022 repeats the code it sits on: 3 of its 3 words (discover, workspace, packages) are already in \u0060export function discoverWorkspacePackages(\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":"packages/cli/src/utils/workspace.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"812ddee2a476576e6cf12a519422c1ea14ea902629c6a86e8cb1d395560da48d"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Update package.json with workspace dependencies\u0022 repeats the code it sits on: 4 of its 5 words (update, package, json, dependencies) are already in \u0060export function updatePackageJsonWithDeps(\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":"packages/cli/src/utils/workspace.ts"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"936688198e037616da4bdb2031031b3e4592f1e9ae11c1199fe51663cfb3bcd6"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Find all createRequire patterns and their require calls\u0022 repeats the code it sits on: 4 of its 5 words (find, create, require, calls) are already in \u0060const results = [findCreateRequireInStaticImports(ast), findCreateRequireInGlobalModule(ast)];\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":"packages/core/build-support/find-create-require.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"50c27c9ff4a7faad995abe1bc7eaa3c5b8bd855c270e012405acbd02458ee2a0"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Find the createRequire import entry\u0022 repeats the code it sits on: 5 of its 5 words (find, create, require, import, entry) are already in \u0060const createRequireEntry = importFromModule.entries.find((entry) =\u003E\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/build-support/find-create-require.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"81494e0e5d15ebba5ce41af3044cf5a8899490639618010ef1d48808645e2238"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check if the object is a getBuiltinModule(\u0022module\u0022) call\u0022 repeats the code it sits on: 6 of its 6 words (check, object, get, builtin, module, call) are already in \u0060if (!isGetBuiltinModuleCall(callee.object))\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":"packages/core/build-support/find-create-require.ts"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9104a653b1cffc11f93d44e620c1b435e38ef8b6875ed8ada004d240cf4c665"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Find string literals within this node\u0022 repeats the code it sits on: 4 of its 4 words (find, string, literals, node) are already in \u0060const stringNodes = findStringLiterals(match);\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":"packages/core/build-support/rewrite-module-specifiers.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"186315456bd6f249d033b1be91da33c89b389852431cef7213436a62bddf3302"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Merge minimumReleaseAgeExclude\u0022 repeats the code it sits on: 5 of its 5 words (merge, minimum, release, age, exclude) are already in \u0060result.minimumReleaseAgeExclude = mergeMinimumReleaseAgeExclude([\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":"packages/tools/src/sync-remote-deps.ts"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"851a08a827bab9a9a9817f4a10b3b0c14a810af042e9ab95d682c8879d4fecd5"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Set ignoreScripts\u0022 repeats the code it sits on: 3 of its 3 words (set, ignore, scripts) are already in \u0060result.ignoreScripts = true;\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":"packages/tools/src/sync-remote-deps.ts"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fd48a69398e3415306bcd1cdeec1dbb38938a2266df267110ba6eca162f8657"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 1 of 22 project(s) overshoot their size bounds, lowering Project Cohesion to 9.1/10. The most over is \u0060packages/cli\u0060 (38214 LoC, 198 module-visible types across 14 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":"6948b0aaa05d4d152058aa70916492014f5c10d9c05ff113c9975260727ae6de"},"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":"b185f769f62c6765635644dac6ba248c1a9c687ce4089c1a3952bae3207a2c88"},"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":"50b1a88d69a89b723d4196fc885cf3cfe91484300d567082bd8b99071d6c3bc2"},"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":"4f32e8f3fbf7570a6be9670d21e5c6b43cdac618ba5bf8a556a1c427f087797e"},"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":"e9b79a42c1353f66f0a4d39600ecafc51a05b89031e98896312f2acc981a4331"},"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":"ed20bf6038b725d1822cadb75c3bbb3353385d142f90c579e8eafaf2c6d5eb0e"},"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":"1d6bfa84f27111b096b516029e3a66e103fc999aa3a181bf03dbc8897282116d"},"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":"c59b625791a742beb2f8f67a47b60403ea5807c2b82f87c6899922e382b3a783"},"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":"05c82112b48f69898f52ceecf625de6c13864185e026837db2087f3c0eebab3a"},"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":"fd44c928a9e9dfe818949ce65b4a042bc21e3212988a0056a8da2b8a717e48ca"},"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":"8264b96bf71eb75a31d81dc36804b91e6b1eea9bbe029a8a2e4414457ea0eac8"},"taxa":[{"id":"CWE-94","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":"7cf8a78c4a993aecafcb4fe2b18ecb6ff3aced137586a07de2812771fcf18756"},"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":"85f99189d964cdde824a816d83f2290af0a3f7efe42feb1d6495743a90e33e22"},"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":"1498825690ee691422757d83c6c8726aaf69040fa62a3b6b71a03075f0880320"},"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":"37537b4ea55b9f0ab0869a11253a5f2a8aced5f16d478e2b8e395f22ef2ac070"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3a48b99874ca5a54642f344c4de1affdee7209a1f629b5eb2f7a8d2dec439f8d"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"12cd3fbbca954ecb8301107d63e62a3a99eef8e36f60490a1bd8c8f923f1f20f"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4f88d24ea09f367ce166810fb308b387464e3fedae8378276dc078b71a2766a4"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e62e3e70d364b3d8c32ca2947dc478dc1be38f78beb9d1f2418f8a3014eec515"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"e7e14886ac11c3e85546381b2295c2de61024aad5a9bb70b78f55b53946836ec"},"taxa":[{"id":"CWE-290","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0142364fbd22c05bbf9d1537323506a15dafc5d2dd3f6ce1a166b1f49a6286d5"},"properties":{"dependency":{"package":"fast-xml-parser","version":"5.3.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7d2f3140e3e381680c648b03a496abf502d9d7a4b332d22d212764f03f94de9d"},"properties":{"dependency":{"package":"lodash","version":"4.17.21","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":"1d85bf1431cf09b06be5028a412db12fa5464716b1ad5cd4ab1839f90964a048"},"properties":{"dependency":{"package":"lodash","version":"4.17.21","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":"4bb06c20440ce6730bd3203b79a91793ba374e4b60249de0f911494c0b7a31af"},"properties":{"dependency":{"package":"happy-dom","version":"20.0.10","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"85fe4c90c629c087da41d26f2b686efcc2e5a210d7f5e7ef803b0e4e2d09c164"},"properties":{"dependency":{"package":"basic-ftp","version":"5.3.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"df21b8127d24aeed9579f3ce44f2f84d2d4f9ae41d6b03d4309b75c4781747cc"},"properties":{"dependency":{"package":"brace-expansion","version":"1.1.12","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6fde06abe7dac0b6bc6951df4e58a3dd77b634a2402a8ce8ec6bcc39669c05de"},"properties":{"dependency":{"package":"brace-expansion","version":"2.0.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ae71d130f27ac79fa5eae7f537364509f3ce146425536d671dd5008627a4cd9e"},"properties":{"dependency":{"package":"deepmerge-ts","version":"7.1.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2293c5b7438af6e9b72fcd6de42f60336e9647543d0ec963a873c5fd77b6da43"},"properties":{"dependency":{"package":"extract-zip","version":"2.0.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0a0c650d6de0f98a1406fe5e38b03340f31c240361b33d484921a60f320d852c"},"properties":{"dependency":{"package":"follow-redirects","version":"1.16.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"691b7e2bf95c8af84df5ce832211dd11cd5da521b87c95df1fe446031c2b4fca"},"properties":{"dependency":{"package":"immutable","version":"5.1.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6d66865a895be83070d47ca5389552eea8c6cee10a32818c70a3443fc659d917"},"properties":{"dependency":{"package":"ip-address","version":"10.1.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"685cba4514570b53bf9bc85812fa54c07fec7b3f62fc67d4712c038e9ec2e605"},"properties":{"dependency":{"package":"js-yaml","version":"4.3.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ac7893c432641d49d7dba4e2926bb50b71a6e40b382cf80c51e186d0dd375f12"},"properties":{"dependency":{"package":"minimatch","version":"5.1.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"production","file":"packages/cli/src/migration/migrator/vite-config.ts","line":6}}}},{"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":"bab143b7faf5d9179bc1667cc66c76eef4c979dde225a529a514f5c092c9654e"},"properties":{"dependency":{"package":"minimatch","version":"9.0.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"production","file":"packages/cli/src/migration/migrator/vite-config.ts","line":6}}}},{"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":"98f5b7f1cc7ab72c7ef988be1ab835626c9ba93796c264fb44a05726fc7d8dd6"},"properties":{"dependency":{"package":"picomatch","version":"2.3.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"test-or-tooling","file":"packages/core/package.json"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dd34eacb0c18d53773193e480a666da8205f0d2d891cf46bb5553ea8c405d7fd"},"properties":{"dependency":{"package":"undici","version":"6.22.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b0cb4584393e45e39a98362d43030efebff35bb69bd8f85595afca2c040c115e"},"properties":{"dependency":{"package":"undici","version":"7.16.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cc4db900d7247116e90ac1f55322889d7c04a2f09430308fea72e799e9229468"},"properties":{"dependency":{"package":"crypto-bigint","version":"0.5.5","advisory":"RUSTSEC-2026-0387","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7b3f5e73f54279d8a385f3ccb6ce6659725cab3121019062bfd36c6500f66d85"},"properties":{"dependency":{"package":"libsqlite3-sys","version":"0.37.0","advisory":"RUSTSEC-2026-0459","aliases":["[CVE redacted]","[GHSA redacted]","RUSTSEC-2026-0502"],"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":"ac07f6d7edfd49261e66a0ecf670dc83aeb27f637d0eaec58b89ac41744f7835"},"properties":{"dependency":{"package":"rsa","version":"0.9.10","advisory":"RUSTSEC-2023-0071","aliases":["[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e9cf74773a6e34d2f2cd5f4cc024a1a57cb07e5917cf84c703df779cadb57013"},"properties":{"dependency":{"package":"rustix","version":"1.1.5","advisory":"RUSTSEC-2026-0486","aliases":["[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b717e9dd303f73b8b7ce5922ca68dede6a38dec9452f848a70f0889e9aafb7d7"},"properties":{"dependency":{"package":"@humanfs/node","version":"0.16.7","advisory":"[GHSA redacted]","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ea7e5354ab7cfc90dd177dde60810f39ea3e10b3fe5c807ca0b2b906b7004ac5"},"properties":{"dependency":{"package":"glob","version":"10.5.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4d3946b356f4dbe198e5d0c118bf0457e2d55e19062cdf7bdef1cdf875aa120e"},"properties":{"dependency":{"package":"glob","version":"13.0.7","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c3bac0b956cc7625db5ffaa04443fc36030c2af44043a6f2dfd365abaf694f40"},"properties":{"dependency":{"package":"minimatch","version":"10.2.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"production","file":"packages/cli/src/migration/migrator/vite-config.ts","line":6}}}},{"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":"3f6bb23071c440294f3d87dfa4e9ee37b146d57b5b27ed00ddba8ed121a9f485"},"properties":{"dependency":{"package":"moment","version":"2.30.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"932a3bfecc4fdb553659a83b676fe51d69a354f33acdb515911e099d90c2a373"},"properties":{"dependency":{"package":"postcss-selector-parser","version":"7.1.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"434a2ada5006a15d805952c5a6b9aa1627dfd116cb9daee3bb50e7d8619ed6bc"},"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":"456d2c3f511799653c765ed1632fec68481d07b1aa9db4d76a6f5dab8c714fd8"},"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":"16109452fc9244ec9a1364bb4ca23fb8c5693c4095002a3eb2deeffa5394ceeb"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"61d9c64c1de88e7edb9c757178d6ec3103868cef4ae7e825aeeac5d15e61fb7d"}},{"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":"D44","level":"warning","message":{"text":"End-of-life runtime: Node.js 20: crates/vp_cli_snapshots/tests/cli_snapshots/fixtures/shim_inherits_parent_engines_node/package.json declares Node.js 20 as this project\u0027s engines.node, and Node.js 20, support ended 2026-04-30. An unsupported runtime receives no security patches, so every vulnerability disclosed in it since 2026-04-30 is present and unfixable without moving off it. This is a migration rather than an upgrade: there is no newer release of a runtime that has ended."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/vp_cli_snapshots/tests/cli_snapshots/fixtures/shim_inherits_parent_engines_node/package.json"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba2fac88ecce9222fb97ec1899fb451aa389ee46ee33b9240eab4a62105362ec"}},{"ruleId":"P1","level":"warning","message":{"text":"CI formatting step cannot fail: \u0060# FIXME: skip format for now, will re-enable after prettier migration support\u0060 invokes prettier in the mode that REWRITES the files it reformats and exits 0 whatever it changed. The rewrite happens inside the runner\u0027s throwaway checkout and is then discarded, so the step passes on a badly-formatted change exactly as it passes on a clean one \u2014 it enforces nothing, and no other step in this file reads the result. \u0060--check\u0060 is the flag that turns the same invocation into a gate: it leaves the files alone and exits non-zero when anything would have been reformatted."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/reusable-ecosystem-ci.yml"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed4fd983aa6f3435e1b99778339883b4cfae6b5a4b7c686f3f9143c296a9e728"}},{"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 10/14 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060crates/vp_cli_snapshots\u0060, \u0060crates/vp_installer\u0060, \u0060crates/vp_trampoline\u0060, \u0060packages/cli/templates/generator\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"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":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060resolveProjectSetup\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":"packages/cli/src/create/bin.ts"},"region":{"startLine":781}}}],"partialFingerprints":{"codehealthFindingId/v1":"07c67bf1f53074e431c5c8e6c73bd0c72c6a1f2f781cab56d6257475caf1426a"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\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":"packages/cli/src/create/bin.ts"},"region":{"startLine":1186}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d97dc71f4a6eca6a7ac81d6bed0184a80e2fb78cce9c523ca3b1adbbbea3b74"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060installAndMigrate\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":"packages/cli/src/create/bin.ts"},"region":{"startLine":1214}}}],"partialFingerprints":{"codehealthFindingId/v1":"d95cb452adfb904b36bd1a9673552946f6fe807df1a06b1cd954b3768c354afb"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.writeFileSync\u0060 in \u0060installAndMigrate\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":"packages/cli/src/create/bin.ts"},"region":{"startLine":1215}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dfc7e79721bee6a2fbd6f186efb21d17e4135f89dbf082529095a0cf20d2044"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060extractTarballTo\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":"packages/cli/src/create/org-tarball.ts"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fdb59aa05b02090e145f475fa359f143a5754e85bd0ece466fc45bcd9302c89"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060ensureOrgPackageExtracted\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":"packages/cli/src/create/org-tarball.ts"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"12046a4264fec6d655ea6ae242ec45e3a1de951e112ed383c52c9a3bc126d620"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.lstatSync\u0060 in \u0060checkProjectDirExists\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":"packages/cli/src/create/prompts.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"76a16f026cb04d3daa828281f222dc3efdbba658ec7510b021cceac7de0804b1"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.chmodSync\u0060 in \u0060executeGeneratorScaffold\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":"packages/cli/src/create/templates/generator.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d0d1e4092e912a402f28ddd82a81572932dda9f260b3f7a5cfa3b96ac0debfd"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060executeMonorepoTemplate\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":"packages/cli/src/create/templates/monorepo.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e46e4fa7e36fbcb59c1c55932ef178c6dd198e0024a3a00aaaed37ae9d3e610"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.unlinkSync\u0060 in \u0060executeMonorepoTemplate\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":"packages/cli/src/create/templates/monorepo.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"59c6ac0b008410978ed016014abbe18de3effe401354f9694756352261a6e609"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060executeMonorepoTemplate\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":"packages/cli/src/create/templates/monorepo.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ea638ddb82bc52ad8f19919729d21e2133b81a30d954af5e3468b4ad2197143"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.unlinkSync\u0060 in \u0060executeMonorepoTemplate\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":"packages/cli/src/create/templates/monorepo.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"c86422f51b939649e16f3f36582cd3b3ca7d7ef3c7c3870f82ee120d83b8d869"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060executeMonorepoTemplate\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":"packages/cli/src/create/templates/monorepo.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff3205ce74d38e96f6f234bc9ca5e8063940398c674b20348427c4bb3ab9cd23"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.unlinkSync\u0060 in \u0060executeMonorepoTemplate\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":"packages/cli/src/create/templates/monorepo.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"332dc91073128964a8f5dbdfe3a2eaab6641a4d2399735f53a0f42603a4495f2"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060executeMonorepoTemplate\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":"packages/cli/src/create/templates/monorepo.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eaf2ad507098d448a6f167f36d7b4f664bf86adf3317c033267dc06d44afb04"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.unlinkSync\u0060 in \u0060executeMonorepoTemplate\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":"packages/cli/src/create/templates/monorepo.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"75b360142ce253bcfba753ef39369f46ee386b1d1b74338a394277001911fe46"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.rmSync\u0060 in \u0060applyToolInitConfigToViteConfig\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":"packages/cli/src/init-config.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"329869ef64e65b501ee00ab69945ea50c4e148af6d3bc015bd5377df92a293b6"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.writeFileSync\u0060 in \u0060applyToolInitConfigToViteConfig\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":"packages/cli/src/init-config.ts"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"804c13e247015d3570af70ed362e8eb00be31fc27410b546acb6179657a082bb"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.writeFileSync\u0060 in \u0060applyToolInitConfigToViteConfig\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":"packages/cli/src/init-config.ts"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"efaabf2a3bd6c1968c354cd986024450490568674ea81d18ae672919ac3122b0"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.rmSync\u0060 in \u0060applyToolInitConfigToViteConfig\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":"packages/cli/src/init-config.ts"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"529a7b5cfaac8c7f84771b2e16bd41b59ae27d916e9c07890ae213b1c484df56"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.rmSync\u0060 in \u0060applyToolInitConfigToViteConfig\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":"packages/cli/src/init-config.ts"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"a161acb17eea554c82d7191b8e9775ac369407d062d9fe1031bb23ae74e4de65"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.writeFileSync\u0060 in \u0060applyToolInitConfigToViteConfig\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":"packages/cli/src/init-config.ts"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc35e56a10b2ccdd7f05e2ac05d289d3868e16c78951b41669cc541cef3c5421"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.rmSync\u0060 in \u0060applyToolInitConfigToViteConfig\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":"packages/cli/src/init-config.ts"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"b06fe13030f3227e1fed36147105b62bfe8b49a8406b9f627083c5a338c53099"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060migrateEslintToOxlint\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":"packages/cli/src/migration/migrator/eslint.ts"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f53b30ca5bc3710ee2f3b00e7f213cafc46ff06257da7e311c639a2d3fe2fbb"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.writeFileSync\u0060 in \u0060migratePrettierToOxfmt\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":"packages/cli/src/migration/migrator/prettier.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"c89cde0aa49506388c129de80c104d23bf666b1c55d4bef92b85bf758177b1ff"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.unlinkSync\u0060 in \u0060migratePrettierToOxfmt\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":"packages/cli/src/migration/migrator/prettier.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"da1013cc03232c62ad70c3bf30d98a08f5c9452d2596d2d9241ce5f17cd8fc0e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060migratePrettierToOxfmt\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":"packages/cli/src/migration/migrator/prettier.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"bedb8c124f7358bbadc0ac2dcddfc716eea52f8781fd23ef932b8790270a15e3"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060migrateTsupToTsdown\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":"packages/cli/src/migration/migrator/tsup.ts"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"40a620e8b84ae01c484f3f1fa5f00f74e4b77f44ec9214d42998e471e8efba9d"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060collectToolchainVersionChanges\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":"packages/cli/src/migration/migrator/vite-plus-bootstrap.ts"},"region":{"startLine":1371}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ad1b0b09dbe404f24c972fc8c500304e192da09298e928fc866fa745a196cbd"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060vite\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":"packages/cli/src/resolve-vite.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"f32c49627e4095e5b54f011fd6191e8a54a8623a610a7710a9fcfaba6f68599d"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.lstatSync\u0060 in \u0060classifyExistingAgentTarget\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":"packages/cli/src/utils/agent.ts"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d2348af5f613b52e35a2c375acf410548894fdfba2913ff3f6e60f879d6521c"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060detectAgentConflicts\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":"packages/cli/src/utils/agent.ts"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fe959a3a41db3d185bb31a544f5acfb11f41ac6425962a0d72dd5f4d0881590"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060detectAgentConflicts\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":"packages/cli/src/utils/agent.ts"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff67b321d3c447d108d373e00c60a137d1e3461828446ce636b30a7296f76e18"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060writeAgentInstructions\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":"packages/cli/src/utils/agent.ts"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"49180c27183c11b6876522430a39774abc6e50e245a194de412a594294156fe0"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060writeAgentInstructions\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":"packages/cli/src/utils/agent.ts"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"62431bb541891a3db29235242e15debb177913f65364ae2578d55abf7f0a2d5a"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060writeCopilotSetupWorkflow\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":"packages/cli/src/utils/agent.ts"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"766300a232b6ceddb2ad75799b5ee20c253d2545015164b1ef75e7a37e42774e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060getExistingPathKind\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":"packages/cli/src/utils/agent.ts"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"8efa94615df37fbd38461e45cd59cc449b9183508237281939dff33e063607a4"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060writeEditorConfig\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":"packages/cli/src/utils/editor.ts"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a81fe8dfae821c29047941a43bfb672e62ba07074b96967151ff34d489b60a1"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060detectWorkspace\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":"packages/cli/src/utils/workspace.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe287afb0a22337ee66c48fee5b763d71d3075dea361ea8968e8fb6e7e8b6af5"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060detectWorkspace\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":"packages/cli/src/utils/workspace.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"375c34c04f6d4d68c91b3f360169e8279c924575c60dc14788e43f8504e9fc87"}},{"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":"packages/tools/src/core-version.ts"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"b84f87a8dc4b0f6b3791efa4b4edc1f774eaf8a840217e61513f30755bbaad5c"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060callback to candidates.find\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":"packages/tools/src/local-npm-registry.ts"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"83ee71d11766649b9cbfe435eeefdb97b0d1e5c301bd6605d0d1b4307f9084ef"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060packLocalVitePlusPackages\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":"packages/tools/src/pack-local-vite-plus.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"54fd6388e67841f0582fb5e3737b9dab3ca02cb86bd6bbda6bc94de54f2f8e52"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readdirSync\u0060 in \u0060packLocalVitePlusPackages\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":"packages/tools/src/pack-local-vite-plus.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"e12418fa7d37f8624ff375745da21c238daa7ad311e18a60b0fc938b02e34b61"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readdirSync\u0060 in \u0060packLocalVitePlusPackages\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":"packages/tools/src/pack-local-vite-plus.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d355b75f1ed12c0b9019a5839e3f707721ab5ac4ef707f5fb872d842f737a16"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060gunzipSync\u0060 in \u0060res.on(\u0022end\u0022)\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":"packages/tools/src/registry-cache.ts"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"46e441eaf746a0c610e50bab933e3a0880b521e1bd3944b746701c4001cee9b6"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060brotliDecompressSync\u0060 in \u0060res.on(\u0022end\u0022)\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":"packages/tools/src/registry-cache.ts"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0b1bc8534987f02118bb43da5f9110280c36a1ba40a4ce35078d9697666848e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060inflateSync\u0060 in \u0060res.on(\u0022end\u0022)\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":"packages/tools/src/registry-cache.ts"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"59a8ab5fe5d0aa7df74fa6c7afb940cb0e9a18f0d6c70d2fb86ab2e9b16e9ad8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (101 matched lines \u00D7 2 locations): packages/cli/src/migration/migrator/prettier.ts:184 \u00B7 packages/cli/src/migration/migrator/tsup.ts:569 \u2014 the two spans are one implementation copied and then locally edited \u2014 509 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":"packages/cli/src/migration/migrator/prettier.ts"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"2215bdac8b63b2434b2ae9e768e7c20f1e811828ae4a02937849d290818be434"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (47 matched lines \u00D7 2 locations): packages/cli/src/migration/migrator/catalog.ts:1254 \u00B7 packages/cli/src/migration/migrator/orchestrators.ts:163 \u2014 the two spans are one implementation copied and then locally edited \u2014 290 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":"packages/cli/src/migration/migrator/catalog.ts"},"region":{"startLine":1254}}}],"partialFingerprints":{"codehealthFindingId/v1":"d36f98122db078f671bd6b7606a411f01011e266b7587e924761dc321a0b94c2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2 locations): packages/cli/src/migration/detector.ts:166 \u00B7 packages/cli/src/migration/detector.ts:234 \u2014 both copies are in the same file, so extract the block 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":"packages/cli/src/migration/detector.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"348ab8b7a3240c0c8bbd2bfe475456930555e8c0b8dec27a54d2a9071e471dee"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (39 matched lines \u00D7 2 locations): packages/prompts/src/group-multi-select.ts:126 \u00B7 packages/prompts/src/multi-select.ts:112 \u2014 the two spans are one implementation copied and then locally edited \u2014 262 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":"packages/prompts/src/group-multi-select.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"81300a49d533ab7d17fcb3b51a3e12961fde03463e4d3adac27b6c4f76776363"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (34 matched lines \u00D7 2 locations): packages/prompts/src/autocomplete.ts:171 \u00B7 packages/prompts/src/autocomplete.ts:392 \u2014 the two spans are one implementation copied and then locally edited \u2014 205 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":"packages/prompts/src/autocomplete.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"6372bf8de8ea4eb3a8fb9815298f1b444a46433970c2f46df393f5a89572436a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (34 matched lines \u00D7 2 locations): packages/prompts/src/confirm.ts:16 \u00B7 packages/prompts/src/text.ts:15 \u2014 the two spans are one implementation copied and then locally edited \u2014 265 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":"packages/prompts/src/confirm.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"30d6c9a9340345b2084cac76bd41c40630655116c99774a18a91060edb6a898c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2 locations): packages/cli/src/migration/migrator/package-json.ts:246 \u00B7 packages/cli/src/migration/migrator/vite-plus-bootstrap.ts:364 \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":"packages/cli/src/migration/migrator/package-json.ts"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"b69d790ca8ed2eae0d3b399571e464102f99ff8b11c58f0e478984428b67ecda"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2 locations): packages/cli/src/migration/migrator/eslint.ts:94 \u00B7 packages/cli/src/migration/migrator/prettier.ts:23 \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":"packages/cli/src/migration/migrator/eslint.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"569dd5981ecc8d246a71cc822ec98a1fc2e4c422d0bba0116cb44ddd9d0269d9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2 locations): packages/cli/src/migration/migrator/oxnode.ts:170 \u00B7 packages/cli/src/migration/migrator/ts-node.ts:189 \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":"packages/cli/src/migration/migrator/oxnode.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"a80a034331bed7dd1aecccc787defddc4de5dea8f38405d0eb11ce245e40eb99"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): packages/cli/src/migration/bin.ts:757 \u00B7 packages/cli/src/migration/bin.ts:1116 \u2014 both copies are in the same file, so extract the block 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":"packages/cli/src/migration/bin.ts"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"2914faab58d6634ae7b3b24cc5abfc2778c49aa0c0e5e1a2243ac059404a66dd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3 locations): packages/cli/src/create/bin.ts:801 \u00B7 packages/cli/src/migration/bin.ts:760 \u00B7 packages/cli/src/migration/bin.ts:1121 \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":"packages/cli/src/create/bin.ts"},"region":{"startLine":801}}}],"partialFingerprints":{"codehealthFindingId/v1":"8160f236f506b1c147c59d162b41444c45fad019c6eaedfae55fc41a19b7a899"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (20 matched lines \u00D7 2 locations): packages/cli/src/migration/migrator/vite-config.ts:163 \u00B7 packages/cli/src/migration/migrator/vite-config.ts:817 \u2014 the two spans are one implementation copied and then locally edited \u2014 93 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":"packages/cli/src/migration/migrator/vite-config.ts"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"6489f5d2f57a3dfd7cb473e6acee811dfacec243b0e3cc931b89dc9e84ca6c23"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): packages/cli/src/migration/migrator/eslint.ts:480 \u00B7 packages/cli/src/migration/migrator/prettier.ts:255 \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":"packages/cli/src/migration/migrator/eslint.ts"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"8658b15e604c5c0b5731bc54c62065679060adafcd3e07c7cad031b70adae65e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (19 matched lines \u00D7 2 locations): packages/cli/src/utils/agent.ts:371 \u00B7 packages/cli/src/utils/agent.ts:431 \u2014 the two spans are one implementation copied and then locally edited \u2014 92 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":"packages/cli/src/utils/agent.ts"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"21d3f967953ebafff8d4dd6e73a95a6b7f1074754963d31a72ba0297e0ea1e7c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): packages/cli/src/create/templates/monorepo.ts:103 \u00B7 packages/cli/src/create/templates/monorepo.ts:138 \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":"packages/cli/src/create/templates/monorepo.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"76c7cf275ed5cd06b97bd9f0c6156de7a04186404e874bd41c0af46d6e02f4d9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (18 matched lines \u00D7 2 locations): packages/cli/src/utils/editor.ts:180 \u00B7 packages/cli/src/utils/editor.ts:234 \u2014 the two spans are one implementation copied and then locally edited \u2014 90 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":"packages/cli/src/utils/editor.ts"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0409d410508c174882dc85e9dc16bca0c3c083ac62f7fb5cb795ddd03b24f51"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): packages/cli/src/migration/migrator/orchestrators.ts:631 \u00B7 packages/cli/src/migration/migrator/vite-plus-bootstrap.ts:1173 \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":"packages/cli/src/migration/migrator/orchestrators.ts"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9ede8400d1132757c71f81e69aa514e345489a3136a9fe7113fc3dc64277dae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): packages/prompts/src/common.ts:114 \u00B7 packages/prompts/src/common.ts:132 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/prompts/src/common.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccb4819147f4dfc281a942badb96059ccd08141561eed877be9eae630e9b9484"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (16 matched lines \u00D7 2 locations): packages/cli/src/migration/migrator/source-scan.ts:214 \u00B7 packages/cli/src/migration/migrator/source-scan.ts:281 \u2014 the two spans are one implementation copied and then locally edited \u2014 113 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":"packages/cli/src/migration/migrator/source-scan.ts"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"8745bb758298ba18a6441927f60e8edc3413517b9ec0a5380777bebdccbc16f6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): packages/cli/src/init-config.ts:236 \u00B7 packages/cli/src/init-config.ts:265 \u2014 the two spans are one implementation copied and then locally edited \u2014 81 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":"packages/cli/src/init-config.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2be2ddbbfe083c19b58de79e083ec6bede3b824b29cc87fd78678c025c6afc4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): packages/tools/src/registry-cache.ts:139 \u00B7 packages/tools/src/registry-cache.ts:168 \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":"packages/tools/src/registry-cache.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"2393606fc05b9041b3b6264d6c36021e68f3780d2052abdb87006e8c037f8c68"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/cli/build.ts:1309 \u00B7 packages/cli/build.ts:1343 \u2014 both copies are in the same file, so extract the block 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":"packages/cli/build.ts"},"region":{"startLine":1309}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1a2ed118e9c3ee9b4604623e526ca95b3c736947b088fcd0aa5ea06e6790010"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): packages/cli/src/migration/migrator/tsconfig.ts:13 \u00B7 packages/cli/src/migration/migrator/tsconfig.ts:38 \u2014 the two spans are one implementation copied and then locally edited \u2014 64 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":"packages/cli/src/migration/migrator/tsconfig.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"45d15513cddb9ba5a0da8a2e380f0749cbfd34beb537a33e4f349aa7bb8481b9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/cli/src/migration/migrator/tsup.ts:435 \u00B7 packages/cli/src/migration/migrator/tsup.ts:449 \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":"packages/cli/src/migration/migrator/tsup.ts"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"31b26de1792ab625b83dd1724174f3dd210f4f3330180970320a6c11a7477d6f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/prompts/src/select-key.ts:56 \u00B7 packages/prompts/src/select.ts:135 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/prompts/src/select-key.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"348c389061b4a58a89471e13a44e07c336903d3b72ef2577575e916f0a60e338"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): ecosystem-ci/patch-project.ts:168 \u00B7 ecosystem-ci/patch-project.ts:197 \u2014 both copies are in the same file, so extract the block 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":"ecosystem-ci/patch-project.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"d73ced8e75273324d3a40d59f786286de5d355e821a6e3a7a0be55bd0a799174"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/cli/build.ts:1401 \u00B7 packages/core/build.ts:794 \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":"packages/cli/build.ts"},"region":{"startLine":1401}}}],"partialFingerprints":{"codehealthFindingId/v1":"3275c0d32b11bffe157466194958785accc0c420914ddaa6b63929f606dc001d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): packages/cli/src/define-config.ts:959 \u00B7 packages/cli/src/define-config.ts:991 \u2014 the two spans are one implementation copied and then locally edited \u2014 58 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/define-config.ts"},"region":{"startLine":959}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b2658cd95b5b1e1fa468d915719ca83ee2c41bd91d3ac35079caf77cf0d2c8d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/core/build-support/find-create-require.ts:102 \u00B7 packages/core/build-support/find-create-require.ts:144 \u2014 both copies are in the same file, so extract the block 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":"packages/core/build-support/find-create-require.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"78b8e62a0ee9f441fe41906e06146dfb000d6740604cbd765e899d1de778bfa1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/cli/src/create/templates/builtin.ts:41 \u00B7 packages/cli/src/create/templates/builtin.ts:70 \u2014 both copies are in the same file, so extract the block 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":"packages/cli/src/create/templates/builtin.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"9298c559393e4567c013a41baae25576e3d3259e3c165e7522b7591a568130f7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/cli/src/migration/vitest-v5/config.ts:550 \u00B7 packages/cli/src/migration/vitest-v5/config.ts:563 \u2014 both copies are in the same file, so extract the block 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":"packages/cli/src/migration/vitest-v5/config.ts"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"20877825c124601145dbb16214335590c0696ad4db1d5616d8bc78d588ed2e78"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/cli/src/utils/tsconfig.ts:199 \u00B7 packages/cli/src/utils/tsconfig.ts:220 \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":"packages/cli/src/utils/tsconfig.ts"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbc1b920df930f3af247c6c0b6bc5e5b1157a8346be31c4edcfdeb504c233b20"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): packages/cli/src/migration/migrator/catalog.ts:739 \u00B7 packages/cli/src/migration/migrator/catalog.ts:750 \u00B7 packages/cli/src/migration/migrator/catalog.ts:1374 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/migrator/catalog.ts"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8c00cbc4e8538df72e329c1b9c0a5ec746a9214cd5a0078c1d43734208f89ed"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): packages/cli/src/migration/migrator/eslint.ts:351 \u00B7 packages/cli/src/migration/migrator/prettier.ts:191 \u00B7 packages/cli/src/migration/migrator/prettier.ts:208 \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":"packages/cli/src/migration/migrator/eslint.ts"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"46620dfaa8980a8072a90eed750f041c205e700b87d024a47431fbc87f087a40"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/cli/src/migration/setup-plan.ts:104 \u00B7 packages/cli/src/migration/setup-plan.ts:153 \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":"packages/cli/src/migration/setup-plan.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9643de45d798571ef9ecbbdc2ef8470fd24fb95361fe4f2bcc64c9b19fe88e2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): packages/cli/src/script-hooks.ts:70 \u00B7 packages/cli/src/script-hooks.ts:94 \u2014 the two spans are one implementation copied and then locally edited \u2014 60 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":"packages/cli/src/script-hooks.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"13fcbe3c452931a4606706a6a8ac0401744cc93eab96ac8a33c284f0bdd704f4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/tools/src/sync-remote-deps.ts:252 \u00B7 packages/tools/src/sync-remote-deps.ts:334 \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":"packages/tools/src/sync-remote-deps.ts"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"23f2200dfc7a0b98e03629f067998462df825005290b3f4cff4d627441a2f64f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): packages/cli/src/migration/bin.ts:590 \u00B7 packages/cli/src/migration/bin.ts:600 \u00B7 packages/cli/src/migration/bin.ts:625 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/bin.ts"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"190904618630e2354324cccad34e222bf454666ffcea140880c7cc52fed54088"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): packages/cli/src/migration/migrator/package-json.ts:95 \u00B7 packages/cli/src/migration/migrator/vitest-ecosystem.ts:735 \u2014 the two spans are one implementation copied and then locally edited \u2014 71 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":"packages/cli/src/migration/migrator/package-json.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"11723d622f6b360e0c526bcd41bc0c7437b88dfee569d8c99c85f3f8827b32f2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): packages/cli/src/migration/migrator/prettier.ts:69 \u00B7 packages/cli/src/utils/git.ts:26 \u2014 the two spans are one implementation copied and then locally edited \u2014 55 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":"packages/cli/src/migration/migrator/prettier.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"0360ec3d514ce7677c111309fe169e8ebb3443817d35d501e69f7d57e6dce160"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): packages/cli/src/migration/vitest-v5/ast.ts:207 \u00B7 packages/cli/src/migration/vitest-v5/source.ts:197 \u2014 the two spans are one implementation copied and then locally edited \u2014 75 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":"packages/cli/src/migration/vitest-v5/ast.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"15ab153fca36eb09c9954fbedf661ea5e7555721ec90830c51c6ca54d6a15323"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/cli/src/utils/approve-builds.ts:436 \u00B7 packages/cli/src/utils/approve-builds.ts:468 \u2014 both copies are in the same file, so extract the block 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":"packages/cli/src/utils/approve-builds.ts"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"cab5d12c8104a7ed701fbace3d29b3ee7735b7447bc66150c682e8fd83751485"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5 locations): packages/prompts/src/autocomplete.ts:120 \u00B7 packages/prompts/src/autocomplete.ts:338 \u00B7 packages/prompts/src/select-key.ts:56 \u00B7 packages/prompts/src/select.ts:135 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/prompts/src/autocomplete.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"27a43f711483e244f6570e5780d26f7b27c74451d1b87d96eecd9f5333e22aca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/prompts/src/common.ts:18 \u00B7 packages/prompts/src/common.ts:50 \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":"packages/prompts/src/common.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"4310bb5a1c18f02dd177a8f7c0910b154ca6d8237273778ec5d94cf470791833"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/prompts/src/multi-select.ts:34 \u00B7 packages/prompts/src/select.ts:88 \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":"packages/prompts/src/multi-select.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"6883a73249019e345acc4e248d78bc7a00c9a158f620b74917aac453554f02ac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/prompts/src/multi-select.ts:191 \u00B7 packages/prompts/src/multi-select.ts:206 \u2014 both copies are in the same file, so extract the block 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":"packages/prompts/src/multi-select.ts"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"af3bb3cf55bc83c732bca7d9f2707241a1d2b820832712796b604ca4add59326"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): packages/prompts/src/password.ts:58 \u00B7 packages/prompts/src/select-key.ts:77 \u2014 the two spans are one implementation copied and then locally edited \u2014 72 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":"packages/prompts/src/password.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"db4cc2a33c3d5d5a4413d57e3bac08e23aa9f9b12026bc225ecafd7437c90c79"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/cli/src/create/templates/monorepo.ts:63 \u00B7 packages/cli/src/create/templates/monorepo.ts:73 \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":"packages/cli/src/create/templates/monorepo.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ad0a05f0b0e05dd0234ac6bbf2b3bd0cfb6563bec9f7f670e4ab6788135941a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/cli/src/migration/migrator/source-scan.ts:31 \u00B7 packages/cli/src/migration/migrator/yarn.ts:78 \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":"packages/cli/src/migration/migrator/source-scan.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a254e5a1d9e49269e1482ab42e12fa6ca3298b7bba7affdda56198888c9eebc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/cli/src/migration/migrator/source-scan.ts:413 \u00B7 packages/cli/src/migration/migrator/vitest-ecosystem.ts:423 \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":"packages/cli/src/migration/migrator/source-scan.ts"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"827873b066e1b2b383878d485fb07f3f34d6b0d1fe11ccff8e6cb78335a4ffd9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/cli/src/migration/migrator/tsup.ts:143 \u00B7 packages/cli/src/migration/migrator/tsup.ts:228 \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":"packages/cli/src/migration/migrator/tsup.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"31bad03b22027176532a3b5c0f493707b558f71ce25ad7341d0ec4606ab84ebf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/cli/src/migration/migrator/vite-plus-bootstrap.ts:507 \u00B7 packages/cli/src/migration/migrator/vitest-ecosystem.ts:795 \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":"packages/cli/src/migration/migrator/vite-plus-bootstrap.ts"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d2266c1faadec12c2db0d3db71c94a418218b02f505556c2fd80bd4035484e1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/cli/src/utils/preview-registry.ts:110 \u00B7 packages/cli/src/utils/preview-registry.ts:140 \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":"packages/cli/src/utils/preview-registry.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"23bba2daa3fa4521977e3c77536b2e273ff4918d62857e121045c7b0395f4992"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/tools/src/local-npm-registry.ts:94 \u00B7 packages/tools/src/local-npm-registry.ts:103 \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":"packages/tools/src/local-npm-registry.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f44384b78d6b97915d1b85d51013739fb3cc2d0f3506c3a9f3eb172f1de9fc8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): ecosystem-ci/patch-project.ts:119 \u00B7 ecosystem-ci/patch-project.ts:177 \u00B7 ecosystem-ci/patch-project.ts:206 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecosystem-ci/patch-project.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"50a72f31d45cfd27a3634329c8a85ebf4cfe8cad681483df7b1850ef5264ce1c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): packages/cli/generate-install-lockfile.ts:119 \u00B7 packages/tools/src/record-snapshot-registry.ts:66 \u2014 the two spans are one implementation copied and then locally edited \u2014 61 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":"packages/cli/generate-install-lockfile.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbdc47117a50cd42835ac3f5b1db0d84223c7c42cb6221ffc5b9c4627295e3c7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/cli/src/config/hooks.ts:118 \u00B7 packages/cli/src/config/hooks.ts:368 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/config/hooks.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"6efe3635d895c78c50e364f851579b6728a8564546d91679b338d5f1422f4673"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/cli/src/config/hooks.ts:157 \u00B7 packages/cli/src/config/hooks.ts:171 \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":"packages/cli/src/config/hooks.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"8198de1344f8d83586056d4bbfc049654eef1ab7ea7396ea375bcf26f6fad8b3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/cli/src/migration/migrator/eslint.ts:510 \u00B7 packages/cli/src/migration/migrator/vite-config.ts:103 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/migrator/eslint.ts"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"81a06d347df22cffaa28350f76f144bcd50cf386148364c25698352dd3432c57"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): packages/cli/src/migration/migrator/git-hooks.ts:184 \u00B7 packages/cli/src/migration/vitest-v5/commands.ts:11 \u2014 the two spans are one implementation copied and then locally edited \u2014 70 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":"packages/cli/src/migration/migrator/git-hooks.ts"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e427b97fc2c9d5ce1f321831df161301c60eea0f8ed1268b9a81896fc106358"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): packages/cli/src/migration/migrator/tsx.ts:296 \u00B7 packages/cli/src/migration/migrator/tsx.ts:323 \u2014 the two spans are one implementation copied and then locally edited \u2014 55 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":"packages/cli/src/migration/migrator/tsx.ts"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae746dc85b2b5bf7cbcf0e7ab73e7471dc1707a38e4c87a59712926e6b83cee0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/cli/src/migration/migrator/vitest-ecosystem.ts:73 \u00B7 packages/cli/src/migration/vitest-v5/scopes.ts:243 \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":"packages/cli/src/migration/migrator/vitest-ecosystem.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"d67b204846a9ab3f1d2096f5c6233b49114a8ebe350de9ffabdda96912971daa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/cli/src/migration/migrator/vitest-v5.ts:114 \u00B7 packages/cli/src/utils/legacy-vitest-alias.ts:16 \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":"packages/cli/src/migration/migrator/vitest-v5.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"caf17f790e75d61d2be52095105ac278d539790e43e9877a0cd27e79bcce1115"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/core/build-support/find-create-require.ts:185 \u00B7 packages/core/build-support/find-create-require.ts:269 \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":"packages/core/build-support/find-create-require.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"2524d5cb16ae4282193641896d77b1e7e448bb2256602517e489dc977d0d78b3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/prompts/src/select.ts:147 \u00B7 packages/prompts/src/select.ts:156 \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":"packages/prompts/src/select.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"e560a33876bdbdd57a7cef487d7638d8cd1e4f3e01aac018df2814d8ca8676b2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): packages/tools/src/sync-remote-deps.ts:372 \u00B7 packages/tools/src/sync-remote-deps.ts:382 \u00B7 packages/tools/src/sync-remote-deps.ts:392 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/tools/src/sync-remote-deps.ts"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c1c795b56c6934fc5bd397ad3c1d7cbefaa4d77ede8a0b8cf870725e2a6235a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): packages/cli/build.ts:1244 \u00B7 packages/cli/build.ts:1314 \u00B7 packages/cli/build.ts:1350 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/build.ts"},"region":{"startLine":1244}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dd80473a99c79f8f63632c9683a1e72e2208f0e804f99d3a199e502d0425943"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/cli/src/create/discovery.ts:262 \u00B7 packages/cli/src/create/org-manifest.ts:72 \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":"packages/cli/src/create/discovery.ts"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"47f54f9a071a325bf7aa9a46c663029a7428162415ea84da0aff6c21f3796fc6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/cli/src/migration/migrator/eslint.ts:584 \u00B7 packages/cli/src/migration/migrator/eslint.ts:1027 \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":"packages/cli/src/migration/migrator/eslint.ts"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b4fd4305cb474f46e2b837e3b9fe9ea142d6701d53871cee87d4a2fe16a4942"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/cli/src/migration/migrator/core-finalization.ts:101 \u00B7 packages/cli/src/migration/migrator/git-hooks.ts:57 \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":"packages/cli/src/migration/migrator/core-finalization.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"7298b82e105e16ef2139cc90dd6577a0b6dca605350d4e2b608ff0d1ab97fc91"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): packages/cli/src/migration/migrator/shared.ts:455 \u00B7 packages/cli/src/migration/migrator/source-scan.ts:447 \u2014 the two spans are one implementation copied and then locally edited \u2014 65 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":"packages/cli/src/migration/migrator/shared.ts"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"624c61baf84785227c133f0d6cc275250903c7e4b8fff3671d0e738a3b96b5eb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/cli/src/migration/migrator/oxnode.ts:63 \u00B7 packages/cli/src/migration/migrator/oxnode.ts:135 \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":"packages/cli/src/migration/migrator/oxnode.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"48f530e76797e2c67875538332c35d3e8b8beabbef9b23f34982168a4679f5b5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/cli/src/migration/migrator/script-runner.ts:498 \u00B7 packages/cli/src/vpx-script.ts:137 \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":"packages/cli/src/migration/migrator/script-runner.ts"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"336baf103da1984446c73ac5bbb0b88e5d14b38910f5ecaff00f5cb2557dd84f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/cli/src/migration/migrator/vitest-v5.ts:939 \u00B7 packages/cli/src/migration/migrator/vitest-v5.ts:961 \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":"packages/cli/src/migration/migrator/vitest-v5.ts"},"region":{"startLine":939}}}],"partialFingerprints":{"codehealthFindingId/v1":"a27dc62773620e0639801bb45b3a8fd57e34eb1ae13795e6df2c41c3bdf4a57a"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: ecosystem-ci/patch-project.ts:6 reaches into another package with a relative path (../packages/cli/src/utils/constants.ts) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecosystem-ci/patch-project.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f5da46081137fa5614a98469e46f783ac9e02878071addc6694644e6dd11094"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: ecosystem-ci/patch-project.ts:10 reaches into another package with a relative path (../packages/core/package.json) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecosystem-ci/patch-project.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"a051a14d92df24458e15fb2f8dc646d958fadd27f56b1e1e55ddfcb8d61a3e9c"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/cli/build.ts:33 reaches into another package with a relative path (../core/package.json) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/build.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"d67e3f114dcd133f572b253b017110b551050eb2175f5ec94f44b263c6ad7e45"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: packages/cli/src/create/bin.ts:5 imports packages/prompts/src/index.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/create/bin.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eb6b0e7079b5abb4e2fdc2cdd704a20b3de0c3e52cf29ea73084495858bef04"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: packages/cli/src/create/org-picker.ts:3 imports packages/prompts/src/index.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/create/org-picker.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"7da2d00a849aa8e6a0169f83191ce233dcd818b33ff1780a1fe3c06b4490f1e6"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: packages/cli/src/create/org-resolve.ts:1 imports packages/prompts/src/index.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/create/org-resolve.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"840563326bbfec699e3dc5a0c1a8131801db58ebf79f27bd9502869886b46195"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: packages/cli/src/create/prompts.ts:4 imports packages/prompts/src/index.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/create/prompts.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"52082b5c2fc6914e9bbfb42c49edc605a3f11eb09a63827f5d11257a4e695e89"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: packages/cli/src/create/register-template.ts:6 imports packages/prompts/src/index.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/create/register-template.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"23e97e83468b63d6832e401a13aa1768d1603ba81216b013018534aee38be2c2"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: packages/cli/src/create/templates/builtin.ts:4 imports packages/prompts/src/index.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/create/templates/builtin.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb37d367cad0ece024a3cbfaad151f27a2e9aeb7028a180d712335ce42d8b969"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: packages/cli/src/create/templates/generator.ts:4 imports packages/prompts/src/index.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/create/templates/generator.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"6be29f4c56dd75464413d18c97f0a7c775e56408ce289685469ba40afd882e7e"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: packages/cli/src/create/templates/monorepo.ts:5 imports packages/prompts/src/index.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/create/templates/monorepo.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c509f0bba33d21e4b2fd313eede0a1efc4382c209f9265fa9ccf02b2ea287bf"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: packages/cli/src/create/templates/remote.ts:1 imports packages/prompts/src/index.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/create/templates/remote.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e8f36c8f3b2521cb713a14608174e71c898631e615a1f023d7845f9b63d9f49"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: packages/cli/src/migration/bin.ts:5 imports packages/prompts/src/index.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/bin.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"87af2939b2eafe11e294c9d7aa9298378c9034366791c141ac2ecf623189886d"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: packages/cli/src/migration/migrator/eslint.ts:6 imports packages/prompts/src/index.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/migrator/eslint.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"90a374ec9bc2b79e65a9746f8f2c372b73d9fd048e1344dba1513ee21e33b189"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: packages/cli/src/migration/migrator/git-hooks.ts:4 imports packages/prompts/src/index.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/migrator/git-hooks.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1722e208a815c530e8f6016df6affa34253f671db395fb7babe5d6eef0fb58f"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: packages/cli/src/migration/migrator/oxnode.ts:6 imports packages/prompts/src/index.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/migrator/oxnode.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"74a441f044fe41c93637a047756b8b2088f92183a5f6e864226ef7275dfd3049"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: packages/cli/src/migration/migrator/prettier.ts:5 imports packages/prompts/src/index.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/migrator/prettier.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"a46e6ca8b365b792df1ad33114af1489201d44bce742b0370dc334e22f3a0130"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: packages/cli/src/migration/migrator/setup.ts:4 imports packages/prompts/src/index.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/migrator/setup.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"695d096abd7e53d924dc95623d7264ec4e3b826848bccf402c92333285cd0346"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: packages/cli/src/migration/migrator/shared.ts:4 imports packages/prompts/src/index.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/migrator/shared.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"50bf32e751face76704674d3f26532e713d737c446fbd8c41cf5c8124785f21c"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: packages/cli/src/migration/migrator/ts-node.ts:7 imports packages/prompts/src/index.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/migrator/ts-node.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d71387c48e2a8a18980abed1a4f66588c48d7d02767e370f704c8e736ac9d13"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: packages/cli/src/migration/migrator/tsconfig.ts:1 imports packages/prompts/src/index.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/migrator/tsconfig.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"06c37ac454aa8ca3ad501e3206ae83424f4c1d7b9bff55759a01309b0be8a443"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: packages/cli/src/migration/migrator/tsup.ts:5 imports packages/prompts/src/index.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/migrator/tsup.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"68df0e06e0e352815be454a927f0803557cf1160945c05c69d9d53bb266b0a3c"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: packages/cli/src/migration/migrator/tsx.ts:6 imports packages/prompts/src/index.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/migrator/tsx.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbb5d7091b77d214cf8b2d7e200c174267c54ac965cf3f38968506ab9a979926"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: packages/cli/src/migration/migrator/vite-config.ts:5 imports packages/prompts/src/index.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/migrator/vite-config.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6362d92a237dc916ecb512ca3302e4af0e0150719c02686a185f7ccefebf5d6"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: packages/cli/src/migration/setup-plan.ts:3 imports packages/prompts/src/index.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/setup-plan.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"b712e21afe7bf38493661dcbd7c381f61308c0ea34ada04186072529fa54a4a7"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: packages/cli/src/utils/agent.ts:6 imports packages/prompts/src/index.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/utils/agent.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b58ed51f7ace144239731f4258b489ec213596893e695e5984834aeda7990bb"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: packages/cli/src/utils/approve-builds.ts:4 imports packages/prompts/src/index.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/utils/approve-builds.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"0be22ff96fd9efa0549988be272a58674e136ac6a035d1b8c8676ced082d9625"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/cli/src/utils/constants.ts:3 reaches into another package with a relative path (../../../core/package.json) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/utils/constants.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"032c6b35de578fd20c81b63fa7413b0564ea10c0424b98376cd59a34e925eacb"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: packages/cli/src/utils/editor.ts:6 imports packages/prompts/src/index.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/utils/editor.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d591d9994da951fe8e27c66c65c74fabec7915f8cdbf31849fe2449936fe7b9"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: packages/cli/src/utils/git.ts:4 imports packages/prompts/src/index.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/utils/git.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e7e49c133959224d1fdfcbea108888ce54c309d33712ded2e0ab32e9c87c597"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: packages/cli/src/utils/prompts.ts:1 imports packages/prompts/src/index.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/utils/prompts.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4371609d35a1367a1e91ef80e82cb9b4c70c7789b71aa232d09c08a4d4831931"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: packages/cli/src/utils/spinner.ts:1 imports packages/prompts/src/index.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/utils/spinner.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f28cea422eebeec3e9900b6e990958cc47a56dd7416e49095443709080f0ac2"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: packages/cli/src/utils/tsconfig.ts:5 imports packages/prompts/src/index.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/utils/tsconfig.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"67de13b65c4b183c6e000d159e0e584d5b1547c03ebfa4f1470eb975b55419fe"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/core/build.ts:21 reaches into another package with a relative path (../cli/package.json) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/build.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cc1b31d8a9fbd46b95d61e58365e6114b1da698da4dbe5b8b489d4bd19286d8"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/core/build.ts:22 reaches into another package with a relative path (../tools/src/patch-vite-config.ts) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/build.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"051c6ccabe21a69f80fdf9658d60a374ae9bb08f4d0d303d26ed2793b7a37581"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: packages/tools/src/__tests__/sync-remote-deps.spec.ts:10 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../cli/src/utils/constants.ts) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/tools/src/__tests__/sync-remote-deps.spec.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9476e68bf187e93de4b75b825d7400224cd25f07911da55a7c34735b3cff61d"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/tools/src/core-version.ts:287 reaches into another package with a relative path (../../core/package.json) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/tools/src/core-version.ts"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed6babb95e5f02a0025419df18722dced0e0f114a945409f61da58658f0c6ed9"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/tools/src/core-version.ts:381 reaches into another package with a relative path (../../cli/package.json) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/tools/src/core-version.ts"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc80f726a130307e2a1b07aa3760360b94d593138145468de32c769a36040231"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 158, cognitive 246): main has cyclomatic complexity 158 and cognitive complexity 246; 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":"packages/cli/src/create/bin.ts"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"00a68f75d9ee5a7085c45961a4795281de3b070d174c8b8337b1ee2b6c8a6b39"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CallExpression (cyclomatic 131, cognitive 174): CallExpression has cyclomatic complexity 131 and cognitive complexity 174; 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":"packages/cli/src/migration/vitest-v5/source.ts"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"91e1f4979983e012b50ed1a3ee0edef956346130a80fbd0423deb88168fbea42"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 114, cognitive 210): main has cyclomatic complexity 114 and cognitive complexity 210; 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":"packages/cli/src/migration/bin.ts"},"region":{"startLine":1046}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc82322dedae05eed27171b2135b1b851b86567a8c0ddadd9acc4afbb1f644a0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function walk (cyclomatic 102, cognitive 137): walk has cyclomatic complexity 102 and cognitive complexity 137; 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":"packages/cli/src/migration/vitest-v5/scopes.ts"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"63d16a1fc743d78e7798327246b1b59fdcb3a520cb67513f0e556f7aeb337138"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareTsNodeRun (cyclomatic 86, cognitive 132): prepareTsNodeRun has cyclomatic complexity 86 and cognitive complexity 132; 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":"packages/cli/src/migration/migrator/ts-node-config.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"20ae0624e34f9a04b18a164d077dcdfe58e3ce8e2821f54ad1cf8c29ee0bb11f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rewritePackageJson (cyclomatic 81, cognitive 112): rewritePackageJson has cyclomatic complexity 81 and cognitive complexity 112; 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":"packages/cli/src/migration/migrator/package-json.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddce653b5440f8b8fac294b73807e5af9e6878cf724d3ea2f7daceb0fa3427d0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function testOptions (cyclomatic 55, cognitive 83): testOptions has cyclomatic complexity 55 and cognitive complexity 83; 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":"packages/cli/src/migration/vitest-v5/config.ts"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"609f346725675f4d083ee3043d4e31c647e880fd26ca50d189e77cf5e2f7edfd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 46, cognitive 41): (anonymous) has cyclomatic complexity 46 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 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":"packages/cli/src/migration/vitest-v5/scopes.ts"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d3602318bbdf23cf06f785b094b0ae04f177b23d8d8b61e15b32f35d1466405"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function globalRestorationOrigin (cyclomatic 40, cognitive 40): globalRestorationOrigin has cyclomatic complexity 40 and cognitive complexity 40; 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":"packages/cli/src/migration/vitest-v5/source.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"61da8d4b6360641bbb9828ce1cb4ac0fd9b8ac1e9957205a9c1e6bde84fbc2ab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function lockedVitestVersion (cyclomatic 38, cognitive 72): lockedVitestVersion has cyclomatic complexity 38 and cognitive complexity 72; 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":"packages/cli/src/migration/vitest-v5/lockfile.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c32208f99344e017a12dbc8176e513f33cbd1b87e51854266e4c92acf2846a4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function detectVitePlusBootstrapPending (cyclomatic 38, cognitive 44): detectVitePlusBootstrapPending has cyclomatic complexity 38 and cognitive complexity 44; 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":"packages/cli/src/migration/migrator/vite-plus-bootstrap.ts"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"0142f8fd79318175765dfc0cfaa19d4474ba1de14d1003549724accdfe8d877a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mergePnpmWorkspaces (cyclomatic 35, cognitive 55): mergePnpmWorkspaces has cyclomatic complexity 35 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":"packages/tools/src/sync-remote-deps.ts"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7895fccf80dc630f6a3e53f9cabf78dacaf6eb39020c191df059d4b16b633b3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scanOptions (cyclomatic 34, cognitive 81): scanOptions has cyclomatic complexity 34 and cognitive complexity 81; 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":"packages/cli/src/migration/migrator/script-runner.ts"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c97b2c05126bea43307324cb4b1c3df6218777d142c1c55e8fad86844b696e5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function showMigrationSummary (cyclomatic 34, cognitive 43): showMigrationSummary has cyclomatic complexity 34 and cognitive complexity 43; 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":"packages/cli/src/migration/bin.ts"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"5620e9ec4de8677a72493fce1139148a0606c8c51be06f0138d792a8561b6072"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ensureVitePlusBootstrap (cyclomatic 33, cognitive 38): ensureVitePlusBootstrap has cyclomatic complexity 33 and cognitive complexity 38; 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":"packages/cli/src/migration/migrator/vite-plus-bootstrap.ts"},"region":{"startLine":945}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d9b18c5f50fdc5afa89cefec8805914b3dadf3fbbdef877abfdfe52da83d997"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function opt (cyclomatic 33, cognitive 29): opt has cyclomatic complexity 33 and cognitive complexity 29; 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":"packages/prompts/src/group-multi-select.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd0c5ffcac9fc6a2da6d3ab52488b7ea7915a84001489aabbf6de4b85a45a83e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rewriteSegment (cyclomatic 32, cognitive 38): rewriteSegment has cyclomatic complexity 32 and cognitive complexity 38; 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":"packages/cli/src/migration/migrator/script-runner.ts"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc3154c99e3b8db62f4a38176f93ff297e2f15d2d110d274c5897da1a86ffd0f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function migrateBenchmarkOutput (cyclomatic 32, cognitive 37): migrateBenchmarkOutput has cyclomatic complexity 32 and cognitive complexity 37; 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":"packages/cli/src/migration/vitest-v5/commands.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"73b5ae1c601bcecff126c78e3dea7c5360cc01d0c147a2f4a2b41916c98bf806"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function overrideMap (cyclomatic 31, cognitive 47): overrideMap has cyclomatic complexity 31 and cognitive complexity 47; 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":"packages/cli/src/migration/vitest-v5/webdriverio.ts"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf4f1926746d823a295bded0c552a76b441fc3a9e6b16986d010cedc065d8428"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scanAndRewriteFile (cyclomatic 31, cognitive 41): scanAndRewriteFile has cyclomatic complexity 31 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":"packages/cli/src/migration/migrator/vitest-v5.ts"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"207b743dbf98092000aa7a97025c2e2c936e1ab60670c73ae810c84fffd1342c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function generateLicenseFile (cyclomatic 30, cognitive 64): generateLicenseFile has cyclomatic complexity 30 and cognitive complexity 64; 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/generate-license.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"189f546b56785c6ea4899f2fb9b76420c8632a4e854e5747ec8121eb984091d0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 30, cognitive 48): (anonymous) has cyclomatic complexity 30 and cognitive complexity 48; 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":"packages/cli/src/migration/migrator/catalog.ts"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fba3da8062205d464d1d6c5f9e28a1356cc585e1e0483fcf6bb25be8eaa6ff3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveStorybookScope (cyclomatic 29, cognitive 34): resolveStorybookScope has cyclomatic complexity 29 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":"packages/cli/src/migration/vitest-v5/storybook.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"79f70555a19b3a06afc3f2368f9f5dd6545ecb038372b543a0f733dbc29f5cf4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function migrateWebdriverioDependencies (cyclomatic 28, cognitive 63): migrateWebdriverioDependencies has cyclomatic complexity 28 and cognitive complexity 63; 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":"packages/cli/src/migration/vitest-v5/webdriverio.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"b40f9b759a8ac1d722f5c0aa1663112f96a4416ca9dd1d8715c8976443f90e0c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function environmentFileUse (cyclomatic 28, cognitive 50): environmentFileUse has cyclomatic complexity 28 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":"packages/cli/src/migration/migrator/script-runner.ts"},"region":{"startLine":1195}}}],"partialFingerprints":{"codehealthFindingId/v1":"95a38aa832ac29febadf690d7f9fc5d1b1f4a9f880b0df1666956897e1112d89"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reconcileVitePlusBootstrapPackage (cyclomatic 28, cognitive 47): reconcileVitePlusBootstrapPackage has cyclomatic complexity 28 and cognitive complexity 47; 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":"packages/cli/src/migration/migrator/vite-plus-bootstrap.ts"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c3e9f62d8db87d3ee82600c149ff4496f04ca500789ce4dde1baf8ac6f9c186"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function detectConfigs (cyclomatic 28, cognitive 40): detectConfigs has cyclomatic complexity 28 and cognitive complexity 40; 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":"packages/cli/src/migration/detector.ts"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"a80dca5daf0400f68558961395ee40c5dd0bbcff9c5d5a625f7de86f838dafb6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 28, cognitive 39): (anonymous) has cyclomatic complexity 28 and cognitive complexity 39; 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":"packages/tools/src/local-npm-registry.ts"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb663a604fe9a3ef57ecc512aedb7ada4e52c401bd8fd97dbc8f72edbdc6d95c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function configPath (cyclomatic 28, cognitive 29): configPath has cyclomatic complexity 28 and cognitive complexity 29; 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":"packages/cli/src/migration/vitest-v5/storybook.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ed0922379643190093e0d1da83f0e6a7c31a6bac44b853e89b414435f7335e2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mergeSemverVersions (cyclomatic 27, cognitive 42): mergeSemverVersions has cyclomatic complexity 27 and cognitive complexity 42; 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":"packages/tools/src/sync-remote-deps.ts"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"13849fd6b5abbc7199a053aaa5b1d315902694a30d92f6d5bd3efc3ca518bfa1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function writeAgentInstructions (cyclomatic 26, cognitive 61): writeAgentInstructions has cyclomatic complexity 26 and cognitive complexity 61; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/utils/agent.ts"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d9166b6cd41976972ff1c9af11d7fcd3b992ae05103c9ddc300c547972ca227"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sanitizeMigratedOxlintConfig (cyclomatic 26, cognitive 60): sanitizeMigratedOxlintConfig has cyclomatic complexity 26 and cognitive complexity 60; 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":"packages/cli/src/migration/migrator/eslint.ts"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"f78089b45d91f56ba9b4e68b22febf9ab32f62e98ca60e6b43b384f5271fff49"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function syncTestPackageExports (cyclomatic 26, cognitive 52): syncTestPackageExports has cyclomatic complexity 26 and cognitive complexity 52; 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":"packages/cli/build.ts"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc7ff0d1c072b6fc3cfdd29605ea1464cc7336b66b910eb736ce2b30189cce59"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createConditionalShim (cyclomatic 26, cognitive 44): createConditionalShim has cyclomatic complexity 26 and cognitive complexity 44; 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":"packages/cli/build.ts"},"region":{"startLine":1280}}}],"partialFingerprints":{"codehealthFindingId/v1":"845658d7fe0d6911de6c3bd9f180c1254ea360cd70515622caecb239a920d2d3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 26, cognitive 42): (anonymous) has cyclomatic complexity 26 and cognitive complexity 42; 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":"packages/cli/src/migration/migrator/orchestrators.ts"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"287a9386dcd2407e5def85d50ef0d8f484d83ea49749fb13ddb301a9800080b2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ImportDeclaration (cyclomatic 26, cognitive 36): ImportDeclaration has cyclomatic complexity 26 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":"packages/cli/src/migration/vitest-v5/source.ts"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2d362d5472b5de14587712890718f1e46f02566fe1114248277952432ef69c2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function executeMigrationPlan (cyclomatic 26, cognitive 32): executeMigrationPlan has cyclomatic complexity 26 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":"packages/cli/src/migration/bin.ts"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"3edc629fd6660f1a1aacb87f213da6eb7b29be4bf808609a7e41da75f41578ad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isAssertionBindingHandled (cyclomatic 26, cognitive 24): isAssertionBindingHandled has cyclomatic complexity 26 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 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":"packages/cli/src/migration/vitest-v5/source.ts"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"b243843f4a3af47eebf8344681a09c93aae3064142cf2d0a4af6935c2094d474"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function writeEditorConfig (cyclomatic 25, cognitive 63): writeEditorConfig has cyclomatic complexity 25 and cognitive complexity 63; 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":"packages/cli/src/utils/editor.ts"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d216f09d95e549fad69ca9907117decd235f8f6352c04875106f97091513779"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function render (cyclomatic 25, cognitive 45): render has cyclomatic complexity 25 and cognitive complexity 45; 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":"packages/prompts/src/autocomplete.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4ddcf6a957de30a63eaefb9eeda178e68578f81cd0d438427dea8f94e7d0770"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function finish (cyclomatic 25, cognitive 39): finish has cyclomatic complexity 25 and cognitive complexity 39; 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":"packages/cli/src/migration/vitest-v5/ast.ts"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"affdf18accfb7074c48adab67905147193761fc924efa0fe56bd66456c103e96"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mergeOxlintConfigFile (cyclomatic 25, cognitive 28): mergeOxlintConfigFile has cyclomatic complexity 25 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":"packages/cli/src/migration/migrator/vite-config.ts"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad06a7d347888f64e96dd50f3cd4462992089931e22573d6ae86bb458a51bc58"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findVitestV5ConfigEntries (cyclomatic 24, cognitive 50): findVitestV5ConfigEntries has cyclomatic complexity 24 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":"packages/cli/src/migration/vitest-v5/scopes.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"3606a098f5f9f5142d209f3d5582e97cebd1f80beb27f22cb691451734ef8a25"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveConfigObject (cyclomatic 24, cognitive 33): resolveConfigObject has cyclomatic complexity 24 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":"packages/cli/src/migration/vitest-v5/config-object.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"1abfd0923fe8f0bc23d2c13b7d7ebc11c5843357c60d452528726d9da7da63e0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sourceVersion (cyclomatic 24, cognitive 22): sourceVersion has cyclomatic complexity 24 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 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":"packages/cli/src/migration/migrator/vitest-v5.ts"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"92a34d4636b015bf635e83f0d81989cb003b6a1fe159446cbdca2fd6bef69cd2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 39): (anonymous) has cyclomatic complexity 23 and cognitive complexity 39; 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":"packages/cli/src/migration/migrator/catalog.ts"},"region":{"startLine":1251}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cff67fd0b902519a205595a3fc435339ef3284a12279d64e3073e33bc4f9066"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function planVitestV5Migration (cyclomatic 23, cognitive 33): planVitestV5Migration has cyclomatic complexity 23 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":"packages/cli/src/migration/migrator/vitest-v5.ts"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9d2398e8f823620b4b7fa86cc497a7882130bd45952cc954236faa716c0bd57"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function render (cyclomatic 23, cognitive 32): render has cyclomatic complexity 23 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":"packages/prompts/src/password.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ce0ee78aa0d15d01386a84774da848a497c189a9aa01f12218952238d67cc40"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rewriteNodeLoader (cyclomatic 23, cognitive 30): rewriteNodeLoader has cyclomatic complexity 23 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":"packages/cli/src/migration/migrator/script-runner.ts"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"129a56f55e7327ae0bc79ecf8de46cda52dcf9fafdc7b4e0621aec1dbe89e360"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 29): (anonymous) has cyclomatic complexity 23 and cognitive complexity 29; 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":"packages/cli/src/migration/migrator/catalog.ts"},"region":{"startLine":1125}}}],"partialFingerprints":{"codehealthFindingId/v1":"7817303189ce841bbfa7f518f3e3e44ba9ffa21c0dbce10cef4847c01926b167"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function projectSelected (cyclomatic 23, cognitive 28): projectSelected has cyclomatic complexity 23 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":"packages/cli/src/migration/vitest-v5/scopes.ts"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"b92b8c719b1639139620df2f074eaaee0f397c5b097a837686f5abec17b9fb7b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (top-level) (cyclomatic 23, cognitive 24): (top-level) 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":"packages/cli/src/staged/bin.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c5f64d64f6f9c03d05d807483f42bbd4d854828da48cbcd87502ff1cfabf09a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 36): (anonymous) has cyclomatic complexity 22 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":"packages/prompts/src/limit-options.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a8ebd95a464d95106c09c01f96bf9959d4d546b8827fff3a1202fa43cf50d53"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mergeAndRemoveJsonConfig (cyclomatic 22, cognitive 28): mergeAndRemoveJsonConfig has cyclomatic complexity 22 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":"packages/cli/src/migration/migrator/vite-config.ts"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"836ae1e588cc0f95abde9809454d586852095a941c8d633b8ce31e34d84d9818"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function installGitHooks (cyclomatic 22, cognitive 26): installGitHooks has cyclomatic complexity 22 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":"packages/cli/src/migration/migrator/git-hooks.ts"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7ac150d648fc0bbdcea7d21b2d9262846d5e7e45274bad2ce2c6396f29e1ca8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scanDir (cyclomatic 21, cognitive 32): scanDir has cyclomatic complexity 21 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":"packages/cli/src/migration/migrator/source-scan.ts"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9d3ecc42cd69b2fe164b0aae0522bbcd0ecd7cceb7a79fd08ff8f1d41d8f7eb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareOxlintConfigModules (cyclomatic 21, cognitive 30): prepareOxlintConfigModules has cyclomatic complexity 21 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":"packages/cli/src/migration/migrator/oxlint-config.ts"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"02e295cf2ab9a67a447626f889fe222332ca8619d41e592c9e4b0c6720c03d2c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function render (cyclomatic 21, cognitive 29): render has cyclomatic complexity 21 and cognitive complexity 29; 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":"packages/prompts/src/text.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"b68f6c42b3d8c3d3085860bc6d03d4c2b525799a19e7a5909077f33cdac430a2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readTsNodeOptions (cyclomatic 21, cognitive 26): readTsNodeOptions 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":"packages/cli/src/migration/migrator/ts-node-config.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d6f1abe2797597936c181012c13db2aa18990889b31b18d48c49989865dbe6e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function migrateTsupToTsdown (cyclomatic 20, cognitive 40): migrateTsupToTsdown has cyclomatic complexity 20 and cognitive complexity 40; 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":"packages/cli/src/migration/migrator/tsup.ts"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b5bb611a3e3a0be20cb5319046f9fe5e72fa7cc04f2799a5e1e2b320bb97433"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function box (cyclomatic 20, cognitive 29): box has cyclomatic complexity 20 and cognitive complexity 29; 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":"packages/prompts/src/box.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b01d0eb8afeb9267f134cc8c8100342141965922a4c983beb8cfb0bdf305dfd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function render (cyclomatic 20, cognitive 28): render 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":"packages/prompts/src/autocomplete.ts"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"e01ef7e62d65cc48c9beb69e4cebbcb5dee6affac0dbbe79ab74e291f5d646bb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function expandCreateShorthand (cyclomatic 20, cognitive 27): expandCreateShorthand has cyclomatic complexity 20 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":"packages/cli/src/create/discovery.ts"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6d528b677916610cf40eabc8aebe61d6f7660517456dd24fe330648247ea279"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 26): (anonymous) has cyclomatic complexity 20 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":"packages/cli/src/migration/migrator/vite-plus-bootstrap.ts"},"region":{"startLine":1051}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aecde6ff6b9c0fb4ef0e73acf81e884119c51a9a192631b39e7837ba8a38beb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CallExpression (cyclomatic 20, cognitive 23): CallExpression has cyclomatic complexity 20 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":"packages/cli/src/migration/vitest-v5/config.ts"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"d23dfe421bac66f9cc902d18956d6d86a412a9fbf7dd628445793c78116e1df4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function detectScript (cyclomatic 19, cognitive 28): detectScript has cyclomatic complexity 19 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":"packages/cli/src/vpx-script.ts"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bc3e64edb93907dbd05159f100ab5e9e86006bae79917498ccc44daad3f786d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function executeMonorepoTemplate (cyclomatic 19, cognitive 23): executeMonorepoTemplate has cyclomatic complexity 19 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":"packages/cli/src/create/templates/monorepo.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b596030060c8c450a85eac5e8254033e1bbfb32809b6278c73fbe6e3487e37f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkNodeRange (cyclomatic 19, cognitive 22): checkNodeRange 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":"packages/cli/src/migration/migrator/vitest-v5.ts"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f407842609ccca6b1b3cc04461f219b51ebb8c2f30fc86c46d8d8bf9a511ab8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rewriteVitePlusImportSpecifier (cyclomatic 19, cognitive 22): rewriteVitePlusImportSpecifier 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":"packages/cli/src/oxlint-plugin.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"e938531e7eedf85bedc0cbe10c116ac86391eee8d32427de184ad62fd049bce1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function installedSourceVersion (cyclomatic 19, cognitive 19): installedSourceVersion has cyclomatic complexity 19 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":"packages/cli/src/migration/migrator/vitest-v5.ts"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbdb390384f220c7913c57af12af0717e4d42f23834a9373567f3f96594a2743"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function preflightGitHooksSetup (cyclomatic 19, cognitive 17): preflightGitHooksSetup has cyclomatic complexity 19 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/migrator/git-hooks.ts"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e18d56e2e215f4c88190ce1da29695e356a5a75addc5c8224ba451ff4d9aa02"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rewriteRunnerShebang (cyclomatic 19, cognitive 17): rewriteRunnerShebang has cyclomatic complexity 19 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/migrator/script-runner.ts"},"region":{"startLine":1035}}}],"partialFingerprints":{"codehealthFindingId/v1":"d854f5a70d26d27e147367206d8d3b3263b0e609029210bcbcdb93437f3bade4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sameStaticValue (cyclomatic 19, cognitive 16): sameStaticValue has cyclomatic complexity 19 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":"packages/cli/src/migration/vitest-v5/ast.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"231cd6568977f3008909cb7ce6e0855826a54f8be7e4d7d8abe1b566a96d2e05"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function installGlobalCli (cyclomatic 18, cognitive 36): installGlobalCli 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":"packages/tools/src/install-global-cli.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"be28a8d5c550f0927ed17a61c62f420db1aaa0d9631cdcd0991993aa63d6eb5d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function finishVitestV5Migration (cyclomatic 18, cognitive 35): finishVitestV5Migration has cyclomatic complexity 18 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":"packages/cli/src/migration/migrator/vitest-v5.ts"},"region":{"startLine":958}}}],"partialFingerprints":{"codehealthFindingId/v1":"837504cf8757ee13480926e5239313205bfde668fa6b4ebccfdbe2c687d102a5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 18, cognitive 32): main has cyclomatic complexity 18 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":"packages/cli/src/config/bin.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed5d0a0e5c5bc71963d71438e26b63b3112e129fb8bb55dd87d8ac7fd49c0e00"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readOrgManifest (cyclomatic 18, cognitive 21): readOrgManifest 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":"packages/cli/src/create/org-manifest.ts"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"c00c98a59bf987cbf057c987d60a8a5744e8ccca9fea2b15dad8b0b2463764ec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function incompatibleModuleSource (cyclomatic 18, cognitive 21): incompatibleModuleSource 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":"packages/cli/src/migration/migrator/ts-node.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"75f3cb87d4e69b8c8fa934935b9eb52575c21fd76fa7278a9fb85a0cc5353996"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function typescriptScriptKeepReason (cyclomatic 18, cognitive 21): typescriptScriptKeepReason 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":"packages/cli/src/migration/migrator/tsx.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b23d319e0eb6510cc0d9f299d5ef6f48abe1a4ce9eaa1f5285c2cc1a6215aa9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseVpxArgs (cyclomatic 18, cognitive 21): parseVpxArgs 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":"packages/cli/src/vpx-script.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5dce296c6091d2873d6ff5acb6b6875980c2ae7a90d05670921afe89a746a90"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function migrateVitestV5Command (cyclomatic 18, cognitive 18): migrateVitestV5Command has cyclomatic complexity 18 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":"packages/cli/src/migration/vitest-v5/commands.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a2403300c286e6fb250769282ca405ea884fd05763fa3750d19df694d2441f6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveProjectSetup (cyclomatic 18, cognitive 17): resolveProjectSetup has cyclomatic complexity 18 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/create/bin.ts"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"afe37022a5ce125196548cf67a9e0a0754fdbbc95bd38e9fdfdf38639d827e02"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function testApiName (cyclomatic 18, cognitive 10): testApiName has cyclomatic complexity 18 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":"packages/cli/src/migration/vitest-v5/ast.ts"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"67a938cec0b6a6a9588e58982e0ab10aedf3801de9b13e78e772994b43fcbdbf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readDependencyInfo (cyclomatic 17, cognitive 29): readDependencyInfo has cyclomatic complexity 17 and cognitive complexity 29; 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/generate-license.ts"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"f19baee083de8ab813430d0849c60dceae7db7fcba259570772acfd2912bc5a3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function detectMigrationWarnings (cyclomatic 17, cognitive 26): detectMigrationWarnings has cyclomatic complexity 17 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":"packages/cli/src/migration/detector.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"26074c478d637ed4fd02c31e27876420049d259d1a958d0ff382aab5da5c0d54"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createShimForExport (cyclomatic 17, cognitive 25): createShimForExport 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":"packages/cli/build.ts"},"region":{"startLine":1192}}}],"partialFingerprints":{"codehealthFindingId/v1":"40277b3210f06684caedd3ee5509242a5d29d3ebacebab5a20eb4b95878a100a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runCommandAndDetectProjectDir (cyclomatic 17, cognitive 25): runCommandAndDetectProjectDir 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":"packages/cli/src/create/command.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"c33e332335e8e0a41085513707b2e09b945ce02d04740cfcf22c12257fdca9a7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function render (cyclomatic 17, cognitive 25): render 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":"packages/prompts/src/multi-select.ts"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"211cc4899af0286e001d3aaedf35c3ef0bd193b24425e3272704204f3a3342c8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function jsdocTagUsesTsx (cyclomatic 17, cognitive 24): jsdocTagUsesTsx has cyclomatic complexity 17 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":"packages/cli/src/migration/migrator/tsx.ts"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9d5bef870c161343669e403d8337d564b74fa3add8968e7472ff147d0a91a45"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function update (cyclomatic 17, cognitive 23): update has cyclomatic complexity 17 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/vitest-v5/webdriverio.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"27d0d351c0c95c707aaa43714de465c2c54a74f3f44648ee9370f088deae32f7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveToolchainNode (cyclomatic 17, cognitive 14): resolveToolchainNode has cyclomatic complexity 17 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 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":"packages/cli/build.ts"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"2960bb2e397d9826b833e0abe969022558371e3b06478e24018e2b28d816bae6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function importedName (cyclomatic 17, cognitive 13): importedName has cyclomatic complexity 17 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":"packages/cli/src/migration/vitest-v5/ast.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ce63ce9f78d4b3e9c1817b5cc6a1996e845d49d0f4854f487118b55229a378b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processApiName (cyclomatic 17, cognitive 11): processApiName 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":"packages/cli/src/migration/vitest-v5/source.ts"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a010d596545a082b7c5744fd9a1a30bcdbb3807d33b37a869c2262578ff0ecf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function render (cyclomatic 16, cognitive 27): render 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":"packages/prompts/src/group-multi-select.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d508a8a836e0b9485d0da699a50ac51527086422b6cf27626a87ad0c44292c8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function detectWorkspace (cyclomatic 16, cognitive 26): detectWorkspace 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":"packages/cli/src/utils/workspace.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e89e673a0fb183aa0f81ab917a9063075b12dd9369bfce850a6d2efed06e86c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function message (cyclomatic 16, cognitive 26): message 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":"packages/prompts/src/log.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbb664af657d92fa46ea6aea22164c82feff23b892bd43dc7f0d82ee6ecbbbed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fixBaseUrlInTsconfig (cyclomatic 16, cognitive 24): fixBaseUrlInTsconfig has cyclomatic complexity 16 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":"packages/cli/src/utils/tsconfig.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"607462035f770d99047f408d8e7b353488568f5aee8a89889bfeb7363ea83b16"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractTarballTo (cyclomatic 16, cognitive 23): extractTarballTo has cyclomatic complexity 16 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":"packages/cli/src/create/org-tarball.ts"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"c64d949c4a13493a71cd8baead9a40fee8fe8b28f516f8578cd238d1bb84b842"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readTsNodeEnvironment (cyclomatic 16, cognitive 22): readTsNodeEnvironment has cyclomatic complexity 16 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":"packages/cli/src/migration/migrator/ts-node-config.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"eab346d74b8906fad3ede2a65fc9f17aa63556dfaa458b26107afe62d25a92ad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function vpConfigHookCommands (cyclomatic 16, cognitive 21): vpConfigHookCommands has cyclomatic complexity 16 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":"packages/cli/src/migration/migrator/git-hooks.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"f28f37e2b18eb2dda5172974d3a52ae641859c39dedcc408dd3729731eed7b71"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rewriteYamlCatalogAtPath (cyclomatic 16, cognitive 20): rewriteYamlCatalogAtPath 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":"packages/cli/src/migration/migrator/catalog.ts"},"region":{"startLine":978}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f5ab2b36bb54cb4c148443f290fc54501d521d8d6033283791a35b4c0b26741"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 42): (anonymous) has cyclomatic complexity 15 and cognitive complexity 42; 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":"packages/core/__tests__/build-artifacts.spec.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d804d69852b07f405b8e992c3111404d0c5a517d0da4b1da637186045735450"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function dropRemovePackageOverrideKeys (cyclomatic 15, cognitive 37): dropRemovePackageOverrideKeys has cyclomatic complexity 15 and cognitive complexity 37; 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":"packages/cli/src/migration/migrator/vitest-ecosystem.ts"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"a83f646e022f53040ef7e28cff9a22866902be5c327a034cf2ffd59ee522a899"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateTarRecords (cyclomatic 15, cognitive 31): validateTarRecords has cyclomatic complexity 15 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":"packages/cli/src/create/org-tarball-reader.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"afcfe80256bb7087373163b79fa2b41a7d452f961546dbe00f55c18e26f873d8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function render (cyclomatic 15, cognitive 24): render has cyclomatic complexity 15 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":"packages/prompts/src/confirm.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"0543a34eafd488ca1027f7ac940416caead9fbe33dfcfa76489686e5b8334908"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mergePackageExports (cyclomatic 15, cognitive 24): mergePackageExports has cyclomatic complexity 15 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":"packages/tools/src/sync-remote-deps.ts"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"b82891d19c12890ad2d6570c98401c3e6b91f17220afce3e87bf41c75d7f1801"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateToolchainConfig (cyclomatic 15, cognitive 23): validateToolchainConfig has cyclomatic complexity 15 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":"packages/cli/build.ts"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"c261603aa559d686975272624e389b1f57446347a320ffcdc8a7db19410615d5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function removeMigratedOxlintConfigs (cyclomatic 15, cognitive 21): removeMigratedOxlintConfigs 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":"packages/cli/src/migration/migrator/oxlint-config.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"76ce4ead8455153fb3ec636c0592af90ed0eb08e959f3f8ea31a98542b00cea5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rewriteCatalogObject (cyclomatic 15, cognitive 19): rewriteCatalogObject 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":"packages/cli/src/migration/migrator/catalog.ts"},"region":{"startLine":1053}}}],"partialFingerprints":{"codehealthFindingId/v1":"e56fd5783365e35338db9b3900afc115ff43c4c6157fdca5f147061e393374ee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function disable (cyclomatic 15, cognitive 15): disable has cyclomatic complexity 15 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/config/hooks.ts"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcda083fdb21906e965397c667227496339288a05e4b4fda33a9626ff62f791d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectToolchainVersionChanges (cyclomatic 15, cognitive 15): collectToolchainVersionChanges has cyclomatic complexity 15 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/migrator/vite-plus-bootstrap.ts"},"region":{"startLine":1367}}}],"partialFingerprints":{"codehealthFindingId/v1":"46c0747896283738c16741b9c1744fdbdb76284f6aca52ac32bf1cfb2a2c756e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function install (cyclomatic 15, cognitive 14): install has cyclomatic complexity 15 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 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":"packages/cli/src/config/hooks.ts"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"91b4baae47e2b2ce35dbb57df05b9c101cc6b43ddf9f0c4948d30ad5557647f2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function status (cyclomatic 15, cognitive 14): status has cyclomatic complexity 15 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 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":"packages/cli/src/config/hooks.ts"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae5f6c1f4fc8d459250305a683e0447baa5b06b78f9bc509fd62e4d1fa197816"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function maybeReportLiteral (cyclomatic 15, cognitive 13): maybeReportLiteral has cyclomatic complexity 15 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":"packages/cli/src/oxlint-plugin.ts"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5ccb302204a9f679380887b3c13686a349a751da1b751bb2882a6f165fa9a46"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function migrateNode (cyclomatic 14, cognitive 26): migrateNode has cyclomatic complexity 14 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":"packages/cli/src/migration/migrator/vitest-v5.ts"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"54d87e89b7f9503f793d68bb642fdb58594226c759389c9b9bb4062468a392ea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rewriteModuleSpecifiers (cyclomatic 14, cognitive 26): rewriteModuleSpecifiers has cyclomatic complexity 14 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":"packages/core/build-support/rewrite-module-specifiers.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"631c054764ef5279ed0ee51e4152496dbe21dad86c34ec513da0190cafcd9bed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function brandTsdown (cyclomatic 14, cognitive 23): brandTsdown has cyclomatic complexity 14 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":"packages/core/build.ts"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"1701b8cc68ec2a749978773a472b541a5efab10f0ccb3b6518121c4d0819c373"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveUpstreamDtsPath (cyclomatic 14, cognitive 22): resolveUpstreamDtsPath has cyclomatic complexity 14 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":"packages/cli/build.ts"},"region":{"startLine":1129}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ba4098e7777dd88d8691632c2e055be74a5bdec886ec9fdc9f96eaed29d959"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ensurePnpmCreateCatalogEntries (cyclomatic 14, cognitive 22): ensurePnpmCreateCatalogEntries has cyclomatic complexity 14 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":"packages/cli/src/create/utils.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"16f5b4105985e8a196aa6d4fb7ec7d85a5cde41e420fc9fccd5867a78b86dbba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scanEnvironmentOptions (cyclomatic 14, cognitive 22): scanEnvironmentOptions has cyclomatic complexity 14 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":"packages/cli/src/migration/migrator/script-runner.ts"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa74a44c1c407a671df7ae671e60fd91f0f6f83b7839c4d1449c9071233f3687"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sanitizeInheritedJsPlugins (cyclomatic 14, cognitive 21): sanitizeInheritedJsPlugins 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":"packages/cli/src/migration/migrator/eslint.ts"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"a49e71af448ec667a32c70a2cfeb6d6df6a6336264f69440e25237d09734c516"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 21): (anonymous) 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":"packages/cli/src/migration/migrator/prettier.ts"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd53bcaac884e67be2da4b908f493b5b3cf4a829310bf8849b6a248656cfd024"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveOrgManifestForCreate (cyclomatic 14, cognitive 20): resolveOrgManifestForCreate 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":"packages/cli/src/create/org-resolve.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"1962b30fa52fb9a149abda8c0c41e20bf158e056378ad7446416a041cbb2971a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectUnsupportedTsupConfigConsumers (cyclomatic 14, cognitive 20): collectUnsupportedTsupConfigConsumers 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":"packages/cli/src/migration/migrator/tsup.ts"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"69c6925d584a7210c53a834236224fd44a00c179786252c8f0fc43369520b07b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function bundleRolldown (cyclomatic 14, cognitive 20): bundleRolldown 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":"packages/core/build.ts"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"84752c04f8b1530a85174eb145c6ee306b641fb6fe70c697ed666d30832a0c0c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function wireBundledTsdownExtensions (cyclomatic 14, cognitive 19): wireBundledTsdownExtensions 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":"packages/core/build.ts"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"bae265da7d079c9c6d391b3da75c8ccd315cb1018ba3c8412d872e2730298fec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isViteHooksSetupComplete (cyclomatic 14, cognitive 17): isViteHooksSetupComplete has cyclomatic complexity 14 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":"packages/cli/src/migration/migrator/git-hooks.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f101e5f35aa8b17a070e597a13a2fea52d381fc04104008e68fc1f98f6e5fb0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getCatalogDependencySpec (cyclomatic 14, cognitive 16): getCatalogDependencySpec has cyclomatic complexity 14 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":"packages/cli/src/migration/migrator/catalog.ts"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"21cc6a049d1d8c84276541144c54da75f2f2764152c9268c3b21bae915367dcf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rewriteStandaloneProject (cyclomatic 14, cognitive 15): rewriteStandaloneProject 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":"packages/cli/src/migration/migrator/orchestrators.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"44c94f474c9094e7fa60c3f1b4c1a066352616a39eadd598ca43bc58e755f1d4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertionTypeName (cyclomatic 14, cognitive 14): assertionTypeName 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":"packages/cli/src/migration/vitest-v5/source.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"10feb41c1bb0892ca59b99c917b88854101714696d9427e24b998faadae67502"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveOxlintConfigExtends (cyclomatic 14, cognitive 13): resolveOxlintConfigExtends 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":"packages/cli/src/migration/migrator/oxlint-config.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2928f9307a747bb05716d2051016244ad182b6fa7c21d122fbebfd040000754"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 13): (anonymous) 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":"packages/cli/src/migration/migrator/vitest-v5.ts"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"366f605619991a06fbd250df90fdf97cd29e83dd966e5dd6d9e350137a049eb1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function yarnrcSatisfiesVitePlus (cyclomatic 14, cognitive 12): yarnrcSatisfiesVitePlus 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":"packages/cli/src/migration/migrator/yarn.ts"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcb002580ea7f0cffd754d6f3efae390b168ed6c1db8f6055a7a28f162f9e686"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deleteTsupConfigFiles (cyclomatic 13, cognitive 23): deleteTsupConfigFiles has cyclomatic complexity 13 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":"packages/cli/src/migration/migrator/tsup.ts"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"daa9d208c18d1e8c0020d5ca8e5c66a9eeed9db80e3454826ec615b232864535"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareNpmViteAliasReinstall (cyclomatic 13, cognitive 22): prepareNpmViteAliasReinstall 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":"packages/cli/src/migration/npm-reinstall.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eec76a6e02138b05664ea358bf23dfe4b13190e980d3b46433c44cc93f700ba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 21): (anonymous) has cyclomatic complexity 13 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":"packages/cli/src/migration/migrator/eslint.ts"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"44df4a311f53ecfa6de0baa66be3e0865632b5c9f69313fc15c4aeb154894b22"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findVitestV5MergedConfigFiles (cyclomatic 13, cognitive 21): findVitestV5MergedConfigFiles has cyclomatic complexity 13 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":"packages/cli/src/migration/vitest-v5/config.ts"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0b21476a3cc2bf08a65d4e2cdf90fdc7edad48587cd45972035bddec66bb00e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findWorkspacePackageHookPolicy (cyclomatic 13, cognitive 20): findWorkspacePackageHookPolicy has cyclomatic complexity 13 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":"packages/cli/src/migration/migrator/git-hooks.ts"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"900824164037961f7f72895294cbc2cddc3713c77053fecc9dba07185ad00333"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function discoverTemplate (cyclomatic 13, cognitive 19): discoverTemplate 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":"packages/cli/src/create/discovery.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fde6a92d7dd3cf0d7a15e085cc38e6ac40d41ad7014a80fd9d5829509ebc1e9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectSharedTsupConfigs (cyclomatic 13, cognitive 18): collectSharedTsupConfigs has cyclomatic complexity 13 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":"packages/cli/src/migration/migrator/tsup.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc4078a734a48103789b986d31dc11a99d6d16f410890a3ead72a8a4add365c4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderCliDoc (cyclomatic 13, cognitive 18): renderCliDoc has cyclomatic complexity 13 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":"packages/cli/src/utils/help.ts"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"438050f5912c024bf55d2131076217a42db2087bbc268150ebe003be375bd534"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rewriteCatalog (cyclomatic 13, cognitive 17): rewriteCatalog 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":"packages/cli/src/migration/migrator/catalog.ts"},"region":{"startLine":914}}}],"partialFingerprints":{"codehealthFindingId/v1":"95b6d43a1a215c02f7fdf363c3bdff5e6de826f4a55c9d38c458bcd98bc9ead5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ensureVitePlusDependencySpecs (cyclomatic 13, cognitive 17): ensureVitePlusDependencySpecs 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":"packages/cli/src/migration/migrator/vite-plus-bootstrap.ts"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"9db757aa7e24f9784dac090699cc54c12b54f7a08124a19454875360be0ed151"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 17): (anonymous) 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":"packages/tools/src/sync-remote-deps.ts"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fcabc6fc911c295d12afa4667786ca5f81f249e7c52ff3d5e409baee7bddc51"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runViteInstall (cyclomatic 13, cognitive 12): runViteInstall has cyclomatic complexity 13 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":"packages/cli/src/utils/prompts.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"25e142f3fdf489fb555b322464961f43eac3de2b330ddc9a85d1b44b09c727d6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addScope (cyclomatic 13, cognitive 11): addScope has cyclomatic complexity 13 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":"packages/cli/src/migration/vitest-v5/scopes.ts"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9ca58dd8bcb0f6ec5171380003bf7202068f2744c403651a062c35413be8a0d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function canAwait (cyclomatic 13, cognitive 11): canAwait has cyclomatic complexity 13 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":"packages/cli/src/migration/vitest-v5/source.ts"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"723e5c2614869710bb196ac5f3f6f037178aafe02dbdababc8cf71f2b956a922"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function formatOption (cyclomatic 13, cognitive 9): formatOption has cyclomatic complexity 13 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":"packages/prompts/src/autocomplete.ts"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2183bdfbf71a949ed71a81b78ba626ca7bab6523b0d137343f7be50bf90ee53"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rewriteLintStagedConfigFile (cyclomatic 12, cognitive 22): rewriteLintStagedConfigFile has cyclomatic complexity 12 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":"packages/cli/src/migration/migrator/vite-config.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7bdd02021638b2cff52f1b371b0d906049f2687a4319c1807d7aa6b5919b0c4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function migratePrettierToOxfmt (cyclomatic 12, cognitive 20): migratePrettierToOxfmt 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":"packages/cli/src/migration/migrator/prettier.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"acfb2488490f7aca14dd28ba566c3079c3f1f1ac1448f03161d11f7ce1c65433"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findLegacyVitestAliasConfig (cyclomatic 12, cognitive 17): findLegacyVitestAliasConfig 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":"packages/cli/src/utils/legacy-vitest-alias.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7fa2b0fdda400e633bec104fea02ad39f791e17b4d61c24b1ff22c9ae8445c0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkRolldownCompatibility (cyclomatic 12, cognitive 16): checkRolldownCompatibility has cyclomatic complexity 12 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":"packages/tools/src/check-rolldown-compat.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a35bc5b8a412f9cdb6703442151d3b109126cc81d5442aaf621ef0a157f3deb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function executeBuiltinTemplate (cyclomatic 12, cognitive 15): executeBuiltinTemplate 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":"packages/cli/src/create/templates/builtin.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec589fc7fd1655f078607a164f797cecfe237a0912014aa02c4cc97b6173702c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyToolInitConfigToViteConfig (cyclomatic 12, cognitive 15): applyToolInitConfigToViteConfig 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":"packages/cli/src/init-config.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a24b995c3fb2c2c8822c78269e21e8b28966325114973e815a3ddc13c2ea727"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function planPackageJson (cyclomatic 12, cognitive 14): planPackageJson 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":"packages/cli/src/sync-versions/plan.ts"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef9c3593cf6bdcefe2a9b619d111b8cd5a6b05cde7c293dc1bf4bfbcbe4a0060"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function alignYamlStringMap (cyclomatic 12, cognitive 14): alignYamlStringMap 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":"packages/cli/src/sync-versions/plan.ts"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fc1515c8514e94bda10c110f206b6641e4c615fa1b747e22b51c21ea381732c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 13): (anonymous) 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":"packages/cli/src/sync-versions/plan.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"2599129b500dae2f4772ea2ea906c9cd05a2906f243d449eedfffdd92beba20f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 13): (anonymous) 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":"packages/prompts/src/task-log.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"420770737e84748a7801f175a07a25aea2dc26a50184981cbc92b8fdb661e9a9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function syncCorePackageExports (cyclomatic 12, cognitive 12): syncCorePackageExports 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":"packages/cli/build.ts"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f90d972d13d7cb81342f86e9f0ecb6338147260b4f1199493ec149bb937a2a1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function lockedSourceVersion (cyclomatic 12, cognitive 12): lockedSourceVersion 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":"packages/cli/src/migration/migrator/vitest-v5.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"911c481a0667c33364b4361fc032614157375844acccbca20327520dda895c9e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function walk (cyclomatic 12, cognitive 10): walk 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":"packages/cli/src/migration/migrator/vitest-v5.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ceb0adbcd358ebda20771c3a4c6721186b2da4c4072a1beeb73ed752e9d9982"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function alignVendoredVitestDependencies (cyclomatic 11, cognitive 24): alignVendoredVitestDependencies has cyclomatic complexity 11 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":"packages/tools/src/vendored-vitest.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d9ec7c42c2ca496bcf61611ae6d1f218b8f5aa7662a0117b5ac308b74bc0a74"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function nearestPackageMatches (cyclomatic 11, cognitive 22): nearestPackageMatches has cyclomatic complexity 11 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":"packages/cli/src/oxlint-plugin.ts"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b0673bbee808af63c5279c4cb8839580b2163e636d92d2a4bfbe17a66f652de"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deletePrettierConfigFiles (cyclomatic 11, cognitive 21): deletePrettierConfigFiles has cyclomatic complexity 11 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":"packages/cli/src/migration/migrator/prettier.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"3399d0a6d5760731874607b9a8e769c107fa3ff8dece36fbceec17edd99157ce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rewriteAllImports (cyclomatic 11, cognitive 19): rewriteAllImports has cyclomatic complexity 11 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":"packages/cli/src/migration/migrator/vite-config.ts"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"75cf5a7eb06e4793b617f8477315fe831fa78c67472d49bdb8eca5fbe0432cd5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function executeRemoteTemplate (cyclomatic 11, cognitive 18): executeRemoteTemplate has cyclomatic complexity 11 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":"packages/cli/src/create/templates/remote.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"39a4dbb7f9eb523c6f6974804ddd2a5b04510d7c4dbbd484c9b80d670a5681d4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function migrateScriptRunnerToVpx (cyclomatic 11, cognitive 18): migrateScriptRunnerToVpx has cyclomatic complexity 11 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":"packages/cli/src/migration/migrator/script-runner.ts"},"region":{"startLine":1317}}}],"partialFingerprints":{"codehealthFindingId/v1":"23adca085c8e628199ce369a431b02874b4573281fbab29a627d51958537ca70"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function staticPatterns (cyclomatic 11, cognitive 16): staticPatterns has cyclomatic complexity 11 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":"packages/cli/src/migration/vitest-v5/scopes.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7746aafa7e4d183d189234888b6d64bafb0cd21a7f876ba1ec0152020b117cc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function migrateEslintToOxlint (cyclomatic 11, cognitive 15): migrateEslintToOxlint 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":"packages/cli/src/migration/migrator/eslint.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"282b92137415c1f437b26c3df373b266b70bc688339205522b0961af1f42830d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function retryPreservedOxlintConfigs (cyclomatic 11, cognitive 15): retryPreservedOxlintConfigs 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":"packages/cli/src/migration/migrator/vite-config.ts"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"7435f5fd9a405bca237a5423168283bc5f225bea11c39d6bc61f97a88a276263"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseOrgScopedSpec (cyclomatic 11, cognitive 13): parseOrgScopedSpec 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":"packages/cli/src/create/org-manifest.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"46287dce2bd5296179cc07d7399795f7342b567654f2ef9965e5d0abdfed1a7e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function autoFixRemoteTemplateCommand (cyclomatic 11, cognitive 13): autoFixRemoteTemplateCommand 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":"packages/cli/src/create/templates/remote.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e5ae16439b88cf5058e0eb74e08c3f6561374c8c4792fd35820efc0dc4565b9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function taskKeepReason (cyclomatic 11, cognitive 13): taskKeepReason 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":"packages/cli/src/migration/migrator/script-runner.ts"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"e94bbc46c509be16065fc9347aabef385dc807181bc22931e5b8f1b09bcdec1b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function projectListsRequiredVitestPeer (cyclomatic 11, cognitive 13): projectListsRequiredVitestPeer 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":"packages/cli/src/migration/migrator/vitest-ecosystem.ts"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"55517873391b1a4a2a0cbee58d9ea8bd26bd3c4c92adb04c47bc7b0b842e84e8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function packageInvocation (cyclomatic 11, cognitive 13): packageInvocation 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":"packages/cli/src/vpx-script.ts"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"35bb7605b7999abab7bb3b6afc994c5281030933b710fed8c4160f20d6d6dd31"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function preparePreviewPackages (cyclomatic 11, cognitive 12): preparePreviewPackages 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":"packages/cli/generate-preview-install-lockfile.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"134ae28aec427c45b72efa62acce536548d78b25f94fe5fe783eacbe6489a9ae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function finalizeCoreMigrationForExistingVitePlus (cyclomatic 11, cognitive 12): finalizeCoreMigrationForExistingVitePlus 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":"packages/cli/src/migration/migrator/core-finalization.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a4c40ffe6bc27021232cfd9564af429aa4d542e73900b23702c773f763efc1b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function config (cyclomatic 11, cognitive 12): config 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":"packages/cli/src/migration/vitest-v5/config.ts"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"05fff833e51721b6240bed60b9e795a23531d7bd953f0b37daddeb37c4f7adfc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function approveBuilds (cyclomatic 11, cognitive 12): approveBuilds 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":"packages/cli/src/utils/approve-builds.ts"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc6360db4f53a150b2dacf5e39b8c986a50fb506b8764c4a1943888b17972ccf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareAndPublishCliPackage (cyclomatic 11, cognitive 11): prepareAndPublishCliPackage 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":"packages/cli/publish-native-addons.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6a6ef53910edc4cda00b04c576ffa2e55cd38c3c5f294447cb9f27ea6d6a630"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rewriteMonorepo (cyclomatic 11, cognitive 11): rewriteMonorepo 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":"packages/cli/src/migration/migrator/orchestrators.ts"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"1472f0b1330ec7e06d4639b9bdc7fdb2b13957098c919a84d15b8872d9d04e82"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function opt (cyclomatic 11, cognitive 11): opt 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":"packages/prompts/src/multi-select.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ae44712e086a8d847cb7a8db5156f691748cb0e5e766d811dd04e1f549d35e8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectMigrationPlan (cyclomatic 11, cognitive 10): collectMigrationPlan 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":"packages/cli/src/migration/bin.ts"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"92cef54be8990b614dbdc73f86c0a9962a546f8212c2afa349c1365b14e2c03c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fileUsesRunner (cyclomatic 11, cognitive 10): fileUsesRunner 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":"packages/cli/src/migration/migrator/script-runner.ts"},"region":{"startLine":1263}}}],"partialFingerprints":{"codehealthFindingId/v1":"3009619d158651da031733af886f9c761f1d52778cf65975196e3d1ee358f565"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tryAdoptEffectiveDispatcher (cyclomatic 11, cognitive 9): tryAdoptEffectiveDispatcher 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":"packages/cli/src/config/hooks.ts"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcb204422b3bdf514d471da5a2fa938dd843d37864055b9b83c84b50fe2b3aa5"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/cli/src/migration/bin.ts: 1654 lines of code: packages/cli/src/migration/bin.ts has 1654 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":"packages/cli/src/migration/bin.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e20d0a93bb71c18f4f8d7943ca9c424553d28f684238bde40a4962a1edb872a"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/cli/src/migration/migrator/catalog.ts: 1458 lines of code: packages/cli/src/migration/migrator/catalog.ts has 1458 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":"packages/cli/src/migration/migrator/catalog.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a81cba08fa01e212d3a77ed39674337501721419b421888791c04b9273f2348c"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/cli/src/migration/migrator/vite-plus-bootstrap.ts: 1378 lines of code: packages/cli/src/migration/migrator/vite-plus-bootstrap.ts has 1378 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":"packages/cli/src/migration/migrator/vite-plus-bootstrap.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2116bf86302dbad93138a1bba711e4ac1e9a9ad9637cf47e384b193d19ad934b"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/cli/src/migration/migrator/script-runner.ts: 1353 lines of code: packages/cli/src/migration/migrator/script-runner.ts has 1353 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":"packages/cli/src/migration/migrator/script-runner.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"48bebb7eae6a54a040eb17879c274d1d80db7ac072c1985603676583ef77641b"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/cli/src/create/bin.ts: 1339 lines of code: packages/cli/src/create/bin.ts has 1339 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":"packages/cli/src/create/bin.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7502b4fc5aeaff99e4913a8d96700c7500815eef1e892cd3f1a3c53d0fcb8960"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/cli/build.ts: 1287 lines of code: packages/cli/build.ts has 1287 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":"packages/cli/build.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9b1652dac163e9ab82bbfbf5403f4899c61972f52d5eb2e62c63f0756941513"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/cli/src/migration/vitest-v5/source.ts: 1189 lines of code: packages/cli/src/migration/vitest-v5/source.ts has 1189 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":"packages/cli/src/migration/vitest-v5/source.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf983e58670e3b55eaebaa4e254e38bbc547dc73a9b0c9cf9db33cfd7660471f"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/cli/src/help.ts: 1146 lines of code: packages/cli/src/help.ts has 1146 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":"packages/cli/src/help.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5338cd0140ad42ef2300db13e6729c2388b418a865fc03e8463ca0064cef88c5"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/cli/src/define-config.ts: 1080 lines of code: packages/cli/src/define-config.ts has 1080 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":"packages/cli/src/define-config.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"84feca828deecddd1da8c21838a3f339e14b3313b38bc30ba9b71c7c1a5fd738"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/cli/src/migration/migrator/eslint.ts: 1063 lines of code: packages/cli/src/migration/migrator/eslint.ts has 1063 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":"packages/cli/src/migration/migrator/eslint.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"34d4a8af3b4b1e1facde1f7321aa6f3b0e9b8d87e5adb1bc767327979415bd53"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/cli/src/migration/migrator/vitest-v5.ts: 1024 lines of code: packages/cli/src/migration/migrator/vitest-v5.ts has 1024 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":"packages/cli/src/migration/migrator/vitest-v5.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a32fc559d9d522ab078c1b745867333010e7d99e1d8ec3eed60a5ed3ffb50b9b"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/tools/src/sync-remote-deps.ts: 948 lines of code: packages/tools/src/sync-remote-deps.ts has 948 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":"packages/tools/src/sync-remote-deps.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b47137fa98b10446b30ee229b697e132cb065222e4c26d7e5da4b51f6dbecd23"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/cli/src/migration/migrator/vite-config.ts: 902 lines of code: packages/cli/src/migration/migrator/vite-config.ts has 902 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":"packages/cli/src/migration/migrator/vite-config.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65e4254ca1f8fe4e34201a312c69b3127ca1559eeb893617d27c891543f3513c"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/cli/src/migration/migrator/vitest-ecosystem.ts: 778 lines of code: packages/cli/src/migration/migrator/vitest-ecosystem.ts has 778 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":"packages/cli/src/migration/migrator/vitest-ecosystem.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c423ca19073c791b48f84da35fbef67f693da882d702af2e793d00fc644ffd8"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/tools/src/local-npm-registry.ts: 773 lines of code: packages/tools/src/local-npm-registry.ts has 773 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":"packages/tools/src/local-npm-registry.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fba4a14814b698583b4a98ecef8744b9bb7fdb268816659c2c2a07c4fcb67fc6"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/cli/src/migration/vitest-v5/scopes.ts: 769 lines of code: packages/cli/src/migration/vitest-v5/scopes.ts has 769 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":"packages/cli/src/migration/vitest-v5/scopes.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eade4ec8422c4225580d71d71e3b575fef0f75b561ec66440a33b4aedd87f39"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/core/build.ts: 742 lines of code: packages/core/build.ts has 742 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":"packages/core/build.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d65d7462dfdd43ceeb8accbeb411dc655a41cd80765244dd3e2e13f66e58006"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/cli/src/config/hooks.ts: 739 lines of code: packages/cli/src/config/hooks.ts has 739 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":"packages/cli/src/config/hooks.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"08d578a1cead5c9bcfad2e6c3713bbb621a686f3d0c4432d2cd96e1c71cb502a"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/cli/src/migration/migrator/tsup.ts: 657 lines of code: packages/cli/src/migration/migrator/tsup.ts has 657 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":"packages/cli/src/migration/migrator/tsup.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"455e99b8b2c9f300ec31ad0d56e0c2a8c21e201304a80ac0f84a8c18be192b5d"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/cli/src/migration/migrator/orchestrators.ts: 650 lines of code: packages/cli/src/migration/migrator/orchestrators.ts has 650 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":"packages/cli/src/migration/migrator/orchestrators.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8affccd244fc9edb7619cfc6c927c41a8c914ee9ac062de1ad7a23818db5ccb"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/cli/src/migration/vitest-v5/config.ts: 627 lines of code: packages/cli/src/migration/vitest-v5/config.ts has 627 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":"packages/cli/src/migration/vitest-v5/config.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a79c0966223e2de3a81719f943aeefa46374a4277f5de7b4d3897701457f6b7"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/cli/src/utils/agent.ts: 608 lines of code: packages/cli/src/utils/agent.ts has 608 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":"packages/cli/src/utils/agent.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"22221447be905c194cd2430c8943b27ef4df26b582dc4cb850b192055d13927a"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/cli/src/utils/approve-builds.ts: 606 lines of code: packages/cli/src/utils/approve-builds.ts has 606 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":"packages/cli/src/utils/approve-builds.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e9e373c8a6469955ddd0c8805985dee4bdcc0f547b11a6384d0770c35f93668"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/cli/src/utils/editor.ts: 602 lines of code: packages/cli/src/utils/editor.ts has 602 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":"packages/cli/src/utils/editor.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09534c136ddb9dc6a8bdd03b34bcf70b66dfc8143e5ee7d3f3161fcf210e7f02"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/cli/src/migration/vitest-v5/ast.ts: 547 lines of code: packages/cli/src/migration/vitest-v5/ast.ts has 547 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":"packages/cli/src/migration/vitest-v5/ast.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed38c96c0cf1cdbf60a5f3c0e7ab4d1c555c00f907623c61093d8925feb8fe10"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/cli/src/vpx-script.ts: 504 lines of code: packages/cli/src/vpx-script.ts has 504 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":"packages/cli/src/vpx-script.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cc8c54451e0853b424a4d7ad70940ae9343b9724bbd90976166c33901856222"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/cli/src/migration/migrator/git-hooks.ts: 495 lines of code: packages/cli/src/migration/migrator/git-hooks.ts has 495 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":"packages/cli/src/migration/migrator/git-hooks.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7650a17d88fcebc686d77a06ecd188c59d49fef2cd554ce3043a1a5607e9fe8"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/cli/src/migration/migrator/source-scan.ts: 478 lines of code: packages/cli/src/migration/migrator/source-scan.ts has 478 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":"packages/cli/src/migration/migrator/source-scan.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"410bbe98c2da8add78325e686b04ca3256c1fdfa34e6e8e732261491654b58ee"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/cli/src/oxlint-plugin.ts: 463 lines of code: packages/cli/src/oxlint-plugin.ts has 463 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":"packages/cli/src/oxlint-plugin.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b75a60d22421e43bb2364ec0b870546317fde54ea260ad8a5f5b4950bcca64eb"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/cli/src/migration/migrator/oxlint-config.ts: 456 lines of code: packages/cli/src/migration/migrator/oxlint-config.ts has 456 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":"packages/cli/src/migration/migrator/oxlint-config.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d31d6e0d6681b21f9fe1e0a8278810ee1e3972254318116bdc7e5f856d3a7d1"}},{"ruleId":"R3","level":"warning","message":{"text":"scripts/generate-license.ts: 456 lines of code: scripts/generate-license.ts has 456 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/generate-license.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"29cdd31aca276b4c5ca853fdfc4a387d2c30f3184f8a5b08a3f9283898a74566"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/cli/src/migration/migrator/package-json.ts: 443 lines of code: packages/cli/src/migration/migrator/package-json.ts 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":"packages/cli/src/migration/migrator/package-json.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"21b00cc765eddedcfc9871e5cd1a53be8d268a7ea421a1e5f5d302976d68169a"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/cli/src/sync-versions/plan.ts: 436 lines of code: packages/cli/src/sync-versions/plan.ts has 436 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/sync-versions/plan.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8639ba941e05dcf36e51f14e0a1dbbb5bb7a483994623cffa171f1de44a25615"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/cli/src/migration/migrator/ts-node-config.ts: 433 lines of code: packages/cli/src/migration/migrator/ts-node-config.ts has 433 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":"packages/cli/src/migration/migrator/ts-node-config.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f52e21baf96bb1effb41e0c44742f4a70e66ecdec882ff70fecf3965db088e68"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/cli/src/migration/migrator/yarn.ts: 428 lines of code: packages/cli/src/migration/migrator/yarn.ts has 428 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/migrator/yarn.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3e9a6178bce5b886a76a8463f26920ed623071df95ac569fb4029b282d1045d"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/cli/src/migration/migrator/shared.ts: 419 lines of code: packages/cli/src/migration/migrator/shared.ts has 419 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":"packages/cli/src/migration/migrator/shared.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"439f7e88e43f9472b4725454f9a97a0f511c1089c3ba96fdd42ac06d4cb65b6e"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/tools/src/install-global-cli.ts: 411 lines of code: packages/tools/src/install-global-cli.ts has 411 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":"packages/tools/src/install-global-cli.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"346bbfd8e113cdd16e58c65cd2dbe91db24b9fd04b88eb332a9c3929f5cd66f5"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/prompts/src/autocomplete.ts: 409 lines of code: packages/prompts/src/autocomplete.ts has 409 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":"packages/prompts/src/autocomplete.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42ae94c0987a62c9d7120140819828a0fda4a539e7dcf236551246f406e9bab0"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/cli/src/migration/migrator/tsx.ts: 408 lines of code: packages/cli/src/migration/migrator/tsx.ts has 408 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":"packages/cli/src/migration/migrator/tsx.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2518e197d3f87312e277eae19169f75b9f2b1d50a4f4e7658c3ffef715722d87"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: crates/vp_cli_snapshots/tests/cli_snapshots/fixtures/app_root_vite_signals/configs/custom-app.ts:1 imports \u0027./milestone\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":"crates/vp_cli_snapshots/tests/cli_snapshots/fixtures/app_root_vite_signals/configs/custom-app.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1338edd82c6b8112ca51f8d1454fb8b4890876799cc849d3f2bdc8340a35fbea"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: crates/vp_cli_snapshots/tests/cli_snapshots/fixtures/app_root_vite_signals/configs/root-no-index.ts:1 imports \u0027./milestone\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":"crates/vp_cli_snapshots/tests/cli_snapshots/fixtures/app_root_vite_signals/configs/root-no-index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5000e972be31c6fb710180d00b06c905ef2827713336fcd41bcd848d7cc7d54c"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: crates/vp_cli_snapshots/tests/cli_snapshots/fixtures/command_user_agent/local-only.mjs:7 imports \u0027./bin/\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":"crates/vp_cli_snapshots/tests/cli_snapshots/fixtures/command_user_agent/local-only.mjs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"03f1b3085975730ea63d47814d3f984578c18746cd5a358d419efb58758a8cd2"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: crates/vp_cli_snapshots/tests/cli_snapshots/fixtures/command_vpx_script/watch/later/main.ts:1 imports \u0027./later.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":"crates/vp_cli_snapshots/tests/cli_snapshots/fixtures/command_vpx_script/watch/later/main.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35f276850587559b6f7055f4a16a308dc4851920d87a1bf9de0ee26c3d8aba2a"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: crates/vp_cli_snapshots/tests/cli_snapshots/fixtures/migration_vitest_v5/verify-in-source.mjs:6 imports \u0027./src/add.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":"crates/vp_cli_snapshots/tests/cli_snapshots/fixtures/migration_vitest_v5/verify-in-source.mjs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"83c990466508e9cc2a320e8ef2a1a0cb704ed90cacd22a4c88750eb8e2901c85"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: crates/vp_cli_snapshots/tests/cli_snapshots/fixtures/new_vite_monorepo/degit-fixture/cli.mjs:12 imports \u0027./template/\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":"crates/vp_cli_snapshots/tests/cli_snapshots/fixtures/new_vite_monorepo/degit-fixture/cli.mjs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"53900ea36c4e937e7f67bcbba68eb0d68101171987e71c484858208e1cef25d3"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: packages/tools/src/__tests__/local-npm-registry.spec.ts:61 imports \u0027../../../../crates/vp_cli_snapshots/tests/cli_snapshots/registry\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 (1 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":"packages/tools/src/__tests__/local-npm-registry.spec.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"a553009a0588c434203d8758325c7ddbba193cf3a931c0ff8616e1d2aae26863"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: packages/tools/src/__tests__/record-snapshot-registry.spec.ts:24 imports \u0027../../../../crates/vp_cli_snapshots/tests/cli_snapshots/registry\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":"packages/tools/src/__tests__/record-snapshot-registry.spec.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"7637acb0cd176b41ce5a1ec24b9dcc2380fb7f9fa4ec4a6556198ec458953c0e"}},{"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":"packages/cli/build.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"31bc6146eb526bd159142e498d4f7eb1c2067125d29bdee5efce401ee4a4a36d"}},{"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":"packages/core/build.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"598305220b60b479ea84f2b487ebbd7aa3863964b3156f29bc4d42656abb3693"}},{"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":"ecosystem-ci/patch-project.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bbcc49e248ebfe991c0d315b47cc753340a521d0a99e2493b06f6b9ef1a58a3"}},{"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":"packages/cli/src/vpx-bin.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dc5be3b9ec8cb03e372f45b53b4096888cd64029b8eecab6ecc37e9fdd0775f"}},{"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":"packages/core/build-support/find-create-require.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26b411c10d006b1b9974f5ee29f681138c05cee4470025106a66f967ad49eb70"}},{"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":"ecosystem-ci/webdriverio.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"722560b2cc1b2756e148c9d45d9b16a7124d44ad56bffb6536ab60b0d913d054"}},{"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":"packages/core/build-support/rewrite-module-specifiers.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0cd498f4abb0a61abf33fe1925624fd215f52b629f355c6872e028e7db1bd30"}},{"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":"packages/cli/src/pack-bin.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f29c218c2658afc6d95811c20c8f3a80b046669d44bdad619dc6d89a0ed42a3"}},{"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":"packages/cli/src/script-preload.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c85eff74dc7de71e2b6a3ce9c9b14a0605200302f39ba2bf257fc344c5383c1"}},{"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":"ecosystem-ci/clone.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42366f334ce6c8a0c6741b8c6343c1b5dbe231200f491ca07ed5c3fa08a94136"}},{"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":"packages/tools/src/record-snapshot-registry.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"828c3a8ece5a066a786c10f4ca6b28bee2ced62554b6541dd269e4993f622152"}},{"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":"ecosystem-ci/verify-install.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"87d33b5caff2ca681df2bdb48519871050ddfc98191ef7e758fb59130287d818"}},{"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":"packages/tools/src/check-rolldown-compat.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"89a55e9f77e991da1de5f2f3148e6645243da7df7f5f899e088fafea445f3c0f"}},{"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":"ecosystem-ci/paths.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"704c85049f329230d3789b8e0c3e3481040781d01e265312fd16fb7006c75fb4"}},{"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":"packages/core/build-support/build-cjs-deps.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c54222bc3776ab934f8045c8927c3e33b9438bdcb615b155e70bbcc8e5d1c68"}},{"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":"ecosystem-ci/verify-videojs-v10.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e00df38f18e69ac65e92dc1816daba1e3be56eeacb33d25c2def4d0da704a450"}},{"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":"packages/cli/src/script-watch.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f169b07529d937ff334dbc7f297a0cb3f4cf09e43ee43fd171962913a88278d4"}},{"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":"packages/core/build-support/rewrite-imports.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8326cce97aab950ca9c52839084a641d1f265df34b31d99cb9b3e4aa3bf4dad"}},{"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":"packages/tools/src/json-edit.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea2891ef2693bb5ddabe0f9eeced8d7e603cc5b6ed3bb84dd2157ca0d6ccaa2f"}},{"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":"ecosystem-ci/npmx.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d165b0cf3754a0c635f0324ff2026180f8b2d548e935fa736eb5f32f57930db6"}},{"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":"packages/tools/src/bin.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b861c5ecfbf23cb0c32c06028b2abfe149b7bd0fe1b35e8fbd1a8c76e99c206"}},{"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 crates/vp_cli_snapshots/tests/cli_snapshots/fixtures/app_root_vite_signals/configs/custom-app.ts and 7 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":"crates/vp_cli_snapshots/tests/cli_snapshots/fixtures/app_root_vite_signals/configs/custom-app.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4efa8cb5f5d11e93e95ded0bf6f387205ceef6bf9a896d2b8d25e1f4c79e20f"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~424 LoC): no import path from any entry point (285 application, 289 tooling, 939 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":"ecosystem-ci/patch-project.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"55b0552cb6df5fb7228185dd8a7e476cd4adf082806282603bc8c508a98495d6"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~206 LoC): no import path from any entry point (285 application, 289 tooling, 939 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (ecosystem-ci/patch-project.ts) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecosystem-ci/webdriverio.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d30c3ccd2c5e385f9eef1fe8c8cf4d3dfa649e8776a3564474ea1406f7e1e31b"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~72 LoC): no import path from any entry point (285 application, 289 tooling, 939 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":"ecosystem-ci/verify-install.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8345cc1af5841ceaeaa4ab785e62f50122b65d38936d0ca5560939784a0ed3f"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~37 LoC): no import path from any entry point (285 application, 289 tooling, 939 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":"ecosystem-ci/verify-videojs-v10.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b656aa9141e25eb78aec207bb4105164f08593594c0a65a04b84bc176656c995"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~21 LoC): no import path from any entry point (285 application, 289 tooling, 939 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (ecosystem-ci/patch-project.ts) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecosystem-ci/npmx.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8acfca699bc60e4a0fb6b05d32aaa1fc799098fcfbd3ca950f51d7e649e44718"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027readPrepareRulesYaml\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in packages/cli/src/migration/migrator.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in packages/cli/src/migration/migrator.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/migrator/core-finalization.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"7669923370e2a324094911528c95e8a16dcd8e6e16467c073834c9981094f82a"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@voidzero-dev/vite-plus-tools\u0027: Declared in the root 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":"9ec0e175742a79d59bc0450c69aafe3d8db374e2f9c8f73d168d3222c72de15c"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): packages/cli/src/migration/migrator.ts \u2192 packages/cli/src/migration/migrator/catalog.ts \u2192 packages/cli/src/migration/migrator.ts (one verified cycle inside a mutually-dependent group of 19 files)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/migration/migrator.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cfe2ced5af9d8d32bb618ee1f940cf18276d69b0703be466e2ad082723a69ab"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060binding?.constant \u0026\u0026 binding.declaration.type === \u0027VariableDeclarator\u0027\u0060 appears character-identically in 2 files \u2014 packages/cli/src/migration/vitest-v5/config-object.ts, packages/cli/src/migration/vitest-v5/config.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":"packages/cli/src/migration/vitest-v5/config-object.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"905b4fc99cdb689d59b12e30046cc99413ae6fdf72d73809f5b0e10f2d40a414"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060catalogName \u0026\u0026 catalogName !== \u0027default\u0027\u0060 appears character-identically in 3 files \u2014 packages/cli/src/create/utils.ts, packages/cli/src/migration/migrator/catalog.ts, packages/cli/src/migration/migrator/yarn.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":"packages/cli/src/create/utils.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"45195491076154838b2eeffd47cb1bb3da306510aedac7dd9ab2109d30a4ac1d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060declaration \u0026\u0026 editor.parent(declaration)\u0060 appears character-identically in 3 files \u2014 packages/cli/src/migration/vitest-v5/ast.ts, packages/cli/src/migration/vitest-v5/source.ts, packages/cli/src/migration/vitest-v5/storybook.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":"packages/cli/src/migration/vitest-v5/ast.ts"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8522602673b048c1ef4a4b88f1257e9b0e2e1d07c9d5eea7b763f23d6f8b577"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060doc.has(\u0027catalog\u0027) || !doc.hasIn([\u0027catalogs\u0027, \u0027default\u0027])\u0060 appears character-identically in 2 files \u2014 packages/cli/src/create/utils.ts, packages/cli/src/migration/migrator/catalog.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":"packages/cli/src/create/utils.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e3c7d32c6d7431cd3e1ceaa35318c99986d34dd43ad07b08cf5e828e4b11bfa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060eslintProject.hasDependency \u0026\u0026 !eslintProject.configFile \u0026\u0026 eslintProject.legacyConfigFile\u0060 appears character-identically in 2 files \u2014 packages/cli/src/migration/migrator/eslint.ts, packages/cli/src/migration/setup-plan.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":"packages/cli/src/migration/migrator/eslint.ts"},"region":{"startLine":1095}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3f2cb89c45a428efaeae1d6ce1946b5a5c90032a9d6deb9e30373dd2b4eb799"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060filename === \u0027.lintstagedrc\u0027 \u0026\u0026 !isJsonFile(configPath)\u0060 appears character-identically in 2 files \u2014 packages/cli/src/migration/migrator/eslint.ts, packages/cli/src/migration/migrator/vite-config.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":"packages/cli/src/migration/migrator/eslint.ts"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f903d34bfe5588a61aff95a439a85c798fd293895016d7310cc2ce402fa9624"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060name !== \u0027vitest\u0027 \u0026\u0026 name.includes(\u0027vitest\u0027) \u0026\u0026 !VITEST_DIRECT_USAGE_EXCLUDED.has(name)\u0060 appears character-identically in 2 files \u2014 packages/cli/src/migration/migrator/package-json.ts, packages/cli/src/migration/migrator/vitest-ecosystem.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":"packages/cli/src/migration/migrator/package-json.ts"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"70a2c005dfbf777d9d71350ab1bd361ec8955a89fc997ac4f79306530b9d8dbb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060options.agent !== undefined || !options.interactive\u0060 appears character-identically in 2 files \u2014 packages/cli/src/create/bin.ts, packages/cli/src/migration/setup-plan.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":"packages/cli/src/create/bin.ts"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ba4b566b062178e4bdc101c89745fe771c5adaa5d667dc3876b4e9a335a9b80"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060packageManager === PackageManager.npm || packageManager === PackageManager.bun\u0060 appears character-identically in 2 files \u2014 packages/cli/src/migration/bin.ts, packages/cli/src/migration/migrator/orchestrators.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":"packages/cli/src/migration/bin.ts"},"region":{"startLine":1628}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad8a8458c6986884233a9e63a35de06bd9263600d9e0a311df0d0d66e32b709c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parent?.type === \u0027VariableDeclarator\u0027 \u0026\u0026 parent.id.type === \u0027Identifier\u0027\u0060 appears character-identically in 2 files \u2014 packages/cli/src/migration/vitest-v5/config.ts, packages/cli/src/migration/vitest-v5/source.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":"packages/cli/src/migration/vitest-v5/config.ts"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6217b57091ff5d764bd951614bdfc05805ad1f4b6967cc0eb67b7d2a83bc606"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060pkg.workspaces \u0026\u0026 !Array.isArray(pkg.workspaces)\u0060 appears character-identically in 2 files \u2014 packages/cli/src/migration/migrator/catalog.ts, packages/cli/src/utils/workspace.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":"packages/cli/src/migration/migrator/catalog.ts"},"region":{"startLine":1129}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec649400dacf48cc9fb130a2412d33d576ba43228a358c7433b1827dc704d3b1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060pnpmMajorVersion !== undefined \u0026\u0026 pkg.pnpm\u0060 appears character-identically in 2 files \u2014 packages/cli/src/migration/migrator/catalog.ts, packages/cli/src/migration/migrator/vite-plus-bootstrap.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":"packages/cli/src/migration/migrator/catalog.ts"},"region":{"startLine":1333}}}],"partialFingerprints":{"codehealthFindingId/v1":"9900cbc8d64fcdf272f0b55158887c1d0c22f8251ef9bd534397d1cb383eb98c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060prompts.isCancel(action) || action === \u0027skip\u0027\u0060 appears character-identically in 2 files \u2014 packages/cli/src/utils/agent.ts, packages/cli/src/utils/editor.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":"packages/cli/src/utils/agent.ts"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c43a4812da343f180553d5666c686482164889812084b1dff03e5d81dbbee42"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060required \u0026\u0026 (selected === undefined || selected.length === 0)\u0060 appears character-identically in 2 files \u2014 packages/prompts/src/group-multi-select.ts, packages/prompts/src/multi-select.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":"packages/prompts/src/group-multi-select.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"79e1fcd0a4ace34c3f979d1693d9da186bbc048f63d01ca112f349eaf4538662"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060supportCatalog \u0026\u0026 !VITE_PLUS_VERSION.startsWith(\u0027file:\u0027)\u0060 appears character-identically in 2 files \u2014 packages/cli/src/migration/migrator/orchestrators.ts, packages/cli/src/migration/migrator/package-json.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":"packages/cli/src/migration/migrator/orchestrators.ts"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"6396644e6cea33782fd15e4e4c39aadf0d096fa51d0ab04a0846ad0bedf3de7c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060supportCatalog \u0026\u0026 packageManager !== PackageManager.bun\u0060 appears character-identically in 2 files \u2014 packages/cli/src/migration/migrator/package-json.ts, packages/cli/src/migration/migrator/vite-plus-bootstrap.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":"packages/cli/src/migration/migrator/package-json.ts"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4d67333d9cbd5d08e314bf0064a61a25ff18ec9b60c1714f7b68f6c572c992e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0027object\u0027 \u0026\u0026 value !== null \u0026\u0026 !Array.isArray(value)\u0060 appears character-identically in 3 files \u2014 packages/cli/src/oxlint-plugin-config.ts, packages/cli/src/utils/editor.ts, packages/tools/src/sync-remote-deps.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":"packages/cli/src/oxlint-plugin-config.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"41c0d77e6da4fb292041874f5e098615a255df9bd439856fae1b0a3183346efc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060usesAnyOptInProvider \u0026\u0026 packageManager === PackageManager.npm\u0060 appears character-identically in 2 files \u2014 packages/cli/src/migration/migrator/package-json.ts, packages/cli/src/migration/migrator/vite-plus-bootstrap.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":"packages/cli/src/migration/migrator/package-json.ts"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e333f1f0049d05d69a6766a75fc57088cc064196a87d0c786662f6d02a4c9a2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value !== null \u0026\u0026 typeof value === \u0027object\u0027 \u0026\u0026 !Array.isArray(value)\u0060 appears character-identically in 7 files \u2014 packages/cli/src/migration/migrator/shared.ts, packages/cli/src/migration/migrator/vitest-ecosystem.ts, packages/cli/src/migration/migrator/vitest-v5.ts, packages/cli/src/migration/vitest-v5/lockfile.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":"packages/cli/src/migration/migrator/shared.ts"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"7778fe0a43eac34267753577e693ec3aa176ab3f40ed073e81116ed46f16390d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060has_flag_before_terminator(args, \u0022--init\u0022) || has_flag_before_terminator(args, \u0022--migrate\u0022)\u0060 appears character-identically in 2 files \u2014 crates/vp_global_cli/src/cli.rs, packages/cli/binding/src/cli/help.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/vp_global_cli/src/cli.rs"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"c53cdaab171f98c9d5a281428780f598a0ac3296a7208c24e2315d1aca2d468f"}},{"ruleId":"X2","level":"note","message":{"text":"Not all async functions that make a request accept an AbortSignal: Only 2/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: npmLastWeekDownloads: \u0060npmLastWeekDownloads\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/.vitepress/theme/data/fetch-trusted-stack-stats.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f628ba94df377026294a1a892d0a555f3e700c3652c1123f90e018d67bf82c9"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: fetchGithubStargazers: \u0060fetchGithubStargazers\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/.vitepress/theme/data/fetch-trusted-stack-stats.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cd51ec7368d38b98a42122f26f17f5b4e6fc04b9ce80bd947c7cc6b95b81148"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 261 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":"packages/cli/binding/src/lib.rs"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fa5a45eb108512eabdc39018dadc975aa078176597a624d4e82eabdb0cfaa6b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 266 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: \u0060error!(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":"packages/cli/binding/src/lib.rs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"4009ebc781c95187f34dc51be86533ad16a3d3a42886ef5c1cfe5e6d8e0f6147"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 94 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":"packages/cli/binding/src/utils.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"589e8d28794fe08a002f8293c902dfe1ce41169caaa240eeb97ac07156d65823"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 171 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":"packages/cli/binding/src/cli/handler.rs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"89cb101e7c01f14ff816b5aadf225a7d3ea7f9cdfec806bf1e8702530b815b50"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 180 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":"packages/cli/binding/src/cli/handler.rs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"a658f67b0cc93cdab5668ed5d8145a10c4fcfcf4b9fa22e10a416f30a64b69d4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 200 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: \u0060error!(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":"packages/cli/binding/src/cli/handler.rs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"5645a484b1afad1bd7a9b96c26d89b7c30c6917065890abe1294c4df69337b73"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 67 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: \u0060error!(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":"packages/cli/binding/src/cli/resolver.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"933cf92e762b62320ee60ccd786bcd76b92419a96833b2188e52f523a3be69a2"}},{"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/vp_shared/src/http.rs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d96b22a23cacf0472349ffbacd0c3701ed4c52f5fed7a156e24b345d3caf15b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 279 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/vp_setup/src/install.rs"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"a81e8466e3d4b641e5e47fb8bd9cb8233ec046d08c01db50ef33d8cc46e6cde2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 404 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/vp_setup/src/install.rs"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"869fc651369af6a19e82dab1cb2782be084cdf81dad42f8422c8c261dd58b9a5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 609 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/vp_setup/src/install.rs"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fbbb0627ef158862337929c55010fb2ff8d2d0b862c5320090a01d27fd8d85f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 655 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/vp_setup/src/install.rs"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"334f3d50b87d5ae17ab8a9471cc43b7f0af9fb483046ae72b3665f93133a697e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 704 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/vp_setup/src/install.rs"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f5eb1a86a9b4974a941cf6bcd4a6c271ee882202cf0ad050a1d7dd31ccd51f0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 729 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/vp_setup/src/install.rs"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"83a8c3e5a6bc432911a19ba1369a4165cc7f28bf51caaa0d65c0f8159625b3c5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 765 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/vp_setup/src/install.rs"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"025aae4bbc87e0408e2058656e3df03ebc6ba84be35ad6994598cc629d55edca"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 781 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/vp_setup/src/install.rs"},"region":{"startLine":781}}}],"partialFingerprints":{"codehealthFindingId/v1":"354aef47d062d7976899adb16725a3d3413dabf084912f31b615b451779c8b08"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 863 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/vp_setup/src/install.rs"},"region":{"startLine":863}}}],"partialFingerprints":{"codehealthFindingId/v1":"773a9c0a4d82a8eac33036bac594e16d07f934f770fd8f1a52fcdb7591e06816"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 866 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/vp_setup/src/install.rs"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5cb18c4ea5d6da5118465a17807ffd9874f04230c8dc6f3d9615ed6fea2682a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 870 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/vp_setup/src/install.rs"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b2d0c96a49612ebc69fd22ca9285db6e63efb5466614428c40cb3be4ef0a92b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 908 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/vp_setup/src/install.rs"},"region":{"startLine":908}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a31909b1185a3bbb2314e17b6b40b2dc41a48ad431088c9f37e8bad52d55da2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 910 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/vp_setup/src/install.rs"},"region":{"startLine":910}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bdfad1c011f7d7c7d166881b354d13310b1e6a901ab902738963ca29f0d072a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 934 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/vp_setup/src/install.rs"},"region":{"startLine":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e95c0d976a3703db6666c6b8f4669b16642738ac04a3070c9ec11b4cdd7cffe"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 983 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/vp_setup/src/install.rs"},"region":{"startLine":983}}}],"partialFingerprints":{"codehealthFindingId/v1":"de92b3a31a2e0a2dc6c1fc3d92c062a5859796de3e4cdfd1c0fcc71110b132c1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 132 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/vp_setup/src/registry.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca24cfae0acb3a4f046fe970d38a8b039fc81d21e8418e5cebf8fa5cc57cb79"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 158 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/vp_setup/src/registry.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"90ebd3d5c75297ce012a5c4dd31cbfd227f4d7d175588093b35f84a0a5c549b2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 85 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/vp_pm_cli/src/lifecycle_env.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"74b2f5dea6fce2799f931573399a731494677f802853570c328b2b868230fad7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 296 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/vp_pm_cli/src/package_manager.rs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ebb2e6ce3dfc426574d12e751fb300a54f9b931169aa3aef359a102b929c667"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1327 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/vp_pm_cli/src/package_manager.rs"},"region":{"startLine":1327}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd88c81ccbd6369fbb3e308f7e0539645724cdb6a3687923cd97aabe2d9d722a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 1567 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/vp_pm_cli/src/package_manager.rs"},"region":{"startLine":1567}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d6383ea2abf1cd05e4e52cd2131326050acd98c14ff6ece933036938ee341d1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 1799 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/vp_pm_cli/src/package_manager.rs"},"region":{"startLine":1799}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa0b69243efece2ced4bfac7bf4b004e270938b69fb9852429c1f69e8659425"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 1803 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/vp_pm_cli/src/package_manager.rs"},"region":{"startLine":1803}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dc8199791f2e9b5fb9afc0d5c028d1279628524a2ab696fb9176166ee8abe95"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 1812 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/vp_pm_cli/src/package_manager.rs"},"region":{"startLine":1812}}}],"partialFingerprints":{"codehealthFindingId/v1":"b25a279922672948d87a8bb47f31459f5e366115e862bc4056992fe90a482b06"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 1816 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/vp_pm_cli/src/package_manager.rs"},"region":{"startLine":1816}}}],"partialFingerprints":{"codehealthFindingId/v1":"791ea8900aa6b98734fa3ba6dc2c1ff8ef492867cb73affb9b1eefff9ee1cc80"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 2025 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/vp_pm_cli/src/package_manager.rs"},"region":{"startLine":2025}}}],"partialFingerprints":{"codehealthFindingId/v1":"847a05d499be8dae7d1378cd39e7695139185791a452a216b030da955a43c33f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 2028 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/vp_pm_cli/src/package_manager.rs"},"region":{"startLine":2028}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6625d10c093484efbbde97e0555205329aec58dd4efe42764f9f1be4b2891b1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 2233 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/vp_pm_cli/src/package_manager.rs"},"region":{"startLine":2233}}}],"partialFingerprints":{"codehealthFindingId/v1":"6caf884633770250b9d8ff0cdee9a76818a587e2285538810237f39ca42e9831"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 2236 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/vp_pm_cli/src/package_manager.rs"},"region":{"startLine":2236}}}],"partialFingerprints":{"codehealthFindingId/v1":"acac4b9eb4ade83b94c3eccf03bf4f5901e398f5588ba9eb05ebf21b6bc4467e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 2269 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: \u0060error!(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/vp_pm_cli/src/package_manager.rs"},"region":{"startLine":2269}}}],"partialFingerprints":{"codehealthFindingId/v1":"36dd46b37123a6b31a3f4fcdd3031d1f3b45d30a1e97f09e8786d5aca66aea69"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 176 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/vp_pm_cli/src/request.rs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e343ed4ea6ec13c7fdd5d673df8fc12c9c06a917d0e060b7d9fcd9cacc7c6e2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 253 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/vp_pm_cli/src/request.rs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"194eadeee910ff4138227e4f2b29451dd6f275918ca2c883503988c3184827df"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 295 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/vp_pm_cli/src/request.rs"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"26fcd0cd27a9b94b06ae8ebdc94f3ea5f30b2d2f171d5c0af925f10847c233e2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 340 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/vp_pm_cli/src/request.rs"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"da76aae93687444a894d74016e7e1547403c7abb7000934664c30fe56b7a5633"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 403 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/vp_pm_cli/src/request.rs"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"86c6d7f428f707f2c1ab5d4d61144bbadf930e61e3783696508fded9aae37af4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 420 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/vp_pm_cli/src/request.rs"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8007e25d299fa142f66a7a69a58813ed2f1be3c9f2db88ea5343752a206cbd3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 450 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/vp_pm_cli/src/request.rs"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f6654fa7a3aa16ba0814c036b96c7ffc7725b58759b9292c80bdf194f7a0dcb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 521 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/vp_pm_cli/src/request.rs"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d497c832f5eacde105f8e9232082f49c62217db1cc52541398c56629e5522a3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 49 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/vp_pm_cli/src/shim.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"520415063de05f8c0e9385717d9e3c824653315ff0dd2d83d21a521de3c2e921"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 136 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/vp_pm_cli/src/shim.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"470b62f9843315b5ef57d7357429a92869cd88807a7ff86938eaa08e9297593e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 46 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: \u0060info!(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/vp_js_runtime/src/download.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"996ce548ba39e9e7502f29c5bf1c52475ed4e66455c1140d92b7ac0896099395"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 47 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/vp_js_runtime/src/download.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd3a9809cbb0b52497c91836ed9a084acf3bd2d73daf92e67e552aed6bf5f66"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 176 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/vp_js_runtime/src/download.rs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"de191856894f9de74bdf8b708eb93e895b355c16e4a7e228d086c9eb31b2e6fc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 188 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: \u0060info!(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/vp_js_runtime/src/download.rs"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"6229d3d82943789a03d447bb7f6b274e587d0e1ceb93d3c26d841fbc6f083132"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 265 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/vp_js_runtime/src/download.rs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"7acd1d65c65d9b32cd03f7ca4dd71bb95a03e4067e692e724fe91b194123e648"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 294 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/vp_js_runtime/src/download.rs"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea4996932a0b94743765125494da8583f33c083ba17804cdc886938ae258d9f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 306 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/vp_js_runtime/src/download.rs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fa3da94dab05b54047e4cb6d3a43feaadb77df7d28095e28691d67ea0357893"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 369 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/vp_js_runtime/src/download.rs"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"77595f0beb2ad13e3c53ebf09db6ad6ba38a6e1369538a9a52e3dc91fcc2a24d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 385 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/vp_js_runtime/src/download.rs"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"59ab04b1ccd9c6d6c8f9353cb2fab546329c8e3347b5642e7634343c9b1f355f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 412 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/vp_js_runtime/src/download.rs"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"3031b739b2418bd951bad72b1d11ea415d4e3e8c9c143d4ec1f2ebce09efaae4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 425 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/vp_js_runtime/src/download.rs"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"28b1ea1382254d28949f25db051faaf688e15fdc533edfe60c7aadb2ecd3833a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 447 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/vp_js_runtime/src/download.rs"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"adc626778aba0415225a0296431b4978a1107685357c60a3e4e3baa83c370816"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 450 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/vp_js_runtime/src/download.rs"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f080fc5bfa12fe9a26c5d94c9d311fa5254b5488ea90769e1daeefc81476f15"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 465 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/vp_js_runtime/src/download.rs"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"418fca28cdc8ed089df0d94bdc17371b54856f28cb9751749514e858867beab7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 469 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/vp_js_runtime/src/download.rs"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"4853e68cd2becfab40b2b7e7d4ed92511c7f00cff8a03b6e25b844dc0bee4390"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 475 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/vp_js_runtime/src/download.rs"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac90b761cd93aa1d2682f2b22e26edbdd23e7d0209b54f7e06b93d1e38d91188"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 178 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/vp_js_runtime/src/pgp_verify.rs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"7853eb114191a386ec30f873c0124d2ea99611119ff58815653fb838c0cca494"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 167 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/vp_js_runtime/src/runtime.rs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d610ae86ee83f41063eba601bbc4fe7216953f395307c325493137a5ad56cda"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 221 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/vp_js_runtime/src/runtime.rs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbad83cc2e2dc9d1f25f6b8b7a47f6ae799bceebce6b56d48b74c987d9156ce2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 233 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: \u0060info!(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/vp_js_runtime/src/runtime.rs"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"19758166328f25f3669c5063552f0108439d4fa6b9bf45f65aa9a669b14cda2f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 292 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: \u0060info!(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/vp_js_runtime/src/runtime.rs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"51e83f5558e1f8d8d076653b916340ae3232bf33d04397bc66b2bc1c7205cb03"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 523 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/vp_js_runtime/src/runtime.rs"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d8b4461f30d0a79c9b8138c954b104ede0bc6796d93bc532af54f07be6c8e5b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 531 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: \u0060info!(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/vp_js_runtime/src/runtime.rs"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"260662004be36e2076ce64f1ca8f929f4c93b990f3f6cd8ef18c17f9b0f1490d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 553 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/vp_js_runtime/src/runtime.rs"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ce0b31f4e32b6bd0bcdb274e8389d686d86740d37ceaa34bdffbbc8dd327fa2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 566 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/vp_js_runtime/src/runtime.rs"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"35a90e3e58f22210ba3ce716f5a0df66989fdde0078a398982311d2926449491"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 572 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/vp_js_runtime/src/runtime.rs"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bc416ad31b690b7ec57f45885be2bbdaa4388ccd644ca0ed2d57d0977dfe516"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 577 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/vp_js_runtime/src/runtime.rs"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"1764e31fdefd9c84742a7e2973e8426800677c36d45449a428bce5ee0cbdc972"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 630 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/vp_js_runtime/src/runtime.rs"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"2842417d99a9ee34cb85ea832dadde56037160d1539e75cac589fcb9aa12b64b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 682 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/vp_js_runtime/src/runtime.rs"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0cdda8378802d2eca180e4b47764351ad52a36ba55f46e8855d7fac9419aac1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 203 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/vp_js_runtime/src/providers/node.rs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"1350ac0ff920faa06b28c0a1bc973cbfb69f9679b2e05e930d5f9313d79af266"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 214 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/vp_js_runtime/src/providers/node.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"79675f5e5874ed7691b04d82a52eec8fe627cb0e3b943706d788d01a46e77d46"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 225 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/vp_js_runtime/src/providers/node.rs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"d083103e4d12e4a9a13364bd957e30fab769cb9974062a920faa7c4348c80425"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 279 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/vp_js_runtime/src/providers/node.rs"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfda09ed587f4bf1ff1f949eb1847ababeaa40ecc699cbfe47042cf513449a29"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 145 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/vp_global_cli/src/js_executor.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"00ef7a92e0ce2830213e3dc270b8f05a5b2979c3aef5d3d6c658850ccc669419"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 182 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/vp_global_cli/src/js_executor.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c5fa295937f86d21f47494628ebdd506293f8912d7620b0fa0f469b77da1f83"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 203 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/vp_global_cli/src/js_executor.rs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ab33980b012fd118648d5d652d379d5c6f3868909632a316be3320f921fb1e9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 312 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/vp_global_cli/src/js_executor.rs"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"8325a696162eacd56fc15190812e0c63b257a13aa976f72695e5c20bf4f21bb2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 384 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/vp_global_cli/src/js_executor.rs"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c21e0b126276100016078aa3fe1bbd8f18a8311ee1bbcebe6befb4afc8bf37f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 446 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/vp_global_cli/src/js_executor.rs"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c7c5f479159ed0b0df85e13c49bb5c2244ea215d10d6ad814c677ba08f8c6c0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 449 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/vp_global_cli/src/js_executor.rs"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cbb9aa952b41fb53f3a9940ed4e0d7f69daf93f158641f4674397186c7705bc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 527 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: \u0060info!(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/vp_global_cli/src/js_executor.rs"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"2999b64588c86f95fa90a52d23aff5d6091ec7504d45f3300c7f09fc7ebec8c3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 451 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/vp_global_cli/src/main.rs"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b2a41942bc3ac8fd184cbac198a78eda5f52993873b7d6e129b1fe5624068a0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 501 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/vp_global_cli/src/main.rs"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"d63b2b3a662b7864d1260f22c24f464c73911690dedb74c858294af3d29593b0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 70 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/vp_global_cli/src/shim/cache.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"0891cc514662e2a1b99202152832bb91f1c610d10f79537e1f2198f19d3bd296"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 861 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/vp_global_cli/src/shim/dispatch.rs"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d05974e1aeb51018fc4b3276ddc5479fc99136f9c0692346483f52b02b6b92e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 1233 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/vp_global_cli/src/shim/dispatch.rs"},"region":{"startLine":1233}}}],"partialFingerprints":{"codehealthFindingId/v1":"df7814dc38b2509c1801f2df15b8a9895968b14f85eae36259df4257d7760cd6"}},{"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/vp_global_cli/src/commands/vpx.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"5682fcfc2a3466c3b00b07de1e355b468a79802881e98b9e1543db15eea4c3a0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 169 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/vp_global_cli/src/commands/vpx.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"1adcdcdcb50bcb3ed7c17e01e7bf427cd39a906bf9122d3e42971bd9bdd6fd99"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 193 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/vp_global_cli/src/commands/vpx.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a19081c71add554626b10c0a7e35346a44cc6a3b4fccf697e26a7f28b0ec9a5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 85 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/vp_global_cli/src/commands/upgrade/mod.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b1112bb9450bd5909df8c7e49d7d1a9e06565899bf0eef093e0fdc883059c9c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 300 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/vp_global_cli/src/commands/upgrade/mod.rs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fd7ef1c10f1bb93661092559c59affe093d3a2d1ceee66d89a372f3bdb85c4f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 636 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/vp_global_cli/src/commands/global/install.rs"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"0905dbedee5231208eeba36a1397682baf1a018368cb079f0363b7518355bbe4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 889 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/vp_global_cli/src/commands/global/install.rs"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"34d9063d8c2326c8fe38c26ae716dcb39534c2e3dde02ae2de2306151eb30df8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 899 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/vp_global_cli/src/commands/global/install.rs"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"39bf2a393b15db63f26bfd2211233e48a6bf78715c7f907586e2fa6298b08aae"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 909 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/vp_global_cli/src/commands/global/install.rs"},"region":{"startLine":909}}}],"partialFingerprints":{"codehealthFindingId/v1":"3136463225f23fe09ababb2ece63b60d60afd52419b615f0bc4f62fa4fe3f35c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 943 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/vp_global_cli/src/commands/global/install.rs"},"region":{"startLine":943}}}],"partialFingerprints":{"codehealthFindingId/v1":"32cf46611a0770ad5fe6ee08e22a65b3ece71cf621a70de3adc0a9f0cacfab9c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 1326 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/vp_global_cli/src/commands/global/install.rs"},"region":{"startLine":1326}}}],"partialFingerprints":{"codehealthFindingId/v1":"fab1081cce7ff0b57640cece8211dfae43c758f8162dc0f6576ceb4b6b584114"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 1352 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/vp_global_cli/src/commands/global/install.rs"},"region":{"startLine":1352}}}],"partialFingerprints":{"codehealthFindingId/v1":"c26678605d73401e5422ce53d2d278d26bed22bca6221e1f3e1b6c593dec66d6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 190 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/vp_global_cli/src/commands/env/setup.rs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc2dd6cec43e801541bf312de0c50cd0c8f82a8b7a0471196ce009b5a17eacec"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 438 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/vp_global_cli/src/commands/env/setup.rs"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"b65fb13220fbf6f86ad90143060da61be9b20e9bcad94996e48c01537ed5b214"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 460 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/vp_global_cli/src/commands/env/setup.rs"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b312fc8facd2b2d8e373e89451a2ce626f137a62d7ed433d13b3b0dc711754c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 591 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/vp_global_cli/src/commands/env/setup.rs"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"70c87b99d9a8cbec44903bd715ac87481ca58891410c0dffa235ae2fdab0ba2d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 618 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/vp_global_cli/src/commands/env/setup.rs"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"cab8d9195f11f140045b387dbd4f1ffb1e7df78defd373eff7ffad5e1894cc77"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 653 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/vp_global_cli/src/commands/env/setup.rs"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0c92c839d7af56b9cb2e114d42fa6864c0d242ad867cccaf8d4b04d862648ea"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 661 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/vp_global_cli/src/commands/env/setup.rs"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"9856a036a2941fee65b0d35b9eb22ca50a12aae7efaa2a326879032a6be4e1a7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 695 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/vp_global_cli/src/commands/env/setup.rs"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"eef2f6eb499f46b72c90ded07bb517431be246515fec4fb04f0b0b30a717ae71"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 750 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/vp_global_cli/src/commands/env/setup.rs"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d053ba8f9309202f842928290965b6708a2c53c3d7dc76e96746d521223a24c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 770 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/vp_global_cli/src/commands/env/setup.rs"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"996971d00c26516f7b84ab8089985f7a739d8eda31deb23bd9bb38aebdac1ab6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 37 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/vp_command/src/external_tool.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"75e996930515bb35627f33658a8aa605f1da0229d303a31dacfaa61887869ffc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 38 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/vp_command/src/external_tool.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"53e9f10aff8b1166d8ae567b1d5de7bde7ef41e3dc523a65f67ef0f8957e5153"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 283 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/vp_command/src/lib.rs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e88c4316e3a7f80a202e128cb5f13852060e49b63b34d49f1197912c7da06fb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 302 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/vp_command/src/lib.rs"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce147e225c3686d835fdcbe769c3567962bfca0ec739bffe9f78ccb4c31eb7f4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 79 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/vp_command/src/ps1_shim.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed69d80df9d637aeb1840f64698cf7c12cf732737e413a97a5be4ae196ba4509"}},{"ruleId":"X5","level":"note","message":{"text":"Strict null checking is not enabled everywhere the repository type-checks: 13/49 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.7 \u0060!\u0060 null assertions per 1k TypeScript source lines \u2014 38 assertion(s) across the 51722 source line(s) of the 208 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: packages/cli/src/migration/vitest-v5/scopes.ts (6), packages/cli/src/migration/migrator/script-runner.ts (4), packages/cli/src/migration/vitest-v5/benchmarks.ts (3). 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: \u0060run_tasks_completions\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/vp_global_cli/src/cli.rs"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce7b9305f9774d0f0ad6e676bd71bde0e3a51d9bd4b79b66f3b4624246b3f05d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060list_installed_versions\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/vp_global_cli/src/commands/env/list.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"8efa614229106bc3e845d39d84cbdcb249db33735bcc4bb8ce7edbdb40dde226"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060get_package_rewrite_context\u0060 turns every \u0060Err\u0060 into \u0060PackageRewriteContext::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":"crates/vp_migration/src/import_rewriter.rs"},"region":{"startLine":2161}}}],"partialFingerprints":{"codehealthFindingId/v1":"442e5f44c621a75010c30b97181dc84292a331c6e9e4eda0fc6a81c495509ba1"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060resolveApproveBuildTargets\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":"packages/cli/src/utils/approve-builds.ts"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"561fcf6b5d14fc75339273a0d6d8b32df1544093f613c642f517792d1fdce652"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060findTsconfigFiles\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":"packages/cli/src/utils/tsconfig.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7ee16360176aa61c215ced4ce8a8671fcb6737aee6e6a2e1c7a04c7a0a00843"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060collectChangedFormatPaths\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":"packages/cli/src/migration/format.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"da4f3b438082c98b3ebd49a045658a17babdf8ddb3398635ddcf32bc77e67e0e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060options\u0060 (in \u0060path\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":"packages/prompts/src/path.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4d933eae36980055a46667da4758650caee4e383d7557be66e46de16ba49573"}}],"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-1333","guid":"11a336ce-63de-c45c-845e-29ca1e8df13d","name":"CWE-1333","shortDescription":{"text":"CWE-1333"},"helpUri":"https://cwe.mitre.org/data/definitions/1333.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-209","guid":"da28ecd2-f5c1-7852-ac41-a93b2d668c73","name":"Generation of Error Message Containing Sensitive Information","shortDescription":{"text":"Generation of Error Message Containing Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/209.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-290","guid":"379b1e66-a292-7b59-aa1e-a5bb4a6a99e9","name":"Authentication Bypass by Spoofing","shortDescription":{"text":"Authentication Bypass by Spoofing"},"helpUri":"https://cwe.mitre.org/data/definitions/290.html"},{"id":"CWE-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-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"},{"id":"A10:2025","guid":"9ca3ab55-ca61-fd5e-b9ab-3dad2efa59d0","name":"Mishandling of Exceptional Conditions","shortDescription":{"text":"Mishandling of Exceptional Conditions"},"helpUri":"https://top10.owasp.org/2025/A10_2025-Mishandling_of_Exceptional_Conditions/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-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-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":54,"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."]}]}