{"$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":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"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"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"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":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"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"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"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"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"]}},{"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"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"]}},{"id":"D33","name":"JS/npm Dependency Vulnerabilities","shortDescription":{"text":"JS/npm Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D33","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"]}],"properties":{"cwe":["CWE-1395","CWE-937"]}},{"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"]}],"properties":{"cwe":["CWE-1357","CWE-494"]}},{"id":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"]}},{"id":"D38","name":"OSV Dependency Vulnerabilities","shortDescription":{"text":"OSV Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D38","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"]}],"properties":{"cwe":["CWE-1395","CWE-937"]}}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"swc::serialize_expr (cyclomatic 106): swc::serialize_expr has cyclomatic complexity 106 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/lint/ast_buffer/swc.rs"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"e676dc6c9f80c905276273e3a2da8d33e617f60e42e924dc34f0a766b6387847"}},{"ruleId":"D1","level":"warning","message":{"text":"inspect::format_raw (cyclomatic 97): inspect::format_raw has cyclomatic complexity 97 (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":"ext/web/console/inspect.rs"},"region":{"startLine":1920}}}],"partialFingerprints":{"codehealthFindingId/v1":"0756974a63003329e4a16d7de77aa6c62c2864526fc2be3c473d33ff9b47acc0"}},{"ruleId":"D1","level":"warning","message":{"text":"pipe::poll_pipe_handle (cyclomatic 86): pipe::poll_pipe_handle has cyclomatic complexity 86 (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":"libs/core/uv_compat/pipe.rs"},"region":{"startLine":1715}}}],"partialFingerprints":{"codehealthFindingId/v1":"902bd8f560086a1ba559b392da0ff19067cd051a1b151f24cbe8a025637525a1"}},{"ruleId":"D1","level":"warning","message":{"text":"LocalNpmPackageInstaller::sync_resolution_with_fs (cyclomatic 85): LocalNpmPackageInstaller::sync_resolution_with_fs has cyclomatic complexity 85 (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":"libs/npm_installer/local.rs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"25f7f127363708a85d7de6bb325bd6abd294737c653be393686935309400c6c6"}},{"ruleId":"D1","level":"warning","message":{"text":"flags::flags_from_vec_with_initial_cwd (cyclomatic 80): flags::flags_from_vec_with_initial_cwd has cyclomatic complexity 80 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/args/flags.rs"},"region":{"startLine":1060}}}],"partialFingerprints":{"codehealthFindingId/v1":"0821aba0149cb6bac58681e56a232317645eb8b8280179d5542029fd438d259d"}},{"ruleId":"D1","level":"warning","message":{"text":"pipe::poll_pipe_handle (cyclomatic 72): pipe::poll_pipe_handle has cyclomatic complexity 72 (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":"libs/core/uv_compat/pipe.rs"},"region":{"startLine":1360}}}],"partialFingerprints":{"codehealthFindingId/v1":"23783177c465dfab98a302c814a86d910f3792c118e21583dc062826ce7c5b95"}},{"ruleId":"D1","level":"warning","message":{"text":"deno::run_subcommand (cyclomatic 70): deno::run_subcommand has cyclomatic complexity 70 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/lib.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4f0c1b302a575fd5ef5ba3ea69b52c2d32c051610ea7e7b57bc7fc1a2f80bea"}},{"ruleId":"D1","level":"warning","message":{"text":"tcp::poll_tcp_handle (cyclomatic 70): tcp::poll_tcp_handle has cyclomatic complexity 70 (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":"libs/core/uv_compat/tcp.rs"},"region":{"startLine":1271}}}],"partialFingerprints":{"codehealthFindingId/v1":"84a6cda3bdc23f9f4735fb539a137705be6dce962846b52f743fd8780376690c"}},{"ruleId":"D1","level":"warning","message":{"text":"tty::poll_tty_handle (cyclomatic 67): tty::poll_tty_handle has cyclomatic complexity 67 (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":"libs/core/uv_compat/tty.rs"},"region":{"startLine":2176}}}],"partialFingerprints":{"codehealthFindingId/v1":"11bcf4f6f81e7bf890ed10d238b07f3c8de61ea2540cb195b5961ac16700a3d2"}},{"ruleId":"D1","level":"warning","message":{"text":"callback::do_ffi_callback (cyclomatic 61): callback::do_ffi_callback has cyclomatic complexity 61 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/ffi/callback.rs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"77e5505fdfef22a4e2c5ac66ddf33b6f67ccd8d6d12afcfef7fec255fbd3f576"}},{"ruleId":"D1","level":"warning","message":{"text":"mainFetch (cyclomatic 59): mainFetch has cyclomatic complexity 59 (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":"ext/fetch/26_fetch.js"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0eb8a34e6bb68a0a9666d9dd8bae79f373fcb413c3e9b28dfdc21cfe8cfb2b2"}},{"ruleId":"D1","level":"warning","message":{"text":"http_next::serve_http11_raw (cyclomatic 58): http_next::serve_http11_raw has cyclomatic complexity 58 (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":"ext/http/http_next.rs"},"region":{"startLine":4357}}}],"partialFingerprints":{"codehealthFindingId/v1":"53480420a2f31d2d24b4d1e931bfc0f7fefbf256d4eb48790b90cbae0ee3cbb3"}},{"ruleId":"D1","level":"warning","message":{"text":"OptionsParser::parse (cyclomatic 58): OptionsParser::parse has cyclomatic complexity 58 (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":"libs/node_shim/lib.rs"},"region":{"startLine":2801}}}],"partialFingerprints":{"codehealthFindingId/v1":"45a5f979545849ebd94db650b41dadfc20ec267fedca2ddb6864468218bdc39b"}},{"ruleId":"D1","level":"warning","message":{"text":"DenoCompileBinaryWriter::write_standalone_binary (cyclomatic 57): DenoCompileBinaryWriter::write_standalone_binary 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":"cli/standalone/binary.rs"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cf66d04adb6fa98bcce875656de966870ec6b6ab2ec8e7a268ebb1007299b1d"}},{"ruleId":"D1","level":"warning","message":{"text":"coverage::generate_coverage_report (cyclomatic 57): coverage::generate_coverage_report 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":"cli/tools/coverage/mod.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"e04d76cd3489fc8addf7723f2293235bae014e95e0cda70840f6c639c3679c60"}},{"ruleId":"D1","level":"warning","message":{"text":"GraphDependencyResolver::resolve_peers_of_node (cyclomatic 56): GraphDependencyResolver::resolve_peers_of_node has cyclomatic complexity 56 (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":"libs/npm/resolution/graph.rs"},"region":{"startLine":1846}}}],"partialFingerprints":{"codehealthFindingId/v1":"1730172b2232add75fd628ef065fc31def3fdcf283091eed4321672768ac867d"}},{"ruleId":"D1","level":"warning","message":{"text":"subtle_crypto::supports_params_valid (cyclomatic 55): subtle_crypto::supports_params_valid has cyclomatic complexity 55 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/crypto/subtle_crypto.rs"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f7c9dd25abdc07698300c9502ed1cec35399eaccf70cae804e4d44b3a858642"}},{"ruleId":"D1","level":"warning","message":{"text":"fmt::get_typescript_config_builder (cyclomatic 53): fmt::get_typescript_config_builder has cyclomatic complexity 53 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/fmt.rs"},"region":{"startLine":1274}}}],"partialFingerprints":{"codehealthFindingId/v1":"336be94ca8e0723d54993a8ee8fe175da51eb4ef04345b22821db862ad99240e"}},{"ruleId":"D1","level":"warning","message":{"text":"signature::parse_type (cyclomatic 52): signature::parse_type has cyclomatic complexity 52 (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":"libs/ops/op2/signature.rs"},"region":{"startLine":1699}}}],"partialFingerprints":{"codehealthFindingId/v1":"c323ae5465cf849e91147fddfd5754a9d0ba71ef181e1e8e6eda295fa57263b7"}},{"ruleId":"D1","level":"warning","message":{"text":"desktop::compile_desktop (cyclomatic 51): desktop::compile_desktop has cyclomatic complexity 51 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/desktop.rs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"e550ce1947362305133efc63a280015baaada2d6ef343ad643d1e62ac2f3f7c8"}},{"ruleId":"D1","level":"warning","message":{"text":"node_shim::translate_to_deno_args (cyclomatic 50): node_shim::translate_to_deno_args has cyclomatic complexity 50 (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":"libs/node_shim/lib.rs"},"region":{"startLine":3453}}}],"partialFingerprints":{"codehealthFindingId/v1":"d75e1b73f0bd73f0419fee499ca7814a8a70515dfa3bbb3df7829bf510732d03"}},{"ruleId":"D1","level":"warning","message":{"text":"error_fmt::format_error (cyclomatic 48): error_fmt::format_error has cyclomatic complexity 48 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/web/console/error_fmt.rs"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"81d5ac2ffd630f5d32dd99633e3a88be83a81c0a8471c916bbc9265bd4ad6f04"}},{"ruleId":"D1","level":"warning","message":{"text":"console::apply_options (cyclomatic 48): console::apply_options has cyclomatic complexity 48 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/web/console/mod.rs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"e63e0819a67769c39a48890db5cab4bf92f4fedcec7be3cf4cba7208ba9d79ff"}},{"ruleId":"D1","level":"warning","message":{"text":"Console::table_impl (cyclomatic 47): Console::table_impl has cyclomatic complexity 47 (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":"ext/web/console/mod.rs"},"region":{"startLine":1421}}}],"partialFingerprints":{"codehealthFindingId/v1":"2693622684398b57f55e57e398469bda2a8bcb13d262cba64cd2b2be48e91824"}},{"ruleId":"D1","level":"warning","message":{"text":"JsRuntime::poll_event_loop_inner (cyclomatic 47): JsRuntime::poll_event_loop_inner has cyclomatic complexity 47 (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":"libs/core/runtime/jsruntime.rs"},"region":{"startLine":2420}}}],"partialFingerprints":{"codehealthFindingId/v1":"b512d4bbe8af66af2e07cf96bbbfb4b149fb363b626f0bd1bab79677012088ea"}},{"ruleId":"D1","level":"warning","message":{"text":"constructor (cyclomatic 47): constructor has cyclomatic complexity 47 (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":"ext/fetch/23_request.js"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"259374bf2446e774340eae769099411f570cb3546cfa281ac546901e02664e05"}},{"ruleId":"D1","level":"warning","message":{"text":"Cipher::new (cyclomatic 46): Cipher::new has cyclomatic complexity 46 (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":"ext/node_crypto/cipher.rs"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c65927538fd91723b5d7623be88d5f083bcce73bf4b79f4b16137619c37e2ff"}},{"ruleId":"D1","level":"warning","message":{"text":"Decipher::new (cyclomatic 46): Decipher::new has cyclomatic complexity 46 (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":"ext/node_crypto/cipher.rs"},"region":{"startLine":1282}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6d6aedf6c909ba1b11a6dd94eb9d8b7e85fe67a5c27b7f5e0e3050af6cbf368"}},{"ruleId":"D1","level":"warning","message":{"text":"deno_process::create_command (cyclomatic 45): deno_process::create_command has cyclomatic complexity 45 (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":"ext/process/lib.rs"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"03cbebe4e7c1f125dde3b3bf8e1868eb58a217feaed053d6e7d6959ba0526fbb"}},{"ruleId":"D1","level":"warning","message":{"text":"PackumentIndexer::on_string (cyclomatic 45): PackumentIndexer::on_string has cyclomatic complexity 45 (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":"libs/npm/fast_registry_json.rs"},"region":{"startLine":1052}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ac11dc2d434f2372264884831de24c85a7a04dc46383a612297895c2e22f3c"}},{"ruleId":"D1","level":"warning","message":{"text":"dispatch_slow::from_arg (cyclomatic 44): dispatch_slow::from_arg has cyclomatic complexity 44 (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":"libs/ops/op2/dispatch_slow.rs"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"a43e7a0777fcfd2a34e38410fd3886af5d8464793f92ff5ab5f2ac871fbaa182"}},{"ruleId":"D1","level":"warning","message":{"text":"parseSelector (cyclomatic 43): parseSelector has cyclomatic complexity 43 (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":"cli/js/40_lint_selector.js"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"7849fdc5705007c1b851910ecde697c1fefe3033cf589db41970edfb831d1b2f"}},{"ruleId":"D1","level":"warning","message":{"text":"swc::serialize_ts_type (cyclomatic 42): swc::serialize_ts_type has cyclomatic complexity 42 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/lint/ast_buffer/swc.rs"},"region":{"startLine":2498}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab663ad8f557d63c5df0129a8085a2a7c140dc8a63c117fae165b3fda0161708"}},{"ruleId":"D1","level":"warning","message":{"text":"parse::parse_args (cyclomatic 42): parse::parse_args 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":"libs/cli_parser/src/parse.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a32c23a86f488ac62ff86304414d76110fcd6e88f7cb5fe039aa44bfd8200ab"}},{"ruleId":"D1","level":"warning","message":{"text":"benchMeasure (cyclomatic 42): benchMeasure has cyclomatic complexity 42 (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":"cli/js/40_bench.js"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c64bcb45e638253e42fc2b890325a7cac8edebbfe12664a6a6ae3c1c3504968"}},{"ruleId":"D1","level":"warning","message":{"text":"JsRuntimeInspectorState::poll_sessions (cyclomatic 41): JsRuntimeInspectorState::poll_sessions 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":"libs/core/inspector.rs"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"360bdd8a6159e59cc8fc88d9c6db64d4f12ce4bad6f21217fe6e7f2b82a84e4b"}},{"ruleId":"D1","level":"warning","message":{"text":"deno_dotenv::parse_env_content_hook_impl (cyclomatic 41): deno_dotenv::parse_env_content_hook_impl 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":"libs/dotenv/lib.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"cad335c0a635d08f697d159a5f4cf77f81e866a67ab2ed1e7da87bcc19ed12db"}},{"ruleId":"D1","level":"warning","message":{"text":"Lockfile::set_workspace_config (cyclomatic 41): Lockfile::set_workspace_config has cyclomatic complexity 41 (threshold 15). Of this number, 39 points are the body\u0027s own statements and 2 belong to one function item declared inside it. To reduce it, separate the cases: extract each independent 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":"libs/lockfile/lib.rs"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcc14c23f4636688ef5c152a445dd158fcebf8fa743e0d73af8bf122a0f93e0b"}},{"ruleId":"D1","level":"warning","message":{"text":"GraphDependencyResolver::run_dedup_pass (cyclomatic 41): GraphDependencyResolver::run_dedup_pass 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":"libs/npm/resolution/graph.rs"},"region":{"startLine":3018}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f9dc332e75464fbb400434864dbb03a1bbd43e2fa66eda7288959d23be74d0d"}},{"ruleId":"D1","level":"warning","message":{"text":"deno_crypto::verify_key_sync (cyclomatic 40): deno_crypto::verify_key_sync has cyclomatic complexity 40 (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":"ext/crypto/lib.rs"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"0261eeeb8f8001199b74a1a25aa563ea5791a1436dd9e0ba67ff7a02351926f8"}},{"ruleId":"D1","level":"warning","message":{"text":"Flags::to_permission_args (cyclomatic 40): Flags::to_permission_args has cyclomatic complexity 40 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/args/flags.rs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab0d1104dba67f7444994dfa6793aa3cddc750ccacf0a0a995fb0e98e1e9e562"}},{"ruleId":"D1","level":"warning","message":{"text":"JsError::inner_from_v8_exception (cyclomatic 40): JsError::inner_from_v8_exception 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":"libs/core/error.rs"},"region":{"startLine":1016}}}],"partialFingerprints":{"codehealthFindingId/v1":"a397559a5e6f75d30e15eeb8efc2b49a773745c56494e519585d38be795a9745"}},{"ruleId":"D1","level":"warning","message":{"text":"respondWith (cyclomatic 40): respondWith has cyclomatic complexity 40 (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":"ext/http/01_http.js"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e01de30f9b06b43a1e339e94c69fe6df5cc64a51af920ca4a7991d652a9bf82"}},{"ruleId":"D1","level":"warning","message":{"text":"KeyObjectHandle::new_asymmetric_private_key_from_js (cyclomatic 39): KeyObjectHandle::new_asymmetric_private_key_from_js has cyclomatic complexity 39 (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":"ext/node_crypto/keys.rs"},"region":{"startLine":991}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc84e37c4a11a83783c69b460fc5fef6f7031d5393fb89126ba0e48556d87667"}},{"ruleId":"D1","level":"warning","message":{"text":"ModuleRegistry::get_completions (cyclomatic 38): ModuleRegistry::get_completions 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":"cli/lsp/registries.rs"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf363d7707b3ac8c90a944bdf506d786833934ca3b60ad9ec3d680c7a214d220"}},{"ruleId":"D1","level":"warning","message":{"text":"fmt_editorconfig::glob_to_regex_depth (cyclomatic 38): fmt_editorconfig::glob_to_regex_depth 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":"cli/tools/fmt_editorconfig.rs"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"f174362c3e2c5f7b61340e8491a912e59b05a02e957dad6b1b190567d5645253"}},{"ruleId":"D1","level":"warning","message":{"text":"subtle_import_key::import_key_ec (cyclomatic 38): subtle_import_key::import_key_ec 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":"ext/crypto/subtle_import_key.rs"},"region":{"startLine":1075}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6818834675157ccd4b6ff46343066070c00726d21509ab8f094e2903740cc68"}},{"ruleId":"D1","level":"warning","message":{"text":"width::ansi_sequence_len (cyclomatic 38): width::ansi_sequence_len has cyclomatic complexity 38 (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":"ext/web/console/width.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"554b9da47a87e5560b31bb4443e124bd93f8d5b364dae0a412ebac046188764e"}},{"ruleId":"D1","level":"warning","message":{"text":"constructor (cyclomatic 38): constructor has cyclomatic complexity 38 (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":"ext/websocket/01_websocket.js"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4678c52a35f8aa71b17fadf95a71f3bfa36bb050d1145bcfac64f3bdfa43baf"}},{"ruleId":"D1","level":"warning","message":{"text":"isSimpleSpecialHostCanonical (cyclomatic 37): isSimpleSpecialHostCanonical has cyclomatic complexity 37 (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":"ext/web/00_url.js"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e07bf0293888d1983c682c85b34c34b707f7ce48cd507274b4bc6a54d3ec27b"}},{"ruleId":"D1","level":"warning","message":{"text":"transpile::restore_block_comment_newlines (cyclomatic 36): transpile::restore_block_comment_newlines 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":"cli/tools/transpile.rs"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"cab1341d9699c9c0bfc0ea5bbebcd7e8f911b878b0ca6da99abc782d0d431fa6"}},{"ruleId":"D1","level":"warning","message":{"text":"tls_wrap::build_client_config (cyclomatic 36): tls_wrap::build_client_config 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":"ext/node/ops/tls_wrap.rs"},"region":{"startLine":4057}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ac1eaea9d4c76bc832e45e8080eb0ed92f9cb532d9a25b0a17d2a73a2fc661"}},{"ruleId":"D1","level":"warning","message":{"text":"EszipV2::parse_with_version (cyclomatic 36): EszipV2::parse_with_version 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":"libs/eszip/v2.rs"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"b32fcd214830362a2d3912a6a13c790c54a04431a941738b6f773e4e3c357fc4"}},{"ruleId":"D1","level":"warning","message":{"text":"EnvironmentOptions::check_options (cyclomatic 36): EnvironmentOptions::check_options 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":"libs/node_shim/lib.rs"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9670fb9f590571374d9c3ae3f602f9fb0cbbb195b488189dbfa2916d3ed78d2"}},{"ruleId":"D1","level":"warning","message":{"text":"parseSimpleSpecialUrl (cyclomatic 36): parseSimpleSpecialUrl has cyclomatic complexity 36 (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":"ext/web/00_url.js"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"4013621128d03f9658434d65cd80364f772db2749585fc38f8bfadc2ab31f1a0"}},{"ruleId":"D1","level":"warning","message":{"text":"subtle_import_key::import_key_rsa (cyclomatic 35): subtle_import_key::import_key_rsa 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":"ext/crypto/subtle_import_key.rs"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"4293597f0d4e05f1ef6810c4921c7867e8fd22efb448bdfd0b306191acbf9c5c"}},{"ruleId":"D1","level":"warning","message":{"text":"HoistedNpmPackageInstaller::sync_resolution_with_fs (cyclomatic 35): HoistedNpmPackageInstaller::sync_resolution_with_fs 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":"libs/npm_installer/hoisted.rs"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5caf186046c6228f9d11fcd232fc7d2afbb95636259e4b1fd432c25ff2cc96b"}},{"ruleId":"D1","level":"warning","message":{"text":"NpmRc::parse (cyclomatic 35): NpmRc::parse 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":"libs/npmrc/lib.rs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce37a09af001263ba9cbb56448635bda45a5be0eea194261f7466356d6411de5"}},{"ruleId":"D1","level":"warning","message":{"text":"serverRequestInner (cyclomatic 35): serverRequestInner has cyclomatic complexity 35 (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":"cli/tsc/98_lsp.js"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a1d0a4288c2f494ea54637cf44f7d6345fd4736e50258f4895d275f83f08842"}},{"ruleId":"D1","level":"warning","message":{"text":"TestRun::exec (cyclomatic 34): TestRun::exec has cyclomatic complexity 34 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/lsp/testing/execution.rs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5efee23dde8831d04754e2878a91005918382a3355fd9b269cda811c5db967c"}},{"ruleId":"D1","level":"warning","message":{"text":"subtle_derive_bits::run (cyclomatic 34): subtle_derive_bits::run 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":"ext/crypto/subtle_derive_bits.rs"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"70a77a273a5312b31f9d3661aee427bb147824c34ebdd0f8976941dad2538243"}},{"ruleId":"D1","level":"warning","message":{"text":"ZstdCompress::init (cyclomatic 34): ZstdCompress::init has cyclomatic complexity 34 (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":"ext/node/ops/zlib/mod.rs"},"region":{"startLine":999}}}],"partialFingerprints":{"codehealthFindingId/v1":"eda44920af032f24ebbdc9b6d637439fe70d0d6ebc7d88b0bf9f57ded222ffb1"}},{"ruleId":"D1","level":"warning","message":{"text":"tls_wrap::build_server_config (cyclomatic 34): tls_wrap::build_server_config 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":"ext/node/ops/tls_wrap.rs"},"region":{"startLine":4562}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8a8e70a0ca47ad6bf53235c70b9d3a63f794c662d955fbf78d815ee232c50d8"}},{"ruleId":"D1","level":"warning","message":{"text":"util::parse_iso8601_duration (cyclomatic 34): util::parse_iso8601_duration 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":"libs/config/util.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fc52bbdb9d79c904796e149725c66dd624e73cdfa1d65c56dead63b6167e004"}},{"ruleId":"D1","level":"warning","message":{"text":"dispatch (cyclomatic 34): dispatch has cyclomatic complexity 34 (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":"ext/web/02_event.js"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"457ebeed8bcfcc3fa1338316e7fa4ede0915ab717a166a1c07aa0a65ce090b9c"}},{"ruleId":"D1","level":"warning","message":{"text":"collectors::visit_call_expr (cyclomatic 33): collectors::visit_call_expr has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/lsp/testing/collectors.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"7505a2e330a022322848359ea06681355fc7d1f5adbb879cf179e334d226ebe9"}},{"ruleId":"D1","level":"warning","message":{"text":"clean::clean_except (cyclomatic 33): clean::clean_except has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/clean.rs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0176c7de3970bf6323e3e181f42be03be613cca9f58d091a6fde80fa3990805"}},{"ruleId":"D1","level":"warning","message":{"text":"virtual_fs::vfs_as_display_tree (cyclomatic 33): virtual_fs::vfs_as_display_tree has cyclomatic complexity 33 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 16 belong to 8 function items declared inside it. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/standalone/virtual_fs.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"066b223fa667d6aa4b3c1718755490ca6868550262497a566185c04480c6ddf7"}},{"ruleId":"D1","level":"warning","message":{"text":"Decipher::r#final (cyclomatic 33): Decipher::r#final 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":"ext/node_crypto/cipher.rs"},"region":{"startLine":1558}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa48656fbf4b9ceafb68a689eff7fd3dd4590117ab37401d5709dd4b86af3d17"}},{"ruleId":"D1","level":"warning","message":{"text":"inspector::pump_inspector_session_messages (cyclomatic 33): inspector::pump_inspector_session_messages 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":"libs/core/inspector.rs"},"region":{"startLine":2051}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba871e68b392a5fe9210bf0549090f0b36a80a72a01830eaab3588196be08828"}},{"ruleId":"D1","level":"warning","message":{"text":"fmt_errors::get_message_suggestions_inner (cyclomatic 33): fmt_errors::get_message_suggestions_inner 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":"runtime/fmt_errors.rs"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"531e4c5b017693caf5951fae6a3b8dc8f7ff4e4aa58fd6f5c980d4e29adf4927"}},{"ruleId":"D1","level":"warning","message":{"text":"TsResponseImportMapper::check_specifier (cyclomatic 32): TsResponseImportMapper::check_specifier has cyclomatic complexity 32 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 1 belong to one function item declared inside it. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/lsp/analysis.rs"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fbcd6100e09bb2a5114e3588b11ba41f08502f8a7a3cd332d73a0610d3368a8"}},{"ruleId":"D1","level":"warning","message":{"text":"inspect::format_property (cyclomatic 32): inspect::format_property has cyclomatic complexity 32 (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":"ext/web/console/inspect.rs"},"region":{"startLine":3528}}}],"partialFingerprints":{"codehealthFindingId/v1":"f849d3b41d423057cc1aeccdf76371a27c1a9eaaf3a7e32c4b1820c36719a052"}},{"ruleId":"D1","level":"warning","message":{"text":"NpmInstallDepsProvider::from_workspace (cyclomatic 32): NpmInstallDepsProvider::from_workspace has cyclomatic complexity 32 (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":"libs/npm_installer/package_json.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ef48611ded62b3cd86670595256d132c51ff00180d5b402b53379d53cbb4e72"}},{"ruleId":"D1","level":"warning","message":{"text":"PackageJson::load_from_value (cyclomatic 32): PackageJson::load_from_value has cyclomatic complexity 32 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 9 belong to 5 function items declared inside it. To reduce it, separate the cases: extract each independent 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":"libs/package_json/lib.rs"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"88ad52d013b0a00bc970c6a1dfba3e478280b2f0dadc14e1ce6f6e54cc7147b7"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkspaceResolver::resolve (cyclomatic 32): WorkspaceResolver::resolve has cyclomatic complexity 32 (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":"libs/resolver/workspace.rs"},"region":{"startLine":1354}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa457b400be205f465b4fa0b94d1c2d427dd5127188cb8b083b56fc767ce2e66"}},{"ruleId":"D1","level":"warning","message":{"text":"cpuprof::generate_markdown_report (cyclomatic 32): cpuprof::generate_markdown_report has cyclomatic complexity 32 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 9 belong to 2 function items declared inside it. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/cpu_profiler/cpuprof.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fc247a35da66099b1dda74883ad8f5501944c006368bf6a29d9eccca72b3548"}},{"ruleId":"D1","level":"warning","message":{"text":"CompletionEntry::as_completion_item (cyclomatic 31): CompletionEntry::as_completion_item 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/lsp/tsc.rs"},"region":{"startLine":4422}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7222368ce93dbb526813649f196312e4fe6e32d9a41fce0a54f8b4e424680da"}},{"ruleId":"D1","level":"warning","message":{"text":"cache_deps::cache_top_level_deps (cyclomatic 31): cache_deps::cache_top_level_deps 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/pm/cache_deps.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7ac81763d434aea75f95ab176b06a72bc8557825dafd15acdc7f65950ba20dc"}},{"ruleId":"D1","level":"warning","message":{"text":"denort_desktop::run_desktop (cyclomatic 31): denort_desktop::run_desktop 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/rt_desktop/lib.rs"},"region":{"startLine":1611}}}],"partialFingerprints":{"codehealthFindingId/v1":"e41ebbc2dd9eea4854a3b93820bd9477ab34a1ac07f810f91cb4aa503a0368c5"}},{"ruleId":"D1","level":"warning","message":{"text":"deno_crypto::sign_key_sync (cyclomatic 31): deno_crypto::sign_key_sync 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":"ext/crypto/lib.rs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fa8044820768304d922fa86fbf5d2f2becd558060d17cd0e03fa4d7cced5578"}},{"ruleId":"D1","level":"warning","message":{"text":"DatabaseSyncOptions::from_v8 (cyclomatic 31): DatabaseSyncOptions::from_v8 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/node_sqlite/database.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa3699554a3131e1a5a33b2d72c14f307772878789f33896ccda759f3d34e838"}},{"ruleId":"D1","level":"warning","message":{"text":"GraphWalker::resolve_pending (cyclomatic 30): GraphWalker::resolve_pending 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/type_checker.rs"},"region":{"startLine":1113}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7767156e4d73d930790576e9d07b5be5b30bd3dc8790acc531417786be595c4"}},{"ruleId":"D1","level":"warning","message":{"text":"pm::add (cyclomatic 30): pm::add 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/pm/mod.rs"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"77b64ca6d22afd2f046d49d7456bf418b26337eff2912825f4432e87ffe8e976"}},{"ruleId":"D1","level":"warning","message":{"text":"flags::permission_args (cyclomatic 30): flags::permission_args 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/args/flags.rs"},"region":{"startLine":5095}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7dad214f04b3a09b86d7fa490983c656e1675eeb084c25b7649fc7a20287715"}},{"ruleId":"D1","level":"warning","message":{"text":"fast_registry_json::pluck_versions_from_tokens (cyclomatic 30): fast_registry_json::pluck_versions_from_tokens 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/npm/fast_registry_json.rs"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee278d533663f7ac23e2c63cf82f550f097a2a83cde34db9b212054f9ddffb8d"}},{"ruleId":"D1","level":"warning","message":{"text":"npm_lockfile_import::package_lock_to_deno_lock_v5 (cyclomatic 30): npm_lockfile_import::package_lock_to_deno_lock_v5 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/resolver/npm_lockfile_import.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"bea014752716067f04b934c0832485e23e375f4a882a8f489640697a27d8ceda"}},{"ruleId":"D1","level":"warning","message":{"text":"checkIsComplete (cyclomatic 30): checkIsComplete has cyclomatic complexity 30 (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":"cli/js/jupyter_kernel.js"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"a995c3d3eb64c0845d192df913964ebcfbcffdab9043fd2288523e99993f2f19"}},{"ruleId":"D1","level":"warning","message":{"text":"tsconfig_gen::build_tsconfig (cyclomatic 29): tsconfig_gen::build_tsconfig 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":"cli/tsc/tsconfig_gen.rs"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"c19a48c0acf1118956bb7274d2841e398aa8fbfa6b20aa456715089952caf407"}},{"ruleId":"D1","level":"warning","message":{"text":"keys::op_node_get_asymmetric_key_details (cyclomatic 29): keys::op_node_get_asymmetric_key_details has cyclomatic complexity 29 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/node_crypto/keys.rs"},"region":{"startLine":2758}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2458cd119b2320be4862d0d69529bcfb9370504a69586ed3cabd70c03e41469"}},{"ruleId":"D1","level":"warning","message":{"text":"css::parse_css (cyclomatic 29): css::parse_css 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":"ext/web/console/css.rs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f238bb00fb80650d0a39cb04dd4d052a7f0616542a185c635dd9f45175d64d6"}},{"ruleId":"D1","level":"warning","message":{"text":"convert::validate_permission_args (cyclomatic 29): convert::validate_permission_args has cyclomatic complexity 29 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 3 belong to one function item declared inside it. To reduce it, separate the cases: extract each independent 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":"libs/cli_parser/src/convert.rs"},"region":{"startLine":1132}}}],"partialFingerprints":{"codehealthFindingId/v1":"841542d0d7fb5ef8df4ee648d2961e91b485c1dbb4f278ebee0355a0a8c84509"}},{"ruleId":"D1","level":"warning","message":{"text":"FilePatterns::split_by_base (cyclomatic 29): FilePatterns::split_by_base 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":"libs/config/glob/mod.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba2d27df7d9039d70019e5eb21f7e05f563c948f71b14d2c2c714c1cc0affbcd"}},{"ruleId":"D1","level":"warning","message":{"text":"tty::uv_tty_init (cyclomatic 29): tty::uv_tty_init 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":"libs/core/uv_compat/tty.rs"},"region":{"startLine":1251}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7e584a98b346ca4fc967bb9e589a64b726244b90669ca49758fb28965c76cc4"}},{"ruleId":"D1","level":"warning","message":{"text":"process::search_path_join_test (cyclomatic 29): process::search_path_join_test 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":"runtime/subprocess_windows/src/process.rs"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb75144fa2d4619e9de63e3e73873e37fb477b0714ecddab40bf5a350cac7f84"}},{"ruleId":"D1","level":"warning","message":{"text":"process::search_path (cyclomatic 29): process::search_path 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":"runtime/subprocess_windows/src/process.rs"},"region":{"startLine":971}}}],"partialFingerprints":{"codehealthFindingId/v1":"733142136eebbf2228c910230ecedb2eb19d4190740751d55c661dedf5545ece"}},{"ruleId":"D1","level":"warning","message":{"text":"testInner (cyclomatic 29): testInner has cyclomatic complexity 29 (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":"cli/js/40_test.js"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"812fff2dee9e8fbf4524b6691d30fe77a9b6b3c0aa1e2c7f1c2e2fb8fb9ea8e1"}},{"ruleId":"D1","level":"warning","message":{"text":"bitmap::parse_args (cyclomatic 28): bitmap::parse_args has cyclomatic complexity 28 (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":"ext/image/bitmap.rs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"4efce4ed6f10bed389fd97a1f5da01b9bc8fadc4c77126d48458fb8fff709b4a"}},{"ruleId":"D1","level":"warning","message":{"text":"KeyObjectHandle::new_asymmetric_public_key_from_js (cyclomatic 28): KeyObjectHandle::new_asymmetric_public_key_from_js has cyclomatic complexity 28 (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":"ext/node_crypto/keys.rs"},"region":{"startLine":1545}}}],"partialFingerprints":{"codehealthFindingId/v1":"9632485b63756f1aab85c2b8854ee37a7fa4ab2ac6209d87339aa5fe68a0bac5"}},{"ruleId":"D1","level":"warning","message":{"text":"inspect::add_prototype_properties (cyclomatic 28): inspect::add_prototype_properties 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":"ext/web/console/inspect.rs"},"region":{"startLine":1494}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ce548c2a78d09ef637405df3d2fc35111ad66809d19580993137ea89d41eee7"}},{"ruleId":"D1","level":"warning","message":{"text":"Workspace::diagnostics::check_all_configs (cyclomatic 28): Workspace::diagnostics::check_all_configs 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":"libs/config/workspace/mod.rs"},"region":{"startLine":1320}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8c86aeb8d086893bef1a39157363c861bdfc22e68ed55009301645cf1089dab"}},{"ruleId":"D1","level":"warning","message":{"text":"discovery::discover_workspace_config_files_for_single_dir (cyclomatic 28): discovery::discover_workspace_config_files_for_single_dir has cyclomatic complexity 28 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 1 belong to one function item declared inside it. To reduce it, separate the cases: extract each independent 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":"libs/config/workspace/discovery.rs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"13a2fe49affb981bbf0b9ba49e4c759a075b6343ff18982a9c4c61d6bc9878de"}},{"ruleId":"D1","level":"warning","message":{"text":"uv_compat::io_error_to_uv (cyclomatic 28): uv_compat::io_error_to_uv has cyclomatic complexity 28 (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":"libs/core/uv_compat.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8f64d671f909642eec1106440a0c64f23fc87b8e040760354c98123a803a240"}},{"ruleId":"D1","level":"warning","message":{"text":"tty::tty_try_read_raw (cyclomatic 28): tty::tty_try_read_raw 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":"libs/core/uv_compat/tty.rs"},"region":{"startLine":1040}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9c46cbc06b746dcec0ede733249a3e31a50bd9d4c785b1aa3597f6455e363f4"}},{"ruleId":"D1","level":"warning","message":{"text":"signature::parse_attribute (cyclomatic 28): signature::parse_attribute has cyclomatic complexity 28 (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":"libs/ops/op2/signature.rs"},"region":{"startLine":1337}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea66eb05a7564841ada4b7231e548f192888e3d9530389650f1f646010255109"}},{"ruleId":"D1","level":"warning","message":{"text":"PermissionsContainer::check_special_file (cyclomatic 28): PermissionsContainer::check_special_file has cyclomatic complexity 28 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 8 belong to 2 function items declared inside it. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/permissions/lib.rs"},"region":{"startLine":4437}}}],"partialFingerprints":{"codehealthFindingId/v1":"62fbedb953d15c2f91711562c8d0dc998d43e07037808e278129098cea054da4"}},{"ruleId":"D1","level":"warning","message":{"text":"process::uv__kill (cyclomatic 28): process::uv__kill 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":"runtime/subprocess_windows/src/process.rs"},"region":{"startLine":1111}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b5b791f7ddbcef1fa6b35635e8a1cd5e732e5eb39cacfe0287c74768d69e972"}},{"ruleId":"D1","level":"warning","message":{"text":"next (cyclomatic 28): next has cyclomatic complexity 28 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/js/40_lint_selector.js"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"f26aa4693dc98b5c6622feee6c07d4dd984d69f1e6e3d0ba35542a7a877871d9"}},{"ruleId":"D1","level":"warning","message":{"text":"why::why (cyclomatic 27): why::why has cyclomatic complexity 27 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/pm/why.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"3080d5452e745dbc889bdfdd983d6c6b783e967f4ed72f676acb07766dd96427"}},{"ruleId":"D1","level":"warning","message":{"text":"path_to_regex::lexer (cyclomatic 27): path_to_regex::lexer 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":"cli/lsp/path_to_regex.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"1525499dc1017025af3cd22672299ce85247604ffd9505078957d80848d94c09"}},{"ruleId":"D1","level":"warning","message":{"text":"run::run_with_options (cyclomatic 27): run::run_with_options 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":"cli/rt/run.rs"},"region":{"startLine":1314}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a7216eaf9339b027c3acf201a165976dfd86bcb8caba1b08a82ca92e90356ad"}},{"ruleId":"D1","level":"warning","message":{"text":"subtle_encrypt::run (cyclomatic 27): subtle_encrypt::run 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":"ext/crypto/subtle_encrypt.rs"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"661af9d8acc2592565c4e489357076e29be5c34720d6b88032060060edf96d82"}},{"ruleId":"D1","level":"warning","message":{"text":"subtle_decrypt::run (cyclomatic 27): subtle_decrypt::run 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":"ext/crypto/subtle_decrypt.rs"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"61a2c43055c5c4a830f291dbfd777bfb2297c4eb0b2255fca477a2e32f4b2501"}},{"ruleId":"D1","level":"warning","message":{"text":"Prime::generate_with_options (cyclomatic 27): Prime::generate_with_options 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":"ext/node_crypto/primes.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab7247b3a43dc09b30741c59f2f5441662b638262b3d8a179edbec9d1e19a7e6"}},{"ruleId":"D1","level":"warning","message":{"text":"deno_process::op_spawn_sync (cyclomatic 27): deno_process::op_spawn_sync has cyclomatic complexity 27 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 6 belong to one function item declared inside it. To reduce it, separate the cases: extract each independent 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":"ext/process/lib.rs"},"region":{"startLine":1554}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f45633f9ec9cb8e4bb413b5c30a66e05e595a341cefed261dd99f1041155c4b"}},{"ruleId":"D1","level":"warning","message":{"text":"url::parse_simple_special_url (cyclomatic 27): url::parse_simple_special_url 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":"ext/web/url.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"aea58327155d5e2d4c5cdce822a49eee74befbf30eecbe0c24ff753975c5f524"}},{"ruleId":"D1","level":"warning","message":{"text":"error_fmt::get_duplicate_error_frame_ranges (cyclomatic 27): error_fmt::get_duplicate_error_frame_ranges 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":"ext/web/console/error_fmt.rs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"338508d725bb546ce8878e352c5a426949ad864d8cb8fa07e2d421eec74c053e"}},{"ruleId":"D1","level":"warning","message":{"text":"discovery::resolve_workspace_for_config_folder (cyclomatic 27): discovery::resolve_workspace_for_config_folder has cyclomatic complexity 27 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/config/workspace/discovery.rs"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a958fd30daa5e7106ee6bbe8320c20d695b7cc3254aa21ae031b7694acbc921"}},{"ruleId":"D1","level":"warning","message":{"text":"MacroConfig::from_metas (cyclomatic 27): MacroConfig::from_metas has cyclomatic complexity 27 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/ops/op2/config.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"9746aab057706d1cebae239b4a640d26f34e132142525aad943e44aa83339870"}},{"ruleId":"D1","level":"warning","message":{"text":"ByonmNpmResolver::resolve_pkg_json_and_alias_for_req (cyclomatic 27): ByonmNpmResolver::resolve_pkg_json_and_alias_for_req has cyclomatic complexity 27 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 10 belong to one function item declared inside it. To reduce it, separate the cases: extract each independent 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":"libs/resolver/npm/byonm.rs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d2214eb4473b4d64bbff66be1487d79918a6be8cababa47986699dab0a1dd68"}},{"ruleId":"D1","level":"warning","message":{"text":"decode (cyclomatic 27): decode has cyclomatic complexity 27 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/web/08_text_encoding.js"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"17c446179fde20fdb8ca668e3e599d8f673fd70fd2a844e8411063c3d3873cfb"}},{"ruleId":"D1","level":"warning","message":{"text":"#loop (cyclomatic 27): #loop has cyclomatic complexity 27 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/fetch/27_eventsource.js"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"44715eb434a3521c609855157c01aa0bc5d1d3caaa5a8bb297cc117a94b17d2a"}},{"ruleId":"D1","level":"warning","message":{"text":"Inner::code_action (cyclomatic 26): Inner::code_action 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":"cli/lsp/language_server.rs"},"region":{"startLine":2151}}}],"partialFingerprints":{"codehealthFindingId/v1":"88f12b652a1579db06ad88d61e4a4dc877e062dbb5fd3435db0229bc2c12eeb9"}},{"ruleId":"D1","level":"warning","message":{"text":"npm_compat::install_http_modules (cyclomatic 26): npm_compat::install_http_modules 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":"cli/tools/installer/npm_compat.rs"},"region":{"startLine":1113}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce1f51e776de4446737e0346d4639d2d384133438364cb2d81b66f37a353068b"}},{"ruleId":"D1","level":"warning","message":{"text":"subtle_generate_key::run (cyclomatic 26): subtle_generate_key::run has cyclomatic complexity 26 (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":"ext/crypto/subtle_generate_key.rs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e928099a02e5ce8136bfc1260af2f9702d2a63fbb84d2ac8a0053e59dab4a55"}},{"ruleId":"D1","level":"warning","message":{"text":"import_key::import_key_ec (cyclomatic 26): import_key::import_key_ec 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":"ext/crypto/import_key.rs"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"acba873c38a8c5ccc38a827b1e229d0e9bb3d8ef792e478e3dd66d342fdbcc48"}},{"ruleId":"D1","level":"warning","message":{"text":"WasiContext::poll_oneoff (cyclomatic 26): WasiContext::poll_oneoff has cyclomatic complexity 26 (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":"ext/node/ops/wasi.rs"},"region":{"startLine":1919}}}],"partialFingerprints":{"codehealthFindingId/v1":"140efd7dbf2abce058019af8555cbed1db52f38dec0e9a8d9b07a67ba387fe76"}},{"ruleId":"D1","level":"warning","message":{"text":"inspect::get_constructor_name (cyclomatic 26): inspect::get_constructor_name 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":"ext/web/console/inspect.rs"},"region":{"startLine":1669}}}],"partialFingerprints":{"codehealthFindingId/v1":"901c5eaaa0d70af649f0d3bf53b10afb2a698e11ed77080f71cdce28f0492d78"}},{"ruleId":"D1","level":"warning","message":{"text":"convert::apply_node_options (cyclomatic 26): convert::apply_node_options 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":"libs/cli_parser/src/convert.rs"},"region":{"startLine":2872}}}],"partialFingerprints":{"codehealthFindingId/v1":"62a8fb59024032dcae5ff41b31982886f26d967e1b6a3dae9963792e2f47ead0"}},{"ruleId":"D1","level":"warning","message":{"text":"SloppyImportsResolver::resolve (cyclomatic 26): SloppyImportsResolver::resolve has cyclomatic complexity 26 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 1 belong to one function item declared inside it. To reduce it, separate the cases: extract each independent 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":"libs/resolver/workspace.rs"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9f018da5ffafc6bcc5b704644060369577e44cbc6ae71fa70e1dd17a66ec16e"}},{"ruleId":"D1","level":"warning","message":{"text":"extractBody (cyclomatic 26): extractBody 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":"ext/fetch/22_body.js"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"14c0ae1ae6e11982c2606dce2dd35f36738793c59c7ba62f200d17506279b069"}},{"ruleId":"D1","level":"warning","message":{"text":"swc::serialize_module_decl (cyclomatic 25): swc::serialize_module_decl has cyclomatic complexity 25 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/lint/ast_buffer/swc.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"25b090a86c4d941e6d67d44da86068a59387978a53d202a6fee9c3730529ddb4"}},{"ruleId":"D1","level":"warning","message":{"text":"coverage::cover_files (cyclomatic 25): coverage::cover_files has cyclomatic complexity 25 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/coverage/mod.rs"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa9dbcc44224332bcc3ea3405e369768d435d4343367211293eb1aa7993a4b92"}},{"ruleId":"D1","level":"warning","message":{"text":"fmt_editorconfig::parse (cyclomatic 25): fmt_editorconfig::parse 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":"cli/tools/fmt_editorconfig.rs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"d57096a381681975db70f0b2d2d5d793004739538a53a0f0dc995e383c793c88"}},{"ruleId":"D1","level":"warning","message":{"text":"diagnostics::diagnose_resolution (cyclomatic 25): diagnostics::diagnose_resolution 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":"cli/lsp/diagnostics.rs"},"region":{"startLine":1152}}}],"partialFingerprints":{"codehealthFindingId/v1":"04a456239d13514d3cd5e35c26b84a058765ce7eba4884ddba534d2472a028d8"}},{"ruleId":"D1","level":"warning","message":{"text":"EmbeddedModuleLoader::load_default (cyclomatic 25): EmbeddedModuleLoader::load_default has cyclomatic complexity 25 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/rt/run.rs"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4ef983c5e0cad650f145c8100b632da48a8260125d5ed16ae143d0315b13629"}},{"ruleId":"D1","level":"warning","message":{"text":"DOMMatrixReadOnly::exec_css_transform (cyclomatic 25): DOMMatrixReadOnly::exec_css_transform has cyclomatic complexity 25 (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":"ext/web/geometry.rs"},"region":{"startLine":1785}}}],"partialFingerprints":{"codehealthFindingId/v1":"172da5a253cced5370ce5191c9600aabfb6fae8ce14f0ec8220e60a5f20d7263"}},{"ruleId":"D1","level":"warning","message":{"text":"console::inspect_args_impl (cyclomatic 25): console::inspect_args_impl 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":"ext/web/console/mod.rs"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"068526950d38a9bdff767fd2556e444b37b4eb65ef350766095f96ee438515b8"}},{"ruleId":"D1","level":"warning","message":{"text":"tty::uv_tty_set_mode (cyclomatic 25): tty::uv_tty_set_mode 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":"libs/core/uv_compat/tty.rs"},"region":{"startLine":1506}}}],"partialFingerprints":{"codehealthFindingId/v1":"0be940ca7c66ece2229ce25930cb531d0b1c5130974026e8358c05656152982f"}},{"ruleId":"D1","level":"warning","message":{"text":"RawDenoResolver::resolve (cyclomatic 25): RawDenoResolver::resolve 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":"libs/resolver/lib.rs"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"66b756601485ea8a0cd2ff7f3416c68b512b488d42bc08e1e4c8914e7a6782e8"}},{"ruleId":"D1","level":"warning","message":{"text":"constructor (cyclomatic 25): constructor has cyclomatic complexity 25 (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":"ext/web/00_url.js"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbc329ef9c5d6ceab01775d80ad067382c430a65d5be018bff9dd7f8fa46b2f0"}},{"ruleId":"D1","level":"warning","message":{"text":"httpRedirectFetch (cyclomatic 25): httpRedirectFetch has cyclomatic complexity 25 (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":"ext/fetch/26_fetch.js"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"d36ccfd83dce767ae1f0352cd5a0e62195e8bb416d69cbe33eb487d373fabb68"}},{"ruleId":"D1","level":"warning","message":{"text":"Inner::walk_workspace (cyclomatic 24): Inner::walk_workspace 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":"cli/lsp/language_server.rs"},"region":{"startLine":1066}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fdd883fe9d9dc8202c09843bd79d8424d9dca702cedc2e44d617975c28dfdb5"}},{"ruleId":"D1","level":"warning","message":{"text":"interactive_picker::select_items (cyclomatic 24): interactive_picker::select_items 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":"cli/tools/pm/interactive_picker.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"d304fe969034c5c1eb763292c71baf8b9ebbd5faced5fe90c36b8522d90dd1ff"}},{"ruleId":"D1","level":"warning","message":{"text":"transpile::transpile (cyclomatic 24): transpile::transpile 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":"cli/tools/transpile.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"84a0d4386f4c7b50bcdb9cfe25140436f625f4ce2f5e1880d38976d298fa02b3"}},{"ruleId":"D1","level":"warning","message":{"text":"x::run (cyclomatic 24): x::run 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":"cli/tools/x.rs"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa3a12569b6ecf4bec3645924e4dfa8e127fb7b5c26397ab9e1093e64f632859"}},{"ruleId":"D1","level":"warning","message":{"text":"subtle_get_public_key::run (cyclomatic 24): subtle_get_public_key::run has cyclomatic complexity 24 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/crypto/subtle_get_public_key.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e78ad45d3c98e236753cda895a1dec28fd31cc22037bce79c767c6448de4797"}},{"ruleId":"D1","level":"warning","message":{"text":"help::render_help (cyclomatic 24): help::render_help 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":"libs/cli_parser/src/help.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c37308ae4656056982492f108cebea60fb02ace34af7de955be8dd873de33de"}},{"ruleId":"D1","level":"warning","message":{"text":"completions::get_candidates (cyclomatic 24): completions::get_candidates 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":"libs/cli_parser/src/completions.rs"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"716ee57d1fa8b5a5741f3104925cd9e936a6ceef66658e22cff7c847df3bed3a"}},{"ruleId":"D1","level":"warning","message":{"text":"fmt_errors::format_js_error_inner (cyclomatic 24): fmt_errors::format_js_error_inner has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/fmt_errors.rs"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dee1ecd26b094453874de89c11521ac8afdc34d2b6b598f12a07a5ce515362a"}},{"ruleId":"D1","level":"warning","message":{"text":"process::spawn (cyclomatic 24): process::spawn has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/subprocess_windows/src/process.rs"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c92ed1aec0dd3cd404078149f499ef8231ab50d3ef66dc1d70177da6fe140bb"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 24): (anonymous) has cyclomatic complexity 24 (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":"ext/image/01_image.js"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"11e894b6f1889235ed079e66386ac2201fddb0885eaa88c3a6723963d927f2d6"}},{"ruleId":"D1","level":"warning","message":{"text":"handleExecute (cyclomatic 24): handleExecute has cyclomatic complexity 24 (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":"cli/js/jupyter_kernel.js"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"c58e1e7c08056ae876a9f96525834be47904dbf000a7d7b2f06812ec5e4f3708"}},{"ruleId":"D1","level":"warning","message":{"text":"framework::detect_framework (cyclomatic 23): framework::detect_framework 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":"cli/tools/framework.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"b60f2d11851bd745c420f1a081235f280e83c12505640b90464ba13b7f0d92a9"}},{"ruleId":"D1","level":"warning","message":{"text":"global::resolve_shim_data (cyclomatic 23): global::resolve_shim_data 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":"cli/tools/installer/global.rs"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f2224133eb7dfd8f029d6121327a98bd3366f99d90569f65740fb450ef20e40"}},{"ruleId":"D1","level":"warning","message":{"text":"deno::resolve_flags_and_init (cyclomatic 23): deno::resolve_flags_and_init 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":"cli/lib.rs"},"region":{"startLine":952}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8fc81125c2f8283c9b189b2807f82fccf420a8b25811f3ac5b752542c3320d4"}},{"ruleId":"D1","level":"warning","message":{"text":"desktop_devtools::run_unified_session (cyclomatic 23): desktop_devtools::run_unified_session 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":"cli/tools/desktop_devtools.rs"},"region":{"startLine":900}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dee512a974ed91269310b5c228eb6851f866c70613dd2629a0f5a2532a892a0"}},{"ruleId":"D1","level":"warning","message":{"text":"html::attr_value (cyclomatic 23): html::attr_value has cyclomatic complexity 23 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/bundle/html.rs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"f12e8fdc69a91180523ed79dcf561adbf861cc167cb919d1cabe4eacdc2a7004"}},{"ruleId":"D1","level":"warning","message":{"text":"subtle_import_key::import_key_okp (cyclomatic 23): subtle_import_key::import_key_okp 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":"ext/crypto/subtle_import_key.rs"},"region":{"startLine":1374}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ddc4e29f68a3b1b9926e07bab3afd5cb82dd5db525b481e88521c65236ee7a4"}},{"ruleId":"D1","level":"warning","message":{"text":"export_key::export_key_ec (cyclomatic 23): export_key::export_key_ec 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":"ext/crypto/export_key.rs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"0404811c8c4bfa5d014ef0dc47eccf4a20fa06922074fe1a8f9d3ff75363f250"}},{"ruleId":"D1","level":"warning","message":{"text":"deno_crypto::derive_bits_sync (cyclomatic 23): deno_crypto::derive_bits_sync has cyclomatic complexity 23 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/crypto/lib.rs"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cf840e9f1f37e7bc9f3b71693fe48d35ec4ac3cbdee1e29e397e6c2fd261e4a"}},{"ruleId":"D1","level":"warning","message":{"text":"turbocall::compile_trampoline::convert (cyclomatic 23): turbocall::compile_trampoline::convert has cyclomatic complexity 23 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/ffi/turbocall.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a2653da192f28b0f9a11327edd9b84744d9e9c791d8499ac4cfb2a6c641ad3f"}},{"ruleId":"D1","level":"warning","message":{"text":"LibUvStreamWrap::writev (cyclomatic 23): LibUvStreamWrap::writev 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":"ext/node/ops/stream_wrap.rs"},"region":{"startLine":1501}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e4cf7a7a935e0e0aba4ddd253e767b687ee3673ee63d8a7f369570327acfbdb"}},{"ruleId":"D1","level":"warning","message":{"text":"KeyObjectHandle::verify_prehashed (cyclomatic 23): KeyObjectHandle::verify_prehashed 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":"ext/node_crypto/sign.rs"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fd996a3e668838bbfcba601e188fded071a38bc05151e1ab66f790c7778f356"}},{"ruleId":"D1","level":"warning","message":{"text":"console::js_parse_float (cyclomatic 23): console::js_parse_float 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":"ext/web/console/mod.rs"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"081597b741a37ec3f30d0a1f249c208017d3a959e5a27cb12438485a68791bf6"}},{"ruleId":"D1","level":"warning","message":{"text":"ModuleMap::new_module_from_js_source_with_pending (cyclomatic 23): ModuleMap::new_module_from_js_source_with_pending 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":"libs/core/modules/map.rs"},"region":{"startLine":953}}}],"partialFingerprints":{"codehealthFindingId/v1":"f842a26c136150397158317a567e5472a2a3d658e84b382cbef1b5dec1ed5053"}},{"ruleId":"D1","level":"warning","message":{"text":"UvLoopInner::has_alive_handles (cyclomatic 23): UvLoopInner::has_alive_handles 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":"libs/core/uv_compat.rs"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"de2bf56a2ebc6d1df859c86db66d05164c6227d561c41b0ed270b3ca676c9fbe"}},{"ruleId":"D1","level":"warning","message":{"text":"op2::generate_op2 (cyclomatic 23): op2::generate_op2 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":"libs/ops/op2/mod.rs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6fe9f3e7c6810f0d8617df4ecf514655127330cbaa672f2fc7c5ae45f3473ba"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkspaceResolver::from_workspace (cyclomatic 23): WorkspaceResolver::from_workspace has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 1 of the 23 points are its own statements and the rest belongs to 4 function items declared inside it (resolve_import_map, resolve_import_map::child_import_map_config, resolve_import_map::expand_catalog_specifiers::expand_entries, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/resolver/workspace.rs"},"region":{"startLine":856}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ba001131ea92d3781bbd660ab4ad08232253c4c39eb4a4e44f63f8536f5d5b3"}},{"ruleId":"D1","level":"warning","message":{"text":"request (cyclomatic 23): request has cyclomatic complexity 23 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/web/locks.js"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6738554078e381ace7a255494b5ec686677e057a84913bb5bef0730ca8b045c"}},{"ruleId":"D1","level":"warning","message":{"text":"measure (cyclomatic 23): measure has cyclomatic complexity 23 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/web/15_performance.js"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"91e2799dcb07d7d7c25c0fc44cf209ef1c1edd1037a341ae421d00d53dcbbad5"}},{"ruleId":"D1","level":"warning","message":{"text":"bench (cyclomatic 23): bench has cyclomatic complexity 23 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/js/40_bench.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e4d09890218f82efc442b37d809c1c51d830f31bfdf4f7fc9ea37d14a418457"}},{"ruleId":"D1","level":"warning","message":{"text":"ModuleGraphBuilder::build_graph_with_npm_resolution_and_build_options (cyclomatic 22): ModuleGraphBuilder::build_graph_with_npm_resolution_and_build_options 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":"cli/graph_util.rs"},"region":{"startLine":1002}}}],"partialFingerprints":{"codehealthFindingId/v1":"a68bb5df02e9849e85866a5b71d59a6d8df3ffce85a4588e44914bb341e66d3d"}},{"ruleId":"D1","level":"warning","message":{"text":"check::native_check (cyclomatic 22): check::native_check 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":"cli/tools/check.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ae5d124a6054181f732f3a930e3666c08de47b8ecd265efc4f1b46471324223"}},{"ruleId":"D1","level":"warning","message":{"text":"compile::compile_inner (cyclomatic 22): compile::compile_inner 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":"cli/tools/compile.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"019dff0e03d8f336bacb7b02a640a67e3a09b51101f34de2ed8b861d207e313b"}},{"ruleId":"D1","level":"warning","message":{"text":"flags::permission_args_parse (cyclomatic 22): flags::permission_args_parse 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":"cli/args/flags.rs"},"region":{"startLine":8538}}}],"partialFingerprints":{"codehealthFindingId/v1":"2db986f79274c9755970902242cf1d80b0c96b498c9915e7e2a95376fae3d8a0"}},{"ruleId":"D1","level":"warning","message":{"text":"bump_version::bump_workspace_conventional (cyclomatic 22): bump_version::bump_workspace_conventional 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":"cli/tools/bump_version.rs"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec5c13087690f838dc2262fa0fae8dfc834a687312c2853bcb5aeb026997a507"}},{"ruleId":"D1","level":"warning","message":{"text":"subtle_wrap_key::jwk_to_utf8 (cyclomatic 22): subtle_wrap_key::jwk_to_utf8 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":"ext/crypto/subtle_wrap_key.rs"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e4cf0afa7c11ecde51fcb1063235fa42d677ba17adc698c6e1326c93b1e5ab5"}},{"ruleId":"D1","level":"warning","message":{"text":"binding::consume_read_callback (cyclomatic 22): binding::consume_read_callback 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":"ext/node/ops/llhttp/binding.rs"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c69f948c0db89f05c602d9f33e4c1f73923e6cd5e89cc9182e65358e4e02db7"}},{"ruleId":"D1","level":"warning","message":{"text":"AsymmetricPrivateKey::export_der (cyclomatic 22): AsymmetricPrivateKey::export_der 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":"ext/node_crypto/keys.rs"},"region":{"startLine":2412}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb8909abd1d2e2601b314adacb3dece62c75c46802355bd9f00df9a64142f685"}},{"ruleId":"D1","level":"warning","message":{"text":"x509::op_node_x509_verify (cyclomatic 22): x509::op_node_x509_verify 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":"ext/node_crypto/x509.rs"},"region":{"startLine":1072}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba8b2fbc081b31d47e7a047de191635d3683f7a638f5c3c29c0574897b1ad3cd"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageData::constructor (cyclomatic 22): ImageData::constructor has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/web/image_data.rs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"21382d4d52be2abda95ce6ab2570dfd63351ed20518817ccaa22a3f9b9404943"}},{"ruleId":"D1","level":"warning","message":{"text":"url::simple_special_host_is_canonical (cyclomatic 22): url::simple_special_host_is_canonical 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":"ext/web/url.rs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"1513550d7fcc04ae83ae9b021ae3f23c8058170bc821662dd31f2224379f6d66"}},{"ruleId":"D1","level":"warning","message":{"text":"parse::parse_long_flag (cyclomatic 22): parse::parse_long_flag 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":"libs/cli_parser/src/parse.rs"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"551a1bcdca12cd409b5f7f7c1675438877541f5a91555eb09730a7d0a0fc6496"}},{"ruleId":"D1","level":"warning","message":{"text":"Workspace::split_cli_args_by_deno_json_folder (cyclomatic 22): Workspace::split_cli_args_by_deno_json_folder 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":"libs/config/workspace/mod.rs"},"region":{"startLine":1625}}}],"partialFingerprints":{"codehealthFindingId/v1":"4525abc00078bd69c5b524dda5040294d858201796fd26b3c9998e25e2a71a44"}},{"ruleId":"D1","level":"warning","message":{"text":"uv_compat::uv_guess_handle (cyclomatic 22): uv_compat::uv_guess_handle 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":"libs/core/uv_compat.rs"},"region":{"startLine":875}}}],"partialFingerprints":{"codehealthFindingId/v1":"1295e241f42f826aebcb2e31f9381073e8c0e9584e50b629eb500e49d1255897"}},{"ruleId":"D1","level":"warning","message":{"text":"LockfileContent::from_json (cyclomatic 22): LockfileContent::from_json has cyclomatic complexity 22 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 6 belong to 3 function items declared inside it. 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":"libs/lockfile/lib.rs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c0a89d3818e9bc3dd87170e99add49ad6d36649e430e18ae98a6a3e4d34c482"}},{"ruleId":"D1","level":"warning","message":{"text":"hoisted::compute_hoisted_layout (cyclomatic 22): hoisted::compute_hoisted_layout 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":"libs/npm_installer/hoisted.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"465ab11f97526da770971e794ea99673b6bd7c43eebd92239f0b9b65c8703575"}},{"ruleId":"D1","level":"warning","message":{"text":"Flags::parse (cyclomatic 22): Flags::parse 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":"libs/ops/op2/config.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"33fdde938e23a6a1ad3866d20403f4e227f542616ce650e5aa0bc7da3c084c1b"}},{"ruleId":"D1","level":"warning","message":{"text":"pnpm_lockfile_import::pnpm_lock_to_deno_lock_v5 (cyclomatic 22): pnpm_lockfile_import::pnpm_lock_to_deno_lock_v5 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":"libs/resolver/pnpm_lockfile_import.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0c44534d99985ba828b1dabefbf9bde9c11d833c314f6f60990084a2ba66356"}},{"ruleId":"D1","level":"warning","message":{"text":"Inner::did_change_watched_files (cyclomatic 21): Inner::did_change_watched_files has cyclomatic complexity 21 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/lsp/language_server.rs"},"region":{"startLine":1670}}}],"partialFingerprints":{"codehealthFindingId/v1":"f68467b6a112dda3cd5a21a7e4000fd5b046634286f461391af45be8d2c9d5ac"}},{"ruleId":"D1","level":"warning","message":{"text":"desktop::apply_desktop_config_to_flags (cyclomatic 21): desktop::apply_desktop_config_to_flags has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/desktop.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5eb6a1c76ad292a52efcdaec5e9f1583166528578fb46d6938eb1391b236ee3"}},{"ruleId":"D1","level":"warning","message":{"text":"deno::initialize_tunnel (cyclomatic 21): deno::initialize_tunnel has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/lib.rs"},"region":{"startLine":1342}}}],"partialFingerprints":{"codehealthFindingId/v1":"91d8911c0a789a0bc5d8c93a3b55fd575039572e757c4952eb97e053514226c7"}},{"ruleId":"D1","level":"warning","message":{"text":"tsc::resolve_specifier_for_tsc (cyclomatic 21): tsc::resolve_specifier_for_tsc has cyclomatic complexity 21 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tsc/mod.rs"},"region":{"startLine":997}}}],"partialFingerprints":{"codehealthFindingId/v1":"24369581f4f8e71ac5372b74822c1233a95a5dbe803c9f59160bc0691ad09d3c"}},{"ruleId":"D1","level":"warning","message":{"text":"subtle_import_key::import_key_ml_kem (cyclomatic 21): subtle_import_key::import_key_ml_kem 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":"ext/crypto/subtle_import_key.rs"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"dde496b1a454c375dea350b48b3e244e63b032a94ef6e40e3bc0dad453a28dc5"}},{"ruleId":"D1","level":"warning","message":{"text":"subtle_import_key::import_key_kmac (cyclomatic 21): subtle_import_key::import_key_kmac 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":"ext/crypto/subtle_import_key.rs"},"region":{"startLine":1665}}}],"partialFingerprints":{"codehealthFindingId/v1":"71bc64cd6ef5e42a12ff0b5e71b9becd5f0b92f71faacf32bccd42c91f413db1"}},{"ruleId":"D1","level":"warning","message":{"text":"http_next::write_h1_stream_response (cyclomatic 21): http_next::write_h1_stream_response 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":"ext/http/http_next.rs"},"region":{"startLine":4029}}}],"partialFingerprints":{"codehealthFindingId/v1":"02d04c2d8ce166d0be248fc2f66695502dc3bcd5eaa5f0ec7000a0c375dac1f0"}},{"ruleId":"D1","level":"warning","message":{"text":"Http2Options::new (cyclomatic 21): Http2Options::new 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":"ext/node/ops/http2/session.rs"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"6780b70287aed0de7e02b201419c7558875678c68ea9806d5ea5099e02d0feab"}},{"ruleId":"D1","level":"warning","message":{"text":"AdvancedIpcDeserializerDelegate::read_host_object (cyclomatic 21): AdvancedIpcDeserializerDelegate::read_host_object has cyclomatic complexity 21 (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":"ext/node/ops/ipc.rs"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"f412200e3df586a9abfb2d8ad6cbbdc60987d88969fdc652fca2ae31c3783014"}},{"ruleId":"D1","level":"warning","message":{"text":"session::on_stream_read_callback (cyclomatic 21): session::on_stream_read_callback 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":"ext/node/ops/http2/session.rs"},"region":{"startLine":1410}}}],"partialFingerprints":{"codehealthFindingId/v1":"add603fd1aeb61612888b3e3c0378c37122314336ca67d5c06b2eef7b7a429f0"}},{"ruleId":"D1","level":"warning","message":{"text":"ConfigFile::to_exports_config (cyclomatic 21): ConfigFile::to_exports_config has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 7 of the 21 points are its own statements and the rest belongs to 2 function items declared inside it (validate_key, validate_value). 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":"libs/config/deno_json/mod.rs"},"region":{"startLine":2022}}}],"partialFingerprints":{"codehealthFindingId/v1":"5be25debd6386148381bc62098e98c90dae35dbd963a692a313c0dac68831a90"}},{"ruleId":"D1","level":"warning","message":{"text":"Workspace::config_folders_sorted_by_dependencies (cyclomatic 21): Workspace::config_folders_sorted_by_dependencies has cyclomatic complexity 21 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/config/workspace/mod.rs"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"e56ba8fae108d46b058b5f67e6f3359b520e1e1fa9eaa228861d10a8ac57756a"}},{"ruleId":"D1","level":"warning","message":{"text":"web_worker::run_web_worker (cyclomatic 21): web_worker::run_web_worker has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/web_worker.rs"},"region":{"startLine":1137}}}],"partialFingerprints":{"codehealthFindingId/v1":"398f3e446aa43e06f41d6f275dba73f653394c9314d51db1a622c4276f53d6f5"}},{"ruleId":"D1","level":"warning","message":{"text":"flamegraph::generate_flamegraph_svg (cyclomatic 21): flamegraph::generate_flamegraph_svg has cyclomatic complexity 21 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 5 belong to one function item declared inside it. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/cpu_profiler/flamegraph.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"047558badfeb6f66ce7a4c8911fcc8639f8082b61c9b28939bceec0c3152b28a"}},{"ruleId":"D1","level":"warning","message":{"text":"readableByteStreamControllerPullInto (cyclomatic 21): readableByteStreamControllerPullInto has cyclomatic complexity 21 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/web/06_streams.js"},"region":{"startLine":2437}}}],"partialFingerprints":{"codehealthFindingId/v1":"028aa880ab2fa82dcd9a7c1af2c554ac08209e067dab5fce4e4ee5af4e5a4afa"}},{"ruleId":"D1","level":"warning","message":{"text":"getTypeSizeAndAlignment (cyclomatic 21): getTypeSizeAndAlignment has cyclomatic complexity 21 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/ffi/00_ffi.js"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"c282645bff1a1df099d6134db019905a34c975e543af1b620fd6629154ce389e"}},{"ruleId":"D1","level":"warning","message":{"text":"#handle (cyclomatic 21): #handle has cyclomatic complexity 21 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/fetch/27_eventsource.js"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"376ab56729c3bd1da0906ed86951144e8ce23142c0ecbed3951996df452b2e35"}},{"ruleId":"D1","level":"warning","message":{"text":"_dump (cyclomatic 21): _dump has cyclomatic complexity 21 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/js/40_lint.js"},"region":{"startLine":1455}}}],"partialFingerprints":{"codehealthFindingId/v1":"979f3eca277229f942943a88a21f3d814f2baa955b37a9d18b9befe6e6062c17"}},{"ruleId":"D1","level":"warning","message":{"text":"GraphDisplayContext::build_module_info (cyclomatic 20): GraphDisplayContext::build_module_info has cyclomatic complexity 20 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/info.rs"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"20281db8912d7aa65e6d5906403de51ba2f56e6ad59466edaeacf81f4a1fe281"}},{"ruleId":"D1","level":"warning","message":{"text":"SpecifierUnfurler::unfurl_specifier (cyclomatic 20): SpecifierUnfurler::unfurl_specifier has cyclomatic complexity 20 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/publish/unfurl.rs"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1e81250c836355ce7373d1fc00ae4f53d17d2817bc2c3058eb597298783903b"}},{"ruleId":"D1","level":"warning","message":{"text":"merge::merge_range_tree_children (cyclomatic 20): merge::merge_range_tree_children 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":"cli/tools/coverage/merge.rs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fdf62e1a5929347e2aacc7b41fd954f86bc1e55c9f989b84bf8eba2f08bab45"}},{"ruleId":"D1","level":"warning","message":{"text":"outdated::update (cyclomatic 20): outdated::update 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":"cli/tools/pm/outdated/mod.rs"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e1adf4cf262db788d485e11a11a0b122c6525497c16bfb62619c484d31002ec"}},{"ruleId":"D1","level":"warning","message":{"text":"tsc::display_parts_to_string (cyclomatic 20): tsc::display_parts_to_string 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":"cli/lsp/tsc.rs"},"region":{"startLine":2005}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a9dad3802a405e1963db560c5ba0eb308c190d948a96b4f21400c6cd3526df2"}},{"ruleId":"D1","level":"warning","message":{"text":"console::filter_destructive_ansi (cyclomatic 20): console::filter_destructive_ansi has cyclomatic complexity 20 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/util/console.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"949f07e9c86b41d0980f70ba7181421f715e0259d295228c2f1aba4411157966"}},{"ruleId":"D1","level":"warning","message":{"text":"path_to_regex::tokens_to_regex (cyclomatic 20): path_to_regex::tokens_to_regex 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":"cli/lsp/path_to_regex.rs"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"1659f3eb6a8d4d792e9d6f556aaebfed5a14c796603f54e92c97bc91d4ae2454"}},{"ruleId":"D1","level":"warning","message":{"text":"local::sync_types_command (cyclomatic 20): local::sync_types_command 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":"cli/tools/installer/local.rs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"1397763218f3d5ec1b9b7b72ab7c0df0f7619459855bda6dfdb912f09209fe7b"}},{"ruleId":"D1","level":"warning","message":{"text":"info::add_npm_packages_to_json (cyclomatic 20): info::add_npm_packages_to_json 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":"cli/tools/info.rs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"52c56a1488effb99d6a4c99e2c8640d507a4947bf7d4777acb4680a9b7023d0a"}},{"ruleId":"D1","level":"warning","message":{"text":"deno_fetch::op_fetch (cyclomatic 20): deno_fetch::op_fetch 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":"ext/fetch/lib.rs"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"49d60ddc6ab54bf72f546b5c34b32d923b43086f0ef5f497c2da76a7b5b115eb"}},{"ruleId":"D1","level":"warning","message":{"text":"WasiContext::path_open (cyclomatic 20): WasiContext::path_open 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":"ext/node/ops/wasi.rs"},"region":{"startLine":1378}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e785bc90c9183897af13f83fbce667c92308764465a97232bf49e590f64aa0f"}},{"ruleId":"D1","level":"warning","message":{"text":"shell::scan_and_split (cyclomatic 20): shell::scan_and_split 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":"ext/node/ops/shell.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"313075220bf43ce33d45b8498db0e8944838a361ada28551e2f30492ac9f72de"}},{"ruleId":"D1","level":"warning","message":{"text":"KeyObjectHandle::sign_prehashed (cyclomatic 20): KeyObjectHandle::sign_prehashed 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":"ext/node_crypto/sign.rs"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"312d409326d9a080d70af1dac854dede732811784f4e9ce153813fef79645e63"}},{"ruleId":"D1","level":"warning","message":{"text":"keys::parse_rsa_pss_params (cyclomatic 20): keys::parse_rsa_pss_params has cyclomatic complexity 20 (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":"ext/node_crypto/keys.rs"},"region":{"startLine":1901}}}],"partialFingerprints":{"codehealthFindingId/v1":"da4308f0ca474ae798f388ef30460bef4f9e4910bb86509d0ca0e29d8f174a96"}},{"ruleId":"D1","level":"warning","message":{"text":"cipher::aes_unwrap_key (cyclomatic 20): cipher::aes_unwrap_key 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":"ext/node_crypto/cipher.rs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"33bce71654d95bff08368e57fa18ec80922a0d2d7492cacd6eb100ec22ed2212"}},{"ruleId":"D1","level":"warning","message":{"text":"inspect::group_array_elements (cyclomatic 20): inspect::group_array_elements 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":"ext/web/console/inspect.rs"},"region":{"startLine":3855}}}],"partialFingerprints":{"codehealthFindingId/v1":"01e2270133819494c99e45c90ee52802a6f020788ec529e21b656eaa703697a7"}},{"ruleId":"D1","level":"warning","message":{"text":"bindings::initialize_deno_core_ops_bindings (cyclomatic 20): bindings::initialize_deno_core_ops_bindings 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":"libs/core/runtime/bindings.rs"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"30f6fbbdec721032d8b8672fde1c6adde88b4cf860b1fbac6e2d72263d65139e"}},{"ruleId":"D1","level":"warning","message":{"text":"NodeResolver::resolve_package_target_string (cyclomatic 20): NodeResolver::resolve_package_target_string 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":"libs/node_resolver/resolution.rs"},"region":{"startLine":1399}}}],"partialFingerprints":{"codehealthFindingId/v1":"6440ec692e87bcdeab2394d63ea00a79c9227c16f23b886945dc6e959da17d34"}},{"ruleId":"D1","level":"warning","message":{"text":"constructor (cyclomatic 20): constructor has cyclomatic complexity 20 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/web/02_event.js"},"region":{"startLine":1311}}}],"partialFingerprints":{"codehealthFindingId/v1":"de74617e51b23ff257dd9a5d37036b13c46ba499c951fc4c69a1079bf3145d27"}},{"ruleId":"D1","level":"warning","message":{"text":"parseFileInfo (cyclomatic 20): parseFileInfo has cyclomatic complexity 20 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/fs/30_fs.js"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"94b0ec7e513f8f8e6a12db11c882ba2191d23284b530c348853099f4452b429e"}},{"ruleId":"D1","level":"warning","message":{"text":"parse (cyclomatic 20): parse has cyclomatic complexity 20 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/fetch/21_formdata.js"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"eafb141f2f2bf3cb62c6ff48d115fe240c52959f5f53b9793dc87f4e89128860"}},{"ruleId":"D1","level":"warning","message":{"text":"getAttrPathValue (cyclomatic 20): getAttrPathValue has cyclomatic complexity 20 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/js/40_lint.js"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"731f99047cec06137f2f144a8d2fd5c19a929bcc33e882458f7a505c294058b0"}},{"ruleId":"D1","level":"warning","message":{"text":"DenoDiagnostic::code (cyclomatic 19): DenoDiagnostic::code has cyclomatic complexity 19 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/lsp/diagnostics.rs"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"aad87a3b1156582d68752849b5cc8badaf8040d9873adc408769ee3919e7c9c7"}},{"ruleId":"D1","level":"warning","message":{"text":"LspScopedResolver::configured_auto_import_roots (cyclomatic 19): LspScopedResolver::configured_auto_import_roots 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":"cli/lsp/resolver.rs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd0408de738a7c6b82fd5758ae371d850a162b522bbc1a7881a2bef0f4fce6f6"}},{"ruleId":"D1","level":"warning","message":{"text":"TestServer::new (cyclomatic 19): TestServer::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":"cli/lsp/testing/server.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"d196ed64dc1a7d0f3c86996cdc0c40f78edc94c3f8685885d2ff3e169cbc05b3"}},{"ruleId":"D1","level":"warning","message":{"text":"CliModuleLoader::prepare_load (cyclomatic 19): CliModuleLoader::prepare_load 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":"cli/module_loader.rs"},"region":{"startLine":1569}}}],"partialFingerprints":{"codehealthFindingId/v1":"1691ea41ebad7bba2815cf76c89fc1df84035c261aaf2c80efb9db4d6f0e8306"}},{"ruleId":"D1","level":"warning","message":{"text":"SpecifierUnfurler::unfurl_to_changes (cyclomatic 19): SpecifierUnfurler::unfurl_to_changes 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":"cli/tools/publish/unfurl.rs"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"a542ff4a3bfd6333fad18a9833601ea15df7b5c713ee97b52b8b1b0d28b196b8"}},{"ruleId":"D1","level":"warning","message":{"text":"DiagnosticsByFolderRealIterator::check_diagnostics_in_folder (cyclomatic 19): DiagnosticsByFolderRealIterator::check_diagnostics_in_folder has cyclomatic complexity 19 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 1 belong to one function item declared inside it. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/type_checker.rs"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f22641a51974ae3dbe5b436d542162f5b906e317149eb8d1876139cfa921cf1"}},{"ruleId":"D1","level":"warning","message":{"text":"upgrade::upgrade_from_pr (cyclomatic 19): upgrade::upgrade_from_pr 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":"cli/tools/upgrade.rs"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"ead793c8e5e2cd5749471b41cfefab07314b80fa919600d22c97ecee6680fe06"}},{"ruleId":"D1","level":"warning","message":{"text":"upgrade::upgrade (cyclomatic 19): upgrade::upgrade 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":"cli/tools/upgrade.rs"},"region":{"startLine":985}}}],"partialFingerprints":{"codehealthFindingId/v1":"47d5235021517213d372b5b426c6891ccc99e835ffca2505f6567d79e2de45dc"}},{"ruleId":"D1","level":"warning","message":{"text":"tsc::get_parameters_from_parts (cyclomatic 19): tsc::get_parameters_from_parts 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":"cli/lsp/tsc.rs"},"region":{"startLine":3919}}}],"partialFingerprints":{"codehealthFindingId/v1":"29fc09decfa824803f576ce9fd26ed5d94348d2c496a3fcca2c90a9bb2289a18"}},{"ruleId":"D1","level":"warning","message":{"text":"unfurl::unfurl_dynamic_specifier (cyclomatic 19): unfurl::unfurl_dynamic_specifier 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":"cli/tools/pack/unfurl.rs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd01796a05f204c947fd6b8bc2f75a4f220fe43c6207f5181f316a740f730d12"}},{"ruleId":"D1","level":"warning","message":{"text":"global::setup_config_dir (cyclomatic 19): global::setup_config_dir has cyclomatic complexity 19 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 2 belong to one function item declared inside it. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/installer/global.rs"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ad4b141324d30620c45e61adcdd07c148a9a864ac6e81721236bf19d980e282"}},{"ruleId":"D1","level":"warning","message":{"text":"clean::clean_node_modules (cyclomatic 19): clean::clean_node_modules 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":"cli/tools/clean.rs"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"068bc2607b2d167d93bd4bddbe7da141e4def325e40efbf6e0c0e8d747d40b66"}},{"ruleId":"D1","level":"warning","message":{"text":"tsc::load_for_tsc (cyclomatic 19): tsc::load_for_tsc has cyclomatic complexity 19 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 2 belong to one function item declared inside it. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tsc/mod.rs"},"region":{"startLine":1140}}}],"partialFingerprints":{"codehealthFindingId/v1":"86cd0e30ee36934c6656c87b91bad983d697d8c2cfec2a234fdd30da48202ce1"}},{"ruleId":"D1","level":"warning","message":{"text":"EmbeddedModuleLoader::resolve_inner (cyclomatic 19): EmbeddedModuleLoader::resolve_inner has cyclomatic complexity 19 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/rt/run.rs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"eae170d4526423b85a32bf322e22cf3c13312c816124f30bc20658904c3b94b6"}},{"ruleId":"D1","level":"warning","message":{"text":"subtle_export_key::export_ec (cyclomatic 19): subtle_export_key::export_ec has cyclomatic complexity 19 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/crypto/subtle_export_key.rs"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab7578872ec0f02b955778165217d2a7edf0d46ef000e03796f6705f88c512cc"}},{"ruleId":"D1","level":"warning","message":{"text":"subtle_sign::run (cyclomatic 19): subtle_sign::run 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":"ext/crypto/subtle_sign.rs"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"785b361c80c668f51b2e41fbc90deee3b17cc50d7559df6b3e1a3650706b7634"}},{"ruleId":"D1","level":"warning","message":{"text":"UpgradeStream::write (cyclomatic 19): UpgradeStream::write 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":"ext/http/http_next.rs"},"region":{"startLine":5622}}}],"partialFingerprints":{"codehealthFindingId/v1":"385621db62ae8f07db7f2d64e97f321931ddaf03fce7ad04b2178070b9b80ee1"}},{"ruleId":"D1","level":"warning","message":{"text":"HttpRecordResponse::poll_frame (cyclomatic 19): HttpRecordResponse::poll_frame 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":"ext/http/service.rs"},"region":{"startLine":1217}}}],"partialFingerprints":{"codehealthFindingId/v1":"98e1d37b7dffa77d3e284c458d85f4d6ca89a278f902a5489b071e17ab2e5e88"}},{"ruleId":"D1","level":"warning","message":{"text":"http_next::write_h1_stream_response_shared (cyclomatic 19): http_next::write_h1_stream_response_shared 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":"ext/http/http_next.rs"},"region":{"startLine":4170}}}],"partialFingerprints":{"codehealthFindingId/v1":"7df99d06adec0b12c2ce8458f54e257f99624bbfbbe2f2518be5f1d38692815b"}},{"ruleId":"D1","level":"warning","message":{"text":"TLSWrapInner::clear_out_process (cyclomatic 19): TLSWrapInner::clear_out_process 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":"ext/node/ops/tls_wrap.rs"},"region":{"startLine":1508}}}],"partialFingerprints":{"codehealthFindingId/v1":"39d17fb0aaba1b1a9f1f3d1659a8ca276895159757d3127369caae76f5cd61da"}},{"ruleId":"D1","level":"warning","message":{"text":"ZlibInner::do_write (cyclomatic 19): ZlibInner::do_write 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":"ext/node/ops/zlib/mod.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c27ee08338f22e93568796a29d9f5ea14f0811386716d5021f471f4846f57df"}},{"ruleId":"D1","level":"warning","message":{"text":"session::on_frame_recv_callback (cyclomatic 19): session::on_frame_recv_callback 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":"ext/node/ops/http2/session.rs"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"01a707eb5507fdc0295581e3aad269c74442986e3d628d3181f317e234512804"}},{"ruleId":"D1","level":"warning","message":{"text":"Cipher::encrypt (cyclomatic 19): Cipher::encrypt has cyclomatic complexity 19 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/node_crypto/cipher.rs"},"region":{"startLine":1006}}}],"partialFingerprints":{"codehealthFindingId/v1":"383dc20d80ba33c3e0e9a085962504b1ae3ca491b295f5f46dbeacd625116a40"}},{"ruleId":"D1","level":"warning","message":{"text":"Decipher::decrypt (cyclomatic 19): Decipher::decrypt has cyclomatic complexity 19 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/node_crypto/cipher.rs"},"region":{"startLine":1492}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2471104cffe3a97dc14b3ba68b3cd746b9c002ec694b916ceb1f8fd088346dd"}},{"ruleId":"D1","level":"warning","message":{"text":"inspect::format_value (cyclomatic 19): inspect::format_value 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":"ext/web/console/inspect.rs"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"820a4b5f5b7d20b71da16aa940fd1fe921b6a28d02f6a6fc0b10aff62f066b29"}},{"ruleId":"D1","level":"warning","message":{"text":"css::parse_css_color (cyclomatic 19): css::parse_css_color 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":"ext/web/console/css.rs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"8355690f0f99396bd458acc7755c54d64278fa3af3e8f3bc3aae657752cb99bd"}},{"ruleId":"D1","level":"warning","message":{"text":"Workspace::diagnostics::check_member_diagnostics (cyclomatic 19): Workspace::diagnostics::check_member_diagnostics 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":"libs/config/workspace/mod.rs"},"region":{"startLine":1204}}}],"partialFingerprints":{"codehealthFindingId/v1":"0009dbf144a6382b8c6b305c21bdb1610ffef886ce7fd0c2f6bde87e2f06a103"}},{"ruleId":"D1","level":"warning","message":{"text":"JsRuntime::new_inner (cyclomatic 19): JsRuntime::new_inner 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":"libs/core/runtime/jsruntime.rs"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"b36a048474a996279c420071fca181c8992eb03a615aa6f31bd73a4a1aa91531"}},{"ruleId":"D1","level":"warning","message":{"text":"stream::write_pipe (cyclomatic 19): stream::write_pipe 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":"libs/core/uv_compat/stream.rs"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"94c4d10963bcf75db7867d501d496afaedcb8414a4707d2545d7d521d9630377"}},{"ruleId":"D1","level":"warning","message":{"text":"map::render_js_wasm_module (cyclomatic 19): map::render_js_wasm_module has cyclomatic complexity 19 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 1 belong to one function item declared inside it. To reduce it, separate the cases: extract each independent 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":"libs/core/modules/map.rs"},"region":{"startLine":3676}}}],"partialFingerprints":{"codehealthFindingId/v1":"928fac2b7e3382e4ffc33742d8d1e9b25d14001cf7303c4989273fc2f3d350bf"}},{"ruleId":"D1","level":"warning","message":{"text":"GraphDependencyResolver::find_peers_cache_hit_inner (cyclomatic 19): GraphDependencyResolver::find_peers_cache_hit_inner 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":"libs/npm/resolution/graph.rs"},"region":{"startLine":2332}}}],"partialFingerprints":{"codehealthFindingId/v1":"785810faa8b6502f7ca01889d15abeae25fa59d3d01c1d8ee45c6b6a72a83b85"}},{"ruleId":"D1","level":"warning","message":{"text":"SerializedNpmResolutionSnapshot::dedup_equivalent_peer_variants (cyclomatic 19): SerializedNpmResolutionSnapshot::dedup_equivalent_peer_variants 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":"libs/npm/resolution/snapshot.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eaaefa4b6a3e8bf932b91a5322134e5b88d2e4d40ebf16af8d90ff9224027f8"}},{"ruleId":"D1","level":"warning","message":{"text":"dispatch_fast::generate_dispatch_fast (cyclomatic 19): dispatch_fast::generate_dispatch_fast 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":"libs/ops/op2/dispatch_fast.rs"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"3907aca22601a31c27a9102849110ddf16225466a9a28f3496028d45cf9b01c0"}},{"ruleId":"D1","level":"warning","message":{"text":"deno_resolver::patch_react_cves (cyclomatic 19): deno_resolver::patch_react_cves 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":"libs/resolver/lib.rs"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"95c84e757657866aa56602cc1420da9922f96bf9ff92cd8ef89ea9a7f15d7208"}},{"ruleId":"D1","level":"warning","message":{"text":"TtyPrompter::prompt (cyclomatic 19): TtyPrompter::prompt 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":"runtime/permissions/prompter.rs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"257f59eb1497f1e0b8e737873d706737681b56a223bc0a30df1ef0352a3e4ce6"}},{"ruleId":"D1","level":"warning","message":{"text":"DepManager::run_dependency_resolution (cyclomatic 18): DepManager::run_dependency_resolution has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/pm/deps.rs"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ea2f2e2b7fb527d71aa2036debdb820c97047998528f6aa01da84b2008cff59"}},{"ruleId":"D1","level":"warning","message":{"text":"editor::highlight_line (cyclomatic 18): editor::highlight_line has cyclomatic complexity 18 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/repl/editor.rs"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"186add39127544887f5f6ff32f8f51219b67bc6229c5dda413e256a9352c6e51"}},{"ruleId":"D1","level":"warning","message":{"text":"subtle_verify::run (cyclomatic 18): subtle_verify::run 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":"ext/crypto/subtle_verify.rs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"20674b6d5c183877c8739d7dfd6b706744c2984375766a4b2458a1149ab5c0ac"}},{"ruleId":"D1","level":"warning","message":{"text":"subtle_export_key::jwk_alg_for_symmetric (cyclomatic 18): subtle_export_key::jwk_alg_for_symmetric has cyclomatic complexity 18 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/crypto/subtle_export_key.rs"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"501eb2f9b396e329990a01692c50d95ca4f895213118b0a0bfac498fec30e8b9"}},{"ruleId":"D1","level":"warning","message":{"text":"subtle_export_key::export_okp (cyclomatic 18): subtle_export_key::export_okp has cyclomatic complexity 18 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/crypto/subtle_export_key.rs"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"40a0648b099459678cbef4b5af3acb5da9dc02c216f1559e2956269cc90e5984"}},{"ruleId":"D1","level":"warning","message":{"text":"turbocall::compile_trampoline (cyclomatic 18): turbocall::compile_trampoline 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":"ext/ffi/turbocall.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"c529274f37999e8e047daf311f7d991e6d0e63df116ee268ef5a0142da6f28d8"}},{"ruleId":"D1","level":"warning","message":{"text":"deno_http::handle_error_otel (cyclomatic 18): deno_http::handle_error_otel has cyclomatic complexity 18 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/http/lib.rs"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"6295164511e0e746708cffd58f6e628af207047bd86d64d6066ddcae1221f03f"}},{"ruleId":"D1","level":"warning","message":{"text":"TLSWrapInner::dispatch_clear_out_callbacks (cyclomatic 18): TLSWrapInner::dispatch_clear_out_callbacks 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":"ext/node/ops/tls_wrap.rs"},"region":{"startLine":1700}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f3bf769fa03504bcf96d25f68c36fb6cb1223e0a548da799fe1a3ddaf184f02"}},{"ruleId":"D1","level":"warning","message":{"text":"ContextifyScript::eval_machine (cyclomatic 18): ContextifyScript::eval_machine 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":"ext/node/ops/vm.rs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fb1c272ffca516a6f4269cfdcb2c0cb835887800afb7828123235631629012c"}},{"ruleId":"D1","level":"warning","message":{"text":"WasiContext::fd_read (cyclomatic 18): WasiContext::fd_read 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":"ext/node/ops/wasi.rs"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb3a96bcc3969824da42c22ebbe61348f33225f341291fd75419e5b02b6faaa8"}},{"ruleId":"D1","level":"warning","message":{"text":"dns::getaddrinfo_inner (cyclomatic 18): dns::getaddrinfo_inner 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":"ext/node/ops/dns.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"20de3aff6838fd59afa0f14559caa11e4783982215d2b4c2ea6f9eb724f30d8c"}},{"ruleId":"D1","level":"warning","message":{"text":"DatabaseSync::function (cyclomatic 18): DatabaseSync::function 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":"ext/node_sqlite/database.rs"},"region":{"startLine":1115}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff1d0b98bc3520653d10f2a588223183ec505eafd4ba52764a252672beca090c"}},{"ruleId":"D1","level":"warning","message":{"text":"inspect::try_custom_inspect (cyclomatic 18): inspect::try_custom_inspect 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":"ext/web/console/inspect.rs"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"026284175a7e254eb8263a77511d41e523b7591621d75e99c7edf174a4d8b945"}},{"ruleId":"D1","level":"warning","message":{"text":"inspect::get_keys (cyclomatic 18): inspect::get_keys 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":"ext/web/console/inspect.rs"},"region":{"startLine":1279}}}],"partialFingerprints":{"codehealthFindingId/v1":"76df7be7e71b0942dc987fa7855866e4b01e8b70f45a23bd7f0dae9e620a49ea"}},{"ruleId":"D1","level":"warning","message":{"text":"inspect::reduce_to_single_string (cyclomatic 18): inspect::reduce_to_single_string 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":"ext/web/console/inspect.rs"},"region":{"startLine":3742}}}],"partialFingerprints":{"codehealthFindingId/v1":"c84cbd7f2b5c4aa604cadbc765d3020bfeef1274e7c6df1675b9ed1423a1b3aa"}},{"ruleId":"D1","level":"warning","message":{"text":"css_stylesheet::split_top_level_rules (cyclomatic 18): css_stylesheet::split_top_level_rules 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":"ext/web/css_stylesheet.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"950fe370b6d7ccdae60c8b4677725ecbf8280685698d875c3c1971b5075061a0"}},{"ruleId":"D1","level":"warning","message":{"text":"Flags::otel_config (cyclomatic 18): Flags::otel_config has cyclomatic complexity 18 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/args/flags.rs"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f14d06ec097f0e6b315d3f4f82cc4533babe9a6bb7ba1eae49d97acf8560617"}},{"ruleId":"D1","level":"warning","message":{"text":"FileCollector::collect_file_patterns (cyclomatic 18): FileCollector::collect_file_patterns has cyclomatic complexity 18 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 3 belong to one function item declared inside it. To reduce it, separate the cases: extract each independent 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":"libs/config/glob/collector.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"60eb975bf673c7f23ead47cd8d2999fa2851d7175162201ddbe7032997c33ed2"}},{"ruleId":"D1","level":"warning","message":{"text":"RuntimeActivityStats::diff (cyclomatic 18): RuntimeActivityStats::diff 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":"libs/core/runtime/stats.rs"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c9418a7e574c1af7fc35c5101039956614b05342ebebee7125ee596abc5ba37"}},{"ruleId":"D1","level":"warning","message":{"text":"pipe::try_write_pipe (cyclomatic 18): pipe::try_write_pipe 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":"libs/core/uv_compat/pipe.rs"},"region":{"startLine":1085}}}],"partialFingerprints":{"codehealthFindingId/v1":"80fe181baaba8a9a4dcc1655f737f453483db4c7a4175454b8a3b288e3286de5"}},{"ruleId":"D1","level":"warning","message":{"text":"EszipV2::from_graph::visit_module (cyclomatic 18): EszipV2::from_graph::visit_module has cyclomatic complexity 18 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/eszip/v2.rs"},"region":{"startLine":1349}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d2a49323adbbeacafc5d914f251747caad0df49756be1d46c6f4bd68c3fc02d"}},{"ruleId":"D1","level":"warning","message":{"text":"SharedConn::poll_read_body_chunk_limited_with (cyclomatic 18): SharedConn::poll_read_body_chunk_limited_with 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":"libs/http_h1/conn.rs"},"region":{"startLine":898}}}],"partialFingerprints":{"codehealthFindingId/v1":"51f621ef5547650980ea31359a310b851d04b154d34a37f01810217f5c5c11a8"}},{"ruleId":"D1","level":"warning","message":{"text":"transforms::transform4_to_5 (cyclomatic 18): transforms::transform4_to_5 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":"libs/lockfile/transforms.rs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"365a99a668e159a1c7c086532511a694c1643c989bb01cc66bcfa54e657c2c5f"}},{"ruleId":"D1","level":"warning","message":{"text":"NodeResolver::finalize_resolution (cyclomatic 18): NodeResolver::finalize_resolution 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":"libs/node_resolver/resolution.rs"},"region":{"startLine":802}}}],"partialFingerprints":{"codehealthFindingId/v1":"f743e765fc40fc59909e15f38cbf433c1e664961f0a130dc4cb4b9915d6fd700"}},{"ruleId":"D1","level":"warning","message":{"text":"NodeResolver::path_to_declaration_path (cyclomatic 18): NodeResolver::path_to_declaration_path has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 8 of the 18 points are its own statements and the rest belongs to one function item declared inside it (probe_extensions). 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":"libs/node_resolver/resolution.rs"},"region":{"startLine":1223}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1ea7ade41a43e0a147cbeb58df3c2a7f6fd673330a8f826ecdfa06883f6c555"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph::compute_all_npm_pkg_ids (cyclomatic 18): Graph::compute_all_npm_pkg_ids 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":"libs/npm/resolution/graph.rs"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d15ddfdf2510a22c614ece1a051a85195736f7cacd118850604388269103391"}},{"ruleId":"D1","level":"warning","message":{"text":"TarballCache::create_setup_future (cyclomatic 18): TarballCache::create_setup_future 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":"libs/npm_cache/tarball.rs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"1888d9b7bab97aacaab65e9f22ec887a70cb33314ddc0719f2ca68a2befad9b5"}},{"ruleId":"D1","level":"warning","message":{"text":"bun_lockfile_import::bun_lock_to_deno_lock_v5 (cyclomatic 18): bun_lockfile_import::bun_lock_to_deno_lock_v5 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":"libs/resolver/bun_lockfile_import.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"70607cc2239d0c42ebee5e4268c251b7c072bbdabd8d4df0b8cdb10a2c42ead3"}},{"ruleId":"D1","level":"warning","message":{"text":"npmrc::discover_npmrc (cyclomatic 18): npmrc::discover_npmrc has cyclomatic complexity 18 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 6 belong to 3 function items declared inside it. 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":"libs/resolver/npmrc.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"704522f021c3509147e29b9501924d89ba4cd7f046e99bff970adeb790764a0a"}},{"ruleId":"D1","level":"warning","message":{"text":"bootstrapMainRuntime (cyclomatic 18): bootstrapMainRuntime has cyclomatic complexity 18 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/js/99_main.js"},"region":{"startLine":882}}}],"partialFingerprints":{"codehealthFindingId/v1":"15046c53fcbd98027abc5f5ad51b48b2cea4b7e801ba507abb0bc17e4b4df1fb"}},{"ruleId":"D1","level":"warning","message":{"text":"listOnTimeout (cyclomatic 18): listOnTimeout has cyclomatic complexity 18 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/core/02_timers.js"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c333ce6414d89b8b949a08f3d4945268e35b1f22f74075f2845047050d4158c"}},{"ruleId":"D1","level":"warning","message":{"text":"postMessage (cyclomatic 18): postMessage has cyclomatic complexity 18 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/web/13_message_port.js"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"512d9fb91685600df1054f3cb935459efa8a55a11677da73e93c5d2dda545142"}},{"ruleId":"D1","level":"warning","message":{"text":"structuredClone (cyclomatic 18): structuredClone has cyclomatic complexity 18 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/web/02_structured_clone.js"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cd544d46a7d2ace293b5892454358734a490a0e533dcc5e0809520267cd40eb"}},{"ruleId":"D1","level":"warning","message":{"text":"innerInvokeEventListeners (cyclomatic 18): innerInvokeEventListeners has cyclomatic complexity 18 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/web/02_event.js"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"5341e563b87333abe5f4cd563cc0215bb3a3de4436116fcb16e9756529dc624b"}},{"ruleId":"D1","level":"warning","message":{"text":"createHttpClient (cyclomatic 18): createHttpClient has cyclomatic complexity 18 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/fetch/22_http_client.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b8129caa7a4ee34bfe96ac8bfe73c5299cb328089cef10b8ab09d8f907a6c6d"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkspaceSettings::from_raw_settings (cyclomatic 17): WorkspaceSettings::from_raw_settings has cyclomatic complexity 17 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 2 belong to one function item declared inside it. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/lsp/config.rs"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"6046b4d7406419585a0e0af2c9b2f05f4e7d5a1bf63a257acff33f334b0f73bb"}},{"ruleId":"D1","level":"warning","message":{"text":"Compiler::to_path (cyclomatic 17): Compiler::to_path has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/lsp/path_to_regex.rs"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"72648f4547307e2b70d4c7b5b8d203734f2791cd6730d88e48a39c14c3c8ebd9"}},{"ruleId":"D1","level":"warning","message":{"text":"TsServer::provide_code_actions (cyclomatic 17): TsServer::provide_code_actions has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/lsp/ts_server.rs"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"628055f870eed128bc374054f863ee96f4e9b47058679ce5f88e3932ab420392"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkspaceLinter::lint_files (cyclomatic 17): WorkspaceLinter::lint_files has cyclomatic complexity 17 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 1 belong to one function item declared inside it. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/lint/mod.rs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bf34386d2e551b1f01f9e8b93185033292a0a216250b4db016e4bc7b1eb2a7c"}},{"ruleId":"D1","level":"warning","message":{"text":"GraphDiagnosticsCollector::collect_diagnostics_for_graph (cyclomatic 17): GraphDiagnosticsCollector::collect_diagnostics_for_graph has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/publish/graph.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdec65201e65a402830a1d3f5e3907343b3c74866bcca5e86eeb171cfe77b4d6"}},{"ruleId":"D1","level":"warning","message":{"text":"native_addons::collect_bundle_required_packages (cyclomatic 17): native_addons::collect_bundle_required_packages has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/standalone/native_addons.rs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"a020b43613d82439f5cabb5313e380c387a6dda5f9676b53574b58d42164283f"}},{"ruleId":"D1","level":"warning","message":{"text":"desktop::create_windows_msi (cyclomatic 17): desktop::create_windows_msi has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/desktop.rs"},"region":{"startLine":4218}}}],"partialFingerprints":{"codehealthFindingId/v1":"1410b16d7b3b0de060c66a83fa3136a20ae3956d547b04e75cda6620c3801020"}},{"ruleId":"D1","level":"warning","message":{"text":"args::flags_to_permissions_options (cyclomatic 17): args::flags_to_permissions_options has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 6 of the 17 points are its own statements and the rest belongs to 2 function items declared inside it (handle_allow, handle_deny_or_ignore). 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":"cli/args/mod.rs"},"region":{"startLine":1715}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f056680b333e92d7097b5a794f4f836de6f607c0471cae4da9e9c3a27eb48a"}},{"ruleId":"D1","level":"warning","message":{"text":"wasm::collect_import_records (cyclomatic 17): wasm::collect_import_records has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/publish/wasm.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"478224cd5f123569aa270e1829ec015a713ea88e15e364dda6ff6282b0b508a8"}},{"ruleId":"D1","level":"warning","message":{"text":"socket_dev::print_firewall_report (cyclomatic 17): socket_dev::print_firewall_report 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":"cli/tools/pm/audit.rs"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbe1f7c167a73cd93480414b389a1f23401e17cd71ae55ba9a30f5346016c636"}},{"ruleId":"D1","level":"warning","message":{"text":"local::categorize_installed_npm_deps (cyclomatic 17): local::categorize_installed_npm_deps has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/installer/local.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"766586aa1a8d562475c03bcf9070873d5262b36093f958e8ca573dedc39c454a"}},{"ruleId":"D1","level":"warning","message":{"text":"tsconfig_gen::strip_top_level_type_decls (cyclomatic 17): tsconfig_gen::strip_top_level_type_decls has cyclomatic complexity 17 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tsc/tsconfig_gen.rs"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"553ca73a68a5c9c4f8a4d2b6640d7e29884c954cbfe6ea68c3f49cfc063114ee"}},{"ruleId":"D1","level":"warning","message":{"text":"editor::validate (cyclomatic 17): editor::validate 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":"cli/tools/repl/editor.rs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb6aabb87931f14411cfe82d2d3bca95f7ec05d7cf8e671b24b133fbdf697d68"}},{"ruleId":"D1","level":"warning","message":{"text":"subtle_import_key::import_key_ml_dsa (cyclomatic 17): subtle_import_key::import_key_ml_dsa 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":"ext/crypto/subtle_import_key.rs"},"region":{"startLine":786}}}],"partialFingerprints":{"codehealthFindingId/v1":"35cb9c7cb27440ad3ea12b6bf6006d8e014dda6817c6dfc09c419b8fc28088ba"}},{"ruleId":"D1","level":"warning","message":{"text":"subtle_export_key::jwk_to_object (cyclomatic 17): subtle_export_key::jwk_to_object 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":"ext/crypto/subtle_export_key.rs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c37047c288c015975effc53b5b0e0b3999309f403c2c5977c47fb316817d5d4"}},{"ruleId":"D1","level":"warning","message":{"text":"deno_fetch::create_http_client (cyclomatic 17): deno_fetch::create_http_client 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":"ext/fetch/lib.rs"},"region":{"startLine":1023}}}],"partialFingerprints":{"codehealthFindingId/v1":"7086db818c02601c74dbf64969bf7dbf2561e481ac3219cc446721f3d486fa57"}},{"ruleId":"D1","level":"warning","message":{"text":"js_native_api::napi_get_typedarray_info (cyclomatic 17): js_native_api::napi_get_typedarray_info 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":"ext/napi/js_native_api.rs"},"region":{"startLine":3802}}}],"partialFingerprints":{"codehealthFindingId/v1":"79f89c7ce4bbc2410e9958490f67c3ff1d1c89b57dc2ea7f8304f83350952865"}},{"ruleId":"D1","level":"warning","message":{"text":"Session::send_pending_data (cyclomatic 17): Session::send_pending_data 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":"ext/node/ops/http2/session.rs"},"region":{"startLine":2547}}}],"partialFingerprints":{"codehealthFindingId/v1":"326f93312143579d4e6cc94040c11e3834ae0060def5b0f5dd7b9afbf7f5b991"}},{"ruleId":"D1","level":"warning","message":{"text":"WasiContext::fd_write (cyclomatic 17): WasiContext::fd_write 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":"ext/node/ops/wasi.rs"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2f99bce07208961b7494f0e28cc645a4b2dc8a6013726ddec4b29c11e8618fa"}},{"ruleId":"D1","level":"warning","message":{"text":"stream_wrap::on_uv_read (cyclomatic 17): stream_wrap::on_uv_read 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":"ext/node/ops/stream_wrap.rs"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"818f218dc9748b61cf58e0c1c30019df1f8e1e7cd3e0278695c98e047e44a4cb"}},{"ruleId":"D1","level":"warning","message":{"text":"impl_::serialize_v8_value (cyclomatic 17): impl_::serialize_v8_value 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":"ext/node/ops/ipc.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"d80e464652c5d7e4f461ee51f74ac86c3ab67e5dbecd2518cc230c7b4eaf5d83"}},{"ruleId":"D1","level":"warning","message":{"text":"StatementSync::bind_params (cyclomatic 17): StatementSync::bind_params 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":"ext/node_sqlite/statement.rs"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"f46dbf9c424dc21589451b67427eda8aafd0418c13ad5de1a2d013f0fb4d1a52"}},{"ruleId":"D1","level":"warning","message":{"text":"convert::test_parse (cyclomatic 17): convert::test_parse 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":"libs/cli_parser/src/convert.rs"},"region":{"startLine":1541}}}],"partialFingerprints":{"codehealthFindingId/v1":"baa2cb5b3421ce900bc2b0166f6d1496e7ddb3339c4bcffc86b2d5315e3d894c"}},{"ruleId":"D1","level":"warning","message":{"text":"JsRuntimeInspector::capture_network_event (cyclomatic 17): JsRuntimeInspector::capture_network_event 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":"libs/core/inspector.rs"},"region":{"startLine":1255}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fa9150f315536fde17007bff0b19eb9cab86ae04a0068fad2eb1868d4363bd5"}},{"ruleId":"D1","level":"warning","message":{"text":"transforms::transform3_to_4 (cyclomatic 17): transforms::transform3_to_4 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":"libs/lockfile/transforms.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"919be63891bdc1197e61b7cab74fda151d69b75e56c110733f182c473575b2ba"}},{"ruleId":"D1","level":"warning","message":{"text":"CjsModuleExportAnalyzer::resolve (cyclomatic 17): CjsModuleExportAnalyzer::resolve 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":"libs/node_resolver/analyze.rs"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4efe6975ebcd73025d076dd15a8cb226a6e4c2d066ab73dbcb88d31d80c1fb9"}},{"ruleId":"D1","level":"warning","message":{"text":"PackumentIndexer::on_operator (cyclomatic 17): PackumentIndexer::on_operator 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":"libs/npm/fast_registry_json.rs"},"region":{"startLine":1172}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4963901967b985d7f85237de5f0fe399624cf0aeb58d3f64f5fdc2a728fcc09"}},{"ruleId":"D1","level":"warning","message":{"text":"PreparedModuleLoader::load_prepared_module_or_defer_emit (cyclomatic 17): PreparedModuleLoader::load_prepared_module_or_defer_emit 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":"libs/resolver/loader/module_loader.rs"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3b1836c2647ed3de1ee1f0bd3cc4c78de5efc5da85b8842405871b4488f1dba"}},{"ruleId":"D1","level":"warning","message":{"text":"NetDescriptor::parse_inner (cyclomatic 17): NetDescriptor::parse_inner 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":"runtime/permissions/lib.rs"},"region":{"startLine":2068}}}],"partialFingerprints":{"codehealthFindingId/v1":"5abc1f645635559b55b5af578b69c574506d40b7cfc822b586bbd67018c4b18d"}},{"ruleId":"D1","level":"warning","message":{"text":"cache (cyclomatic 17): cache has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/js/10_permissions.js"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"93c277c7b092a70df22b9eb129a3402ae1fc3dd178526d6b831eafa8f89b17f9"}},{"ruleId":"D1","level":"warning","message":{"text":"observe (cyclomatic 17): observe has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/web/15_performance.js"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"e78a2c3665569521811d136dbe1da754e49c6aeae21f5f84131514e188c6a98b"}},{"ruleId":"D1","level":"warning","message":{"text":"readableStreamPipeTo (cyclomatic 17): readableStreamPipeTo has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/web/06_streams.js"},"region":{"startLine":3247}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf64b2f5f2e1fddda168df925dcaa3d8e3b8a97b1f73bcb96ff33ec1f16edfea"}},{"ruleId":"D1","level":"warning","message":{"text":"composedPath (cyclomatic 17): composedPath has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/web/02_event.js"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"8004d1fb2e3c7a2ec432c2fe89c0a374ae75e5ef0530d97741fc85f9364091ba"}},{"ruleId":"D1","level":"warning","message":{"text":"matchAttrValue (cyclomatic 17): matchAttrValue has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/js/40_lint_selector.js"},"region":{"startLine":1211}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba8cb3e689cf65b1514e60dfb4da5413504de1b13d612d4bd1e69a9f4f08f9ae"}},{"ruleId":"D1","level":"warning","message":{"text":"CliFactory::npm_installer_factory (cyclomatic 16): CliFactory::npm_installer_factory has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/factory.rs"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"b51518512220bba520911b157a7900f6dca8159007c6fcece34df3d7564f74f1"}},{"ruleId":"D1","level":"warning","message":{"text":"Inner::initialize (cyclomatic 16): Inner::initialize has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/lsp/language_server.rs"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b5673c190d96fc319c60ce5cb5451096d5107828992a3964d45bfcc10890dcb"}},{"ruleId":"D1","level":"warning","message":{"text":"ConfiguredDepResolutions::new (cyclomatic 16): ConfiguredDepResolutions::new has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/lsp/resolver.rs"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"13935afc3d1602cb171502486237854a4a8f6a458d732b9b0c5e8803fc619307"}},{"ruleId":"D1","level":"warning","message":{"text":"CompletionEntryDetails::as_completion_item (cyclomatic 16): CompletionEntryDetails::as_completion_item has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/lsp/tsc.rs"},"region":{"startLine":3992}}}],"partialFingerprints":{"codehealthFindingId/v1":"a82d0ee72bc759eedb8fb633e4c55369935003888ba0eb8db89d41bc5cc08aac"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskRunner::run_tasks_in_parallel (cyclomatic 16): TaskRunner::run_tasks_in_parallel has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/task.rs"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"50ee95ca506358a4452e7160d09616aa00cdac587af1a0090db3237e9c82523f"}},{"ruleId":"D1","level":"warning","message":{"text":"approve_scripts::approve_scripts (cyclomatic 16): approve_scripts::approve_scripts 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":"cli/tools/pm/approve_scripts.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"58cabe495a5fd663541c77ea21134acb9c7839e8e31ae3d9d99054617dd993da"}},{"ruleId":"D1","level":"warning","message":{"text":"publish::publish (cyclomatic 16): publish::publish has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/publish/mod.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"78eb99431b6b526675cd693a329b0aa14fc51d0f5c7cb3e10e1c151963b849ef"}},{"ruleId":"D1","level":"warning","message":{"text":"npm::call_audits_api (cyclomatic 16): npm::call_audits_api 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":"cli/tools/pm/audit.rs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"772083dd0d46f9fcc3f5aaf2769f8a317c44d2a09a3433dc6c6e8a8f41c5b826"}},{"ruleId":"D1","level":"warning","message":{"text":"http_next::write_h1_flat_response (cyclomatic 16): http_next::write_h1_flat_response 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":"ext/http/http_next.rs"},"region":{"startLine":3554}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a0e9b9eba2563c1e21baf5aab1f3471437c5c08522d8a54418429254bfbcf5b"}},{"ruleId":"D1","level":"warning","message":{"text":"js_native_api::napi_define_class (cyclomatic 16): js_native_api::napi_define_class 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":"ext/napi/js_native_api.rs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"c97f473c15335664469420a3a654198739028819e6cb95759d0f3acef0a10f65"}},{"ruleId":"D1","level":"warning","message":{"text":"assert::get_first_expression (cyclomatic 16): assert::get_first_expression 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":"ext/node/ops/assert.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b5dfac986ffc066e3ac07c6e5cbacdacdd43be5fe2cc664314b300cabfad470"}},{"ruleId":"D1","level":"warning","message":{"text":"buffer::op_node_encoding_slice (cyclomatic 16): buffer::op_node_encoding_slice 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":"ext/node/ops/buffer.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca47de9d74eccd2b1e81485bebeb4405cd2a44865a17e05ec9ccfe8e3290dcf4"}},{"ruleId":"D1","level":"warning","message":{"text":"keys::parse_legacy_encrypted_pem (cyclomatic 16): keys::parse_legacy_encrypted_pem has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/node_crypto/keys.rs"},"region":{"startLine":3666}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2eadaf6e9b7fd7d7e4155f7ddacf8632f8895d632e4a1e40940c5047e23886b"}},{"ruleId":"D1","level":"warning","message":{"text":"deno_node_crypto::op_node_ecdh_compute_secret (cyclomatic 16): deno_node_crypto::op_node_ecdh_compute_secret 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":"ext/node_crypto/lib.rs"},"region":{"startLine":1338}}}],"partialFingerprints":{"codehealthFindingId/v1":"82f4ac03e3ce66db10d8bcc35dcb881440716ce081e97a81eb708eca8b2b6960"}},{"ruleId":"D1","level":"warning","message":{"text":"cipher::aes_wrap_key (cyclomatic 16): cipher::aes_wrap_key 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":"ext/node_crypto/cipher.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e93dc3c7bc6c5b4f8de88372507d27b64ac76a090b8f6f70ced7a512758c0d1"}},{"ruleId":"D1","level":"warning","message":{"text":"console_exporter::format_span (cyclomatic 16): console_exporter::format_span 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":"ext/telemetry/console_exporter.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"331a79f74ceb53f28e961654924cd4f5815fd244b068beb209f3ab70024399a3"}},{"ruleId":"D1","level":"warning","message":{"text":"inspect::get_user_options (cyclomatic 16): inspect::get_user_options has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/web/console/inspect.rs"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"197ccf418bcb7d8c87bde1c0588fc21d65f86e2d3dd28f86a0315d64e1d7a4b8"}},{"ruleId":"D1","level":"warning","message":{"text":"inspect::get_function_base (cyclomatic 16): inspect::get_function_base 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":"ext/web/console/inspect.rs"},"region":{"startLine":2764}}}],"partialFingerprints":{"codehealthFindingId/v1":"931f7d7f93ae69e18c0508c352b9048c471b7b523a54f773d407c8f977b8f6b6"}},{"ruleId":"D1","level":"warning","message":{"text":"Flags::config_path_args (cyclomatic 16): Flags::config_path_args has cyclomatic complexity 16 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 6 belong to 2 function items declared inside it. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/args/flags.rs"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"913e73abb21dae5fa27fa4a92c05e7f543f6f5ec2eafa072d006def7e270abe8"}},{"ruleId":"D1","level":"warning","message":{"text":"extension_set::into_sources_and_source_maps (cyclomatic 16): extension_set::into_sources_and_source_maps 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":"libs/core/extension_set.rs"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"e988e00bb5c3e1685b9d126815bef8e190952e1d3db81ef3114123e3495c9b42"}},{"ruleId":"D1","level":"warning","message":{"text":"stream::uv_try_writev (cyclomatic 16): stream::uv_try_writev 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":"libs/core/uv_compat/stream.rs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b4e0259c3db78b7a145c38a54ff9c1f67dfe737de2130a40cc59f8f794c85b6"}},{"ruleId":"D1","level":"warning","message":{"text":"error::format_frame (cyclomatic 16): error::format_frame 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":"libs/core/error.rs"},"region":{"startLine":2449}}}],"partialFingerprints":{"codehealthFindingId/v1":"c44c41229c329570b69f73b8051b7e45707e2849e362c6e75ee6bc8d644ceeb8"}},{"ruleId":"D1","level":"warning","message":{"text":"GraphDependencyResolver::drain_pending_parallel (cyclomatic 16): GraphDependencyResolver::drain_pending_parallel has cyclomatic complexity 16 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 5 belong to 2 function items declared inside it. To reduce it, separate the cases: extract each independent 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":"libs/npm/resolution/graph.rs"},"region":{"startLine":2440}}}],"partialFingerprints":{"codehealthFindingId/v1":"61fba0d00818d79f45812601fd4759764a4f771f9e8527a0fe0df7872727f15b"}},{"ruleId":"D1","level":"warning","message":{"text":"dispatch_async::generate_dispatch_async (cyclomatic 16): dispatch_async::generate_dispatch_async 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":"libs/ops/op2/dispatch_async.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c4de2a24d198993b777e22bd11c67bcbc6fd01836067d31c9904c970e1fff1f"}},{"ruleId":"D1","level":"warning","message":{"text":"dispatch_slow::generate_dispatch_slow (cyclomatic 16): dispatch_slow::generate_dispatch_slow 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":"libs/ops/op2/dispatch_slow.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e92ca7d55f5ef0eb238d8a045287ea2483bc3537f2aae492dd649660690bb0d"}},{"ruleId":"D1","level":"warning","message":{"text":"graph::get_import_prefix_missing_error (cyclomatic 16): graph::get_import_prefix_missing_error 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":"libs/resolver/graph.rs"},"region":{"startLine":1005}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f1865939e5499facc2fcf8dc573f8320b3af4238e54292dd64a55bbac6ec059"}},{"ruleId":"D1","level":"warning","message":{"text":"process::append_bat_arg (cyclomatic 16): process::append_bat_arg has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/subprocess_windows/src/process.rs"},"region":{"startLine":1516}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e07878a655b6f33e1d75fcded47ec01396ddb8262b8892ed0668b20b4d5e269"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 16): (anonymous) 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":"runtime/js/99_main.js"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"da90753a3eeca017e382b1a136d726ee3f858ea580b13ef27599b0f3f2d6d73c"}},{"ruleId":"D1","level":"warning","message":{"text":"search (cyclomatic 16): search 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":"runtime/cpu_profiler/flamegraph.js"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c0957eb3047369f26feaae4982fe6f3ac6c17cfcffdc6487c03191c72369a09"}},{"ruleId":"D1","level":"warning","message":{"text":"(computed) (cyclomatic 16): (computed) 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":"ext/websocket/01_websocket.js"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"dde4148241fe922f00e29c374df8811feba99acf1e2c9f74ff8a6feac6455dc5"}},{"ruleId":"D1","level":"warning","message":{"text":"parseMimeType (cyclomatic 16): parseMimeType 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":"ext/web/01_mimesniff.js"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7637bb4a722be9c7981c63eee8afd9fc9d947c54d69391b643d6fec31f5e5de"}},{"ruleId":"D1","level":"warning","message":{"text":"flushTestSnapshots (cyclomatic 16): flushTestSnapshots 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":"cli/js/40_test_snapshot.js"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"06f15f6b227c01f33ecc261563659f392c0cb8d971fbbb9ed7a0ff0b6308f25b"}},{"ruleId":"D1","level":"warning","message":{"text":"getFromRawValue (cyclomatic 16): getFromRawValue 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":"cli/js/40_lint_selector.js"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d20de34a4f62f2574e2f7540c1a2ae2f64ee96c61635a3585bb67165963da25"}},{"ruleId":"D2","level":"warning","message":{"text":"pipe::poll_pipe_handle (cognitive 208): pipe::poll_pipe_handle has cognitive complexity 208 (threshold 15). Drivers by points: if/else 168, match/switch 21, boolean chains 12, loops 7 (nesting depth added 116). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/core/uv_compat/pipe.rs"},"region":{"startLine":1715}}}],"partialFingerprints":{"codehealthFindingId/v1":"6db5a1779f7b024a8d22d77a998d0fda3ce6819f55820746cba5764d595ee183"}},{"ruleId":"D2","level":"warning","message":{"text":"OptionsParser::parse (cognitive 205): OptionsParser::parse has cognitive complexity 205 (threshold 15). Drivers by points: if/else 159, loops 34, boolean chains 9, match/switch 3 (nesting depth added 129). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/node_shim/lib.rs"},"region":{"startLine":2801}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a437e3f78025a02da55b74c0059646462dc36ee5ba74809c48728449f3ff439"}},{"ruleId":"D2","level":"warning","message":{"text":"tty::poll_tty_handle (cognitive 204): tty::poll_tty_handle has cognitive complexity 204 (threshold 15). Drivers by points: if/else 142, match/switch 34, loops 15, boolean chains 13 (nesting depth added 138). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/core/uv_compat/tty.rs"},"region":{"startLine":2176}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffddde4bff942f106fc6c38644f59debd8b0c95deaec73a26755d14ed8860387"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalNpmPackageInstaller::sync_resolution_with_fs (cognitive 174): LocalNpmPackageInstaller::sync_resolution_with_fs has cognitive complexity 174 (threshold 15). Drivers by points: if/else 114, loops 25, match/switch 18, boolean chains 17 (nesting depth added 81). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/npm_installer/local.rs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab8bb23d2db8e4872209921f48f0767444b69325ea96e401d14ee6d3eadae527"}},{"ruleId":"D2","level":"warning","message":{"text":"ModuleRegistry::get_completions (cognitive 170): ModuleRegistry::get_completions has cognitive complexity 170 (threshold 15). Drivers by points: if/else 132, loops 16, match/switch 15, boolean chains 7 (nesting depth added 124). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/lsp/registries.rs"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"949f107370b6ead2f95b3a7f841928e66b2b342f6e2a95d4b273a9f775fed498"}},{"ruleId":"D2","level":"warning","message":{"text":"inspect::format_raw (cognitive 170): inspect::format_raw has cognitive complexity 170 (threshold 15). Drivers by points: if/else 136, boolean chains 21, match/switch 12, loops 1 (nesting depth added 65). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/web/console/inspect.rs"},"region":{"startLine":1920}}}],"partialFingerprints":{"codehealthFindingId/v1":"f96b7a5980b53f8998016f4224ed4b56cecdcfd23c842c68523ae4b01647e1a4"}},{"ruleId":"D2","level":"warning","message":{"text":"tcp::poll_tcp_handle (cognitive 161): tcp::poll_tcp_handle has cognitive complexity 161 (threshold 15). Drivers by points: if/else 100, loops 31, match/switch 18, boolean chains 12 (nesting depth added 93). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/core/uv_compat/tcp.rs"},"region":{"startLine":1271}}}],"partialFingerprints":{"codehealthFindingId/v1":"dae38b6c00f5298adab40df67191d27d73d022db90264031dde0125a097480e3"}},{"ruleId":"D2","level":"warning","message":{"text":"http_next::serve_http11_raw (cognitive 155): http_next::serve_http11_raw has cognitive complexity 155 (threshold 15). Drivers by points: if/else 111, match/switch 29, boolean chains 14, loops 1 (nesting depth added 99). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/http/http_next.rs"},"region":{"startLine":4357}}}],"partialFingerprints":{"codehealthFindingId/v1":"937ad7d46784c02d1b1ff49e7946650735b09edbc62a5d149ef7ed187f35c115"}},{"ruleId":"D2","level":"warning","message":{"text":"pipe::poll_pipe_handle (cognitive 146): pipe::poll_pipe_handle has cognitive complexity 146 (threshold 15). Drivers by points: if/else 112, match/switch 19, boolean chains 14, loops 1 (nesting depth added 76). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/core/uv_compat/pipe.rs"},"region":{"startLine":1360}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c67b4463c72a3a6e044889049d578f66dba4a33c5ff2537ec0ba77ddc724bfc"}},{"ruleId":"D2","level":"warning","message":{"text":"coverage::generate_coverage_report (cognitive 141): coverage::generate_coverage_report has cognitive complexity 141 (threshold 15). Drivers by points: if/else 97, loops 28, boolean chains 16 (nesting depth added 77). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/coverage/mod.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"2910fa769fa454f506100f354db9d9bbcb0557353f3526ac6c9883398fa9e87b"}},{"ruleId":"D2","level":"warning","message":{"text":"JsRuntimeInspectorState::poll_sessions (cognitive 136): JsRuntimeInspectorState::poll_sessions has cognitive complexity 136 (threshold 15). Drivers by points: if/else 100, match/switch 18, loops 15, boolean chains 3 (nesting depth added 100). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/core/inspector.rs"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"44856d4e58f9f5c9a4774bf572fa80c30111dbf715f45e3bb39eda407c31206e"}},{"ruleId":"D2","level":"warning","message":{"text":"GraphDependencyResolver::resolve_peers_of_node (cognitive 129): GraphDependencyResolver::resolve_peers_of_node has cognitive complexity 129 (threshold 15). Drivers by points: if/else 78, loops 38, boolean chains 7, match/switch 6 (nesting depth added 70). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/npm/resolution/graph.rs"},"region":{"startLine":1846}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ea84c8a1bfe229df55c27ac93750817bd38a355bb7112ad6d732a27cef994b5"}},{"ruleId":"D2","level":"warning","message":{"text":"error_fmt::format_error (cognitive 121): error_fmt::format_error has cognitive complexity 121 (threshold 15). Drivers by points: if/else 95, match/switch 13, boolean chains 7, loops 6 (nesting depth added 65). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/web/console/error_fmt.rs"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ff29bf6b8f2a8d3d3acbd724d6aae363debb64e05e15e6e3ba8d5397338bf8c"}},{"ruleId":"D2","level":"warning","message":{"text":"fmt_editorconfig::glob_to_regex_depth (cognitive 113): fmt_editorconfig::glob_to_regex_depth has cognitive complexity 113 (threshold 15). Drivers by points: if/else 61, loops 33, match/switch 11, boolean chains 8 (nesting depth added 76). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/fmt_editorconfig.rs"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"3344a074f7356ec204f4af3a65baf8d8ca2680fecbcba7c34a3a0fb5b9fcf236"}},{"ruleId":"D2","level":"warning","message":{"text":"DenoCompileBinaryWriter::write_standalone_binary (cognitive 109): DenoCompileBinaryWriter::write_standalone_binary has cognitive complexity 109 (threshold 15). Drivers by points: if/else 63, match/switch 31, loops 13, boolean chains 2 (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":"cli/standalone/binary.rs"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ec997533599ff6ef67acf63f9f5bfa27d3108c6ea1fcb4c07da2dce381bf03e"}},{"ruleId":"D2","level":"warning","message":{"text":"Lockfile::set_workspace_config (cognitive 106): Lockfile::set_workspace_config has cognitive complexity 106 (threshold 15). Drivers by points: if/else 71, loops 25, boolean chains 5, match/switch 5 (nesting depth added 65). Of this number, 104 points are the body\u0027s own statements and 2 belong to one function item declared inside it. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/lockfile/lib.rs"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"88681e60c3784bdccaece9a540c646514e1c6376a8978509ae072fbc90f8cee1"}},{"ruleId":"D2","level":"warning","message":{"text":"deno_dotenv::parse_env_content_hook_impl (cognitive 104): deno_dotenv::parse_env_content_hook_impl has cognitive complexity 104 (threshold 15). Drivers by points: if/else 80, loops 14, boolean chains 8, match/switch 2 (nesting depth added 53). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/dotenv/lib.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"da298199b5100af99ce5dfdcbcc6aeb6f7ead06ccc0ebf377bb238f4fb390373"}},{"ruleId":"D2","level":"warning","message":{"text":"NpmInstallDepsProvider::from_workspace (cognitive 102): NpmInstallDepsProvider::from_workspace has cognitive complexity 102 (threshold 15). Drivers by points: if/else 73, match/switch 14, loops 9, boolean chains 6 (nesting depth added 67). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/npm_installer/package_json.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dc1c0721d3982463b2d12f7493ef2a7f80723c9b968b7146b01fa03dff47d6e"}},{"ruleId":"D2","level":"warning","message":{"text":"JsError::inner_from_v8_exception (cognitive 99): JsError::inner_from_v8_exception has cognitive complexity 99 (threshold 15). Drivers by points: if/else 63, match/switch 15, loops 13, boolean chains 8 (nesting depth added 56). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/core/error.rs"},"region":{"startLine":1016}}}],"partialFingerprints":{"codehealthFindingId/v1":"31fee40bf3b0cae6dec0727672153833a95c9e4d56157899fbdaac745c4eb219"}},{"ruleId":"D2","level":"warning","message":{"text":"parseSelector (cognitive 97): parseSelector has cognitive complexity 97 (threshold 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":"cli/js/40_lint_selector.js"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"e80ee43c73f0da6517c1236cea935958778fd085ddc37909403472a1e8dae789"}},{"ruleId":"D2","level":"warning","message":{"text":"inspect::add_prototype_properties (cognitive 96): inspect::add_prototype_properties has cognitive complexity 96 (threshold 15). Drivers by points: if/else 84, loops 9, match/switch 2, boolean chains 1 (nesting depth added 66). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/web/console/inspect.rs"},"region":{"startLine":1494}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e15b1986c90cf26013a8876ed15f4b2cdeb885a31b6c4cff3334440399bab4d"}},{"ruleId":"D2","level":"warning","message":{"text":"parse::parse_args (cognitive 96): parse::parse_args has cognitive complexity 96 (threshold 15). Drivers by points: if/else 60, loops 22, boolean chains 10, match/switch 4 (nesting depth added 52). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cli_parser/src/parse.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"96f14e4132af199ad044399728edc50ee935297807103b0279d3362c3e764c3f"}},{"ruleId":"D2","level":"warning","message":{"text":"desktop::compile_desktop (cognitive 94): desktop::compile_desktop has cognitive complexity 94 (threshold 15). Drivers by points: if/else 68, match/switch 11, loops 8, boolean chains 7 (nesting depth added 38). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/desktop.rs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d06c5cb75846c8dce2be415d0541b44ba6d67f02f5505c9c15de51825d6049f"}},{"ruleId":"D2","level":"warning","message":{"text":"benchMeasure (cognitive 94): benchMeasure has cognitive complexity 94 (threshold 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":"cli/js/40_bench.js"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"244a4c2161231b76b179571d4b135fdac05be989de189d21105ed1dd5afab5c6"}},{"ruleId":"D2","level":"warning","message":{"text":"signature::parse_type (cognitive 92): signature::parse_type has cognitive complexity 92 (threshold 15). Drivers by points: if/else 46, match/switch 44, boolean chains 2 (nesting depth added 57). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/ops/op2/signature.rs"},"region":{"startLine":1699}}}],"partialFingerprints":{"codehealthFindingId/v1":"057cff6123554c6581f3cd17480440333a9805129beb02c977571b0173204012"}},{"ruleId":"D2","level":"warning","message":{"text":"Console::table_impl (cognitive 90): Console::table_impl has cognitive complexity 90 (threshold 15). Drivers by points: if/else 41, match/switch 27, loops 15, boolean chains 7 (nesting depth added 41). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/web/console/mod.rs"},"region":{"startLine":1421}}}],"partialFingerprints":{"codehealthFindingId/v1":"f063a0500f0cae4031768f34c853ac37417d33f1f8cfac8862cfbeb96eb2c6cc"}},{"ruleId":"D2","level":"warning","message":{"text":"cache_deps::cache_top_level_deps (cognitive 89): cache_deps::cache_top_level_deps has cognitive complexity 89 (threshold 15). Drivers by points: if/else 70, loops 12, boolean chains 4, match/switch 3 (nesting depth added 57). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/pm/cache_deps.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1294b9592464353e134b1795c9b571a6e34f0a8f52bbc651d8e630fe2ed92db"}},{"ruleId":"D2","level":"warning","message":{"text":"mainFetch (cognitive 84): mainFetch has cognitive complexity 84 (threshold 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":"ext/fetch/26_fetch.js"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"96d56232e226181dc9c37ad9649e238aa13b94225f13deaa2c7ea7f04484a398"}},{"ruleId":"D2","level":"warning","message":{"text":"GraphDependencyResolver::run_dedup_pass (cognitive 83): GraphDependencyResolver::run_dedup_pass has cognitive complexity 83 (threshold 15). Drivers by points: if/else 49, loops 30, boolean chains 4 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/npm/resolution/graph.rs"},"region":{"startLine":3018}}}],"partialFingerprints":{"codehealthFindingId/v1":"97549d5d897bde6bb09395ba903a037d8bbfb9f323e680b1239b3c9652b2e058"}},{"ruleId":"D2","level":"warning","message":{"text":"diagnostics::diagnose_resolution (cognitive 82): diagnostics::diagnose_resolution has cognitive complexity 82 (threshold 15). Drivers by points: if/else 58, match/switch 20, boolean chains 2, loops 2 (nesting depth added 58). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/lsp/diagnostics.rs"},"region":{"startLine":1152}}}],"partialFingerprints":{"codehealthFindingId/v1":"47d68454d923bc5b9a7549008abe7c755f99cccadbd69356e29498537fd3910f"}},{"ruleId":"D2","level":"warning","message":{"text":"node_shim::translate_to_deno_args (cognitive 80): node_shim::translate_to_deno_args has cognitive complexity 80 (threshold 15). Drivers by points: if/else 70, boolean chains 7, loops 3 (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":"libs/node_shim/lib.rs"},"region":{"startLine":3453}}}],"partialFingerprints":{"codehealthFindingId/v1":"1362ba6988541c31e133ca41a76f1828693c77ce4198bce97008fd14a385134b"}},{"ruleId":"D2","level":"warning","message":{"text":"respondWith (cognitive 79): respondWith has cognitive complexity 79 (threshold 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":"ext/http/01_http.js"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"d58577e16c18484b6a986f41327ceacdb71c8a781684de18df67db10294f0f12"}},{"ruleId":"D2","level":"warning","message":{"text":"collectors::visit_call_expr (cognitive 76): collectors::visit_call_expr has cognitive complexity 76 (threshold 15). Drivers by points: if/else 45, match/switch 24, loops 6, boolean chains 1 (nesting depth added 53). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/lsp/testing/collectors.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"892c7782a17d8047ae6cd047d89d4c363f40243e74e1c703dffdfad0414899b3"}},{"ruleId":"D2","level":"warning","message":{"text":"deno_process::create_command (cognitive 75): deno_process::create_command has cognitive complexity 75 (threshold 15). Drivers by points: if/else 52, match/switch 12, loops 6, boolean chains 5 (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/process/lib.rs"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc3b814482cfd76880dfde69b12503a882084d48801a4c869844de9c138420cf"}},{"ruleId":"D2","level":"warning","message":{"text":"JsRuntime::poll_event_loop_inner (cognitive 75): JsRuntime::poll_event_loop_inner has cognitive complexity 75 (threshold 15). Drivers by points: if/else 62, boolean chains 11, loops 2 (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":"libs/core/runtime/jsruntime.rs"},"region":{"startLine":2420}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebc95b7211c679ae9b9e59feed726c8d6694c612cde4ef04224fd8834fc44f43"}},{"ruleId":"D2","level":"warning","message":{"text":"subtle_crypto::supports_params_valid (cognitive 74): subtle_crypto::supports_params_valid has cognitive complexity 74 (threshold 15). Drivers by points: if/else 42, boolean chains 21, match/switch 11 (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":"ext/crypto/subtle_crypto.rs"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"e07a285d67256ed4efa09ef23ec94d8ae2c488cde2e61ee9220a8df964a40aa2"}},{"ruleId":"D2","level":"warning","message":{"text":"console::apply_options (cognitive 74): console::apply_options has cognitive complexity 74 (threshold 15). Drivers by points: if/else 52, loops 14, match/switch 6, boolean chains 2 (nesting depth added 47). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/web/console/mod.rs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a444d4339471434038d353741a0e2ce0ce73c17f010e2b1969ae713cc930cca"}},{"ruleId":"D2","level":"warning","message":{"text":"deno::run_subcommand (cognitive 71): deno::run_subcommand has cognitive complexity 71 (threshold 15). Drivers by points: if/else 51, match/switch 17, boolean chains 3 (nesting depth added 39). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/lib.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"8db1ef0fe558eac0c60fd997fbc7c9182ae2376ec961bdf07c267c4c106dd281"}},{"ruleId":"D2","level":"warning","message":{"text":"tls_wrap::build_server_config (cognitive 71): tls_wrap::build_server_config has cognitive complexity 71 (threshold 15). Drivers by points: if/else 38, loops 16, match/switch 12, boolean chains 5 (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":"ext/node/ops/tls_wrap.rs"},"region":{"startLine":4562}}}],"partialFingerprints":{"codehealthFindingId/v1":"e50e1e759b3a94c2505b2586b3872a1c940c6191ab7f95f143185651bc65b75f"}},{"ruleId":"D2","level":"warning","message":{"text":"error_fmt::get_duplicate_error_frame_ranges (cognitive 71): error_fmt::get_duplicate_error_frame_ranges has cognitive complexity 71 (threshold 15). Drivers by points: if/else 52, loops 14, boolean chains 3, match/switch 2 (nesting depth added 44). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/web/console/error_fmt.rs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c93b5783ebb7a9087a1b706dc6dc6b2473627bc4b24cbddff38934d8d7be032"}},{"ruleId":"D2","level":"warning","message":{"text":"NpmRc::parse (cognitive 71): NpmRc::parse has cognitive complexity 71 (threshold 15). Drivers by points: if/else 41, match/switch 23, boolean chains 6, loops 1 (nesting depth added 45). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/npmrc/lib.rs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5271e4999c7a54532bf0282be330dd71f880b576b947322aae50630a5782d67"}},{"ruleId":"D2","level":"warning","message":{"text":"inspect::get_constructor_name (cognitive 69): inspect::get_constructor_name has cognitive complexity 69 (threshold 15). Drivers by points: if/else 59, match/switch 6, boolean chains 3, loops 1 (nesting depth added 43). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/web/console/inspect.rs"},"region":{"startLine":1669}}}],"partialFingerprints":{"codehealthFindingId/v1":"06c2b17ab50340fa64b9a0925aecdc5ddf375097ed74f8c95103dba905b91174"}},{"ruleId":"D2","level":"warning","message":{"text":"console::inspect_args_impl (cognitive 69): console::inspect_args_impl has cognitive complexity 69 (threshold 15). Drivers by points: if/else 59, match/switch 5, loops 3, boolean chains 2 (nesting depth added 46). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/web/console/mod.rs"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b899ddf1f19e04d1f95fd7c032bcc8880192572cef636c536ba37b846c7184a"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkspaceResolver::resolve (cognitive 68): WorkspaceResolver::resolve has cognitive complexity 68 (threshold 15). Drivers by points: if/else 41, loops 10, match/switch 10, boolean chains 7 (nesting depth added 34). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/resolver/workspace.rs"},"region":{"startLine":1354}}}],"partialFingerprints":{"codehealthFindingId/v1":"abfa59b962d72c5ede8c7862a013a6b4338f662832a6c32dc016316645ebe395"}},{"ruleId":"D2","level":"warning","message":{"text":"TsResponseImportMapper::check_specifier (cognitive 67): TsResponseImportMapper::check_specifier has cognitive complexity 67 (threshold 15). Drivers by points: if/else 55, boolean chains 6, loops 5, match/switch 1 (nesting depth added 34). Of this number, 66 points are the body\u0027s own statements and 1 belong to one function item declared inside it. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/lsp/analysis.rs"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd9bce910c52350ff38ef69a91590eb882769d048ea2441a53181914cdfbd460"}},{"ruleId":"D2","level":"warning","message":{"text":"tsc::display_parts_to_string (cognitive 67): tsc::display_parts_to_string has cognitive complexity 67 (threshold 15). Drivers by points: if/else 58, loops 4, boolean chains 3, match/switch 2 (nesting depth added 44). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/lsp/tsc.rs"},"region":{"startLine":2005}}}],"partialFingerprints":{"codehealthFindingId/v1":"76ec3ebb2f3f2042766a88c1a71e030e85f6754e16ee04a535354cdf39a5b55d"}},{"ruleId":"D2","level":"warning","message":{"text":"callback::do_ffi_callback (cognitive 67): callback::do_ffi_callback has cognitive complexity 67 (threshold 15). Drivers by points: if/else 61, match/switch 5, 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":"ext/ffi/callback.rs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2df9369661508af3e5b12d2c7b89ab8ada3c6ed72474bcf6877121b9ae0e18a"}},{"ruleId":"D2","level":"warning","message":{"text":"denort_desktop::run_desktop (cognitive 66): denort_desktop::run_desktop has cognitive complexity 66 (threshold 15). Drivers by points: if/else 51, boolean chains 6, loops 6, match/switch 3 (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":"cli/rt_desktop/lib.rs"},"region":{"startLine":1611}}}],"partialFingerprints":{"codehealthFindingId/v1":"56b5b636f0bfad8948c519c4080a7e3b05f27a0f68f5a467785b9b97e2c7a350"}},{"ruleId":"D2","level":"warning","message":{"text":"transpile::restore_block_comment_newlines (cognitive 65): transpile::restore_block_comment_newlines has cognitive complexity 65 (threshold 15). Drivers by points: if/else 36, loops 14, boolean chains 10, match/switch 5 (nesting depth added 36). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/transpile.rs"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"e42be05ddac52e9d9071986d1af3da8823821e263bac3bf6ff9bbf53904a3524"}},{"ruleId":"D2","level":"warning","message":{"text":"inspect::format_property (cognitive 65): inspect::format_property has cognitive complexity 65 (threshold 15). Drivers by points: if/else 54, match/switch 9, boolean chains 2 (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":"ext/web/console/inspect.rs"},"region":{"startLine":3528}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0a169610630cbdf8f2bf093a2cba542f489ad58833f8d8754909609059349a0"}},{"ruleId":"D2","level":"warning","message":{"text":"serverRequestInner (cognitive 65): serverRequestInner has cognitive complexity 65 (threshold 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":"cli/tsc/98_lsp.js"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ee24fc0047c7431f717875141e56115447dad434281dae49835db3bb99de938"}},{"ruleId":"D2","level":"warning","message":{"text":"GraphWalker::resolve_pending (cognitive 64): GraphWalker::resolve_pending has cognitive complexity 64 (threshold 15). Drivers by points: if/else 42, match/switch 9, loops 8, boolean chains 5 (nesting depth added 38). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/type_checker.rs"},"region":{"startLine":1113}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab4a7406321f96f6088347fb174f3974158866119eb1360d1f3b73a72b334e28"}},{"ruleId":"D2","level":"warning","message":{"text":"CompletionEntry::as_completion_item (cognitive 63): CompletionEntry::as_completion_item has cognitive complexity 63 (threshold 15). Drivers by points: if/else 54, boolean chains 5, loops 3, match/switch 1 (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":"cli/lsp/tsc.rs"},"region":{"startLine":4422}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ca4600d8ba7045b3d9bb0896d4dbc05a9448460246d536e58b413e97b1a6329"}},{"ruleId":"D2","level":"warning","message":{"text":"Prime::generate_with_options (cognitive 63): Prime::generate_with_options has cognitive complexity 63 (threshold 15). Drivers by points: if/else 56, loops 4, boolean chains 3 (nesting depth added 32). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/node_crypto/primes.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"fea2935880404f5147027b05ffa104a4763e58a5abc18884dd4ec83ab5a4c5cd"}},{"ruleId":"D2","level":"warning","message":{"text":"tty::tty_try_read_raw (cognitive 61): tty::tty_try_read_raw has cognitive complexity 61 (threshold 15). Drivers by points: if/else 47, match/switch 6, boolean chains 5, loops 3 (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/core/uv_compat/tty.rs"},"region":{"startLine":1040}}}],"partialFingerprints":{"codehealthFindingId/v1":"b494a453c26621b6052a9314071530fdea38be29f79971a6d7e38504a1ed5ecd"}},{"ruleId":"D2","level":"warning","message":{"text":"tls_wrap::build_client_config (cognitive 60): tls_wrap::build_client_config has cognitive complexity 60 (threshold 15). Drivers by points: if/else 39, match/switch 10, loops 6, boolean chains 5 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/node/ops/tls_wrap.rs"},"region":{"startLine":4057}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b180665647be32c45bfad5aeb045ec991e446c90b65b09b4f942cb17f612ad6"}},{"ruleId":"D2","level":"warning","message":{"text":"fast_registry_json::pluck_versions_from_tokens (cognitive 60): fast_registry_json::pluck_versions_from_tokens has cognitive complexity 60 (threshold 15). Drivers by points: if/else 49, boolean chains 8, match/switch 2, 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":"libs/npm/fast_registry_json.rs"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b38b6572a13f206f8ebb5a44b60f88e8199f11abf21d1e80111d5e94d97bf69"}},{"ruleId":"D2","level":"warning","message":{"text":"cpuprof::generate_markdown_report (cognitive 60): cpuprof::generate_markdown_report has cognitive complexity 60 (threshold 15). Drivers by points: if/else 39, loops 18, boolean chains 2, match/switch 1 (nesting depth added 21). Of this number, 48 points are the body\u0027s own statements and 12 belong to 2 function items declared inside it. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/cpu_profiler/cpuprof.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"790bb2bbffaaf6dd27ed869f9255c6b4df40280f92092804e026e877cfd850cb"}},{"ruleId":"D2","level":"warning","message":{"text":"process::search_path (cognitive 60): process::search_path has cognitive complexity 60 (threshold 15). Drivers by points: if/else 40, boolean chains 10, loops 10 (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":"runtime/subprocess_windows/src/process.rs"},"region":{"startLine":971}}}],"partialFingerprints":{"codehealthFindingId/v1":"10214a6462cdb9bede2d3332afb998a1f52d484ced1dad9b76429b1ad39a0d36"}},{"ruleId":"D2","level":"warning","message":{"text":"Cipher::new (cognitive 59): Cipher::new has cognitive complexity 59 (threshold 15). Drivers by points: if/else 54, match/switch 3, boolean chains 2 (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":"ext/node_crypto/cipher.rs"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce14d5dd9622fae19cdc7d5f36c7947299b7358ff6178468f4fb1b3897c8d883"}},{"ruleId":"D2","level":"warning","message":{"text":"Decipher::new (cognitive 59): Decipher::new has cognitive complexity 59 (threshold 15). Drivers by points: if/else 54, match/switch 3, boolean chains 2 (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":"ext/node_crypto/cipher.rs"},"region":{"startLine":1282}}}],"partialFingerprints":{"codehealthFindingId/v1":"c908e313da3fe127c1b8f84b806b513fbb770d3618888e8d7abaaa95681cdb3c"}},{"ruleId":"D2","level":"warning","message":{"text":"Workspace::split_cli_args_by_deno_json_folder (cognitive 59): Workspace::split_cli_args_by_deno_json_folder has cognitive complexity 59 (threshold 15). Drivers by points: if/else 32, loops 15, match/switch 7, boolean chains 5 (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":"libs/config/workspace/mod.rs"},"region":{"startLine":1625}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc5641eb3d145b0d20ea7a511ceeec2ec36b8036e430ae3a5cb2b352359dca39"}},{"ruleId":"D2","level":"warning","message":{"text":"dispatch (cognitive 59): dispatch has cognitive complexity 59 (threshold 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":"ext/web/02_event.js"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9b9b54f752c651f64e426f583eee232218a29dd60a3e1ec745b2e192acd4f46"}},{"ruleId":"D2","level":"warning","message":{"text":"checkIsComplete (cognitive 59): checkIsComplete has cognitive complexity 59 (threshold 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":"cli/js/jupyter_kernel.js"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f0972e4e0009fe5da86777343131539b87d1617f95b7e67289bc53a95a305fe"}},{"ruleId":"D2","level":"warning","message":{"text":"PackumentIndexer::on_string (cognitive 57): PackumentIndexer::on_string has cognitive complexity 57 (threshold 15). Drivers by points: if/else 39, boolean chains 14, match/switch 4 (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":"libs/npm/fast_registry_json.rs"},"region":{"startLine":1052}}}],"partialFingerprints":{"codehealthFindingId/v1":"c57331a1b86f7c771efc710e210b1887cf7a8c1cdf9fade12bcdc9e833c131fe"}},{"ruleId":"D2","level":"warning","message":{"text":"HoistedNpmPackageInstaller::sync_resolution_with_fs (cognitive 57): HoistedNpmPackageInstaller::sync_resolution_with_fs has cognitive complexity 57 (threshold 15). Drivers by points: if/else 31, loops 15, match/switch 6, boolean chains 5 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/npm_installer/hoisted.rs"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"89bcd9eeece272bc87580ee0b3252a2f334d47972d8f24aff51d23ea20c45601"}},{"ruleId":"D2","level":"warning","message":{"text":"EszipV2::parse_with_version (cognitive 56): EszipV2::parse_with_version has cognitive complexity 56 (threshold 15). Drivers by points: if/else 29, match/switch 16, loops 9, boolean chains 2 (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":"libs/eszip/v2.rs"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fd40077c1a0debdf282625d8cd6e7436475ac175ad55292088e58256719085d"}},{"ruleId":"D2","level":"warning","message":{"text":"SerializedNpmResolutionSnapshot::dedup_equivalent_peer_variants (cognitive 56): SerializedNpmResolutionSnapshot::dedup_equivalent_peer_variants has cognitive complexity 56 (threshold 15). Drivers by points: if/else 30, loops 26 (nesting depth added 38). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/npm/resolution/snapshot.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f52d723b39f8b71759f13469f2c8a18571418b9f59860adfaae0f2db860ae09"}},{"ruleId":"D2","level":"warning","message":{"text":"process::uv__kill (cognitive 56): process::uv__kill has cognitive complexity 56 (threshold 15). Drivers by points: if/else 35, loops 14, boolean chains 4, match/switch 3 (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":"runtime/subprocess_windows/src/process.rs"},"region":{"startLine":1111}}}],"partialFingerprints":{"codehealthFindingId/v1":"e63c04940c755634cf20a896e93c61268a2b58735b8c74aa5c4a6a602b95d3fb"}},{"ruleId":"D2","level":"warning","message":{"text":"constructor (cognitive 56): constructor has cognitive complexity 56 (threshold 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":"ext/fetch/23_request.js"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"f83d150a0204ebbe0146f6dad1be3d60a9a83dba3752dd69f2fb58fd5283a152"}},{"ruleId":"D2","level":"warning","message":{"text":"TestServer::new (cognitive 54): TestServer::new has cognitive complexity 54 (threshold 15). Drivers by points: if/else 36, loops 8, match/switch 8, boolean chains 2 (nesting depth added 35). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/lsp/testing/server.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"36e04bf1eb9ed88ccbf841e6adc15812e61857acbb80aade4da7bb248a122f57"}},{"ruleId":"D2","level":"warning","message":{"text":"fmt::get_typescript_config_builder (cognitive 54): fmt::get_typescript_config_builder has cognitive complexity 54 (threshold 15). Drivers by points: match/switch 28, if/else 25, boolean chains 1 (nesting depth added 16). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/fmt.rs"},"region":{"startLine":1274}}}],"partialFingerprints":{"codehealthFindingId/v1":"40b7a3f18dfd3311f77513e7f3db39299c50124d9dedce7a9dc822eb7222efd6"}},{"ruleId":"D2","level":"warning","message":{"text":"path_to_regex::lexer (cognitive 54): path_to_regex::lexer has cognitive complexity 54 (threshold 15). Drivers by points: if/else 40, loops 7, boolean chains 5, match/switch 2 (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":"cli/lsp/path_to_regex.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a3d7d759e10224da3504370b91a05ec24d21e3beab52b7d15f4711645d7673b"}},{"ruleId":"D2","level":"warning","message":{"text":"StatementSync::bind_params (cognitive 54): StatementSync::bind_params has cognitive complexity 54 (threshold 15). Drivers by points: if/else 40, loops 12, boolean chains 2 (nesting depth added 38). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/node_sqlite/statement.rs"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c52fd5e4c8cc3ff1ac3ae1e732657a0a3d6376e3bd4dd2a6ab46205b209141c"}},{"ruleId":"D2","level":"warning","message":{"text":"discovery::discover_workspace_config_files_for_single_dir (cognitive 54): discovery::discover_workspace_config_files_for_single_dir has cognitive complexity 54 (threshold 15). Drivers by points: if/else 42, match/switch 8, boolean chains 3, loops 1 (nesting depth added 25). Of this number, 53 points are the body\u0027s own statements and 1 belong to one function item declared inside it. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/config/workspace/discovery.rs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e3bb4651c46177a618a2446d0db8c7ce2f6477986f657b27e8041397ef20bb2"}},{"ruleId":"D2","level":"warning","message":{"text":"transforms::transform3_to_4 (cognitive 54): transforms::transform3_to_4 has cognitive complexity 54 (threshold 15). Drivers by points: if/else 28, loops 26 (nesting depth added 36). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/lockfile/transforms.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"59d69a3a985dd66cb6bfc10cf860f07fb2943d8aa1884d6a833fcb27924a93ec"}},{"ruleId":"D2","level":"warning","message":{"text":"PackageJson::load_from_value (cognitive 54): PackageJson::load_from_value has cognitive complexity 54 (threshold 15). Drivers by points: if/else 33, loops 10, match/switch 10, boolean chains 1 (nesting depth added 20). Of this number, 41 points are the body\u0027s own statements and 13 belong to 5 function items declared inside it. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/package_json/lib.rs"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"c904b21c9b4c64b6522470f99b71bb21ac67974304a233cf4b7fcd86c472c688"}},{"ruleId":"D2","level":"warning","message":{"text":"merge::merge_range_tree_children (cognitive 53): merge::merge_range_tree_children has cognitive complexity 53 (threshold 15). Drivers by points: if/else 31, loops 20, match/switch 2 (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/coverage/merge.rs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0a257c0cf32eb710d9d4cad823de115c0e3e554e7fb0493f68e7635b942ad3a"}},{"ruleId":"D2","level":"warning","message":{"text":"path_to_regex::tokens_to_regex (cognitive 53): path_to_regex::tokens_to_regex has cognitive complexity 53 (threshold 15). Drivers by points: if/else 41, match/switch 9, boolean chains 2, loops 1 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/lsp/path_to_regex.rs"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"1edada0111d29be76e294d836531572701479cf39484ca10e4e2267723646533"}},{"ruleId":"D2","level":"warning","message":{"text":"EmbeddedModuleLoader::load_default (cognitive 53): EmbeddedModuleLoader::load_default has cognitive complexity 53 (threshold 15). Drivers by points: match/switch 31, if/else 21, boolean chains 1 (nesting depth added 29). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/rt/run.rs"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"79f8c90af2126f7985bb81107bc0c5e842530a1d0017348ecb66c081bc345aed"}},{"ruleId":"D2","level":"warning","message":{"text":"completions::get_candidates (cognitive 53): completions::get_candidates has cognitive complexity 53 (threshold 15). Drivers by points: if/else 42, boolean chains 7, loops 4 (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cli_parser/src/completions.rs"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f0efb553bed40911d6a06256f8c269aeba4a608cbf2343b8988f638375a980e"}},{"ruleId":"D2","level":"warning","message":{"text":"npm_lockfile_import::package_lock_to_deno_lock_v5 (cognitive 53): npm_lockfile_import::package_lock_to_deno_lock_v5 has cognitive complexity 53 (threshold 15). Drivers by points: if/else 32, loops 12, match/switch 7, boolean chains 2 (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":"libs/resolver/npm_lockfile_import.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"811d9c329c6b0c72469a7cea85249b0538e8461c601f29cafc12fca180cff558"}},{"ruleId":"D2","level":"warning","message":{"text":"subtle_import_key::import_key_ec (cognitive 52): subtle_import_key::import_key_ec has cognitive complexity 52 (threshold 15). Drivers by points: if/else 34, match/switch 9, loops 6, boolean chains 3 (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":"ext/crypto/subtle_import_key.rs"},"region":{"startLine":1075}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecf00a40669b913eb2ec8697c0c0aa82affc833b9ecaaa4c868954d28071f0bd"}},{"ruleId":"D2","level":"warning","message":{"text":"width::ansi_sequence_len (cognitive 52): width::ansi_sequence_len has cognitive complexity 52 (threshold 15). Drivers by points: loops 20, boolean chains 17, if/else 15 (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":"ext/web/console/width.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"20250410c614c526b2fc29826faf722b1192a69479714d32fffa914718400bd8"}},{"ruleId":"D2","level":"warning","message":{"text":"inspector::pump_inspector_session_messages (cognitive 52): inspector::pump_inspector_session_messages has cognitive complexity 52 (threshold 15). Drivers by points: if/else 40, match/switch 6, loops 5, 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":"libs/core/inspector.rs"},"region":{"startLine":2051}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6e2821d37fa31e1ab543b35595afcc44c4538079d9c00f79a999abee8269337"}},{"ruleId":"D2","level":"warning","message":{"text":"constructor (cognitive 52): constructor has cognitive complexity 52 (threshold 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":"ext/websocket/01_websocket.js"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"c46f8cf4536511d29abb45e1b57d256db74e59b1c8b86878d103ac6cc5b31d80"}},{"ruleId":"D2","level":"warning","message":{"text":"inspect::reduce_to_single_string (cognitive 51): inspect::reduce_to_single_string has cognitive complexity 51 (threshold 15). Drivers by points: if/else 48, boolean chains 3 (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/web/console/inspect.rs"},"region":{"startLine":3742}}}],"partialFingerprints":{"codehealthFindingId/v1":"17a6862ac9da71ee1d9d7889d8226b2b258016cdec1b550505e6baa71b58274d"}},{"ruleId":"D2","level":"warning","message":{"text":"convert::validate_permission_args (cognitive 51): convert::validate_permission_args has cognitive complexity 51 (threshold 15). Drivers by points: if/else 31, loops 14, boolean chains 6 (nesting depth added 23). Of this number, 45 points are the body\u0027s own statements and 6 belong to one function item declared inside it. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cli_parser/src/convert.rs"},"region":{"startLine":1132}}}],"partialFingerprints":{"codehealthFindingId/v1":"b80b9762706b898151b126f75875dcbbe9eb1683e07534dc5b43d9d9aaaefe67"}},{"ruleId":"D2","level":"warning","message":{"text":"discovery::resolve_workspace_for_config_folder (cognitive 51): discovery::resolve_workspace_for_config_folder has cognitive complexity 51 (threshold 15). Drivers by points: if/else 20, match/switch 14, loops 12, boolean chains 5 (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":"libs/config/workspace/discovery.rs"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"68584553b9c16a21e28294d6abf3331932be997440a92ca20067492e016e05d2"}},{"ruleId":"D2","level":"warning","message":{"text":"fmt_errors::format_js_error_inner (cognitive 51): fmt_errors::format_js_error_inner has cognitive complexity 51 (threshold 15). Drivers by points: if/else 31, loops 11, match/switch 6, boolean chains 3 (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":"runtime/fmt_errors.rs"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d0cfe8f9ec24e27b3450fec9d42983b22b28e122b2359fd0d7cbbbbc48fe35e"}},{"ruleId":"D2","level":"warning","message":{"text":"tsconfig_gen::generate_npm_paths (cognitive 50): tsconfig_gen::generate_npm_paths has cognitive complexity 50 (threshold 15). Drivers by points: if/else 37, loops 6, match/switch 6, 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":"cli/tsc/tsconfig_gen.rs"},"region":{"startLine":1174}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e6d8e4ce8c32848768c59e4c567f0163a928ebb9c3fbad98b9707686bd229d6"}},{"ruleId":"D2","level":"warning","message":{"text":"subtle_import_key::import_key_rsa (cognitive 50): subtle_import_key::import_key_rsa has cognitive complexity 50 (threshold 15). Drivers by points: if/else 36, loops 6, match/switch 5, boolean chains 3 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/crypto/subtle_import_key.rs"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"144eb2aa3de9be6541e66290280bbb84cd56faa73c29e3c59c6d0cec3830d8b6"}},{"ruleId":"D2","level":"warning","message":{"text":"tty::uv_tty_init (cognitive 50): tty::uv_tty_init has cognitive complexity 50 (threshold 15). Drivers by points: if/else 39, match/switch 7, boolean chains 3, 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":"libs/core/uv_compat/tty.rs"},"region":{"startLine":1251}}}],"partialFingerprints":{"codehealthFindingId/v1":"629d5fa09691537bb74c414005c4b8d89b0337fc8c561612747d4642c58c3661"}},{"ruleId":"D2","level":"warning","message":{"text":"constructor (cognitive 50): constructor has cognitive complexity 50 (threshold 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":"ext/web/00_url.js"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"c416e4c00b4f122c8ce97b73768c578603b5f96867d6bf2aa7e6744da287d0e2"}},{"ruleId":"D2","level":"warning","message":{"text":"Inner::code_action (cognitive 49): Inner::code_action has cognitive complexity 49 (threshold 15). Drivers by points: if/else 35, match/switch 8, boolean chains 5, 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":"cli/lsp/language_server.rs"},"region":{"startLine":2151}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab795bb61a0595c891e4d7f3cf7d85f8e5230b0b1c72147358c9961b3a8e010b"}},{"ruleId":"D2","level":"warning","message":{"text":"Compiler::to_path (cognitive 49): Compiler::to_path has cognitive complexity 49 (threshold 15). Drivers by points: if/else 34, loops 6, match/switch 5, boolean chains 4 (nesting depth added 32). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/lsp/path_to_regex.rs"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"86951d5eafaf7e73523e2576bc322285d5dba483e6dd721d25f133cfb62bc71e"}},{"ruleId":"D2","level":"warning","message":{"text":"compile::compile_inner (cognitive 49): compile::compile_inner has cognitive complexity 49 (threshold 15). Drivers by points: if/else 38, loops 8, boolean chains 3 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/compile.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"b428c8cc1a7f8d5e9cfcb7a3ce6882311e4dabd8cdf14935861a2aa829a2fb70"}},{"ruleId":"D2","level":"warning","message":{"text":"FilePatterns::split_by_base (cognitive 49): FilePatterns::split_by_base has cognitive complexity 49 (threshold 15). Drivers by points: if/else 34, loops 6, boolean chains 5, match/switch 4 (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":"libs/config/glob/mod.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"584a5f6e514a5bef5aef94dcbeecde66a9d4c5593d9005436d896bcdbde6a090"}},{"ruleId":"D2","level":"warning","message":{"text":"Workspace::diagnostics::check_all_configs (cognitive 49): Workspace::diagnostics::check_all_configs has cognitive complexity 49 (threshold 15). Drivers by points: if/else 33, loops 9, boolean chains 7 (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":"libs/config/workspace/mod.rs"},"region":{"startLine":1320}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ffd32e4f8b81ac5c25c69b8cdc9a500488b4c97e3969f223a298029fbb22c9c"}},{"ruleId":"D2","level":"warning","message":{"text":"session::on_stream_read_callback (cognitive 48): session::on_stream_read_callback has cognitive complexity 48 (threshold 15). Drivers by points: if/else 45, boolean chains 3 (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":"ext/node/ops/http2/session.rs"},"region":{"startLine":1410}}}],"partialFingerprints":{"codehealthFindingId/v1":"baffc0b5e23f2080ac84e1bed30261eacab52f7d4a3d53ae44371a43fffc90ab"}},{"ruleId":"D2","level":"warning","message":{"text":"css::parse_css (cognitive 48): css::parse_css has cognitive complexity 48 (threshold 15). Drivers by points: if/else 36, loops 8, boolean chains 2, match/switch 2 (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":"ext/web/console/css.rs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"04ca2451f639ee9333735ffdd8780f8b2062219d3b623423ca8dde11c5c9b571"}},{"ruleId":"D2","level":"warning","message":{"text":"flamegraph::generate_flamegraph_svg (cognitive 48): flamegraph::generate_flamegraph_svg has cognitive complexity 48 (threshold 15). Drivers by points: if/else 38, loops 8, boolean chains 1, match/switch 1 (nesting depth added 23). Of this number, 37 points are the body\u0027s own statements and 11 belong to one function item declared inside it. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/cpu_profiler/flamegraph.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ff23db44071986628aed681cf2ded39104e36cc9d7b05c91f643952df7012a7"}},{"ruleId":"D2","level":"warning","message":{"text":"interactive_picker::select_items (cognitive 47): interactive_picker::select_items has cognitive complexity 47 (threshold 15). Drivers by points: if/else 34, loops 7, match/switch 5, 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":"cli/tools/pm/interactive_picker.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"57215f69ebd92f3f3dafebe332fd5eff1255784d4cc31edf5ba950b21760c34c"}},{"ruleId":"D2","level":"warning","message":{"text":"npm_compat::install_http_modules (cognitive 47): npm_compat::install_http_modules has cognitive complexity 47 (threshold 15). Drivers by points: if/else 27, match/switch 10, boolean chains 6, loops 4 (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":"cli/tools/installer/npm_compat.rs"},"region":{"startLine":1113}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d08faf4ade5b147bdc69504aca6313b38c6bbc2a4b175ba5811984e61fd3809"}},{"ruleId":"D2","level":"warning","message":{"text":"help::render_help (cognitive 47): help::render_help has cognitive complexity 47 (threshold 15). Drivers by points: if/else 32, loops 8, match/switch 6, boolean chains 1 (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":"libs/cli_parser/src/help.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b51a9ed93b6b22df5bfbe330455ba46f027f2ef93ef5ef46c254de27185ae7"}},{"ruleId":"D2","level":"warning","message":{"text":"NodeResolver::resolve_package_target_string (cognitive 47): NodeResolver::resolve_package_target_string has cognitive complexity 47 (threshold 15). Drivers by points: if/else 29, match/switch 16, boolean chains 2 (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":"libs/node_resolver/resolution.rs"},"region":{"startLine":1399}}}],"partialFingerprints":{"codehealthFindingId/v1":"02befe1ad2d598ea047fe34e3e3a79f5e831dabdd82d5b98322bb23242002863"}},{"ruleId":"D2","level":"warning","message":{"text":"parseSimpleSpecialUrl (cognitive 47): parseSimpleSpecialUrl has cognitive complexity 47 (threshold 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":"ext/web/00_url.js"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"17237c562d81e91adb181bec053545a3cc5be34d33d6dc8080edc469f313b8e6"}},{"ruleId":"D2","level":"warning","message":{"text":"Inner::walk_workspace (cognitive 46): Inner::walk_workspace has cognitive complexity 46 (threshold 15). Drivers by points: if/else 29, loops 9, boolean chains 4, match/switch 4 (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":"cli/lsp/language_server.rs"},"region":{"startLine":1066}}}],"partialFingerprints":{"codehealthFindingId/v1":"21b247edc1613f4e1386f9a4a2b92d868a97ebc47819f37d098b386bdf5fd23b"}},{"ruleId":"D2","level":"warning","message":{"text":"pm::add (cognitive 46): pm::add has cognitive complexity 46 (threshold 15). Drivers by points: if/else 29, match/switch 11, boolean chains 3, loops 3 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/pm/mod.rs"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9b90a1e8aa24b3e8c18afae3257476fa3d5e4085f2ff5a926768731b09ea325"}},{"ruleId":"D2","level":"warning","message":{"text":"flags::flags_from_vec_with_initial_cwd (cognitive 46): flags::flags_from_vec_with_initial_cwd has cognitive complexity 46 (threshold 15). Drivers by points: if/else 31, match/switch 9, boolean chains 6 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/args/flags.rs"},"region":{"startLine":1060}}}],"partialFingerprints":{"codehealthFindingId/v1":"7213fdea0faf7cfc217e9487d5a4b2b440c5fb1610e0be2484372ea862fc755a"}},{"ruleId":"D2","level":"warning","message":{"text":"tsconfig_gen::build_tsconfig (cognitive 46): tsconfig_gen::build_tsconfig has cognitive complexity 46 (threshold 15). Drivers by points: if/else 19, match/switch 18, loops 7, 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":"cli/tsc/tsconfig_gen.rs"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"940c4f2f92ac1ab16d601a83915a47a8969f974fae42bf039558052f1998fbde"}},{"ruleId":"D2","level":"warning","message":{"text":"tsconfig_gen::generate_jsr_paths (cognitive 46): tsconfig_gen::generate_jsr_paths has cognitive complexity 46 (threshold 15). Drivers by points: if/else 32, loops 7, match/switch 7 (nesting depth added 32). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tsc/tsconfig_gen.rs"},"region":{"startLine":1314}}}],"partialFingerprints":{"codehealthFindingId/v1":"6273f67e1aef4a934fb59236799d8f4083765844850b0915015653a6abe61d5b"}},{"ruleId":"D2","level":"warning","message":{"text":"ContextifyScript::eval_machine (cognitive 46): ContextifyScript::eval_machine has cognitive complexity 46 (threshold 15). Drivers by points: if/else 44, boolean chains 2 (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":"ext/node/ops/vm.rs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"74750615918eb8524acab7ff93196d7f5acf6ec74440e180c25382282905c98e"}},{"ruleId":"D2","level":"warning","message":{"text":"bindings::initialize_deno_core_ops_bindings (cognitive 46): bindings::initialize_deno_core_ops_bindings has cognitive complexity 46 (threshold 15). Drivers by points: if/else 28, loops 17, boolean chains 1 (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":"libs/core/runtime/bindings.rs"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"f65965d3bfecf2ca69e61569c746918cb61e7d180ba43cb22ac2096f5c5a7d19"}},{"ruleId":"D2","level":"warning","message":{"text":"map::render_js_wasm_module (cognitive 46): map::render_js_wasm_module has cognitive complexity 46 (threshold 15). Drivers by points: if/else 32, loops 14 (nesting depth added 22). Of this number, 45 points are the body\u0027s own statements and 1 belong to one function item declared inside it. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/core/modules/map.rs"},"region":{"startLine":3676}}}],"partialFingerprints":{"codehealthFindingId/v1":"5286de5bfe496ae0305f17031b33d0b1332c3758d12bf2ed37d077c8c0382b56"}},{"ruleId":"D2","level":"warning","message":{"text":"outdated::update (cognitive 45): outdated::update has cognitive complexity 45 (threshold 15). Drivers by points: if/else 31, loops 8, boolean chains 4, match/switch 2 (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":"cli/tools/pm/outdated/mod.rs"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"2748c10c955ff10140febb7ede69d3ac1572ba95f9437dc3b11537e2e575018f"}},{"ruleId":"D2","level":"warning","message":{"text":"clean::clean_except (cognitive 45): clean::clean_except has cognitive complexity 45 (threshold 15). Drivers by points: if/else 24, match/switch 11, loops 6, boolean chains 4 (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":"cli/tools/clean.rs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f4ac540530f5d6389beb8666e1f757347b0cb1a9b9436685f96db0728559694"}},{"ruleId":"D2","level":"warning","message":{"text":"info::add_npm_packages_to_json (cognitive 45): info::add_npm_packages_to_json has cognitive complexity 45 (threshold 15). Drivers by points: if/else 32, loops 9, boolean chains 4 (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":"cli/tools/info.rs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3d9838973e47b5ce45643cbc15e6d1ae5e3c1d4b3efedcdfbf8fb4a685c31ab"}},{"ruleId":"D2","level":"warning","message":{"text":"subtle_import_key::import_key_okp (cognitive 45): subtle_import_key::import_key_okp has cognitive complexity 45 (threshold 15). Drivers by points: if/else 36, loops 6, boolean chains 2, match/switch 1 (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":"ext/crypto/subtle_import_key.rs"},"region":{"startLine":1374}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a71eb6f71481c63c20cffb57393641d88195d9befae466b9c74c7c24cde70e7"}},{"ruleId":"D2","level":"warning","message":{"text":"UpgradeStream::write (cognitive 45): UpgradeStream::write has cognitive complexity 45 (threshold 15). Drivers by points: if/else 25, loops 15, match/switch 5 (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/http/http_next.rs"},"region":{"startLine":5622}}}],"partialFingerprints":{"codehealthFindingId/v1":"31c78c780538d9e1902ea9b172915f00ded754b0c58647e8c06d9520ddf2a3ef"}},{"ruleId":"D2","level":"warning","message":{"text":"url::parse_simple_special_url (cognitive 45): url::parse_simple_special_url has cognitive complexity 45 (threshold 15). Drivers by points: if/else 28, boolean chains 7, loops 6, match/switch 4 (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":"ext/web/url.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"f566b791c21e32eea790186f8a10aa794a1bcbba505522baa82fd632ce7acdae"}},{"ruleId":"D2","level":"warning","message":{"text":"inspect::group_array_elements (cognitive 45): inspect::group_array_elements has cognitive complexity 45 (threshold 15). Drivers by points: if/else 27, loops 15, boolean chains 3 (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":"ext/web/console/inspect.rs"},"region":{"startLine":3855}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca552225357c377e55840632628fed6143f541d6b64e062fed0a8ab34543b73e"}},{"ruleId":"D2","level":"warning","message":{"text":"removeEventListener (cognitive 44): removeEventListener has cognitive complexity 44 (threshold 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":"ext/web/03_abort_signal.js"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"1219c7a84062d45c2fb604cbdac3ea6bcdbd5c281d01a201b0f5b3668e4a7282"}},{"ruleId":"D2","level":"warning","message":{"text":"isSimpleSpecialHostCanonical (cognitive 44): isSimpleSpecialHostCanonical has cognitive complexity 44 (threshold 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":"ext/web/00_url.js"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3938d76f1eb2f864a7e8f6303ce438fba619701e80fa573d043960f55b505cf"}},{"ruleId":"D2","level":"warning","message":{"text":"why::why (cognitive 43): why::why has cognitive complexity 43 (threshold 15). Drivers by points: loops 21, if/else 19, boolean chains 3 (nesting depth added 14). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/pm/why.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c835c4ce007f07cdbdeb246884916e1bf98256b2ab2ba657055c5ff65a9a69d"}},{"ruleId":"D2","level":"warning","message":{"text":"html::attr_value (cognitive 43): html::attr_value has cognitive complexity 43 (threshold 15). Drivers by points: loops 18, if/else 16, boolean chains 9 (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":"cli/tools/bundle/html.rs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1dc08f31cbdbbecd6bd840caef2125fa3493317fa7a167e7068b9d443a458e8"}},{"ruleId":"D2","level":"warning","message":{"text":"import_key::import_key_ec (cognitive 43): import_key::import_key_ec has cognitive complexity 43 (threshold 15). Drivers by points: if/else 34, match/switch 9 (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":"ext/crypto/import_key.rs"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"25be7d788ba6ba18fb150f5652dad9b4400e4b3130d14c3f950cece4f4131515"}},{"ruleId":"D2","level":"warning","message":{"text":"KeyObjectHandle::new_asymmetric_private_key_from_js (cognitive 43): KeyObjectHandle::new_asymmetric_private_key_from_js has cognitive complexity 43 (threshold 15). Drivers by points: if/else 26, match/switch 17 (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":"ext/node_crypto/keys.rs"},"region":{"startLine":991}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc9a83bc8d1d817ffae1c93551ef92c67d7dbaca171739ccbc2eaa7d9a605687"}},{"ruleId":"D2","level":"warning","message":{"text":"KeyObjectHandle::verify_prehashed (cognitive 43): KeyObjectHandle::verify_prehashed has cognitive complexity 43 (threshold 15). Drivers by points: if/else 36, match/switch 7 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/node_crypto/sign.rs"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"d70e17cabd8b87f59deaf51afd0eac2961b960589dafbafff6302193a463d5a9"}},{"ruleId":"D2","level":"warning","message":{"text":"deno_process::op_spawn_sync (cognitive 43): deno_process::op_spawn_sync has cognitive complexity 43 (threshold 15). Drivers by points: if/else 32, match/switch 5, boolean chains 3, loops 3 (nesting depth added 17). Of this number, 28 points are the body\u0027s own statements and 15 belong to one function item declared inside it. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/process/lib.rs"},"region":{"startLine":1554}}}],"partialFingerprints":{"codehealthFindingId/v1":"261142e90b0842d7a70c018fde94c0ebaba8b78442aab7028f30129047fa95d3"}},{"ruleId":"D2","level":"warning","message":{"text":"util::parse_iso8601_duration (cognitive 43): util::parse_iso8601_duration has cognitive complexity 43 (threshold 15). Drivers by points: if/else 29, loops 6, boolean chains 5, match/switch 3 (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":"libs/config/util.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4096d9b8b63dcf98a35f8e9a92c333886937282fe27475bc21a7d65648eb9b3"}},{"ruleId":"D2","level":"warning","message":{"text":"GraphDependencyResolver::find_peers_cache_hit_inner (cognitive 43): GraphDependencyResolver::find_peers_cache_hit_inner has cognitive complexity 43 (threshold 15). Drivers by points: if/else 32, loops 7, match/switch 3, boolean chains 1 (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":"libs/npm/resolution/graph.rs"},"region":{"startLine":2332}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6631ec70ecc4437895c1ba76ac75cfc574e142b49cd849832780f0a3f60eb0e"}},{"ruleId":"D2","level":"warning","message":{"text":"SloppyImportsResolver::resolve (cognitive 43): SloppyImportsResolver::resolve has cognitive complexity 43 (threshold 15). Drivers by points: if/else 31, match/switch 9, boolean chains 2, loops 1 (nesting depth added 18). Of this number, 42 points are the body\u0027s own statements and 1 belong to one function item declared inside it. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/resolver/workspace.rs"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4725c8da388a8d1933542c46c23ef295a5ac7999b83a2a42b66cea2637a2598"}},{"ruleId":"D2","level":"warning","message":{"text":"DenoTestCollector::visit_var_decl (cognitive 42): DenoTestCollector::visit_var_decl has cognitive complexity 42 (threshold 15). Drivers by points: if/else 24, match/switch 9, loops 6, boolean chains 3 (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":"cli/lsp/code_lens.rs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"5adc62f4b41f59ab4937bea14f26cf6f94e896bd46f9ea9f103bd04b6ef911c3"}},{"ruleId":"D2","level":"warning","message":{"text":"LibUvStreamWrap::writev (cognitive 42): LibUvStreamWrap::writev has cognitive complexity 42 (threshold 15). Drivers by points: if/else 36, loops 5, boolean chains 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/node/ops/stream_wrap.rs"},"region":{"startLine":1501}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a31f8bc7dde7f3b1c57261f978bc5d3e9ad1a949810724ddf002ace874010c0"}},{"ruleId":"D2","level":"warning","message":{"text":"inspect::get_keys (cognitive 42): inspect::get_keys has cognitive complexity 42 (threshold 15). Drivers by points: if/else 28, loops 10, match/switch 4 (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":"ext/web/console/inspect.rs"},"region":{"startLine":1279}}}],"partialFingerprints":{"codehealthFindingId/v1":"dda7dd17dbb086c9eb0b1378b113aa8c337267a213a3989dfc6205dc69b2da5c"}},{"ruleId":"D2","level":"warning","message":{"text":"PermissionsContainer::check_special_file (cognitive 42): PermissionsContainer::check_special_file has cognitive complexity 42 (threshold 15). Drivers by points: if/else 32, boolean chains 10 (nesting depth added 11). Of this number, 28 points are the body\u0027s own statements and 14 belong to 2 function items declared inside it. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/permissions/lib.rs"},"region":{"startLine":4437}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf736d67abe2e328927cf4eceb29f8700290264254ac5466600c4f578902c440"}},{"ruleId":"D2","level":"warning","message":{"text":"runPluginsForFile (cognitive 42): runPluginsForFile has cognitive complexity 42 (threshold 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":"cli/js/40_lint.js"},"region":{"startLine":1224}}}],"partialFingerprints":{"codehealthFindingId/v1":"6069338634381ac084c079747761eb0ebd73c68e167cf55c22b52936615e7460"}},{"ruleId":"D2","level":"warning","message":{"text":"SpecifierUnfurler::unfurl_specifier (cognitive 41): SpecifierUnfurler::unfurl_specifier has cognitive complexity 41 (threshold 15). Drivers by points: match/switch 33, if/else 8 (nesting depth added 27). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/publish/unfurl.rs"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"af68958242d8e993121085f5dfd80bb73aa542465796d2523a4a23a397311470"}},{"ruleId":"D2","level":"warning","message":{"text":"unfurl::unfurl_dynamic_specifier (cognitive 41): unfurl::unfurl_dynamic_specifier has cognitive complexity 41 (threshold 15). Drivers by points: if/else 34, boolean chains 6, match/switch 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":"cli/tools/pack/unfurl.rs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"928e5e0fe213fe9153ec3a828aee33aab93dfaee293a41a06eff4c21df62d794"}},{"ruleId":"D2","level":"warning","message":{"text":"ModuleMap::new_module_from_js_source_with_pending (cognitive 41): ModuleMap::new_module_from_js_source_with_pending has cognitive complexity 41 (threshold 15). Drivers by points: if/else 32, match/switch 5, boolean chains 3, 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":"libs/core/modules/map.rs"},"region":{"startLine":953}}}],"partialFingerprints":{"codehealthFindingId/v1":"285d081fc05ffc1070b03dc60840b10fcd2d2cda3bad2672147082207737c756"}},{"ruleId":"D2","level":"warning","message":{"text":"transforms::transform4_to_5 (cognitive 41): transforms::transform4_to_5 has cognitive complexity 41 (threshold 15). Drivers by points: if/else 29, loops 12 (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":"libs/lockfile/transforms.rs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"27199c1d2a1ce12d70a940cc18b71757ae17d72f557055df0aaf256869f84554"}},{"ruleId":"D2","level":"warning","message":{"text":"parse (cognitive 41): parse has cognitive complexity 41 (threshold 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":"ext/fetch/21_formdata.js"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8048652f2cdf6c81fdec88b12b73886743564993a0193fe5e7202aed25e3530"}},{"ruleId":"D2","level":"warning","message":{"text":"DepManager::run_dependency_resolution (cognitive 40): DepManager::run_dependency_resolution has cognitive complexity 40 (threshold 15). Drivers by points: if/else 26, loops 9, match/switch 4, boolean chains 1 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/pm/deps.rs"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"304b28fab46e6f6d3188fd91ad68fbff98584f31a2bb12c61f74ed1b374476cc"}},{"ruleId":"D2","level":"warning","message":{"text":"x::run (cognitive 40): x::run has cognitive complexity 40 (threshold 15). Drivers by points: if/else 32, boolean chains 3, match/switch 3, loops 2 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/x.rs"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"a261e528a0ad9eb44124a86868062b74348970793e7adac0593d247b0339a201"}},{"ruleId":"D2","level":"warning","message":{"text":"publish_order::build_pkg_deps (cognitive 40): publish_order::build_pkg_deps has cognitive complexity 40 (threshold 15). Drivers by points: if/else 30, loops 9, 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":"cli/tools/publish/publish_order.rs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"65e0f1ac29415e4670fe06ed915de60a5f994e61422a220fd07a5903f465d21a"}},{"ruleId":"D2","level":"warning","message":{"text":"tsconfig_gen::strip_top_level_type_decls (cognitive 40): tsconfig_gen::strip_top_level_type_decls has cognitive complexity 40 (threshold 15). Drivers by points: loops 17, if/else 11, boolean chains 6, match/switch 6 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tsc/tsconfig_gen.rs"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"203334dfd36d401e54a1f333cbac1d6c3f1f52a203540478cd9418190dd523c1"}},{"ruleId":"D2","level":"warning","message":{"text":"convert::apply_node_options (cognitive 40): convert::apply_node_options has cognitive complexity 40 (threshold 15). Drivers by points: if/else 17, loops 9, match/switch 9, boolean chains 5 (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":"libs/cli_parser/src/convert.rs"},"region":{"startLine":2872}}}],"partialFingerprints":{"codehealthFindingId/v1":"46dec20912b4683e4841f479bbf7219eaeaadf8b95b2e6ac83b20795466bab68"}},{"ruleId":"D2","level":"warning","message":{"text":"EnvironmentOptions::check_options (cognitive 40): EnvironmentOptions::check_options has cognitive complexity 40 (threshold 15). Drivers by points: if/else 33, boolean chains 7 (nesting depth added 5). 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":"libs/node_shim/lib.rs"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"4434c84d0f23a50627820d239412bae37197861b7a0b9fd69a694c7c3894985b"}},{"ruleId":"D2","level":"warning","message":{"text":"hoisted::compute_hoisted_layout (cognitive 40): hoisted::compute_hoisted_layout has cognitive complexity 40 (threshold 15). Drivers by points: if/else 25, loops 9, boolean chains 4, match/switch 2 (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":"libs/npm_installer/hoisted.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b20a74d4ce4fe4eb1605c6e5c9ef8978db27e98412ac8c8feedb505a74a75b1"}},{"ruleId":"D2","level":"warning","message":{"text":"pnpm_lockfile_import::pnpm_lock_to_deno_lock_v5 (cognitive 40): pnpm_lockfile_import::pnpm_lock_to_deno_lock_v5 has cognitive complexity 40 (threshold 15). Drivers by points: if/else 27, loops 13 (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":"libs/resolver/pnpm_lockfile_import.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0c4b45393f3ee6b63de481095ef0b5036d56c3e428cfda804c55b63fb85dca1"}},{"ruleId":"D2","level":"warning","message":{"text":"subtle_derive_bits::run (cognitive 39): subtle_derive_bits::run has cognitive complexity 39 (threshold 15). Drivers by points: if/else 33, match/switch 5, boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/crypto/subtle_derive_bits.rs"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e91da8603958453afae5e512c74b31c3042454ad844e346aafcb7662bc8908c"}},{"ruleId":"D2","level":"warning","message":{"text":"TLSWrapInner::clear_out_process (cognitive 39): TLSWrapInner::clear_out_process has cognitive complexity 39 (threshold 15). Drivers by points: if/else 22, match/switch 10, loops 5, boolean chains 2 (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":"ext/node/ops/tls_wrap.rs"},"region":{"startLine":1508}}}],"partialFingerprints":{"codehealthFindingId/v1":"b994f8c01aa15d1bcba3b0b20957fa190d29251b302f1f0a253fc8f9b7339c52"}},{"ruleId":"D2","level":"warning","message":{"text":"WasiContext::fd_read (cognitive 39): WasiContext::fd_read has cognitive complexity 39 (threshold 15). Drivers by points: if/else 23, match/switch 10, loops 6 (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":"ext/node/ops/wasi.rs"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"a10f2d48a1054af845d678a10b213d67c6924e09a725eeca6bbd1a8ad0580401"}},{"ruleId":"D2","level":"warning","message":{"text":"GraphDependencyResolver::drain_pending_parallel (cognitive 39): GraphDependencyResolver::drain_pending_parallel has cognitive complexity 39 (threshold 15). Drivers by points: if/else 27, loops 9, match/switch 2, boolean chains 1 (nesting depth added 22). Of this number, 29 points are the body\u0027s own statements and 10 belong to 2 function items declared inside it. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/npm/resolution/graph.rs"},"region":{"startLine":2440}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8b01fb39780038a99a7789919533614c6cc1401e8fa92f7ad2051eda174a8df"}},{"ruleId":"D2","level":"warning","message":{"text":"dispatch_slow::from_arg (cognitive 39): dispatch_slow::from_arg has cognitive complexity 39 (threshold 15). Drivers by points: if/else 26, match/switch 13 (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":"libs/ops/op2/dispatch_slow.rs"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"10ce4ae266ec4d6bd7afc7d3ea15c11348bc9c2ceda25962b3a732da14aa67d3"}},{"ruleId":"D2","level":"warning","message":{"text":"process::spawn (cognitive 39): process::spawn has cognitive complexity 39 (threshold 15). Drivers by points: if/else 34, boolean chains 3, loops 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":"runtime/subprocess_windows/src/process.rs"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"85f5a0b416351ebf07d7320260337edd9a8923c5257f0127f6651b961f239f52"}},{"ruleId":"D2","level":"warning","message":{"text":"handleExecute (cognitive 39): handleExecute has cognitive complexity 39 (threshold 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":"cli/js/jupyter_kernel.js"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"44ebbae15a2b6333229c40592440c5afc95b3eed0a789a6e3ba1ed70fa17c11e"}},{"ruleId":"D2","level":"warning","message":{"text":"desktop::extract_laufey_archive (cognitive 38): desktop::extract_laufey_archive has cognitive complexity 38 (threshold 15). Drivers by points: if/else 33, loops 4, boolean chains 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/desktop.rs"},"region":{"startLine":2148}}}],"partialFingerprints":{"codehealthFindingId/v1":"e35ada39e2405f1e2537c59b0e02a3da7ee1d430234d8ee3bd6703e295576596"}},{"ruleId":"D2","level":"warning","message":{"text":"package_json::convert_exports (cognitive 38): package_json::convert_exports has cognitive complexity 38 (threshold 15). Drivers by points: if/else 32, loops 6 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/pack/package_json.rs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"32238f60326b186f73f707f64869acb255e5d8a89ff61a845bff9c97a305d568"}},{"ruleId":"D2","level":"warning","message":{"text":"subtle_import_key::import_key_kmac (cognitive 38): subtle_import_key::import_key_kmac has cognitive complexity 38 (threshold 15). Drivers by points: if/else 26, loops 6, boolean chains 5, match/switch 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/crypto/subtle_import_key.rs"},"region":{"startLine":1665}}}],"partialFingerprints":{"codehealthFindingId/v1":"af438e41b8c99afb1bd692aafc45db945c6f9ce582775cb70010b8dfe8e67662"}},{"ruleId":"D2","level":"warning","message":{"text":"WasiContext::poll_oneoff (cognitive 38): WasiContext::poll_oneoff has cognitive complexity 38 (threshold 15). Drivers by points: if/else 17, match/switch 16, boolean chains 3, loops 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":"ext/node/ops/wasi.rs"},"region":{"startLine":1919}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffcb75337cfe085289cc04e4d0292355d0c0ff6ad0cdd43a2511a363599e68ed"}},{"ruleId":"D2","level":"warning","message":{"text":"binding::consume_read_callback (cognitive 38): binding::consume_read_callback has cognitive complexity 38 (threshold 15). Drivers by points: if/else 33, boolean chains 5 (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":"ext/node/ops/llhttp/binding.rs"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"e217527b2a838364de9fea59a1ba7fdd14f77fbbb5d5bd119f592a2a1a01d35d"}},{"ruleId":"D2","level":"warning","message":{"text":"LockfileContent::from_json (cognitive 38): LockfileContent::from_json has cognitive complexity 38 (threshold 15). Drivers by points: loops 23, if/else 7, match/switch 7, boolean chains 1 (nesting depth added 17). Of this number, 30 points are the body\u0027s own statements and 8 belong to 3 function items declared inside it. 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":"libs/lockfile/lib.rs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9351e50fa4a473b507ced1b973ce3d5a45e4a4b42dc90325b5d3ff0b095fd0b"}},{"ruleId":"D2","level":"warning","message":{"text":"RawDenoResolver::resolve (cognitive 38): RawDenoResolver::resolve has cognitive complexity 38 (threshold 15). Drivers by points: if/else 25, match/switch 10, boolean chains 3 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/resolver/lib.rs"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"23ec504176058a6a66c57c21617158c927d58cf704d08c25789373ea1ed96d7a"}},{"ruleId":"D2","level":"warning","message":{"text":"bootstrapMainRuntime (cognitive 38): bootstrapMainRuntime has cognitive complexity 38 (threshold 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":"runtime/js/99_main.js"},"region":{"startLine":882}}}],"partialFingerprints":{"codehealthFindingId/v1":"2332785d7cb7fa94f8a9087d6e175bd6274a4b6e117b061608abf022363a21d5"}},{"ruleId":"D2","level":"warning","message":{"text":"testInner (cognitive 38): testInner has cognitive complexity 38 (threshold 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":"cli/js/40_test.js"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"da91639e0db20bd46c83164c91541b1df5f874a6262c8fab9edd8854c6677afe"}},{"ruleId":"D2","level":"warning","message":{"text":"Inner::code_action_resolve (cognitive 37): Inner::code_action_resolve has cognitive complexity 37 (threshold 15). Drivers by points: if/else 34, match/switch 2, boolean chains 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/lsp/language_server.rs"},"region":{"startLine":2451}}}],"partialFingerprints":{"codehealthFindingId/v1":"e77d565a7109077e5998af5a3b4a4d5221e5338983bf79a8e40f50d40bd1a446"}},{"ruleId":"D2","level":"warning","message":{"text":"LspScopedResolver::configured_auto_import_roots (cognitive 37): LspScopedResolver::configured_auto_import_roots has cognitive complexity 37 (threshold 15). Drivers by points: if/else 26, boolean chains 4, loops 4, match/switch 3 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/lsp/resolver.rs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"8921f08a5ca464918239df92fac357fc95ea0dbc9f1995d55c6b2edafc9e3844"}},{"ruleId":"D2","level":"warning","message":{"text":"TsServer::provide_code_actions (cognitive 37): TsServer::provide_code_actions has cognitive complexity 37 (threshold 15). Drivers by points: if/else 19, match/switch 10, loops 5, boolean chains 3 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/lsp/ts_server.rs"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"df4e33ec9c927e5637d296bf5ffbfdd8a97a3c6a2d104405586c724b1307dc23"}},{"ruleId":"D2","level":"warning","message":{"text":"GraphDisplayContext::build_module_info (cognitive 37): GraphDisplayContext::build_module_info has cognitive complexity 37 (threshold 15). Drivers by points: match/switch 15, if/else 13, loops 8, boolean chains 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/info.rs"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6c0120ea7f93a1987a83a1f9fca8909b067f16a309950ec2706617f5be2df5d"}},{"ruleId":"D2","level":"warning","message":{"text":"desktop_devtools::run_unified_session (cognitive 37): desktop_devtools::run_unified_session has cognitive complexity 37 (threshold 15). Drivers by points: if/else 23, match/switch 8, loops 6 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/desktop_devtools.rs"},"region":{"startLine":900}}}],"partialFingerprints":{"codehealthFindingId/v1":"276e6ae8375866dca1ecaaa2f6f7487e05cce21336b7fd9e9d38bf7d2e69242e"}},{"ruleId":"D2","level":"warning","message":{"text":"js_native_api::napi_define_properties (cognitive 37): js_native_api::napi_define_properties has cognitive complexity 37 (threshold 15). Drivers by points: if/else 33, match/switch 2, boolean chains 1, loops 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/napi/js_native_api.rs"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4a58bfbcf47e0932c4b546c31ec1088274949eb6c61da54f6ad19e3c4cabf3c"}},{"ruleId":"D2","level":"warning","message":{"text":"DatabaseSyncOptions::from_v8 (cognitive 37): DatabaseSyncOptions::from_v8 has cognitive complexity 37 (threshold 15). Drivers by points: if/else 22, boolean chains 13, 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":"ext/node_sqlite/database.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd0a47d1e41492fd4e23f11791e71670d3ba7c5401c2249856219137a53c4e54"}},{"ruleId":"D2","level":"warning","message":{"text":"SharedConn::poll_read_body_chunk_limited_with (cognitive 37): SharedConn::poll_read_body_chunk_limited_with has cognitive complexity 37 (threshold 15). Drivers by points: if/else 27, match/switch 8, 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":"libs/http_h1/conn.rs"},"region":{"startLine":898}}}],"partialFingerprints":{"codehealthFindingId/v1":"07ff0101f9bb5ef51c25573837ba392d95f773e664dffe3e641cb2df026cb019"}},{"ruleId":"D2","level":"warning","message":{"text":"fmt_errors::get_message_suggestions_inner (cognitive 37): fmt_errors::get_message_suggestions_inner has cognitive complexity 37 (threshold 15). Drivers by points: if/else 27, boolean chains 10 (nesting depth added 5). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/fmt_errors.rs"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff98ef266d7955006508ce762f0d8c821adbed3be3a2ba508a19e54d02623137"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfiguredDepResolutions::new (cognitive 36): ConfiguredDepResolutions::new has cognitive complexity 36 (threshold 15). Drivers by points: if/else 22, loops 13, boolean chains 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/lsp/resolver.rs"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"91fce3bc2f22abcbff92dd4b6ca3aeeaf9000dcad9f632f00846cf6679f5fa06"}},{"ruleId":"D2","level":"warning","message":{"text":"DepManager::commit_changes (cognitive 36): DepManager::commit_changes has cognitive complexity 36 (threshold 15). Drivers by points: if/else 24, match/switch 9, loops 2, boolean chains 1 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/pm/deps.rs"},"region":{"startLine":1066}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c763f943f7d22d6da190d425d9ddba332aff040b66826010707918c0b00c4a8"}},{"ruleId":"D2","level":"warning","message":{"text":"completions::get_import_completions (cognitive 36): completions::get_import_completions has cognitive complexity 36 (threshold 15). Drivers by points: if/else 21, match/switch 15 (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":"cli/lsp/completions.rs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7a48f3ffe7861947e6ddbeb9b7b123ac76a13f5cb00353a4698b28110a7deba"}},{"ruleId":"D2","level":"warning","message":{"text":"RecursiveModuleLoad::register_and_recurse_inner (cognitive 36): RecursiveModuleLoad::register_and_recurse_inner has cognitive complexity 36 (threshold 15). Drivers by points: if/else 20, match/switch 10, boolean chains 3, loops 3 (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":"libs/core/modules/recursive_load.rs"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c69790811b489af5440988db5614654dd9cda06701ee713111b2a14f289a3b0"}},{"ruleId":"D2","level":"warning","message":{"text":"LaxSingleProcessFsFlag::lock (cognitive 36): LaxSingleProcessFsFlag::lock has cognitive complexity 36 (threshold 15). Drivers by points: match/switch 18, if/else 11, loops 6, boolean chains 1 (nesting depth added 25). 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":"libs/npm_installer/flag.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e22db0e809d9c4afb4b46e9c3adfaa60950056b2dfc6597d8cf0d94b4c4481e"}},{"ruleId":"D2","level":"warning","message":{"text":"web_worker::run_web_worker (cognitive 36): web_worker::run_web_worker has cognitive complexity 36 (threshold 15). Drivers by points: if/else 32, boolean chains 2, match/switch 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/web_worker.rs"},"region":{"startLine":1137}}}],"partialFingerprints":{"codehealthFindingId/v1":"75737567053416349e7d12c99868c79f4924d131b932a8906c7320fb682ff685"}},{"ruleId":"D2","level":"warning","message":{"text":"traverse (cognitive 36): traverse has cognitive complexity 36 (threshold 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":"cli/js/40_lint.js"},"region":{"startLine":1355}}}],"partialFingerprints":{"codehealthFindingId/v1":"04acd556d9a2d761ddfcd282aef00a4b1b119c709b36e7f81e0e1ab3b894f191"}},{"ruleId":"D2","level":"warning","message":{"text":"TestStepCollector::visit_var_decl (cognitive 35): TestStepCollector::visit_var_decl has cognitive complexity 35 (threshold 15). Drivers by points: if/else 19, match/switch 8, loops 6, boolean chains 2 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/lsp/testing/collectors.rs"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b2e295f0cd6d821a13d10e3af3b41d6d28a91818d8050796e4d018fc1521ba5"}},{"ruleId":"D2","level":"warning","message":{"text":"SpecifierUnfurler::unfurl_to_changes (cognitive 35): SpecifierUnfurler::unfurl_to_changes has cognitive complexity 35 (threshold 15). Drivers by points: if/else 19, match/switch 10, loops 5, boolean chains 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/publish/unfurl.rs"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3f4756e1613a86b68c37051d1c4e783994a11f32a5f906d3b18f71ae5dfb063"}},{"ruleId":"D2","level":"warning","message":{"text":"check::native_check (cognitive 35): check::native_check has cognitive complexity 35 (threshold 15). Drivers by points: if/else 26, boolean chains 6, loops 3 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/check.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d66d8fd043c15deeb94a0018d0bf24ab5aa4093523d3b5139a2f6b52a13a411"}},{"ruleId":"D2","level":"warning","message":{"text":"transpile::transpile (cognitive 35): transpile::transpile has cognitive complexity 35 (threshold 15). Drivers by points: if/else 26, boolean chains 6, loops 2, match/switch 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/transpile.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"97870c4bd9e9cd26aaa57eccb72a66dd2f29fe7fa9630e24df0d9a46a03306cf"}},{"ruleId":"D2","level":"warning","message":{"text":"fmt_editorconfig::parse (cognitive 35): fmt_editorconfig::parse has cognitive complexity 35 (threshold 15). Drivers by points: if/else 23, match/switch 8, boolean chains 3, loops 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/fmt_editorconfig.rs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"25fc38a5b89179e430459c20c8098d151cfc5750cc7ca79d7598bb622e116fcd"}},{"ruleId":"D2","level":"warning","message":{"text":"export_key::export_key_ec (cognitive 35): export_key::export_key_ec has cognitive complexity 35 (threshold 15). Drivers by points: if/else 24, match/switch 11 (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":"ext/crypto/export_key.rs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"af5b3c6020cbd4ac758b4ab5bb2e1f596f424bddd6f405ff9d19fee18efa1df0"}},{"ruleId":"D2","level":"warning","message":{"text":"pipe::uv_pipe_open (cognitive 35): pipe::uv_pipe_open has cognitive complexity 35 (threshold 15). Drivers by points: if/else 22, match/switch 13 (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":"libs/core/uv_compat/pipe.rs"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"36789c67e6ea838733c0fe9b5ead4c17acaa09592c584fa510d8c7d53832b7d6"}},{"ruleId":"D2","level":"warning","message":{"text":"stream::write_pipe (cognitive 35): stream::write_pipe has cognitive complexity 35 (threshold 15). Drivers by points: if/else 17, loops 8, match/switch 7, boolean chains 3 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/core/uv_compat/stream.rs"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"85b3292facbab7d4fea888a695f12df928e5447291ebb24520a139d8bc48ee70"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkspaceResolver::from_workspace (cognitive 35): WorkspaceResolver::from_workspace has cognitive complexity 35 (threshold 15). Drivers by points: if/else 20, match/switch 8, boolean chains 4, loops 3 (nesting depth added 10). Most of this is not in the body itself: 0 of the 35 points are its own statements and the rest belongs to 4 function items declared inside it (resolve_import_map, resolve_import_map::expand_catalog_specifiers::expand_entries, resolve_import_map::expand_catalog_specifiers, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/resolver/workspace.rs"},"region":{"startLine":856}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc76cc3c766f4100468e3b727f643cbd3f1b07456a776d244565b0162a385a90"}},{"ruleId":"D2","level":"warning","message":{"text":"extractBody (cognitive 35): extractBody has cognitive complexity 35 (threshold 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":"ext/fetch/22_body.js"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1b3fb8db1edf1cbbf44df98e0db5653dfa1b55d59f4bdfe83e6f726160f02be"}},{"ruleId":"D2","level":"warning","message":{"text":"bench (cognitive 35): bench has cognitive complexity 35 (threshold 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":"cli/js/40_bench.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5ac51d610c76872f16ed0c3a695798b3e5837d498bf7625e2d4b3ee21dbce42"}},{"ruleId":"D2","level":"warning","message":{"text":"ModuleGraphBuilder::build_graph_with_npm_resolution_and_build_options (cognitive 34): ModuleGraphBuilder::build_graph_with_npm_resolution_and_build_options has cognitive complexity 34 (threshold 15). Drivers by points: if/else 18, loops 9, boolean chains 6, 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":"cli/graph_util.rs"},"region":{"startLine":1002}}}],"partialFingerprints":{"codehealthFindingId/v1":"accd4b68b90daaca0b28ae1931e3804b3e7560d6f8648332ba745fe77ecbeef3"}},{"ruleId":"D2","level":"warning","message":{"text":"DenoCompileBinaryWriter::build_vfs_consolidating_global_npm_cache (cognitive 34): DenoCompileBinaryWriter::build_vfs_consolidating_global_npm_cache has cognitive complexity 34 (threshold 15). Drivers by points: if/else 20, loops 9, match/switch 4, boolean chains 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/standalone/binary.rs"},"region":{"startLine":1397}}}],"partialFingerprints":{"codehealthFindingId/v1":"651fa309b7e1be4f7da98d08dd2d14256d9db97920597dc80ef2c32d1d90aac5"}},{"ruleId":"D2","level":"warning","message":{"text":"bump_version::bump_workspace_conventional (cognitive 34): bump_version::bump_workspace_conventional has cognitive complexity 34 (threshold 15). Drivers by points: if/else 19, loops 9, match/switch 4, boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/bump_version.rs"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b75e460a66612ef21c1ef0e761bd9340403e1f0991f1f1d0106ebd06e8aecdc"}},{"ruleId":"D2","level":"warning","message":{"text":"NpmRegistryReadPermissionChecker::ensure_read_permission (cognitive 34): NpmRegistryReadPermissionChecker::ensure_read_permission has cognitive complexity 34 (threshold 15). Drivers by points: if/else 24, match/switch 8, boolean chains 2 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/lib/npm/permission_checker.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"0723bd4e2d7908f8f09ba2c02e60c9ca5d692abe89fc2692dbc05b6a204fcccc"}},{"ruleId":"D2","level":"warning","message":{"text":"run::run_with_options (cognitive 34): run::run_with_options has cognitive complexity 34 (threshold 15). Drivers by points: if/else 23, match/switch 7, loops 3, boolean chains 1 (nesting depth added 4). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/rt/run.rs"},"region":{"startLine":1314}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e800f3299b88e075144a4e8d77d50b154cc4419f6b7752459b833f28182c6af"}},{"ruleId":"D2","level":"warning","message":{"text":"deno_fetch::op_fetch (cognitive 34): deno_fetch::op_fetch has cognitive complexity 34 (threshold 15). Drivers by points: if/else 19, match/switch 10, boolean chains 3, loops 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":"ext/fetch/lib.rs"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f605a2505c0f380014b0445b25d8abbb4a57b55f7e3812f68553f4e68b2a3d6"}},{"ruleId":"D2","level":"warning","message":{"text":"HttpRecordResponse::poll_frame (cognitive 34): HttpRecordResponse::poll_frame has cognitive complexity 34 (threshold 15). Drivers by points: if/else 24, match/switch 6, boolean chains 2, loops 2 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/http/service.rs"},"region":{"startLine":1217}}}],"partialFingerprints":{"codehealthFindingId/v1":"979b380c88114712e21f3c01fa97adb3876c5ddc06702108e46518bff5d40c86"}},{"ruleId":"D2","level":"warning","message":{"text":"ZlibInner::do_write (cognitive 34): ZlibInner::do_write has cognitive complexity 34 (threshold 15). Drivers by points: if/else 24, match/switch 5, boolean chains 3, loops 2 (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":"ext/node/ops/zlib/mod.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f5879a5333f9cb0ebfa70036cade399cf98b7d23d1995f2cc9ebb9157229f21"}},{"ruleId":"D2","level":"warning","message":{"text":"url::simple_special_host_is_canonical (cognitive 34): url::simple_special_host_is_canonical has cognitive complexity 34 (threshold 15). Drivers by points: if/else 21, boolean chains 8, loops 3, match/switch 2 (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":"ext/web/url.rs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d3597d9ff13fa85bb235c7d8e937a4b032c2eba2ec13b0f179e0f50d8bd1933"}},{"ruleId":"D2","level":"warning","message":{"text":"inspect::try_custom_inspect (cognitive 34): inspect::try_custom_inspect has cognitive complexity 34 (threshold 15). Drivers by points: if/else 25, match/switch 7, boolean chains 1, loops 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":"ext/web/console/inspect.rs"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9ba16e0dc85fc56b2ec126f401828180c299794fd60eb93a27ba2473f054a09"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph::compute_all_npm_pkg_ids (cognitive 34): Graph::compute_all_npm_pkg_ids has cognitive complexity 34 (threshold 15). Drivers by points: if/else 15, loops 12, boolean chains 4, match/switch 3 (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":"libs/npm/resolution/graph.rs"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"35e59a60ee15dbe1ff6e35bde7adc62b1190eb99583811f30569970562f19541"}},{"ruleId":"D2","level":"warning","message":{"text":"op2::generate_op2 (cognitive 34): op2::generate_op2 has cognitive complexity 34 (threshold 15). Drivers by points: if/else 24, boolean chains 4, loops 3, match/switch 3 (nesting depth added 5). 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":"libs/ops/op2/mod.rs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"2198faeada9b18178d390b67d7b4035c6febfe7093a5b72cc9eda0a27d5f7634"}},{"ruleId":"D2","level":"warning","message":{"text":"process::search_path_join_test (cognitive 34): process::search_path_join_test has cognitive complexity 34 (threshold 15). Drivers by points: if/else 18, boolean chains 16 (nesting depth added 4). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/subprocess_windows/src/process.rs"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"032bf2d481c1058acf2e83843294e7ee50726f79992d36267ae4eb04783097f7"}},{"ruleId":"D2","level":"warning","message":{"text":"TestCollector::visit_var_decl (cognitive 33): TestCollector::visit_var_decl has cognitive complexity 33 (threshold 15). Drivers by points: if/else 22, match/switch 6, loops 4, boolean chains 1 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/lsp/testing/collectors.rs"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff7dcbf4133b64f0a760c7199413f494f8aea3a6628fec8122e8e306b57170d7"}},{"ruleId":"D2","level":"warning","message":{"text":"CompletionEntry::get_filter_text (cognitive 33): CompletionEntry::get_filter_text has cognitive complexity 33 (threshold 15). Drivers by points: if/else 28, loops 4, boolean chains 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/lsp/tsc.rs"},"region":{"startLine":4367}}}],"partialFingerprints":{"codehealthFindingId/v1":"92c9da6dab86b71ca5b9ebc48b11789b876fcb9e6462d3da6764f562c98ab9fe"}},{"ruleId":"D2","level":"warning","message":{"text":"upgrade::upgrade_from_pr (cognitive 33): upgrade::upgrade_from_pr has cognitive complexity 33 (threshold 15). Drivers by points: if/else 27, loops 6 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/upgrade.rs"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcda92c33f97cca518e2fefdbf93588f0465d259791c98a361562e873ddf3e0f"}},{"ruleId":"D2","level":"warning","message":{"text":"native_addons::collect_bundle_required_packages (cognitive 33): native_addons::collect_bundle_required_packages has cognitive complexity 33 (threshold 15). Drivers by points: if/else 23, loops 9, 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":"cli/standalone/native_addons.rs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a1ee06ced5dca07c7b0407248280cc7d83d9964098f9b07dd54557279a0d0e"}},{"ruleId":"D2","level":"warning","message":{"text":"swc::serialize_expr (cognitive 33): swc::serialize_expr has cognitive complexity 33 (threshold 15). Drivers by points: match/switch 30, if/else 3 (nesting depth added 17). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/lint/ast_buffer/swc.rs"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4fcdfc2ede404e8bb2e27426539d3e5914aa9e9e549eabcf7e1c894b24a5f8a"}},{"ruleId":"D2","level":"warning","message":{"text":"flags::permission_args (cognitive 33): flags::permission_args has cognitive complexity 33 (threshold 15). Drivers by points: if/else 31, boolean chains 2 (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/args/flags.rs"},"region":{"startLine":5095}}}],"partialFingerprints":{"codehealthFindingId/v1":"355a49092726bbfc1f36e987d5f976b117bc24b28ad5d14fa2ddddbbf7c51e96"}},{"ruleId":"D2","level":"warning","message":{"text":"deno_crypto::verify_key_sync (cognitive 33): deno_crypto::verify_key_sync has cognitive complexity 33 (threshold 15). Drivers by points: match/switch 28, if/else 5 (nesting depth added 17). 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":"ext/crypto/lib.rs"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2d94db2201069624ff4566b6862f05d356d0faab9d027fd0fb9330d87ce7719"}},{"ruleId":"D2","level":"warning","message":{"text":"deno_resolver::patch_react_cves (cognitive 33): deno_resolver::patch_react_cves has cognitive complexity 33 (threshold 15). Drivers by points: if/else 26, loops 4, match/switch 2, 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":"libs/resolver/lib.rs"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d8c61154960e2bfb8ba8569fc9568591fec684d80974aa44136b6e1e406da98"}},{"ruleId":"D2","level":"warning","message":{"text":"TestRun::exec (cognitive 32): TestRun::exec has cognitive complexity 32 (threshold 15). Drivers by points: if/else 17, match/switch 10, loops 5 (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":"cli/lsp/testing/execution.rs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf0807a4fc229af5d0bd1b4d0091832941571f20861a6ee7867e41bdaeeca2a6"}},{"ruleId":"D2","level":"warning","message":{"text":"PublishPreparer::build_and_check_graph_for_publish (cognitive 32): PublishPreparer::build_and_check_graph_for_publish has cognitive complexity 32 (threshold 15). Drivers by points: if/else 21, loops 11 (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":"cli/tools/publish/mod.rs"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cc3b2491492100a8c03b62856681d3154417be67182c00b1aeebd54d29b37a4"}},{"ruleId":"D2","level":"warning","message":{"text":"wasm::collect_import_records (cognitive 32): wasm::collect_import_records has cognitive complexity 32 (threshold 15). Drivers by points: if/else 20, match/switch 7, loops 4, 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":"cli/tools/publish/wasm.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"85ed55321f433dc9049436666559efdfef14b6430628abdd3af0c23b636a62cf"}},{"ruleId":"D2","level":"warning","message":{"text":"path_to_regex::parse (cognitive 32): path_to_regex::parse has cognitive complexity 32 (threshold 15). Drivers by points: if/else 29, boolean chains 2, 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":"cli/lsp/path_to_regex.rs"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"b70efbc61004019fd5bbdc2b25f1017e7b656ae0e26a1f83e38c9cd1cecb35c9"}},{"ruleId":"D2","level":"warning","message":{"text":"subtle_import_key::import_key_ml_kem (cognitive 32): subtle_import_key::import_key_ml_kem has cognitive complexity 32 (threshold 15). Drivers by points: if/else 28, match/switch 4 (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":"ext/crypto/subtle_import_key.rs"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc7a4bf61a58d3c60fd5021a5dd359b898c5bc31cdba928877a17ed6ddf366b7"}},{"ruleId":"D2","level":"warning","message":{"text":"subtle_encrypt::run (cognitive 32): subtle_encrypt::run has cognitive complexity 32 (threshold 15). Drivers by points: if/else 24, match/switch 5, boolean chains 3 (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":"ext/crypto/subtle_encrypt.rs"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdc13ce3a4a5410d1c78e0b2beb65389ebc9bb0c8eb76911cfc02b1f780f1d98"}},{"ruleId":"D2","level":"warning","message":{"text":"http_next::write_h1_stream_response (cognitive 32): http_next::write_h1_stream_response has cognitive complexity 32 (threshold 15). Drivers by points: if/else 18, match/switch 9, 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":"ext/http/http_next.rs"},"region":{"startLine":4029}}}],"partialFingerprints":{"codehealthFindingId/v1":"367b217305834d1fa3d21a86d5159cab4566a7650c092aafac6c90921a9f078d"}},{"ruleId":"D2","level":"warning","message":{"text":"shell::scan_and_split (cognitive 32): shell::scan_and_split has cognitive complexity 32 (threshold 15). Drivers by points: if/else 17, boolean chains 10, loops 5 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/node/ops/shell.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ec5c8bb6bd72ef7807a9f7e8e3584f6e5676bf2cb15a98fa6eae9851fd77504"}},{"ruleId":"D2","level":"warning","message":{"text":"Decipher::r#final (cognitive 32): Decipher::r#final has cognitive complexity 32 (threshold 15). Drivers by points: if/else 30, boolean chains 1, 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":"ext/node_crypto/cipher.rs"},"region":{"startLine":1558}}}],"partialFingerprints":{"codehealthFindingId/v1":"50f528bfb32f9ef857d5ecfbfc8be292a9275c60be04d986600c6a3a3638bae8"}},{"ruleId":"D2","level":"warning","message":{"text":"cipher::aes_unwrap_key (cognitive 32): cipher::aes_unwrap_key has cognitive complexity 32 (threshold 15). Drivers by points: if/else 24, boolean chains 4, loops 3, match/switch 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/node_crypto/cipher.rs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"01aa315a6fd38c1bb1375b40c53c97e067078dead6c74cb5482e74e6be4a3605"}},{"ruleId":"D2","level":"warning","message":{"text":"DatabaseSync::function (cognitive 32): DatabaseSync::function has cognitive complexity 32 (threshold 15). Drivers by points: if/else 30, boolean chains 2 (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":"ext/node_sqlite/database.rs"},"region":{"startLine":1115}}}],"partialFingerprints":{"codehealthFindingId/v1":"314f9ad3f9a8367d4ae7f7f53f078f9d7f22edecf7dbc38294e1cb963405af58"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageData::constructor (cognitive 32): ImageData::constructor has cognitive complexity 32 (threshold 15). Drivers by points: if/else 25, boolean chains 5, match/switch 2 (nesting depth added 6). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/web/image_data.rs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e1ee92dac90d98dc2b432640d35abe7299cb13a790b950ae8e1fa3944b5bf8d"}},{"ruleId":"D2","level":"warning","message":{"text":"inspect::format_value (cognitive 32): inspect::format_value has cognitive complexity 32 (threshold 15). Drivers by points: if/else 23, boolean chains 3, loops 3, match/switch 3 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/web/console/inspect.rs"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"b755dc2342e69014e0218806d8f2e6a7b50e7e0f96802fcdef27038f521caa47"}},{"ruleId":"D2","level":"warning","message":{"text":"css_stylesheet::split_top_level_rules (cognitive 32): css_stylesheet::split_top_level_rules has cognitive complexity 32 (threshold 15). Drivers by points: if/else 21, loops 7, boolean chains 4 (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":"ext/web/css_stylesheet.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"114e794d8dd32b9919fcb8081a877a3764e456e65350694f41ba21abd41ed0ca"}},{"ruleId":"D2","level":"warning","message":{"text":"console::js_parse_float (cognitive 32): console::js_parse_float has cognitive complexity 32 (threshold 15). Drivers by points: if/else 16, boolean chains 10, loops 6 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/web/console/mod.rs"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"a88e3176525bebe04b6b289fc1c4a587583c94e3dfa41f902d0668bb66c3aed7"}},{"ruleId":"D2","level":"warning","message":{"text":"local::url_to_local_sub_path (cognitive 32): local::url_to_local_sub_path has cognitive complexity 32 (threshold 15). Drivers by points: if/else 17, boolean chains 7, match/switch 7, loops 1 (nesting depth added 5). Most of this is not in the body itself: 12 of the 32 points are its own statements and the rest belongs to 5 function items declared inside it (short_hash, should_hash_part, has_forbidden_chars, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cache_dir/local.rs"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d4259377955735de00164c8051a380254f614739066fcb262fd7270dee7ef8c"}},{"ruleId":"D2","level":"warning","message":{"text":"RuntimeActivityStats::diff (cognitive 32): RuntimeActivityStats::diff has cognitive complexity 32 (threshold 15). Drivers by points: if/else 23, loops 9 (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":"libs/core/runtime/stats.rs"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"89a7b000a3f68f69cacc0da9fc38a8e28452146af6a8f96061eb2018dd33ead0"}},{"ruleId":"D2","level":"warning","message":{"text":"extension_set::into_sources_and_source_maps (cognitive 32): extension_set::into_sources_and_source_maps has cognitive complexity 32 (threshold 15). Drivers by points: if/else 19, loops 11, boolean chains 2 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/core/extension_set.rs"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"639760c7ce80d021f72fa0cee4b99eb8edd3e1bcfd4babb8f6a55b597a37a28e"}},{"ruleId":"D2","level":"warning","message":{"text":"deno_dotenv::apply_value_substitution (cognitive 32): deno_dotenv::apply_value_substitution has cognitive complexity 32 (threshold 15). Drivers by points: if/else 23, loops 8, boolean chains 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/dotenv/lib.rs"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b56982032ab7e5438fc6e2998acc7eea3d065ab6547d5c43589ef710bcaa9bb"}},{"ruleId":"D2","level":"warning","message":{"text":"NodeResolver::finalize_resolution (cognitive 32): NodeResolver::finalize_resolution has cognitive complexity 32 (threshold 15). Drivers by points: if/else 20, match/switch 6, boolean chains 3, loops 3 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/node_resolver/resolution.rs"},"region":{"startLine":802}}}],"partialFingerprints":{"codehealthFindingId/v1":"c35a0e0a59c525aaf76266b36c9a9a448c1c70f8ead863d7d0df8ba9b27530b7"}},{"ruleId":"D2","level":"warning","message":{"text":"bun_lockfile_import::bun_lock_to_deno_lock_v5 (cognitive 32): bun_lockfile_import::bun_lock_to_deno_lock_v5 has cognitive complexity 32 (threshold 15). Drivers by points: if/else 25, loops 6, match/switch 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":"libs/resolver/bun_lockfile_import.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dd3fb49aaa38acfc062a5f100692e3f9b9e93c7154cbb7f7c689ddb671331bb"}},{"ruleId":"D2","level":"warning","message":{"text":"_dump (cognitive 32): _dump has cognitive complexity 32 (threshold 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":"cli/js/40_lint.js"},"region":{"startLine":1455}}}],"partialFingerprints":{"codehealthFindingId/v1":"2938d07db3317267963801f420f40ebf21759370bc41dfefe39ec7ef0c86bac0"}},{"ruleId":"D2","level":"warning","message":{"text":"CompletionEntryDetails::as_completion_item (cognitive 31): CompletionEntryDetails::as_completion_item has cognitive complexity 31 (threshold 15). Drivers by points: if/else 26, match/switch 3, loops 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/lsp/tsc.rs"},"region":{"startLine":3992}}}],"partialFingerprints":{"codehealthFindingId/v1":"429fc508d98078f10dc1e7f40eb9c82f90d2317e062114351895877eae1fa2d2"}},{"ruleId":"D2","level":"warning","message":{"text":"upgrade::upgrade (cognitive 31): upgrade::upgrade has cognitive complexity 31 (threshold 15). Drivers by points: if/else 28, boolean chains 2, match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/upgrade.rs"},"region":{"startLine":985}}}],"partialFingerprints":{"codehealthFindingId/v1":"48163b6a78d2dc0aa2b3ab284f663dc8b609fe35fe1917c616d8a639013db951"}},{"ruleId":"D2","level":"warning","message":{"text":"tsc::parse_code_actions (cognitive 31): tsc::parse_code_actions has cognitive complexity 31 (threshold 15). Drivers by points: if/else 26, loops 5 (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":"cli/lsp/tsc.rs"},"region":{"startLine":3622}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ac011b557e519cb56ef69a324c6a985c1037f2f53e7d56dfef3fb7e732e5f42"}},{"ruleId":"D2","level":"warning","message":{"text":"tsc::get_parameters_from_parts (cognitive 31): tsc::get_parameters_from_parts has cognitive complexity 31 (threshold 15). Drivers by points: if/else 25, boolean chains 5, 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":"cli/lsp/tsc.rs"},"region":{"startLine":3919}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c8de2ff760c3e7fd71e9c7dd66759fbd4e8a78fb333fa0c7112c0e7bdbc8f5c"}},{"ruleId":"D2","level":"warning","message":{"text":"deno::resolve_flags_and_init (cognitive 31): deno::resolve_flags_and_init has cognitive complexity 31 (threshold 15). Drivers by points: if/else 21, match/switch 8, boolean chains 2 (nesting depth added 9). 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":"cli/lib.rs"},"region":{"startLine":952}}}],"partialFingerprints":{"codehealthFindingId/v1":"8787cf8de4d33c9be0efaae2a552e9fcab2be72fe857fb2599dfe0b437e33c3f"}},{"ruleId":"D2","level":"warning","message":{"text":"local::sync_types_command (cognitive 31): local::sync_types_command has cognitive complexity 31 (threshold 15). Drivers by points: if/else 16, match/switch 6, loops 5, boolean chains 4 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/installer/local.rs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"7009ddde07d2623e367d274545a4f9453aa35e7de53a470f06de06be747aff6d"}},{"ruleId":"D2","level":"warning","message":{"text":"session::on_frame_recv_callback (cognitive 31): session::on_frame_recv_callback has cognitive complexity 31 (threshold 15). Drivers by points: if/else 29, 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":"ext/node/ops/http2/session.rs"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cbba06e199a89abc904721dfc121e5f47a3ee7e9fb5e98b4999c5a066c5d422"}},{"ruleId":"D2","level":"warning","message":{"text":"parse::parse_long_flag (cognitive 31): parse::parse_long_flag has cognitive complexity 31 (threshold 15). Drivers by points: if/else 17, boolean chains 6, loops 4, match/switch 4 (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":"libs/cli_parser/src/parse.rs"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"8750c52f98035dc9e2cfa17a28094202569462580fd82a6980a39b7beaac0a16"}},{"ruleId":"D2","level":"warning","message":{"text":"ModuleMap::drain_dyn_imports (cognitive 31): ModuleMap::drain_dyn_imports has cognitive complexity 31 (threshold 15). Drivers by points: match/switch 16, if/else 14, loops 1 (nesting depth added 21). 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":"libs/core/modules/map.rs"},"region":{"startLine":2520}}}],"partialFingerprints":{"codehealthFindingId/v1":"64b83808c5282f2fa4ba3855989936156f1ce5b188e647c0929d89b6de30d5b0"}},{"ruleId":"D2","level":"warning","message":{"text":"tty::uv_tty_set_mode (cognitive 31): tty::uv_tty_set_mode has cognitive complexity 31 (threshold 15). Drivers by points: if/else 21, loops 4, boolean chains 3, match/switch 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":"libs/core/uv_compat/tty.rs"},"region":{"startLine":1506}}}],"partialFingerprints":{"codehealthFindingId/v1":"db3bc0d089e1d9c63ba3ce45eed456ef2e96f9e7c68748580692895e448e3b9b"}},{"ruleId":"D2","level":"warning","message":{"text":"object_wrap::generate_impl_ops (cognitive 31): object_wrap::generate_impl_ops has cognitive complexity 31 (threshold 15). Drivers by points: if/else 29, loops 1, match/switch 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":"libs/ops/op2/object_wrap.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"7028865c3cd414ade20ecef0af72ced8d42e684de455c92c74f07193f9ac55b2"}},{"ruleId":"D2","level":"warning","message":{"text":"NpmReqResolver::resolve_if_for_npm_pkg (cognitive 31): NpmReqResolver::resolve_if_for_npm_pkg has cognitive complexity 31 (threshold 15). Drivers by points: if/else 15, match/switch 15, boolean chains 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/resolver/npm/mod.rs"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"c11ba92a98c9683a095320bc57f523ce4c7f8f306493e5a12b84e880a190d3fc"}},{"ruleId":"D2","level":"warning","message":{"text":"postMessage (cognitive 31): postMessage has cognitive complexity 31 (threshold 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":"ext/web/13_message_port.js"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"48e8b827ff7766b7b08d6453965bac39330a885b07c3db03e610a8d513a2e2f4"}},{"ruleId":"D2","level":"warning","message":{"text":"coverage::cover_files (cognitive 30): coverage::cover_files has cognitive complexity 30 (threshold 15). Drivers by points: if/else 13, match/switch 12, boolean chains 3, loops 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/coverage/mod.rs"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b442c3e62e8cbb82cdffd234d8767565f85b6d484182ed7208cfa1bb0c084af"}},{"ruleId":"D2","level":"warning","message":{"text":"tsc::load_for_tsc (cognitive 30): tsc::load_for_tsc has cognitive complexity 30 (threshold 15). Drivers by points: if/else 22, match/switch 8 (nesting depth added 12). Of this number, 29 points are the body\u0027s own statements and 1 belong to one function item declared inside it. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tsc/mod.rs"},"region":{"startLine":1140}}}],"partialFingerprints":{"codehealthFindingId/v1":"862e1a2732520a3369c44ba7548ffb8480e7e7d4d5badf328ebfa7b94a99d3b0"}},{"ruleId":"D2","level":"warning","message":{"text":"registries::get_completion_type (cognitive 30): registries::get_completion_type has cognitive complexity 30 (threshold 15). Drivers by points: if/else 27, match/switch 2, loops 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/lsp/registries.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed5e6035908ab6f610aeef23bbf2b151357484af6e7f6177509416fb031391af"}},{"ruleId":"D2","level":"warning","message":{"text":"execution::as_queue_and_filters (cognitive 30): execution::as_queue_and_filters has cognitive complexity 30 (threshold 15). Drivers by points: if/else 25, loops 3, boolean chains 2 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/lsp/testing/execution.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7aeee94a3c46ba09051ab4215db1478431974902d0626b91173d13c0c9f62ce"}},{"ruleId":"D2","level":"warning","message":{"text":"type_checker::get_leading_comments (cognitive 30): type_checker::get_leading_comments has cognitive complexity 30 (threshold 15). Drivers by points: if/else 16, loops 11, match/switch 2, boolean chains 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/type_checker.rs"},"region":{"startLine":1681}}}],"partialFingerprints":{"codehealthFindingId/v1":"15c5ffc3c68669db00e832f663f538e63d4c737e2f46867e3ebafc414b0345e7"}},{"ruleId":"D2","level":"warning","message":{"text":"deno_crypto::derive_bits_sync (cognitive 30): deno_crypto::derive_bits_sync has cognitive complexity 30 (threshold 15). Drivers by points: if/else 15, match/switch 15 (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":"ext/crypto/lib.rs"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdbd89d0a4507b9d6ebe09d6f59f122e759a069971835e2b0d5c0b6731028374"}},{"ruleId":"D2","level":"warning","message":{"text":"subtle_decrypt::run (cognitive 30): subtle_decrypt::run has cognitive complexity 30 (threshold 15). Drivers by points: if/else 22, match/switch 5, boolean chains 3 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/crypto/subtle_decrypt.rs"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e8af0f61cc17e5ef18c219a4732636348062ad66f65883ff2b7eb66478cb80d"}},{"ruleId":"D2","level":"warning","message":{"text":"udp::resolve_ipv6_interface (cognitive 30): udp::resolve_ipv6_interface has cognitive complexity 30 (threshold 15). Drivers by points: if/else 27, loops 2, boolean chains 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/node/ops/udp.rs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fc0347f415d6bf0fbeb121efe7d9fe566d86af70e21e587a555d133da2c550a"}},{"ruleId":"D2","level":"warning","message":{"text":"inspect::format_special_array (cognitive 30): inspect::format_special_array has cognitive complexity 30 (threshold 15). Drivers by points: if/else 25, loops 3, boolean chains 1, match/switch 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/web/console/inspect.rs"},"region":{"startLine":3028}}}],"partialFingerprints":{"codehealthFindingId/v1":"482b12f0248b40dcb8df96c319a33db822a61485b523c8d2ce0765c0e8856a02"}},{"ruleId":"D2","level":"warning","message":{"text":"error_fmt::improve_stack (cognitive 30): error_fmt::improve_stack has cognitive complexity 30 (threshold 15). Drivers by points: if/else 20, match/switch 6, 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":"ext/web/console/error_fmt.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4ce395c90ed34e58258b919dc9a18f055e063ba97b0a57038842724a4835608"}},{"ruleId":"D2","level":"warning","message":{"text":"stream::uv_try_writev (cognitive 30): stream::uv_try_writev has cognitive complexity 30 (threshold 15). Drivers by points: if/else 23, loops 4, match/switch 2, boolean chains 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/core/uv_compat/stream.rs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"39ebe43a47d7e10c7f3052c1c076af5e1b83ee7dae2bc5bd44b30bf892a6dadf"}},{"ruleId":"D2","level":"warning","message":{"text":"CjsModuleExportAnalyzer::resolve (cognitive 30): CjsModuleExportAnalyzer::resolve has cognitive complexity 30 (threshold 15). Drivers by points: if/else 26, boolean chains 2, loops 1, match/switch 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/node_resolver/analyze.rs"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"19fb8da3c93e3b57b7c1e16e485a91c33623240e4e067404202a4ac57c37127c"}},{"ruleId":"D2","level":"warning","message":{"text":"ByonmNpmResolver::resolve_folder_in_root_node_modules (cognitive 30): ByonmNpmResolver::resolve_folder_in_root_node_modules has cognitive complexity 30 (threshold 15). Drivers by points: if/else 29, loops 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/resolver/npm/byonm.rs"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbef7d7c4ec5744539a886b0b5032e3222abbd900570d51aa8d44852775d7079"}},{"ruleId":"D2","level":"warning","message":{"text":"decode (cognitive 30): decode has cognitive complexity 30 (threshold 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":"ext/web/08_text_encoding.js"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"4290af31898a431af72389336c3e4519f7dff05bfcf76246bbd72cf379c15133"}},{"ruleId":"D2","level":"warning","message":{"text":"WatchEnvTracker::load_env_file_inner (cognitive 29): WatchEnvTracker::load_env_file_inner has cognitive complexity 29 (threshold 15). Drivers by points: if/else 22, match/switch 5, loops 2 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/util/env.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"625490cee391ca85847476e2c791a8819d527c35a9172f2a374369f54d260f33"}},{"ruleId":"D2","level":"warning","message":{"text":"desktop::apply_desktop_config_to_flags (cognitive 29): desktop::apply_desktop_config_to_flags has cognitive complexity 29 (threshold 15). Drivers by points: if/else 19, boolean chains 7, match/switch 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/desktop.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"f020dac5f0e687374cb65fd4d98e76df632f77723b832e3e046a4d09b930fa55"}},{"ruleId":"D2","level":"warning","message":{"text":"virtual_fs::vfs_as_display_tree (cognitive 29): virtual_fs::vfs_as_display_tree has cognitive complexity 29 (threshold 15). Drivers by points: if/else 17, match/switch 8, loops 4 (nesting depth added 3). Most of this is not in the body itself: 9 of the 29 points are its own statements and the rest belongs to 8 function items declared inside it (analyze_dir, file_size::add_offset_to_size, dir_size, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/standalone/virtual_fs.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b28044815a98ab028dec42b81cdfae576519cbe384dc1f3efaab57b547d2a6f"}},{"ruleId":"D2","level":"warning","message":{"text":"editor::highlight_line (cognitive 29): editor::highlight_line has cognitive complexity 29 (threshold 15). Drivers by points: match/switch 14, if/else 12, boolean chains 2, loops 1 (nesting depth added 17). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/repl/editor.rs"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"99de0f8cd23761a6bac0635c30c9cf1bb62f709d3e3d52aac83d2ec0d74d5f48"}},{"ruleId":"D2","level":"warning","message":{"text":"TLSWrapInner::dispatch_clear_out_callbacks (cognitive 29): TLSWrapInner::dispatch_clear_out_callbacks has cognitive complexity 29 (threshold 15). Drivers by points: if/else 28, 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":"ext/node/ops/tls_wrap.rs"},"region":{"startLine":1700}}}],"partialFingerprints":{"codehealthFindingId/v1":"d28cc8ec936a3f9023c68b03291fa1501883869ec49ac987cf4c3af9ef2bea19"}},{"ruleId":"D2","level":"warning","message":{"text":"parse::resolve_subcommand (cognitive 29): parse::resolve_subcommand has cognitive complexity 29 (threshold 15). Drivers by points: if/else 23, boolean chains 5, 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":"libs/cli_parser/src/parse.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"87591e68e327bc103ec3f66d57119f6e859234b81acbb505249bbe5338afc89b"}},{"ruleId":"D2","level":"warning","message":{"text":"UvLoopInner::has_alive_handles (cognitive 29): UvLoopInner::has_alive_handles has cognitive complexity 29 (threshold 15). Drivers by points: if/else 15, boolean chains 7, loops 7 (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":"libs/core/uv_compat.rs"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec0408e222bd756a0c8617a2a7040804795640c9e142d6d12d498243bc78934f"}},{"ruleId":"D2","level":"warning","message":{"text":"error::format_frame (cognitive 29): error::format_frame has cognitive complexity 29 (threshold 15). Drivers by points: if/else 25, boolean chains 4 (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":"libs/core/error.rs"},"region":{"startLine":2449}}}],"partialFingerprints":{"codehealthFindingId/v1":"b33e60786b2f785e616fa6a388f252ace1708d005cfd57fa0b8130953774556d"}},{"ruleId":"D2","level":"warning","message":{"text":"listOnTimeout (cognitive 29): listOnTimeout has cognitive complexity 29 (threshold 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":"libs/core/02_timers.js"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a09f04018fc586a73151d8c863e26cda71e9f5ddea5e125d7319a75a1ae9c68"}},{"ruleId":"D2","level":"warning","message":{"text":"(computed) (cognitive 29): (computed) has cognitive complexity 29 (threshold 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":"ext/websocket/01_websocket.js"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"85128045369d3ae2c2cbc1631c75a5af2e1eecf9bc551165f9f60fd774dfc286"}},{"ruleId":"D2","level":"warning","message":{"text":"request (cognitive 29): request has cognitive complexity 29 (threshold 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":"ext/web/locks.js"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"51294a74b024647b10525c5dd4bef270405acbf9baade27d049491af9c0489e8"}},{"ruleId":"D2","level":"warning","message":{"text":"composedPath (cognitive 29): composedPath has cognitive complexity 29 (threshold 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":"ext/web/02_event.js"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"6466cce658b5ec0624caa19d471ff47c0f92277c1723dcb3b81547180029fca7"}},{"ruleId":"D2","level":"warning","message":{"text":"innerInvokeEventListeners (cognitive 29): innerInvokeEventListeners has cognitive complexity 29 (threshold 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":"ext/web/02_event.js"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cf10e05ea1a1889a4f2115f16ca225d6a7050d399ead984612e15f039976f7b"}},{"ruleId":"D2","level":"warning","message":{"text":"#loop (cognitive 29): #loop has cognitive complexity 29 (threshold 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":"ext/fetch/27_eventsource.js"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1d9c8d1b6642900f0b4970038eab84e0b8a7b0acfb3105e0083e8df956d5569"}},{"ruleId":"D2","level":"warning","message":{"text":"httpRedirectFetch (cognitive 29): httpRedirectFetch has cognitive complexity 29 (threshold 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":"ext/fetch/26_fetch.js"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"e206e9b10dd6baa01eab8663f4d21c88b6d19e64501893b150ea2ed8b4a5c8d3"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkspaceSettings::from_raw_settings (cognitive 28): WorkspaceSettings::from_raw_settings has cognitive complexity 28 (threshold 15). Drivers by points: if/else 27, match/switch 1 (nesting depth added 12). Of this number, 26 points are the body\u0027s own statements and 2 belong to one function item declared inside it. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/lsp/config.rs"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"66cf5fa0ff551316922c8d3c08aba3f3bfd04f10d1ccff229407e0547a9e034c"}},{"ruleId":"D2","level":"warning","message":{"text":"NavigationTree::collect_document_symbols (cognitive 28): NavigationTree::collect_document_symbols has cognitive complexity 28 (threshold 15). Drivers by points: if/else 20, loops 3, match/switch 3, boolean chains 2 (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":"cli/lsp/tsc.rs"},"region":{"startLine":2526}}}],"partialFingerprints":{"codehealthFindingId/v1":"f247ff6739f623ce2ebd431da7c671b8321496b1f5bc28d443754fc367f3bbad"}},{"ruleId":"D2","level":"warning","message":{"text":"CliModuleLoader::prepare_load (cognitive 28): CliModuleLoader::prepare_load has cognitive complexity 28 (threshold 15). Drivers by points: if/else 23, boolean chains 5 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/module_loader.rs"},"region":{"startLine":1569}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ab2056fb414bafd2a5bfc134637449e86f997f16f377be7adab1b68252253a3"}},{"ruleId":"D2","level":"warning","message":{"text":"DenoCompileBinaryWriter::fill_npm_vfs (cognitive 28): DenoCompileBinaryWriter::fill_npm_vfs has cognitive complexity 28 (threshold 15). Drivers by points: if/else 18, loops 8, boolean chains 1, match/switch 1 (nesting depth added 15). Of this number, 27 points are the body\u0027s own statements and 1 belong to one function item declared inside it. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/standalone/binary.rs"},"region":{"startLine":1303}}}],"partialFingerprints":{"codehealthFindingId/v1":"c093b14a0cb94a39c0c1b29bb48b1915dfdfea0f0956e64de324dfdffcdb8584"}},{"ruleId":"D2","level":"warning","message":{"text":"Transform::visit_mut_program (cognitive 28): Transform::visit_mut_program has cognitive complexity 28 (threshold 15). Drivers by points: match/switch 22, if/else 4, loops 2 (nesting depth added 18). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/util/extract.rs"},"region":{"startLine":1032}}}],"partialFingerprints":{"codehealthFindingId/v1":"57a873afdc3dbd3597ccb722989ff348ddfd54e912eb6b16a1fff3150f6c79e0"}},{"ruleId":"D2","level":"warning","message":{"text":"outdated::choose_new_version_req (cognitive 28): outdated::choose_new_version_req has cognitive complexity 28 (threshold 15). Drivers by points: if/else 24, boolean chains 4 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/pm/outdated/mod.rs"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5e630adfe37a354a80d8b7d9cd8daca4ce2e290e6d3e64ded30fe6bb10fe02b"}},{"ruleId":"D2","level":"warning","message":{"text":"publish::get_auth_headers (cognitive 28): publish::get_auth_headers has cognitive complexity 28 (threshold 15). Drivers by points: loops 13, if/else 11, match/switch 4 (nesting depth added 16). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/publish/mod.rs"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca9bb72fcd8437cd1107a1dcb13aa99fa8fdbe930f5f48697ae35d72cd502e7f"}},{"ruleId":"D2","level":"warning","message":{"text":"local::categorize_installed_npm_deps (cognitive 28): local::categorize_installed_npm_deps has cognitive complexity 28 (threshold 15). Drivers by points: if/else 16, loops 6, match/switch 6 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/installer/local.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa500a538bc20b40995496d5e5bd700a1c79db5cb0f67195e234d0bffea23066"}},{"ruleId":"D2","level":"warning","message":{"text":"denort_desktop::v8_to_laufey_value (cognitive 28): denort_desktop::v8_to_laufey_value has cognitive complexity 28 (threshold 15). Drivers by points: if/else 23, loops 5 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/rt_desktop/lib.rs"},"region":{"startLine":939}}}],"partialFingerprints":{"codehealthFindingId/v1":"429b6beb7f78b080aead0597b188aaafba418e1180d5f49f5c2b89996cf87beb"}},{"ruleId":"D2","level":"warning","message":{"text":"http_next::write_h1_stream_response_shared (cognitive 28): http_next::write_h1_stream_response_shared has cognitive complexity 28 (threshold 15). Drivers by points: if/else 14, match/switch 9, boolean chains 4, 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":"ext/http/http_next.rs"},"region":{"startLine":4170}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e5f3e9caa8ad88fa53abcf09acf405b1e2b2ef87f7d25deb9b326ae342dc747"}},{"ruleId":"D2","level":"warning","message":{"text":"WasiContext::fd_write (cognitive 28): WasiContext::fd_write has cognitive complexity 28 (threshold 15). Drivers by points: if/else 14, loops 8, match/switch 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":"ext/node/ops/wasi.rs"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ad6bbcad2c4ed6c3e6eef09303c132f478d0b7a4cbfd39cf0cf2caa8bf2b05"}},{"ruleId":"D2","level":"warning","message":{"text":"stream_wrap::on_uv_read (cognitive 28): stream_wrap::on_uv_read has cognitive complexity 28 (threshold 15). Drivers by points: if/else 27, 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":"ext/node/ops/stream_wrap.rs"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"8276657b9614f8f4650772b104d6763997b7da3dab9abe5d0dbd219ac63ca214"}},{"ruleId":"D2","level":"warning","message":{"text":"assert::get_first_expression (cognitive 28): assert::get_first_expression has cognitive complexity 28 (threshold 15). Drivers by points: if/else 22, boolean chains 4, loops 1, 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":"ext/node/ops/assert.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"187d12224ddae297fb212c6ff2ca3f7353a5ab90a1be213cdb06e30e42524ea6"}},{"ruleId":"D2","level":"warning","message":{"text":"FileCollector::collect_file_patterns (cognitive 28): FileCollector::collect_file_patterns has cognitive complexity 28 (threshold 15). Drivers by points: if/else 17, loops 6, boolean chains 3, match/switch 2 (nesting depth added 9). Of this number, 26 points are the body\u0027s own statements and 2 belong to one function item declared inside it. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/config/glob/collector.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bde6b0f44d71b09e8399f9dbc667275153e6f726d993d5c2318d289276076fc"}},{"ruleId":"D2","level":"warning","message":{"text":"NodeResolver::resolve_package_target_inner (cognitive 28): NodeResolver::resolve_package_target_inner has cognitive complexity 28 (threshold 15). Drivers by points: if/else 15, match/switch 7, loops 4, boolean chains 2 (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":"libs/node_resolver/resolution.rs"},"region":{"startLine":1642}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e2dcf0ffea395beafa67df06fedbff32bc0dc4e4a92744d00428048dca56577"}},{"ruleId":"D2","level":"warning","message":{"text":"NodeResolver::legacy_main_resolve (cognitive 28): NodeResolver::legacy_main_resolve has cognitive complexity 28 (threshold 15). Drivers by points: if/else 20, match/switch 5, loops 2, 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":"libs/node_resolver/resolution.rs"},"region":{"startLine":2239}}}],"partialFingerprints":{"codehealthFindingId/v1":"31591c66b7aa53637b64c9e83872656c6bd5c47bb1d32f44314d107db4ad563a"}},{"ruleId":"D2","level":"warning","message":{"text":"NpmPackageVersionResolver::strongest_trust_evidence_before (cognitive 28): NpmPackageVersionResolver::strongest_trust_evidence_before has cognitive complexity 28 (threshold 15). Drivers by points: if/else 23, loops 3, boolean chains 2 (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":"libs/npm/resolution/common.rs"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"147b0f70e3c3756d6de67fcc8d4fbe0282028c11abeaa39f54288a63101d9f4b"}},{"ruleId":"D2","level":"warning","message":{"text":"dispatch_fast::generate_dispatch_fast (cognitive 28): dispatch_fast::generate_dispatch_fast has cognitive complexity 28 (threshold 15). Drivers by points: if/else 23, boolean chains 4, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/ops/op2/dispatch_fast.rs"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"208b76fad6a1b3352ba42fe68b065a189ef62db415f957b13125b396eaa243b7"}},{"ruleId":"D2","level":"warning","message":{"text":"checkObject (cognitive 28): checkObject has cognitive complexity 28 (threshold 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":"tools/lint.js"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"48bb93f4e77da8c77964b29f2958f08582306c72d06990a1f4598007b4e86481"}},{"ruleId":"D2","level":"warning","message":{"text":"#handle (cognitive 28): #handle has cognitive complexity 28 (threshold 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":"ext/fetch/27_eventsource.js"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffeb4e5839cd7dc933b17c7648ae6a89a4530f9a3640b37257dadddbbc1b6099"}},{"ruleId":"D2","level":"warning","message":{"text":"GraphDiagnosticsCollector::collect_diagnostics_for_graph (cognitive 27): GraphDiagnosticsCollector::collect_diagnostics_for_graph has cognitive complexity 27 (threshold 15). Drivers by points: if/else 15, loops 8, boolean chains 2, match/switch 2 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/publish/graph.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"b318585da9fbd1bfd93ee309d7a7f59ede1b736a51c04417f8c882efefa6108d"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskRunner::run_tasks_in_parallel (cognitive 27): TaskRunner::run_tasks_in_parallel has cognitive complexity 27 (threshold 15). Drivers by points: if/else 15, loops 5, match/switch 5, 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":"cli/tools/task.rs"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"020b31eecfd28ff24f71147557c737ef91ddd8cd33999ca4ed78fdb0154e1c3a"}},{"ruleId":"D2","level":"warning","message":{"text":"ignore_directives::parse_range_ignore_directives (cognitive 27): ignore_directives::parse_range_ignore_directives has cognitive complexity 27 (threshold 15). Drivers by points: if/else 22, 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":"cli/tools/coverage/ignore_directives.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0040597bc996ddac8b7eedaf6e96f936481b2a1b6bf31ad8cb40bde83290570"}},{"ruleId":"D2","level":"warning","message":{"text":"analysis::import_map_lookup_inner (cognitive 27): analysis::import_map_lookup_inner has cognitive complexity 27 (threshold 15). Drivers by points: if/else 18, boolean chains 4, match/switch 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":"cli/lsp/analysis.rs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce26d9f02dfb01d5300016d6590f273f6c3950cb4f2891cf41d10de3cd56f0e3"}},{"ruleId":"D2","level":"warning","message":{"text":"collectors::parse_test_context_param (cognitive 27): collectors::parse_test_context_param has cognitive complexity 27 (threshold 15). Drivers by points: if/else 16, match/switch 8, loops 2, 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":"cli/lsp/testing/collectors.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8f66565d5e53399ccaa0ba50e4136d72c056f4ac5b277a09a33a18c834813fd"}},{"ruleId":"D2","level":"warning","message":{"text":"doc::doc (cognitive 27): doc::doc has cognitive complexity 27 (threshold 15). Drivers by points: if/else 18, loops 4, match/switch 4, boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/doc.rs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1a11124418e42a8439977922186e7d614e09979e1ef1f59a0df47023cea7911"}},{"ruleId":"D2","level":"warning","message":{"text":"node_interop::build_algorithm_dict_from_v8 (cognitive 27): node_interop::build_algorithm_dict_from_v8 has cognitive complexity 27 (threshold 15). Drivers by points: if/else 24, 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":"ext/crypto/node_interop.rs"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"21dd3ebde66c17f993286b9f797c7fb111d14a6acfa6991448e8a1038293cf9b"}},{"ruleId":"D2","level":"warning","message":{"text":"BiPipeRead::recv_with_fd (cognitive 27): BiPipeRead::recv_with_fd has cognitive complexity 27 (threshold 15). Drivers by points: if/else 15, loops 9, match/switch 2, boolean chains 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/io/bi_pipe.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"6785c1a98887d1d1146bb43730fdf361c78603e54fd7fe4129863e13b30574d0"}},{"ruleId":"D2","level":"warning","message":{"text":"js_native_api::napi_define_class (cognitive 27): js_native_api::napi_define_class has cognitive complexity 27 (threshold 15). Drivers by points: if/else 20, loops 3, match/switch 3, 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":"ext/napi/js_native_api.rs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae3170327692d26a593c8637f09a438985f95537a694c08654c230dc5c56f1e6"}},{"ruleId":"D2","level":"warning","message":{"text":"Session::send_pending_data (cognitive 27): Session::send_pending_data has cognitive complexity 27 (threshold 15). Drivers by points: if/else 21, loops 5, match/switch 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/node/ops/http2/session.rs"},"region":{"startLine":2547}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f1ddaf10749471371e3f83dfbf7a89b2c4849cb2c3f628e124d67ed94104728"}},{"ruleId":"D2","level":"warning","message":{"text":"inspect::format_primitive (cognitive 27): inspect::format_primitive has cognitive complexity 27 (threshold 15). Drivers by points: if/else 19, loops 6, boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/web/console/inspect.rs"},"region":{"startLine":1122}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a40024401600156db3cf82aff6f2c6ce56b70b39c45018a606099379193595a"}},{"ruleId":"D2","level":"warning","message":{"text":"Workspace::config_folders_sorted_by_dependencies (cognitive 27): Workspace::config_folders_sorted_by_dependencies has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9, loops 7, match/switch 6, 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":"libs/config/workspace/mod.rs"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"027ad2d6fa2230d2d47700c8f2da9436a912a438b020094ea7ee00d8ee4ea770"}},{"ruleId":"D2","level":"warning","message":{"text":"bindings::upgrade_snapshotted_ops_with_fast_calls (cognitive 27): bindings::upgrade_snapshotted_ops_with_fast_calls has cognitive complexity 27 (threshold 15). Drivers by points: if/else 20, loops 6, boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/core/runtime/bindings.rs"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a29e9bc20554a0f1fdfb3e0ea2e75d6026e3a8daf9868d4782b994f3a109756"}},{"ruleId":"D2","level":"warning","message":{"text":"EszipV2::from_graph::visit_module (cognitive 27): EszipV2::from_graph::visit_module has cognitive complexity 27 (threshold 15). Drivers by points: if/else 13, loops 7, match/switch 7 (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":"libs/eszip/v2.rs"},"region":{"startLine":1349}}}],"partialFingerprints":{"codehealthFindingId/v1":"34200a189aa1439d4294233fb000543866c3f57849e6222aaf6f6a06c4ced89d"}},{"ruleId":"D2","level":"warning","message":{"text":"signature::parse_generics (cognitive 27): signature::parse_generics has cognitive complexity 27 (threshold 15). Drivers by points: if/else 23, loops 3, 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":"libs/ops/op2/signature.rs"},"region":{"startLine":1228}}}],"partialFingerprints":{"codehealthFindingId/v1":"42bc9999105dec6757ebe7132b1c7a6ad7360b84b6a058d2c3ab6cc1961b7e9c"}},{"ruleId":"D2","level":"warning","message":{"text":"dispatch_slow::generate_dispatch_slow (cognitive 27): dispatch_slow::generate_dispatch_slow has cognitive complexity 27 (threshold 15). Drivers by points: if/else 25, boolean chains 2. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/ops/op2/dispatch_slow.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a7f15e3349635da20aac61b51b2791837bb1a00e210ac996b432a72fd7b1ab6"}},{"ruleId":"D2","level":"warning","message":{"text":"HttpClientAdapter::send_no_follow (cognitive 26): HttpClientAdapter::send_no_follow has cognitive complexity 26 (threshold 15). Drivers by points: if/else 20, match/switch 5, loops 1 (nesting depth added 9). Of this number, 24 points are the body\u0027s own statements and 2 belong to one function item declared inside it. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/file_fetcher.rs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"0998e8ccf2f08a77838e1d262c764313a735ed16737a90227a6047b7bd6f0c69"}},{"ruleId":"D2","level":"warning","message":{"text":"DenoTestStepCollector::visit_var_decl (cognitive 26): DenoTestStepCollector::visit_var_decl has cognitive complexity 26 (threshold 15). Drivers by points: if/else 14, match/switch 6, loops 4, boolean chains 2 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/lsp/code_lens.rs"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3b69ed80beaa01e80cdc0528f1f5cdf4c90d170d1812abd5ee96a24fd6f4f5a"}},{"ruleId":"D2","level":"warning","message":{"text":"pm::remove (cognitive 26): pm::remove has cognitive complexity 26 (threshold 15). Drivers by points: if/else 14, loops 7, match/switch 3, boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/pm/mod.rs"},"region":{"startLine":1133}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c4ad40960276064db6a3b5a4b2f7c9de2f9a029b75fee2dff491e35138c5de7"}},{"ruleId":"D2","level":"warning","message":{"text":"tsc::op_script_names (cognitive 26): tsc::op_script_names has cognitive complexity 26 (threshold 15). Drivers by points: loops 14, if/else 11, boolean chains 1 (nesting depth added 13). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/lsp/tsc.rs"},"region":{"startLine":5589}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0470071a1e75234ff5e3c9cf61eb8b70b1df2a71cb155cff764018618d408cd"}},{"ruleId":"D2","level":"warning","message":{"text":"publish::publish (cognitive 26): publish::publish has cognitive complexity 26 (threshold 15). Drivers by points: if/else 18, loops 5, match/switch 2, 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":"cli/tools/publish/mod.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"779232a387169b2fd2d65921f1e9e4ea5d9c29a38a833d97a2beed3789643b53"}},{"ruleId":"D2","level":"warning","message":{"text":"publish::collect_excluded_module_diagnostics (cognitive 26): publish::collect_excluded_module_diagnostics has cognitive complexity 26 (threshold 15). Drivers by points: if/else 16, loops 6, match/switch 4 (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":"cli/tools/publish/mod.rs"},"region":{"startLine":1216}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d81444cf4b785bda92cf9b5d552a6598cf64e45752733b22726986ac3480c65"}},{"ruleId":"D2","level":"warning","message":{"text":"tsc::resolve_specifier_for_tsc (cognitive 26): tsc::resolve_specifier_for_tsc has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13, match/switch 9, boolean chains 4 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tsc/mod.rs"},"region":{"startLine":997}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd7a98d8086521b5ef25b2f4af1f2cd4f727220aaa2c1772836f33cdb973d0d2"}},{"ruleId":"D2","level":"warning","message":{"text":"registries::validate_config (cognitive 26): registries::validate_config has cognitive complexity 26 (threshold 15). Drivers by points: if/else 15, loops 8, boolean chains 3 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/lsp/registries.rs"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc1e9ec368b82d6a4966210ce6b94eb9582b67ee81e34e4b383755edd40d3cbb"}},{"ruleId":"D2","level":"warning","message":{"text":"info::info (cognitive 26): info::info has cognitive complexity 26 (threshold 15). Drivers by points: match/switch 16, if/else 10 (nesting depth added 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. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/info.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e989a438f9049e9fe0aff873787fd1fa06ac86142e7a8ff2735251acde906e8"}},{"ruleId":"D2","level":"warning","message":{"text":"subtle_wrap_key::jwk_to_utf8 (cognitive 26): subtle_wrap_key::jwk_to_utf8 has cognitive complexity 26 (threshold 15). Drivers by points: if/else 24, loops 2 (nesting depth added 4). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/crypto/subtle_wrap_key.rs"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1dab737112aa7642ccc2ade732520a01814c782db9cdc42a6e0efb8bfe2ba4a"}},{"ruleId":"D2","level":"warning","message":{"text":"deno_node_crypto::op_node_ecdh_compute_secret (cognitive 26): deno_node_crypto::op_node_ecdh_compute_secret has cognitive complexity 26 (threshold 15). Drivers by points: if/else 25, match/switch 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":"ext/node_crypto/lib.rs"},"region":{"startLine":1338}}}],"partialFingerprints":{"codehealthFindingId/v1":"945869ebe43d7b4fbdcf073419f51e55a906a5b1c8214edee3a6168fe631abda"}},{"ruleId":"D2","level":"warning","message":{"text":"IpcJsonStream::read_msg_and_raw_fd (cognitive 26): IpcJsonStream::read_msg_and_raw_fd has cognitive complexity 26 (threshold 15). Drivers by points: if/else 22, match/switch 3, 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":"ext/process/ipc.rs"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"64dbcedd81e2ed1cccba0805c449b1f92ddf1bca886a103f8aebaecd0c7f1f52"}},{"ruleId":"D2","level":"warning","message":{"text":"tcp::uv_listen (cognitive 26): tcp::uv_listen has cognitive complexity 26 (threshold 15). Drivers by points: if/else 14, match/switch 12 (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":"libs/core/uv_compat/tcp.rs"},"region":{"startLine":1130}}}],"partialFingerprints":{"codehealthFindingId/v1":"9068fe7e922ce61534d2e10417232607fdb59366ab3270a8b017da8f8f81793f"}},{"ruleId":"D2","level":"warning","message":{"text":"SharedConn::poll_next_request_with (cognitive 26): SharedConn::poll_next_request_with has cognitive complexity 26 (threshold 15). Drivers by points: if/else 24, boolean chains 1, loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/http_h1/conn.rs"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"22dc4414de1e49c1b707e7f24976b63e16f5190f06ecbb15953bdb6bcb904b49"}},{"ruleId":"D2","level":"warning","message":{"text":"TypesVersions::map (cognitive 26): TypesVersions::map has cognitive complexity 26 (threshold 15). Drivers by points: if/else 21, loops 4, boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/node_resolver/resolution.rs"},"region":{"startLine":2973}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4dd772e2077fab90679b06808a20a5c62bb6a69cfaf5c3b7531ac47cb01ef39"}},{"ruleId":"D2","level":"warning","message":{"text":"PackumentIndexer::on_operator (cognitive 26): PackumentIndexer::on_operator has cognitive complexity 26 (threshold 15). Drivers by points: if/else 21, match/switch 3, 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":"libs/npm/fast_registry_json.rs"},"region":{"startLine":1172}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3f1b0a716666c7096daf516599ac3b01df5393775221c869dbb77682ac48544"}},{"ruleId":"D2","level":"warning","message":{"text":"GraphDependencyResolver::apply_dedup_mappings (cognitive 26): GraphDependencyResolver::apply_dedup_mappings has cognitive complexity 26 (threshold 15). Drivers by points: if/else 16, loops 10 (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":"libs/npm/resolution/graph.rs"},"region":{"startLine":1776}}}],"partialFingerprints":{"codehealthFindingId/v1":"48302981748de55a53ee4a0df8be7d7857e0950cf2a418db01966e5f81c97af4"}},{"ruleId":"D2","level":"warning","message":{"text":"dispatch_async::generate_dispatch_async (cognitive 26): dispatch_async::generate_dispatch_async has cognitive complexity 26 (threshold 15). Drivers by points: if/else 23, boolean chains 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":"libs/ops/op2/dispatch_async.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"b71e861e7fe9f50e0fd46ed1cd2035bec55d1b6a604a5f9b2d8fa16bd189cef2"}},{"ruleId":"D2","level":"warning","message":{"text":"NetDescriptor::parse_inner (cognitive 26): NetDescriptor::parse_inner has cognitive complexity 26 (threshold 15). Drivers by points: if/else 23, boolean chains 2, match/switch 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/permissions/lib.rs"},"region":{"startLine":2068}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cb8320a34ac16cb9d30251af2e51bb1d6abc7c3fd44236f64265cd42068f8aa"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 26): (anonymous) has cognitive complexity 26 (threshold 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":"runtime/js/99_main.js"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a4e2e210b4bf4e02e3b01c4bea0a36081c8b642a605ad0c42158876d3d1bff4"}},{"ruleId":"D2","level":"warning","message":{"text":"bootstrapWorkerRuntime (cognitive 26): bootstrapWorkerRuntime has cognitive complexity 26 (threshold 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":"runtime/js/99_main.js"},"region":{"startLine":1145}}}],"partialFingerprints":{"codehealthFindingId/v1":"9caad19eab89195e95c7e0042676cdf966166d85e3ca29d834c55b0fba9a8bde"}},{"ruleId":"D2","level":"warning","message":{"text":"measure (cognitive 26): measure has cognitive complexity 26 (threshold 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":"ext/web/15_performance.js"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fc238318abb0c11ce3481dbf6146f91d0123f19a776d9317dfbefcf97048443"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 26): (anonymous) has cognitive complexity 26 (threshold 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":"ext/image/01_image.js"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"25f0c6035ece76971f381f64288d7427d36ccc3c04916ffab20e1bc842ee14a3"}},{"ruleId":"D2","level":"warning","message":{"text":"DepManager::load_latest_versions (cognitive 25): DepManager::load_latest_versions has cognitive complexity 25 (threshold 15). Drivers by points: if/else 17, loops 5, match/switch 2, boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/pm/deps.rs"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"e63c41c33ad4b8f36c197ff17738eaa8a039ffa1961744b6f694d527be0737d6"}},{"ruleId":"D2","level":"warning","message":{"text":"DrawThread::maybe_start_draw_thread (cognitive 25): DrawThread::maybe_start_draw_thread has cognitive complexity 25 (threshold 15). Drivers by points: if/else 18, loops 5, boolean chains 2 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/util/draw_thread.rs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"43c31985b6b8b4d2ec9dc697cb00de7fca2d578c8764275c13c8e78138e764ca"}},{"ruleId":"D2","level":"warning","message":{"text":"upgrade::try_delta_upgrade (cognitive 25): upgrade::try_delta_upgrade has cognitive complexity 25 (threshold 15). Drivers by points: if/else 19, match/switch 5, 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":"cli/tools/upgrade.rs"},"region":{"startLine":1659}}}],"partialFingerprints":{"codehealthFindingId/v1":"c34a2fdce719fd54f7a1ae8576ab24faad6fb4557d5c83a08b0dde316f119cb3"}},{"ruleId":"D2","level":"warning","message":{"text":"framework::strip_comments (cognitive 25): framework::strip_comments has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12, loops 9, match/switch 3, 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":"cli/tools/framework.rs"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"a421ed8afeca4065574d226a6aa6ac8065d31fb56ab11f9387c8ec91a65b9f5f"}},{"ruleId":"D2","level":"warning","message":{"text":"bundle::prepare_inputs (cognitive 25): bundle::prepare_inputs has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13, loops 12 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/bundle/mod.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"59c976ecfbe4512f38e6b2ed38d569544d3e136de988ea6b86d9f19250d2ed67"}},{"ruleId":"D2","level":"warning","message":{"text":"EmbeddedModuleLoader::load (cognitive 25): EmbeddedModuleLoader::load has cognitive complexity 25 (threshold 15). Drivers by points: match/switch 15, if/else 9, boolean chains 1 (nesting depth added 10). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/rt/run.rs"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"96acec847a517438be8406bd5c20cb18e81b570af94dd92c820c6b33331eaccd"}},{"ruleId":"D2","level":"warning","message":{"text":"WasiContext::path_open (cognitive 25): WasiContext::path_open has cognitive complexity 25 (threshold 15). Drivers by points: if/else 14, match/switch 7, boolean chains 4 (nesting depth added 6). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/node/ops/wasi.rs"},"region":{"startLine":1378}}}],"partialFingerprints":{"codehealthFindingId/v1":"68817c04c4e3b0ad07eb168ca751a64a8854d44fa6e69fb01927349aef13fac3"}},{"ruleId":"D2","level":"warning","message":{"text":"impl_::serialize_v8_value (cognitive 25): impl_::serialize_v8_value has cognitive complexity 25 (threshold 15). Drivers by points: if/else 19, loops 4, 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":"ext/node/ops/ipc.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a531abff5ee96ba5be447bbbe24cb5fa6a8aaaefec91e80c664c7abdb79b875"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalCacheManifest::insert_data (cognitive 25): LocalCacheManifest::insert_data has cognitive complexity 25 (threshold 15). Drivers by points: if/else 20, loops 3, 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":"libs/cache_dir/local.rs"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"797e268572b578d4d29a2796ba76a6eee426e446ca616be4dc8ad56d9f2c0dc7"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfigFile::to_exports_config (cognitive 25): ConfigFile::to_exports_config has cognitive complexity 25 (threshold 15). Drivers by points: if/else 17, match/switch 4, loops 3, boolean chains 1 (nesting depth added 6). Most of this is not in the body itself: 6 of the 25 points are its own statements and the rest belongs to 2 function items declared inside it (validate_key, validate_value). 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":"libs/config/deno_json/mod.rs"},"region":{"startLine":2022}}}],"partialFingerprints":{"codehealthFindingId/v1":"b75904cfa07c81fb78dc70fe868c283af1443f1177789c47e2076e36fc36d78a"}},{"ruleId":"D2","level":"warning","message":{"text":"stream::uv_writev_owned (cognitive 25): stream::uv_writev_owned has cognitive complexity 25 (threshold 15). Drivers by points: if/else 16, match/switch 5, loops 3, boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/core/uv_compat/stream.rs"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"c645db2ce4d377dd6ccc9625c2d2e790c99b775949ac1f4270826a6d0a4ad8d3"}},{"ruleId":"D2","level":"warning","message":{"text":"GraphDependencyResolver::auto_install_missing_peers (cognitive 25): GraphDependencyResolver::auto_install_missing_peers has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13, loops 5, match/switch 4, boolean chains 3 (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":"libs/npm/resolution/graph.rs"},"region":{"startLine":1479}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a36af2be2ad8afbb2c3c27e04f48c8fd8680e0019e63c90f9420a14a143ad25"}},{"ruleId":"D2","level":"warning","message":{"text":"Flags::parse (cognitive 25): Flags::parse has cognitive complexity 25 (threshold 15). Drivers by points: if/else 22, match/switch 2, boolean chains 1 (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/ops/op2/config.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2a34589de873f5f5b73c2ece7b49df3985660cdce47623b12db3ba38b0a2ca8"}},{"ruleId":"D2","level":"warning","message":{"text":"ByonmNpmResolver::resolve_pkg_json_and_alias_for_req (cognitive 25): ByonmNpmResolver::resolve_pkg_json_and_alias_for_req has cognitive complexity 25 (threshold 15). Drivers by points: if/else 32, boolean chains 5, loops 5, match/switch 3 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/resolver/npm/byonm.rs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0f81457b9746b9e77bed9afe314ae24accbdbf86940fc2ee6159e9414d91323"}},{"ruleId":"D2","level":"warning","message":{"text":"TtyPrompter::prompt (cognitive 25): TtyPrompter::prompt has cognitive complexity 25 (threshold 15). Drivers by points: if/else 18, loops 3, boolean chains 2, match/switch 2 (nesting depth added 5). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/permissions/prompter.rs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ce8e2bdf937a604416951feecb0ebe679e013c85a6b7abbb4b678c6bb5cde7f"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 25): (anonymous) has cognitive complexity 25 (threshold 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":"ext/web/10_filereader.js"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"c80eb69c160ce6de96f33be0efb3d6f2a19157986208bf2877ffbb52a66e879a"}},{"ruleId":"D2","level":"warning","message":{"text":"exec (cognitive 25): exec has cognitive complexity 25 (threshold 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":"ext/web/01_urlpattern.js"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"f53d0ce0ca79face439fc3ef477953235a86d095b0d3a02df39c5e0348c7a2a1"}},{"ruleId":"D2","level":"warning","message":{"text":"createHttpClient (cognitive 25): createHttpClient has cognitive complexity 25 (threshold 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":"ext/fetch/22_http_client.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0dd278ac32bbc7b1ec6630f1fdd119da8f8fe9e576436052202844efbd7c0f1"}},{"ruleId":"D2","level":"warning","message":{"text":"flushTestSnapshots (cognitive 25): flushTestSnapshots has cognitive complexity 25 (threshold 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":"cli/js/40_test_snapshot.js"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a7acf6b5e7cc385b50943b9e446d3ab664deb504e9fac4a69bc3100f3d491cc"}},{"ruleId":"D2","level":"warning","message":{"text":"Inner::did_change_watched_files (cognitive 24): Inner::did_change_watched_files has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12, boolean chains 6, match/switch 5, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/lsp/language_server.rs"},"region":{"startLine":1670}}}],"partialFingerprints":{"codehealthFindingId/v1":"f246daac2f01733b0c66f284e54077d5cee5759ef7292642cc16984b4738da57"}},{"ruleId":"D2","level":"warning","message":{"text":"desktop::package_linux_app_dir (cognitive 24): desktop::package_linux_app_dir has cognitive complexity 24 (threshold 15). Drivers by points: if/else 18, match/switch 6 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/desktop.rs"},"region":{"startLine":1701}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ba64f1ed2a12a6983ed558417dc7d88fc5ea7909fd5327c797164f8fee1f0e3"}},{"ruleId":"D2","level":"warning","message":{"text":"tsc::get_tag_documentation (cognitive 24): tsc::get_tag_documentation has cognitive complexity 24 (threshold 15). Drivers by points: if/else 22, boolean chains 1, match/switch 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/lsp/tsc.rs"},"region":{"startLine":1621}}}],"partialFingerprints":{"codehealthFindingId/v1":"873ebca6d084a956b9f12207ed16834edf20ee64881140529198829b510e6e54"}},{"ruleId":"D2","level":"warning","message":{"text":"console::filter_destructive_ansi (cognitive 24): console::filter_destructive_ansi has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9, boolean chains 5, loops 5, match/switch 5 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/util/console.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9c14390334286a65ef00a9d747acc347a3d7093a64c00e4061fe971cf7c3ac4"}},{"ruleId":"D2","level":"warning","message":{"text":"pack::pack (cognitive 24): pack::pack has cognitive complexity 24 (threshold 15). Drivers by points: if/else 19, boolean chains 2, match/switch 2, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/pack/mod.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f19706fb3ef6531a0bb015b6a96dae678bdfedd9db1698f207dd58cd18edc39"}},{"ruleId":"D2","level":"warning","message":{"text":"global::setup_config_dir (cognitive 24): global::setup_config_dir has cognitive complexity 24 (threshold 15). Drivers by points: if/else 20, boolean chains 2, loops 2 (nesting depth added 5). Of this number, 22 points are the body\u0027s own statements and 2 belong to one function item declared inside it. 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":"cli/tools/installer/global.rs"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"47070219811f64d69b5ae83589b12827b63023a15e0b6f74a90c749ca1ad4798"}},{"ruleId":"D2","level":"warning","message":{"text":"global::resolve_shim_data (cognitive 24): global::resolve_shim_data has cognitive complexity 24 (threshold 15). Drivers by points: if/else 19, match/switch 4, loops 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":"cli/tools/installer/global.rs"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b8b2f1af89e295e1afd20af2d782c2d3d92919fbd70b0d721e09f8a1b56ebdd"}},{"ruleId":"D2","level":"warning","message":{"text":"bump_version::parse_commit (cognitive 24): bump_version::parse_commit has cognitive complexity 24 (threshold 15). Drivers by points: if/else 18, match/switch 5, loops 1 (nesting depth added 6). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/bump_version.rs"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"d731f249c794e1dc1ed7fa7d8820d5a09681515b501829e2e538411c1beb31ec"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalCronHandler::cron_loop (cognitive 24): LocalCronHandler::cron_loop has cognitive complexity 24 (threshold 15). Drivers by points: if/else 20, loops 3, 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":"ext/cron/local.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5214966ba1634547b08e40e27c98fd0ca84e83845cd8518197e31e673b72198"}},{"ruleId":"D2","level":"warning","message":{"text":"NodeServerCertVerifier::verify_server_cert (cognitive 24): NodeServerCertVerifier::verify_server_cert has cognitive complexity 24 (threshold 15). Drivers by points: if/else 18, match/switch 4, boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/node/ops/tls_wrap.rs"},"region":{"startLine":3853}}}],"partialFingerprints":{"codehealthFindingId/v1":"361496a0560c8e80a41a2e77770b6f228e88e92e8b254432b517a11a909173c0"}},{"ruleId":"D2","level":"warning","message":{"text":"IpcAdvancedStream::read_msg_bytes_and_raw_fd (cognitive 24): IpcAdvancedStream::read_msg_bytes_and_raw_fd has cognitive complexity 24 (threshold 15). Drivers by points: if/else 23, 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":"ext/process/ipc.rs"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2950d3c005323a386d8b1e0102d5e50e595e461573cfcbab524f15c2fba9e91"}},{"ruleId":"D2","level":"warning","message":{"text":"css::parse_css_color (cognitive 24): css::parse_css_color has cognitive complexity 24 (threshold 15). Drivers by points: if/else 19, boolean chains 5 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/web/console/css.rs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaf28fc691340e931018c60d16978293623b011022dbed1c56974b658e9bc85e"}},{"ruleId":"D2","level":"warning","message":{"text":"convert::serialize_command_def (cognitive 24): convert::serialize_command_def has cognitive complexity 24 (threshold 15). Drivers by points: if/else 19, boolean chains 3, loops 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cli_parser/src/convert.rs"},"region":{"startLine":3145}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4f1726e2b8b36001015992fe7b20021bb3ea897e9610cd2fb711ec62da40c2d"}},{"ruleId":"D2","level":"warning","message":{"text":"parse::parse_short_flag (cognitive 24): parse::parse_short_flag has cognitive complexity 24 (threshold 15). Drivers by points: if/else 15, match/switch 5, boolean chains 3, 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":"libs/cli_parser/src/parse.rs"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"284c34f32402773c4448903a2b5352a60d74759c81990c5ca2f9e22f2e2cfbcc"}},{"ruleId":"D2","level":"warning","message":{"text":"Workspace::diagnostics (cognitive 24): Workspace::diagnostics has cognitive complexity 24 (threshold 15). Drivers by points: if/else 69, boolean chains 13, loops 11 (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":"libs/config/workspace/mod.rs"},"region":{"startLine":1203}}}],"partialFingerprints":{"codehealthFindingId/v1":"20f2e5b0ed6a4fd2fdb2c3c01193a860a1a620302d75ae9f4990c181f238073e"}},{"ruleId":"D2","level":"warning","message":{"text":"tty::write_tty (cognitive 24): tty::write_tty has cognitive complexity 24 (threshold 15). Drivers by points: if/else 13, match/switch 6, loops 4, boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/core/uv_compat/tty.rs"},"region":{"startLine":1825}}}],"partialFingerprints":{"codehealthFindingId/v1":"265ba413596fe624876188375ce49ff6a77943bfefa7873f44ab7e49889c54a0"}},{"ruleId":"D2","level":"warning","message":{"text":"local::remove_stale_member_symlinks (cognitive 24): local::remove_stale_member_symlinks has cognitive complexity 24 (threshold 15). Drivers by points: if/else 16, loops 5, boolean chains 2, 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":"libs/npm_installer/local.rs"},"region":{"startLine":1781}}}],"partialFingerprints":{"codehealthFindingId/v1":"db9ee5fe94c2736df34e4e7c76b392e765633194a55c54e34ae3e347b8fd440e"}},{"ruleId":"D2","level":"warning","message":{"text":"yarn_lockfile_import::parse_yarn_v1 (cognitive 24): yarn_lockfile_import::parse_yarn_v1 has cognitive complexity 24 (threshold 15). Drivers by points: if/else 15, match/switch 7, boolean chains 1, 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":"libs/resolver/yarn_lockfile_import.rs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"b528a4023fab435bd0cd0440052a49fbce83f029242e62ee92ee1c3808acbf7f"}},{"ruleId":"D2","level":"warning","message":{"text":"framework::detect_framework (cognitive 23): framework::detect_framework has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13, boolean chains 10 (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":"cli/tools/framework.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f9375eaad90f8ed0b6ed78e502401da10cb0a8f744d7b4973d66fbfa43e6df6"}},{"ruleId":"D2","level":"warning","message":{"text":"code_lens::find_test_fn_body (cognitive 23): code_lens::find_test_fn_body has cognitive complexity 23 (threshold 15). Drivers by points: match/switch 11, if/else 8, boolean chains 2, loops 2 (nesting depth added 14). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/lsp/code_lens.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"9603dbf28ad48972e2ccfe264902c32dc81588b2a52603aaf7bbcbacec15240c"}},{"ruleId":"D2","level":"warning","message":{"text":"npm_compat::generate_npm_cache_projects (cognitive 23): npm_compat::generate_npm_cache_projects has cognitive complexity 23 (threshold 15). Drivers by points: if/else 14, loops 8, 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":"cli/tools/installer/npm_compat.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"b064d4f8f0a6e8b1688ca874ea32835ec4b53f92748b4deda58ab891e43257f1"}},{"ruleId":"D2","level":"warning","message":{"text":"args::flags_to_permissions_options (cognitive 23): args::flags_to_permissions_options has cognitive complexity 23 (threshold 15). Drivers by points: if/else 16, match/switch 7 (nesting depth added 5). Most of this is not in the body itself: 7 of the 23 points are its own statements and the rest belongs to 2 function items declared inside it (handle_allow, handle_deny_or_ignore). 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":"cli/args/mod.rs"},"region":{"startLine":1715}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f6ff36225800a2a56bd9aec9aa4192500032531d2de7851015f8bfe4832ab53"}},{"ruleId":"D2","level":"warning","message":{"text":"compile::get_module_roots_and_include_paths (cognitive 23): compile::get_module_roots_and_include_paths has cognitive complexity 23 (threshold 15). Drivers by points: if/else 15, loops 6, boolean chains 1, match/switch 1 (nesting depth added 8). Of this number, 12 points are the body\u0027s own statements and 11 belong to 3 function items declared inside it. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/compile.rs"},"region":{"startLine":1161}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc981f0de4ddd36bae02c57b7744655f2f24b1f68fce777144c859030786a424"}},{"ruleId":"D2","level":"warning","message":{"text":"tsconfig_gen::strip_declare_namespace (cognitive 23): tsconfig_gen::strip_declare_namespace has cognitive complexity 23 (threshold 15). Drivers by points: loops 11, if/else 6, match/switch 5, boolean chains 1 (nesting depth added 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tsc/tsconfig_gen.rs"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"638b001696463e984a66abd430015a0ed09dd2a8271b456097cdb70c2673d6e2"}},{"ruleId":"D2","level":"warning","message":{"text":"VfsBuilder::ensure_canonical_dir_inner (cognitive 23): VfsBuilder::ensure_canonical_dir_inner has cognitive complexity 23 (threshold 15). Drivers by points: if/else 20, match/switch 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":"cli/lib/standalone/virtual_fs.rs"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"d266e54c72d18e797bc551c6459d47d085e336b8dc7ba3fea3a51ce407a35e04"}},{"ruleId":"D2","level":"warning","message":{"text":"args::get_root_cert_store (cognitive 23): args::get_root_cert_store has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10, match/switch 8, loops 4, boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/lib/args.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"76b23dc44132b5fb1d996dff8347cc926d70afbddd3f7590754ea7538cba69f3"}},{"ruleId":"D2","level":"warning","message":{"text":"subtle_import_key::import_key_ml_dsa (cognitive 23): subtle_import_key::import_key_ml_dsa has cognitive complexity 23 (threshold 15). Drivers by points: if/else 19, match/switch 4 (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":"ext/crypto/subtle_import_key.rs"},"region":{"startLine":786}}}],"partialFingerprints":{"codehealthFindingId/v1":"f536246160e5ea528b2cd19d78d8a944aa55b2943cac6f81e8889607fdc713c4"}},{"ruleId":"D2","level":"warning","message":{"text":"KeyObjectHandle::sign_prehashed (cognitive 23): KeyObjectHandle::sign_prehashed has cognitive complexity 23 (threshold 15). Drivers by points: if/else 19, match/switch 3, 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":"ext/node_crypto/sign.rs"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddc058a350db47c8f43b3d2f9943aeb2adc408dc9454031aec76f1954286cdfe"}},{"ruleId":"D2","level":"warning","message":{"text":"cipher::aes_wrap_key (cognitive 23): cipher::aes_wrap_key has cognitive complexity 23 (threshold 15). Drivers by points: if/else 20, 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":"ext/node_crypto/cipher.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0491cbadcbe5bd7f5a2b189d47fc74a05b413ddf488f21ec509f7db7b8e276a"}},{"ruleId":"D2","level":"warning","message":{"text":"error_fmt::match_null_proto_error_start (cognitive 23): error_fmt::match_null_proto_error_start has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13, loops 6, boolean chains 4 (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":"ext/web/console/error_fmt.rs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"f723bd1ed2031345a524b64b1d3f60cb2c6aef1f89932c3d966bfccb0f90a867"}},{"ruleId":"D2","level":"warning","message":{"text":"Flags::config_path_args (cognitive 23): Flags::config_path_args has cognitive complexity 23 (threshold 15). Drivers by points: if/else 19, match/switch 3, boolean chains 1 (nesting depth added 6). Most of this is not in the body itself: 9 of the 23 points are its own statements and the rest belongs to 2 function items declared inside it (resolve_single_folder_path, resolve_multiple_files). 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":"cli/args/flags.rs"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad7bb5e671339d3e5b06000351d922d24de19f2c27c889c56153def197338c10"}},{"ruleId":"D2","level":"warning","message":{"text":"convert::default_parse (cognitive 23): convert::default_parse has cognitive complexity 23 (threshold 15). Drivers by points: if/else 18, 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":"libs/cli_parser/src/convert.rs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc12e2c8f2393da1ea3288981441f4b9dce0f22e03fea96fe9017651f1048f00"}},{"ruleId":"D2","level":"warning","message":{"text":"ModuleMap::resolve_callback (cognitive 23): ModuleMap::resolve_callback has cognitive complexity 23 (threshold 15). Drivers by points: if/else 15, match/switch 5, boolean chains 3 (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":"libs/core/modules/map.rs"},"region":{"startLine":1657}}}],"partialFingerprints":{"codehealthFindingId/v1":"547136c0d7ac92effd2e27d01edf91571a00478c87525630a95885411dde71d4"}},{"ruleId":"D2","level":"warning","message":{"text":"uv_compat::uv_guess_handle (cognitive 23): uv_compat::uv_guess_handle has cognitive complexity 23 (threshold 15). Drivers by points: if/else 18, boolean chains 4, match/switch 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":"libs/core/uv_compat.rs"},"region":{"startLine":875}}}],"partialFingerprints":{"codehealthFindingId/v1":"a289f0531f8abc5f2f86958417485a31f3049e74407ea5d6772de34ecdb6fb9b"}},{"ruleId":"D2","level":"warning","message":{"text":"BinEntries::for_each_entry (cognitive 23): BinEntries::for_each_entry has cognitive complexity 23 (threshold 15). Drivers by points: if/else 14, loops 5, match/switch 3, 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":"libs/npm_installer/bin_entries.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c2bee7ff74c190011aedd8a42a4694f0d182635c06ad6c8ba9c6c29a2535b56"}},{"ruleId":"D2","level":"warning","message":{"text":"graph::get_import_prefix_missing_error (cognitive 23): graph::get_import_prefix_missing_error has cognitive complexity 23 (threshold 15). Drivers by points: if/else 17, boolean chains 4, match/switch 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":"libs/resolver/graph.rs"},"region":{"startLine":1005}}}],"partialFingerprints":{"codehealthFindingId/v1":"6821cbbb1ab1a3f1d5558dba6ba862e748788446b4517bd4c7498edd9eb5cee0"}},{"ruleId":"D2","level":"warning","message":{"text":"observe (cognitive 23): observe has cognitive complexity 23 (threshold 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":"ext/web/15_performance.js"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"644be72cb5275193030335628e5293f51a62a354f029aa7bd39c101a83e3748f"}},{"ruleId":"D2","level":"warning","message":{"text":"constructor (cognitive 23): constructor has cognitive complexity 23 (threshold 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":"ext/web/02_event.js"},"region":{"startLine":1311}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc5b4547e74acfa4ed2549c0bf0ac05ebf5971c2ae13c7c42afbcfc0d8649e3c"}},{"ruleId":"D2","level":"warning","message":{"text":"parseMimeType (cognitive 23): parseMimeType has cognitive complexity 23 (threshold 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":"ext/web/01_mimesniff.js"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b5b4c41a00ee4cec12ba31472fde77934d69b84c670346082124269c94294bd"}},{"ruleId":"D2","level":"warning","message":{"text":"initializeAResponse (cognitive 23): initializeAResponse has cognitive complexity 23 (threshold 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":"ext/fetch/23_response.js"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef5109c577ba8ebcb8e8cf1af4122335e5718b65db3a8ab017a8d5f6e2943ffa"}},{"ruleId":"D2","level":"warning","message":{"text":"next (cognitive 23): next has cognitive complexity 23 (threshold 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":"cli/js/40_lint_selector.js"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"061732247716dda5f19f461f70be035fdc58003d9dbd6bfd13d7c6466e296039"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskRunner::run_all_tasks (cognitive 22): TaskRunner::run_all_tasks has cognitive complexity 22 (threshold 15). Drivers by points: if/else 17, match/switch 3, 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":"cli/tools/task.rs"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a166d47f62d55582698896efe3352e477de6fcd2a86802406c1f2ed14b3859d"}},{"ruleId":"D2","level":"warning","message":{"text":"DiagnosticsByFolderRealIterator::check_diagnostics_in_folder (cognitive 22): DiagnosticsByFolderRealIterator::check_diagnostics_in_folder has cognitive complexity 22 (threshold 15). Drivers by points: if/else 13, boolean chains 6, loops 3 (nesting depth added 2). Of this number, 21 points are the body\u0027s own statements and 1 belong to one function item declared inside it. 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":"cli/type_checker.rs"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f228e8c4fff2f6ed598c30f511abbed49f110570f6034c5f041d12491b872ee"}},{"ruleId":"D2","level":"warning","message":{"text":"native_addons::find_byonm_native_addon_packages (cognitive 22): native_addons::find_byonm_native_addon_packages has cognitive complexity 22 (threshold 15). Drivers by points: if/else 16, loops 6 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/standalone/native_addons.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5d08af459e3a46079998844d205fd6b29591f692893c3d1fa5ac3f7ef78b492"}},{"ruleId":"D2","level":"warning","message":{"text":"deps::add_deps_from_catalogs (cognitive 22): deps::add_deps_from_catalogs has cognitive complexity 22 (threshold 15). Drivers by points: if/else 13, loops 7, boolean chains 1, match/switch 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/pm/deps.rs"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"807519fadd02d4b779b3e40273ed65f617e8ffbc6d04af65c83af66a08352712"}},{"ruleId":"D2","level":"warning","message":{"text":"repl::run_json (cognitive 22): repl::run_json has cognitive complexity 22 (threshold 15). Drivers by points: if/else 13, match/switch 6, loops 3 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/repl/mod.rs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"15e2917812d1a5c59ed81a705f01c1ad25359496abc8af7e2f0622938bf448fa"}},{"ruleId":"D2","level":"warning","message":{"text":"task::execute_script (cognitive 22): task::execute_script has cognitive complexity 22 (threshold 15). Drivers by points: if/else 18, boolean chains 2, loops 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":"cli/tools/task.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"93becfed6bd426573a2af5443e792ce7899c4047b64d4dc591934a14e8215577"}},{"ruleId":"D2","level":"warning","message":{"text":"global::install_global (cognitive 22): global::install_global has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11, loops 6, match/switch 3, boolean chains 2 (nesting depth added 7). 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":"cli/tools/installer/global.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac4b76445e43934240d31da20c9a22679dd33c9e665173218c36d22637b0886d"}},{"ruleId":"D2","level":"warning","message":{"text":"global::rewrite_relative_import_map_paths (cognitive 22): global::rewrite_relative_import_map_paths has cognitive complexity 22 (threshold 15). Drivers by points: if/else 15, boolean chains 4, loops 3 (nesting depth added 7). Of this number, 12 points are the body\u0027s own statements and 10 belong to 3 function items declared inside it. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/installer/global.rs"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"a18466d311d6fc540df8d43d81638819efc6574128d38e11f7d12bbefe5902a2"}},{"ruleId":"D2","level":"warning","message":{"text":"deno::initialize_tunnel (cognitive 22): deno::initialize_tunnel has cognitive complexity 22 (threshold 15). Drivers by points: if/else 15, match/switch 3, boolean chains 2, loops 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/lib.rs"},"region":{"startLine":1342}}}],"partialFingerprints":{"codehealthFindingId/v1":"f66f106376fc92bd88fb408d8e3f243d267cb3f9b81f3034011d4309fe33c973"}},{"ruleId":"D2","level":"warning","message":{"text":"html::inject_scripts_and_css (cognitive 22): html::inject_scripts_and_css has cognitive complexity 22 (threshold 15). Drivers by points: if/else 17, boolean chains 3, loops 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/bundle/html.rs"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd72d85734a06024baa346d646f296a8e422b724b804d45a4b047e7aa04cc6bb"}},{"ruleId":"D2","level":"warning","message":{"text":"editor::validate (cognitive 22): editor::validate has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11, match/switch 9, 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":"cli/tools/repl/editor.rs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"a85a151a2dda418b20a7da814ad3b24c007c8881104cdf55a86ad59dc5bf3d7b"}},{"ruleId":"D2","level":"warning","message":{"text":"subtle_generate_key::run (cognitive 22): subtle_generate_key::run has cognitive complexity 22 (threshold 15). Drivers by points: if/else 17, match/switch 4, 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":"ext/crypto/subtle_generate_key.rs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef8c51d9680f543073723efe5aacb0737538c2239034fc4091572a8d93b2690"}},{"ruleId":"D2","level":"warning","message":{"text":"http_next::op_http_get_request_headers (cognitive 22): http_next::op_http_get_request_headers has cognitive complexity 22 (threshold 15). Drivers by points: if/else 19, loops 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":"ext/http/http_next.rs"},"region":{"startLine":2360}}}],"partialFingerprints":{"codehealthFindingId/v1":"492d83f056bc7f46716d4a0a382a855aaac09dbb2de3a1e1f94aea62356b8da0"}},{"ruleId":"D2","level":"warning","message":{"text":"deno_http::parse_serve_address (cognitive 22): deno_http::parse_serve_address has cognitive complexity 22 (threshold 15). Drivers by points: match/switch 16, if/else 6 (nesting depth added 12). 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":"ext/http/lib.rs"},"region":{"startLine":1858}}}],"partialFingerprints":{"codehealthFindingId/v1":"c80d7332c0d02049c06a4771bf89c85d04fc967bc2f89e56c7fe26905ff0850e"}},{"ruleId":"D2","level":"warning","message":{"text":"binding::on_headers_complete (cognitive 22): binding::on_headers_complete has cognitive complexity 22 (threshold 15). Drivers by points: if/else 19, boolean chains 2, match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/node/ops/llhttp/binding.rs"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"332ae819e946937fc66a1007ef298da90e79c724d1b3d218a493987b60312268"}},{"ruleId":"D2","level":"warning","message":{"text":"console_exporter::format_span (cognitive 22): console_exporter::format_span has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11, loops 9, match/switch 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/telemetry/console_exporter.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5bdd399268e0c6f4c15b234a5f8d43ff07778336b78c8f992f45e29842a9336"}},{"ruleId":"D2","level":"warning","message":{"text":"convert::test_parse (cognitive 22): convert::test_parse has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11, match/switch 10, boolean chains 1 (nesting depth added 4). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cli_parser/src/convert.rs"},"region":{"startLine":1541}}}],"partialFingerprints":{"codehealthFindingId/v1":"39a3c8d4df7d0c2395137d77e7df4d393303cbfdb0908eacaf9952bc6084eef1"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfigFile::dependencies (cognitive 22): ConfigFile::dependencies has cognitive complexity 22 (threshold 15). Drivers by points: if/else 16, boolean chains 3, loops 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":"libs/config/deno_json/mod.rs"},"region":{"startLine":2766}}}],"partialFingerprints":{"codehealthFindingId/v1":"a201e69a455bc6682d4b6a554b396dcc768922cfeb6c2198e6f80778bbeabf87"}},{"ruleId":"D2","level":"warning","message":{"text":"JsRuntime::new_inner (cognitive 22): JsRuntime::new_inner has cognitive complexity 22 (threshold 15). Drivers by points: if/else 17, loops 4, boolean chains 1 (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/core/runtime/jsruntime.rs"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"1af55ad16d9b16a7fd24039c824d4bfe08ce750d2635347741892546d745c6bc"}},{"ruleId":"D2","level":"warning","message":{"text":"ops_builtin_v8::op_serialize (cognitive 22): ops_builtin_v8::op_serialize has cognitive complexity 22 (threshold 15). Drivers by points: if/else 15, loops 3, match/switch 3, 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":"libs/core/ops_builtin_v8.rs"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"78165d1e592d31be7df84853f2d3c75fa8a6e2ba2e8437e573382ea2ad191572"}},{"ruleId":"D2","level":"warning","message":{"text":"pipe::try_write_pipe (cognitive 22): pipe::try_write_pipe has cognitive complexity 22 (threshold 15). Drivers by points: if/else 13, match/switch 8, boolean chains 1 (nesting depth added 7). 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":"libs/core/uv_compat/pipe.rs"},"region":{"startLine":1085}}}],"partialFingerprints":{"codehealthFindingId/v1":"612a25e96d88a5813d81bb41aedf19974d0054a45cb947458a05057d46c493f2"}},{"ruleId":"D2","level":"warning","message":{"text":"tty::select_thread_main (cognitive 22): tty::select_thread_main has cognitive complexity 22 (threshold 15). Drivers by points: if/else 20, boolean chains 1, 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":"libs/core/uv_compat/tty.rs"},"region":{"startLine":2874}}}],"partialFingerprints":{"codehealthFindingId/v1":"646e51b76699f64fe40fa6e86eeafd6b489357c5b35fab7254b9651f4aa787b5"}},{"ruleId":"D2","level":"warning","message":{"text":"TarballCache::create_setup_future (cognitive 22): TarballCache::create_setup_future has cognitive complexity 22 (threshold 15). Drivers by points: if/else 14, boolean chains 4, match/switch 4 (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":"libs/npm_cache/tarball.rs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"536d3b54b89cc5a930cc1744f75da230d50080895d4304220118079976f9843a"}},{"ruleId":"D2","level":"warning","message":{"text":"tarball_extract::extract_tarball (cognitive 22): tarball_extract::extract_tarball has cognitive complexity 22 (threshold 15). Drivers by points: if/else 17, loops 3, match/switch 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/npm_cache/tarball_extract.rs"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"79ba32ae056f3c1e54f4911dc197c2b465c3213408e5bbf5c7b3a010bf4f6726"}},{"ruleId":"D2","level":"warning","message":{"text":"local::cleanup_unused_packages (cognitive 22): local::cleanup_unused_packages has cognitive complexity 22 (threshold 15). Drivers by points: if/else 17, loops 4, 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":"libs/npm_installer/local.rs"},"region":{"startLine":2104}}}],"partialFingerprints":{"codehealthFindingId/v1":"e565dcf2d88c19f9fdd735ffb3661f467668497493b078dcaab891d6adcdbafc"}},{"ruleId":"D2","level":"warning","message":{"text":"emit::ensure_no_import_assertion (cognitive 22): emit::ensure_no_import_assertion has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12, match/switch 5, boolean chains 4, loops 1 (nesting depth added 12). Of this number, 21 points are the body\u0027s own statements and 1 belong to one function item declared inside it. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/resolver/emit.rs"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd0eb3eca7ef50c6f01930af81205af00107ed5f9f1f968c852332297dcf8b8f"}},{"ruleId":"D2","level":"warning","message":{"text":"process::append_bat_arg (cognitive 22): process::append_bat_arg has cognitive complexity 22 (threshold 15). Drivers by points: if/else 15, boolean chains 5, 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":"runtime/subprocess_windows/src/process.rs"},"region":{"startLine":1516}}}],"partialFingerprints":{"codehealthFindingId/v1":"17a9af4bcf27916ad79e7466aea2c8c134ecf07f41c18fc80d3150a79a514948"}},{"ruleId":"D2","level":"warning","message":{"text":"search (cognitive 22): search has cognitive complexity 22 (threshold 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":"runtime/cpu_profiler/flamegraph.js"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c75d4014e9581b8ad4ebb82177ed93f7aa39a4308ba0d9bdda2ada7018a23a6"}},{"ruleId":"D2","level":"warning","message":{"text":"createDependentAbortSignal (cognitive 22): createDependentAbortSignal has cognitive complexity 22 (threshold 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":"ext/web/03_abort_signal.js"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"40015107c9b5b855b41585cf6ac714ee610b32c3222b61608019e74e2df64139"}},{"ruleId":"D2","level":"warning","message":{"text":"buildDiffLines (cognitive 22): buildDiffLines has cognitive complexity 22 (threshold 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":"cli/js/40_test_snapshot.js"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9930df109f4b4d563a3145ee9c18faa26430a6446ebe7dd2cfdb71424297fc0"}},{"ruleId":"D2","level":"warning","message":{"text":"ModuleGraphCreator::create_publish_graph (cognitive 21): ModuleGraphCreator::create_publish_graph has cognitive complexity 21 (threshold 15). Drivers by points: if/else 14, loops 4, boolean chains 2, match/switch 1 (nesting depth added 5). Of this number, 20 points are the body\u0027s own statements and 1 belong to one function item declared inside it. 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":"cli/graph_util.rs"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"c348ea9e6f111fd6c5aaab6b3466df1cdea559d5f0cc4f082975b72ff2c0fba7"}},{"ruleId":"D2","level":"warning","message":{"text":"TsServer::provide_references (cognitive 21): TsServer::provide_references has cognitive complexity 21 (threshold 15). Drivers by points: if/else 14, loops 5, boolean chains 1, 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":"cli/lsp/ts_server.rs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"deb2b7f58a58e30a4cc8ceb3ece5fa1c4f39ac116e20acbee9c7a7c25554693d"}},{"ruleId":"D2","level":"warning","message":{"text":"desktop::codesign_macos_bundle (cognitive 21): desktop::codesign_macos_bundle has cognitive complexity 21 (threshold 15). Drivers by points: if/else 14, loops 4, boolean chains 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/desktop.rs"},"region":{"startLine":2533}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ff987d71b4e6b5f8f699334db16246b7dc79a0d532f1031cb63f08119aa1a11"}},{"ruleId":"D2","level":"warning","message":{"text":"desktop::build_deb_data_tar (cognitive 21): desktop::build_deb_data_tar has cognitive complexity 21 (threshold 15). Drivers by points: if/else 16, loops 5 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/desktop.rs"},"region":{"startLine":3802}}}],"partialFingerprints":{"codehealthFindingId/v1":"54de7acc2fc88ef102012fa3badbf6fa5a13bacbac102089d177b0db53f925b5"}},{"ruleId":"D2","level":"warning","message":{"text":"analysis::try_reverse_map_package_json_exports::try_reverse_map_package_json_exports_inner (cognitive 21): analysis::try_reverse_map_package_json_exports::try_reverse_map_package_json_exports_inner has cognitive complexity 21 (threshold 15). Drivers by points: if/else 18, match/switch 2, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/lsp/analysis.rs"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc20fec04fe44ae2416014e00df7657976ed5d6de76bc8da4d868d39b47e9ed6"}},{"ruleId":"D2","level":"warning","message":{"text":"flags::permission_args_parse (cognitive 21): flags::permission_args_parse has cognitive complexity 21 (threshold 15). Drivers by points: if/else 20, boolean chains 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/args/flags.rs"},"region":{"startLine":8538}}}],"partialFingerprints":{"codehealthFindingId/v1":"44fc99715e8c85f4e7fb07ce00fa2b3e07b7462404e9f801de0a10f1d19520ae"}},{"ruleId":"D2","level":"warning","message":{"text":"task::get_available_tasks (cognitive 21): task::get_available_tasks has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12, loops 7, boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/task.rs"},"region":{"startLine":1356}}}],"partialFingerprints":{"codehealthFindingId/v1":"cade6b858def3639580d5117842062436fa65635522d3c1336164a6da44c76e5"}},{"ruleId":"D2","level":"warning","message":{"text":"turbocall::compile_trampoline (cognitive 21): turbocall::compile_trampoline has cognitive complexity 21 (threshold 15). Drivers by points: if/else 28, loops 5, match/switch 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":"ext/ffi/turbocall.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"e83862538e6595755c009d6f8c5016ba3e91e1669138db5d2c5fe54784ce1413"}},{"ruleId":"D2","level":"warning","message":{"text":"Http2Options::new (cognitive 21): Http2Options::new has cognitive complexity 21 (threshold 15). Drivers by points: if/else 14, boolean chains 5, match/switch 2 (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":"ext/node/ops/http2/session.rs"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e0146a2d93aad7014a7cccd54c060710d92c8acd4158ea38b5796224f5d85ea"}},{"ruleId":"D2","level":"warning","message":{"text":"dns::getaddrinfo_inner (cognitive 21): dns::getaddrinfo_inner has cognitive complexity 21 (threshold 15). Drivers by points: if/else 15, boolean chains 2, loops 2, match/switch 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":"ext/node/ops/dns.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"f210d7f8a0a63c4507dea947d716606e3a806a0641ddda603e921cfbb1df3161"}},{"ruleId":"D2","level":"warning","message":{"text":"inspect::get_class_base (cognitive 21): inspect::get_class_base has cognitive complexity 21 (threshold 15). Drivers by points: if/else 19, 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":"ext/web/console/inspect.rs"},"region":{"startLine":2664}}}],"partialFingerprints":{"codehealthFindingId/v1":"e74c6159b95a3a572a6036ab3328e0fd4fba849c8280bfec35a1534396807b6a"}},{"ruleId":"D2","level":"warning","message":{"text":"inspect::get_function_base (cognitive 21): inspect::get_function_base has cognitive complexity 21 (threshold 15). Drivers by points: if/else 17, boolean chains 4 (nesting depth added 4). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/web/console/inspect.rs"},"region":{"startLine":2764}}}],"partialFingerprints":{"codehealthFindingId/v1":"077bd88b3c679bb7684988e6389743d3293be0d508be33fdfe0479329dcd97af"}},{"ruleId":"D2","level":"warning","message":{"text":"css::css_to_ansi (cognitive 21): css::css_to_ansi has cognitive complexity 21 (threshold 15). Drivers by points: if/else 20, 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":"ext/web/console/css.rs"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"e67f377d61b6a41ebf94a54a3f69aa0dd370dec688278e006223711cccc17969"}},{"ruleId":"D2","level":"warning","message":{"text":"completions::generate_fish (cognitive 21): completions::generate_fish has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13, loops 6, boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cli_parser/src/completions.rs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c530043571963ababba55ab6993e9ea05afb12f837da1d63d8cc6327ce34831"}},{"ruleId":"D2","level":"warning","message":{"text":"RuntimeActivityStats::dump (cognitive 21): RuntimeActivityStats::dump has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12, loops 9 (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":"libs/core/runtime/stats.rs"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"f22e64c36124d8e5cc1b140d946c9b525f27b5490790ecccf7f818449dfde7e8"}},{"ruleId":"D2","level":"warning","message":{"text":"GraphDependencyResolver::add_peer_deps_to_path (cognitive 21): GraphDependencyResolver::add_peer_deps_to_path has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9, loops 6, match/switch 6 (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":"libs/npm/resolution/graph.rs"},"region":{"startLine":2810}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6aa82eff2733545bbb7d54a3f28d2a1446364c85324e6c0bafdf9c6ce9e60d4"}},{"ruleId":"D2","level":"warning","message":{"text":"NpmOverrides::get_override_for (cognitive 21): NpmOverrides::get_override_for has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10, match/switch 8, boolean chains 2, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/npm/resolution/overrides.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"6334b5b6185f79d6887992b8f37c5c1509ff1a561619ccaf2ead9d4c8d72fdaf"}},{"ruleId":"D2","level":"warning","message":{"text":"graph::tarjan_scc::strongconnect (cognitive 21): graph::tarjan_scc::strongconnect has cognitive complexity 21 (threshold 15). Drivers by points: if/else 17, loops 4 (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":"libs/npm/resolution/graph.rs"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"811261c0517a224565499a38c0be0b771a1e001e87995bd379bc62bd629916cf"}},{"ruleId":"D2","level":"warning","message":{"text":"signature::parse_cppgc (cognitive 21): signature::parse_cppgc has cognitive complexity 21 (threshold 15). Drivers by points: match/switch 12, if/else 7, boolean chains 2 (nesting depth added 9). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/ops/op2/signature.rs"},"region":{"startLine":1604}}}],"partialFingerprints":{"codehealthFindingId/v1":"1de6ede2a1835131a9fe9212832bb5054244885bcb58f6e2ff43819db992b0a9"}},{"ruleId":"D2","level":"warning","message":{"text":"PackageJsonDepValue::parse (cognitive 21): PackageJsonDepValue::parse has cognitive complexity 21 (threshold 15). Drivers by points: if/else 17, match/switch 3, boolean chains 1 (nesting depth added 8). Of this number, 19 points are the body\u0027s own statements and 2 belong to one function item declared inside it. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/package_json/lib.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"2130f6c9424b62a4652f82d2e06b81bceebafd9915f2070eb514f0e05d94101e"}},{"ruleId":"D2","level":"warning","message":{"text":"DiskCache::get_cache_filename (cognitive 21): DiskCache::get_cache_filename has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10, match/switch 9, loops 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/resolver/cache/disk_cache.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"e03b816f9081a9d90bf7d51a68fd3b676009affc54a683c15dd5b09cbb300ce3"}},{"ruleId":"D2","level":"warning","message":{"text":"IsCjsResolver::check_based_on_pkg_json (cognitive 21): IsCjsResolver::check_based_on_pkg_json has cognitive complexity 21 (threshold 15). Drivers by points: if/else 18, boolean chains 3 (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":"libs/resolver/cjs/mod.rs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"e61d6c84efe6d366d4fa2b2020088b182a4e7431f181a212ff3594441a78afd6"}},{"ruleId":"D2","level":"warning","message":{"text":"tty::op_set_raw (cognitive 21): tty::op_set_raw has cognitive complexity 21 (threshold 15). Drivers by points: if/else 18, match/switch 2, boolean chains 1 (nesting depth added 6). Of this number, 20 points are the body\u0027s own statements and 1 belong to one function item declared inside it. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/ops/tty.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c72b9ce498c030966acb8e701c9f66102507fb6ab7775703b72955c4bc625df"}},{"ruleId":"D2","level":"warning","message":{"text":"constructor (cognitive 21): constructor has cognitive complexity 21 (threshold 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":"ext/ffi/00_ffi.js"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"403e5038276e82a158963f7c3e5f73803373f625c2e59c7ddfce47bb06f2839a"}},{"ruleId":"D2","level":"warning","message":{"text":"fillHeaderList (cognitive 21): fillHeaderList has cognitive complexity 21 (threshold 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":"ext/fetch/20_headers.js"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e8da511ee303ff421b6b87afb6ed1bd353f40f54946b2305ffed1d154b2dc8a"}},{"ruleId":"D2","level":"warning","message":{"text":"getModuleLiteralImportKind (cognitive 21): getModuleLiteralImportKind has cognitive complexity 21 (threshold 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":"cli/tsc/97_ts_host.js"},"region":{"startLine":873}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e61cf6fa3a89f193d9e9d7a071ff2a9aa65b4fbdd16c66b5514f1bf7691682a"}},{"ruleId":"D2","level":"warning","message":{"text":"getFromRawValue (cognitive 21): getFromRawValue has cognitive complexity 21 (threshold 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":"cli/js/40_lint_selector.js"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd8c5a2b401f68dabc4a4edc3011073b625c5489e809f239f57334c64539c6f1"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfigTree::refresh (cognitive 20): ConfigTree::refresh has cognitive complexity 20 (threshold 15). Drivers by points: if/else 14, loops 4, 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":"cli/lsp/config.rs"},"region":{"startLine":1924}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d5999519fcc6ac624731f95232bc6e4f184dcb7afa36d4e0c3e360234db2705"}},{"ruleId":"D2","level":"warning","message":{"text":"RangeTree::normalize (cognitive 20): RangeTree::normalize has cognitive complexity 20 (threshold 15). Drivers by points: loops 13, if/else 4, match/switch 2, boolean chains 1 (nesting depth added 10). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/coverage/range_tree.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"b66c8fa20771c4e403f0ab78d0b8acc7c2d761f1cb845a199ffab42cef105db1"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkspaceLinter::lint_files (cognitive 20): WorkspaceLinter::lint_files has cognitive complexity 20 (threshold 15). Drivers by points: if/else 14, boolean chains 4, loops 2 (nesting depth added 2). Of this number, 18 points are the body\u0027s own statements and 2 belong to one function item declared inside it. 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":"cli/tools/lint/mod.rs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bc147fd4180b834b63b24a6a0de64512bfe49fee73ff4511571239357d9625c"}},{"ruleId":"D2","level":"warning","message":{"text":"AddRmPackageReq::parse (cognitive 20): AddRmPackageReq::parse has cognitive complexity 20 (threshold 15). Drivers by points: match/switch 11, if/else 8, loops 1 (nesting depth added 8). Of this number, 14 points are the body\u0027s own statements and 6 belong to 2 function items declared inside it. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/pm/mod.rs"},"region":{"startLine":1030}}}],"partialFingerprints":{"codehealthFindingId/v1":"0712a0992aa60459a46c8882af141654f0bac64751cd8c58d3d15bcfb867f652"}},{"ruleId":"D2","level":"warning","message":{"text":"GraphWalker::add_unresolved_dts_entrypoint_imports (cognitive 20): GraphWalker::add_unresolved_dts_entrypoint_imports has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13, loops 3, match/switch 3, 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":"cli/type_checker.rs"},"region":{"startLine":1386}}}],"partialFingerprints":{"codehealthFindingId/v1":"b758eaa4139b6de1221345c43ef4f3f079d4a9dcd99ae2ce81c64abcaf47ea5a"}},{"ruleId":"D2","level":"warning","message":{"text":"upgrade::upgrade_from_branch (cognitive 20): upgrade::upgrade_from_branch has cognitive complexity 20 (threshold 15). Drivers by points: if/else 17, loops 3 (nesting depth added 4). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/upgrade.rs"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"da044e64c3e238f85256d9c1fb6f33a152254dc3853786ff0e01ffab646a34c3"}},{"ruleId":"D2","level":"warning","message":{"text":"wasm::render_js_wasm_module (cognitive 20): wasm::render_js_wasm_module has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10, loops 10 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/bundle/wasm.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"edff790314463c5eaa8cf60095e7be3abd8b91ae6b71a37a2c77eefb81ea611c"}},{"ruleId":"D2","level":"warning","message":{"text":"desktop::run_desktop_hmr (cognitive 20): desktop::run_desktop_hmr has cognitive complexity 20 (threshold 15). Drivers by points: if/else 15, boolean chains 3, match/switch 2 (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":"cli/tools/desktop.rs"},"region":{"startLine":1234}}}],"partialFingerprints":{"codehealthFindingId/v1":"09f2a3179e8b4ff75d1d88634199f1ec3627f11b1caeb985a6efbec0a13d9d16"}},{"ruleId":"D2","level":"warning","message":{"text":"fmt::format (cognitive 20): fmt::format has cognitive complexity 20 (threshold 15). Drivers by points: if/else 18, loops 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":"cli/tools/fmt.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"29871fe50109b6e65ae2ff5fc80716bf1211adba93c0ae4d53d384b0c9274380"}},{"ruleId":"D2","level":"warning","message":{"text":"audit::apply_fixes (cognitive 20): audit::apply_fixes has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10, loops 6, match/switch 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":"cli/tools/pm/audit.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e0bb95cb291d977349a9f40bf745b50bf6054dba17b3625761e33f9743c39c7"}},{"ruleId":"D2","level":"warning","message":{"text":"compile::compile_binary (cognitive 20): compile::compile_binary has cognitive complexity 20 (threshold 15). Drivers by points: if/else 14, loops 5, boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/compile.rs"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"bea0bf25b54d727f1923a24d23589cf5842a586671df3c2be18832b7c5964611"}},{"ruleId":"D2","level":"warning","message":{"text":"extract::extract_markdown_fenced_blocks (cognitive 20): extract::extract_markdown_fenced_blocks has cognitive complexity 20 (threshold 15). Drivers by points: if/else 16, loops 4 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/util/extract.rs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eafc498a7a0e5a48b3397243b3bbc2b3bb41afce4a7922c3acf63a65d1bbae5"}},{"ruleId":"D2","level":"warning","message":{"text":"DesktopHmrRunner::handle_change (cognitive 20): DesktopHmrRunner::handle_change has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11, match/switch 7, 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":"cli/rt/hmr.rs"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8fdcf77e4e1f80f87ba2068a134d63070815468080279a59078c9e5ed6fc626"}},{"ruleId":"D2","level":"warning","message":{"text":"subtle_import_key::import_key_slh_dsa (cognitive 20): subtle_import_key::import_key_slh_dsa has cognitive complexity 20 (threshold 15). Drivers by points: if/else 19, match/switch 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/crypto/subtle_import_key.rs"},"region":{"startLine":909}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2849f29c0e5ddb611adce58fb4328ccdd9777a2f9aa041f8e4d8dff744c9332"}},{"ruleId":"D2","level":"warning","message":{"text":"algorithm::compute_key_length (cognitive 20): algorithm::compute_key_length has cognitive complexity 20 (threshold 15). Drivers by points: if/else 14, match/switch 4, boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/crypto/algorithm.rs"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"30b8b276f86990d2d5e8dfe0c29f3de0af588b38742f97bc177416975cb73c68"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiBackendDbHandler::open (cognitive 20): MultiBackendDbHandler::open has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11, boolean chains 3, loops 3, match/switch 3 (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":"ext/kv/dynamic.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcd2795bfa5308d6757018d29ce9ee1f20516029691e279a3f1e5090560bdd5f"}},{"ruleId":"D2","level":"warning","message":{"text":"vm::property_definer (cognitive 20): vm::property_definer has cognitive complexity 20 (threshold 15). Drivers by points: if/else 17, boolean chains 2, match/switch 1 (nesting depth added 4). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/node/ops/vm.rs"},"region":{"startLine":1112}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d49b022aaec76d44aff52e837068053d099912f5ae22040771c3b30a68a16dc"}},{"ruleId":"D2","level":"warning","message":{"text":"buffer::op_node_encoding_slice (cognitive 20): buffer::op_node_encoding_slice has cognitive complexity 20 (threshold 15). Drivers by points: if/else 18, boolean chains 1, match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/node/ops/buffer.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf06f7d03d60ea11f0076a71d339de78b165d3edd50aeb09c23ba4c1f08d9f3b"}},{"ruleId":"D2","level":"warning","message":{"text":"fs::op_node_cp_on_link (cognitive 20): fs::op_node_cp_on_link has cognitive complexity 20 (threshold 15). Drivers by points: if/else 15, boolean chains 4, match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/node/ops/fs.rs"},"region":{"startLine":3122}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f6248ac1346c2869497051dd1c14e4243dca8cc1b94c1309c33532f89d5def9"}},{"ruleId":"D2","level":"warning","message":{"text":"fs::op_node_cp_on_link_sync (cognitive 20): fs::op_node_cp_on_link_sync has cognitive complexity 20 (threshold 15). Drivers by points: if/else 15, boolean chains 4, match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/node/ops/fs.rs"},"region":{"startLine":3325}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ada0ad537727e4e5224d4627c370b96e1ab814f4d656da1f89eb8a36a6439b"}},{"ruleId":"D2","level":"warning","message":{"text":"keys::dsa_generate_components (cognitive 20): keys::dsa_generate_components has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11, loops 7, 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":"ext/node_crypto/keys.rs"},"region":{"startLine":3119}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b0cce98cc9e921a83a2cef9bdc478fa333ce3016269bfa8d33509ee2fa9d360"}},{"ruleId":"D2","level":"warning","message":{"text":"inspect::sort_output (cognitive 20): inspect::sort_output has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10, loops 5, match/switch 5 (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":"ext/web/console/inspect.rs"},"region":{"startLine":2409}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfb3610c3cc41e20916e763d8d76e99b70a87e0240853d41bd2519075db17a65"}},{"ruleId":"D2","level":"warning","message":{"text":"error_fmt::get_stack_frames (cognitive 20): error_fmt::get_stack_frames has cognitive complexity 20 (threshold 15). Drivers by points: if/else 16, boolean chains 2, loops 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/web/console/error_fmt.rs"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"f07dbc026120056b4e711c6867d51eef091e82a861c9fefd37ca090bdac0280c"}},{"ruleId":"D2","level":"warning","message":{"text":"Flags::to_permission_args (cognitive 20): Flags::to_permission_args has cognitive complexity 20 (threshold 15). Drivers by points: match/switch 19, if/else 1. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/args/flags.rs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"eece99216773b5f2186ba6d0a2005cf9374c2c1a33db2d0227bda5f4ff0889c7"}},{"ruleId":"D2","level":"warning","message":{"text":"completions::generate_zsh (cognitive 20): completions::generate_zsh has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13, loops 5, boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cli_parser/src/completions.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"e477f9b45144bd4e5a09b2d36fee8d9e93547553ee810c938754c17dc75da65e"}},{"ruleId":"D2","level":"warning","message":{"text":"JsRuntimeInspector::capture_network_event (cognitive 20): JsRuntimeInspector::capture_network_event has cognitive complexity 20 (threshold 15). Drivers by points: if/else 17, boolean chains 2, match/switch 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/core/inspector.rs"},"region":{"startLine":1255}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce37ad8aca537db3ec32524097d0b8f0d49dacd39c6c62018f3a8bea2ac72cb7"}},{"ruleId":"D2","level":"warning","message":{"text":"ModuleMap::mod_evaluate (cognitive 20): ModuleMap::mod_evaluate has cognitive complexity 20 (threshold 15). Drivers by points: if/else 15, match/switch 3, 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":"libs/core/modules/map.rs"},"region":{"startLine":1927}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa260dca34488ca7a34153462b0c3c616a94619277ae4b8ad84acacfa7002ad6"}},{"ruleId":"D2","level":"warning","message":{"text":"pipe::uv_pipe_connect (cognitive 20): pipe::uv_pipe_connect has cognitive complexity 20 (threshold 15). Drivers by points: if/else 18, boolean chains 1, match/switch 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/core/uv_compat/pipe.rs"},"region":{"startLine":946}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1eedbb34e9bd5a4169f4cb273f60df0eaf88b5ca0969c76521a543898828a73"}},{"ruleId":"D2","level":"warning","message":{"text":"Protocol::chunked_body_chunk (cognitive 20): Protocol::chunked_body_chunk has cognitive complexity 20 (threshold 15). Drivers by points: if/else 15, match/switch 5 (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":"libs/http_h1/protocol.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"b02a6680c94bdcdda1eb9776c94eeb15e9cd193133b772b0df8a34db1334ce41"}},{"ruleId":"D2","level":"warning","message":{"text":"CjsModuleExportAnalyzer::analyze_reexports (cognitive 20): CjsModuleExportAnalyzer::analyze_reexports has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12, match/switch 6, loops 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/node_resolver/analyze.rs"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"2294b63005b4fc88725ead4ea1a4a96d9afc667ae107ac67c07b8e747da9c98c"}},{"ruleId":"D2","level":"warning","message":{"text":"NodeResolver::path_to_declaration_path (cognitive 20): NodeResolver::path_to_declaration_path has cognitive complexity 20 (threshold 15). Drivers by points: if/else 17, boolean chains 2, match/switch 1 (nesting depth added 4). Most of this is not in the body itself: 9 of the 20 points are its own statements and the rest belongs to one function item declared inside it (probe_extensions). 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":"libs/node_resolver/resolution.rs"},"region":{"startLine":1223}}}],"partialFingerprints":{"codehealthFindingId/v1":"daff7d7aee5279b63b1f1025a56ca3c78cf9fe7cb5afd70935175cdfe25fd771"}},{"ruleId":"D2","level":"warning","message":{"text":"resolution::resolve_pkg_json_import (cognitive 20): resolution::resolve_pkg_json_import has cognitive complexity 20 (threshold 15). Drivers by points: if/else 17, loops 2, 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":"libs/node_resolver/resolution.rs"},"region":{"startLine":2504}}}],"partialFingerprints":{"codehealthFindingId/v1":"76bdb4da7fa7d9e67d3637c7f52e3616b52f3b597789b28191ec8d106b242644"}},{"ruleId":"D2","level":"warning","message":{"text":"fs_util::hard_link_file (cognitive 20): fs_util::hard_link_file has cognitive complexity 20 (threshold 15). Drivers by points: if/else 20 (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":"libs/npm_cache/fs_util.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c1d102baa6fa20fbb186073a64ff70974fdeb56b5a764eb3ebec5a862d86d8d"}},{"ruleId":"D2","level":"warning","message":{"text":"deno_npm_cache::write_slim_version (cognitive 20): deno_npm_cache::write_slim_version has cognitive complexity 20 (threshold 15). Drivers by points: if/else 17, boolean chains 1, loops 1, match/switch 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/npm_cache/lib.rs"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"666e34e112589116eb6b63039df3961ead3e6a5aee94b5a77d124f6d0947e793"}},{"ruleId":"D2","level":"warning","message":{"text":"lifecycle_scripts::compute_lifecycle_script_layers (cognitive 20): lifecycle_scripts::compute_lifecycle_script_layers has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10, loops 10 (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":"libs/npm_installer/lifecycle_scripts.rs"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"4114e0614fdf102a627211359cef99503e9cb7b63d45d28ed88ced247337c2eb"}},{"ruleId":"D2","level":"warning","message":{"text":"bin_entries::sort_by_depth (cognitive 20): bin_entries::sort_by_depth has cognitive complexity 20 (threshold 15). Drivers by points: if/else 14, loops 4, match/switch 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/npm_installer/bin_entries.rs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c77b5b4397b28b97417c42be43883e846c1351db28252751cbf63f1e40cef8c"}},{"ruleId":"D2","level":"warning","message":{"text":"signature::parse_attribute (cognitive 20): signature::parse_attribute has cognitive complexity 20 (threshold 15). Drivers by points: if/else 17, match/switch 3 (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":"libs/ops/op2/signature.rs"},"region":{"startLine":1337}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d68d62ed185737cd4639844f4b3523279187230847dd78bccebeeadb0bc068f"}},{"ruleId":"D2","level":"warning","message":{"text":"ByonmNpmResolver::resolve_pkg_json_and_alias_for_req::resolve_alias_from_pkg_json (cognitive 20): ByonmNpmResolver::resolve_pkg_json_and_alias_for_req::resolve_alias_from_pkg_json has cognitive complexity 20 (threshold 15). Drivers by points: if/else 14, match/switch 3, boolean chains 2, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/resolver/npm/byonm.rs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"825f2ff5caaaccae31b813799106ff1d461d66e665c91d7221c15d6afe97905a"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkspaceResolver::maybe_resolve_specifier_to_workspace_jsr_pkg (cognitive 20): WorkspaceResolver::maybe_resolve_specifier_to_workspace_jsr_pkg has cognitive complexity 20 (threshold 15). Drivers by points: if/else 16, loops 2, match/switch 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":"libs/resolver/workspace.rs"},"region":{"startLine":1585}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac6522cb2779ade21c0e8fbaa56b46bef456b621436977090ffb89494af79459"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 20): (anonymous) has cognitive complexity 20 (threshold 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":"runtime/js/11_workers.js"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"65f9d0ef83aa0fea9125b739aae7989a0ef3769f6322a414c1c23e4e50499aa2"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 20): (anonymous) has cognitive complexity 20 (threshold 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":"ext/webidl/00_webidl.js"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"532c06e022b9fba5184872205857e4a0790865e45d047d19742c680af058ce66"}},{"ruleId":"D2","level":"warning","message":{"text":"serializeJsMessageData (cognitive 20): serializeJsMessageData has cognitive complexity 20 (threshold 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":"ext/web/13_message_port.js"},"region":{"startLine":863}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dbcb313b484d969743e84ea45c70a1c0df56b479cd3e7df1d96216976cf9df0"}},{"ruleId":"D2","level":"warning","message":{"text":"slice (cognitive 20): slice has cognitive complexity 20 (threshold 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":"ext/web/09_file.js"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2a0a17bc8c5b217747546dbf8bee10afa6aadd7599e64f25cddd13d3c41eb9c"}},{"ruleId":"D2","level":"warning","message":{"text":"fastPipeTo (cognitive 20): fastPipeTo has cognitive complexity 20 (threshold 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":"ext/web/06_streams.js"},"region":{"startLine":3155}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d96088e25c831ed37da0a22494f591e381d93e4f12a015daae84a80ec5349dd"}},{"ruleId":"D2","level":"warning","message":{"text":"getAttrPathValue (cognitive 20): getAttrPathValue has cognitive complexity 20 (threshold 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":"cli/js/40_lint.js"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b05c6e1df21dd89ea346cdcd2ac767d2aee04593faeb58ad9d597c671d5f1b9"}},{"ruleId":"D2","level":"warning","message":{"text":"DocumentModules::resolve (cognitive 19): DocumentModules::resolve has cognitive complexity 19 (threshold 15). Drivers by points: if/else 13, match/switch 5, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/lsp/documents.rs"},"region":{"startLine":1851}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c6b30e6febacdeb5f8cf190fd3a707d281e8f866d577ed08aa806cf39633060"}},{"ruleId":"D2","level":"warning","message":{"text":"CliModuleLoader::load (cognitive 19): CliModuleLoader::load has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11, boolean chains 4, match/switch 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":"cli/module_loader.rs"},"region":{"startLine":1386}}}],"partialFingerprints":{"codehealthFindingId/v1":"abe7199c54c21dfa7f99ea532581b868d05a4e150ad77955b8e2373db15048b3"}},{"ruleId":"D2","level":"warning","message":{"text":"DenoPluginHandler::bundle_load (cognitive 19): DenoPluginHandler::bundle_load has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12, match/switch 7 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/bundle/mod.rs"},"region":{"startLine":2090}}}],"partialFingerprints":{"codehealthFindingId/v1":"810734c9bf7b25b387d07c0cee84fafb42f62d098e3f1c513306a8336f1bad3b"}},{"ruleId":"D2","level":"warning","message":{"text":"BinaryNameAndUrl::resolve (cognitive 19): BinaryNameAndUrl::resolve has cognitive complexity 19 (threshold 15). Drivers by points: if/else 15, loops 2, boolean chains 1, match/switch 1 (nesting depth added 7). Of this number, 17 points are the body\u0027s own statements and 2 belong to one function item declared inside it. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/installer/global.rs"},"region":{"startLine":1042}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c5d0c5e7d2284e2b43046c64d3bc034c20531057649f36e4691a1d04934c517"}},{"ruleId":"D2","level":"warning","message":{"text":"desktop::create_windows_msi (cognitive 19): desktop::create_windows_msi has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10, loops 7, boolean chains 2 (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":"cli/tools/desktop.rs"},"region":{"startLine":4218}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e45f5000d9603c9d6994a3101f71ead6b595b3cf5a67d981dee9849472fa5be"}},{"ruleId":"D2","level":"warning","message":{"text":"npm_tarball::create_npm_tarball (cognitive 19): npm_tarball::create_npm_tarball has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10, loops 9 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/pack/npm_tarball.rs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"2503d4ec5574c4edfe840990e9f74c3585fbe275ba3ca3ee96da3882efbec726"}},{"ruleId":"D2","level":"warning","message":{"text":"windows::ensure_stdio_open (cognitive 19): windows::ensure_stdio_open has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11, match/switch 6, 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":"cli/util/windows.rs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"0199081169e0eb1b58f56aecf9ff68b28bafd2388e32257669b3cbef7e000c2e"}},{"ruleId":"D2","level":"warning","message":{"text":"swc::serialize_module_decl (cognitive 19): swc::serialize_module_decl has cognitive complexity 19 (threshold 15). Drivers by points: match/switch 12, if/else 7 (nesting depth added 9). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/lint/ast_buffer/swc.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b777e76710089a57501b81d9ec4a93de5951f9788c602eb5f7a119031bcee7d"}},{"ruleId":"D2","level":"warning","message":{"text":"swc::serialize_ts_type (cognitive 19): swc::serialize_ts_type has cognitive complexity 19 (threshold 15). Drivers by points: match/switch 16, if/else 3 (nesting depth added 9). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/lint/ast_buffer/swc.rs"},"region":{"startLine":2498}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce80f9a7c05fb9a1eb60ddb2a259f3a86a5ba7b4633f50d910d73993864b7ea7"}},{"ruleId":"D2","level":"warning","message":{"text":"installer::print_install_report (cognitive 19): installer::print_install_report has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9, loops 8, boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/installer/mod.rs"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe0fc6959cb201bc5b62761af1d0bdde1cd5236bc5c9a1f2bef78b9de85e6967"}},{"ruleId":"D2","level":"warning","message":{"text":"flags::escape_and_split_commas (cognitive 19): flags::escape_and_split_commas has cognitive complexity 19 (threshold 15). Drivers by points: if/else 18, 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":"cli/args/flags.rs"},"region":{"startLine":8484}}}],"partialFingerprints":{"codehealthFindingId/v1":"c192904322cd77dbf2984ea6999583ffebf71ecd6de371bae37854c9c8bb0157"}},{"ruleId":"D2","level":"warning","message":{"text":"clean::clean_node_modules (cognitive 19): clean::clean_node_modules has cognitive complexity 19 (threshold 15). Drivers by points: if/else 14, match/switch 3, boolean chains 1, loops 1 (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/clean.rs"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a2946a37c1eafe3fa02cb491769772e5d37d5565120ba64331cf4ff0045b77a"}},{"ruleId":"D2","level":"warning","message":{"text":"graph_util::resolution_error_for_tsc_diagnostic (cognitive 19): graph_util::resolution_error_for_tsc_diagnostic has cognitive complexity 19 (threshold 15). Drivers by points: match/switch 14, if/else 5 (nesting depth added 10). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/graph_util.rs"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d7c531699d7af6629eac3723e97342b7d3c5b2af1e11b06c69dfd0e4fadaf72"}},{"ruleId":"D2","level":"warning","message":{"text":"html::find_next_tag (cognitive 19): html::find_next_tag has cognitive complexity 19 (threshold 15). Drivers by points: if/else 14, loops 3, 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":"cli/tools/bundle/html.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"2274f4a6780d863390126cb270d0b7002e94a0d3a61621a3b3654819764f1aff"}},{"ruleId":"D2","level":"warning","message":{"text":"type_checker::maybe_ts_suppression_comment (cognitive 19): type_checker::maybe_ts_suppression_comment has cognitive complexity 19 (threshold 15). Drivers by points: if/else 14, boolean chains 3, loops 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/type_checker.rs"},"region":{"startLine":1513}}}],"partialFingerprints":{"codehealthFindingId/v1":"217e52ad1faa8c9a696cdfff218d9b102a0edb2b9b44d0e9ee8487544be8dd2f"}},{"ruleId":"D2","level":"warning","message":{"text":"bump_version::rewrite_import_map (cognitive 19): bump_version::rewrite_import_map has cognitive complexity 19 (threshold 15). Drivers by points: if/else 16, loops 2, boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/bump_version.rs"},"region":{"startLine":1026}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c2b75f8da264b617c61b358509920d5e22a5abeae9fcca849605c7f3ac4373b"}},{"ruleId":"D2","level":"warning","message":{"text":"EmbeddedModuleLoader::resolve_inner (cognitive 19): EmbeddedModuleLoader::resolve_inner has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11, match/switch 6, boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/rt/run.rs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"087c657fbed0d2e485446fb16baa1247935d0a3414e07e39e110cd85e3e7bdfd"}},{"ruleId":"D2","level":"warning","message":{"text":"subtle_sign::run (cognitive 19): subtle_sign::run has cognitive complexity 19 (threshold 15). Drivers by points: if/else 18, 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":"ext/crypto/subtle_sign.rs"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"519f2966523ab34694d9aa14f24ebd9a3641605b5a2e299b108edaee77b6beab"}},{"ruleId":"D2","level":"warning","message":{"text":"proxy::tunnel (cognitive 19): proxy::tunnel has cognitive complexity 19 (threshold 15). Drivers by points: if/else 14, match/switch 3, 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":"ext/fetch/proxy.rs"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"326f472ad6e552cec4b53911851f75a7208521b6244fc57a7bb32983a800d93a"}},{"ruleId":"D2","level":"warning","message":{"text":"http_next::is_normal_close (cognitive 19): http_next::is_normal_close has cognitive complexity 19 (threshold 15). Drivers by points: if/else 19 (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":"ext/http/http_next.rs"},"region":{"startLine":5398}}}],"partialFingerprints":{"codehealthFindingId/v1":"51fe7325703cf564f2b856d8b0b8fde8c42513056e362e1d6153082c7fac177b"}},{"ruleId":"D2","level":"warning","message":{"text":"TsFn::call (cognitive 19): TsFn::call has cognitive complexity 19 (threshold 15). Drivers by points: if/else 17, loops 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":"ext/napi/node_api.rs"},"region":{"startLine":1064}}}],"partialFingerprints":{"codehealthFindingId/v1":"b892c419e5eda15efe8185530fe6ca7d9a9f8cb394e015d2b2af0f966e3b7e46"}},{"ruleId":"D2","level":"warning","message":{"text":"js_native_api::create_external_string (cognitive 19): js_native_api::create_external_string has cognitive complexity 19 (threshold 15). Drivers by points: if/else 17, boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/napi/js_native_api.rs"},"region":{"startLine":1643}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2dd4a589d48914f060b1f5ba7f695580de3dacfc9c7299e1bccb57d75a40d4d"}},{"ruleId":"D2","level":"warning","message":{"text":"WasiContext::fd_pread (cognitive 19): WasiContext::fd_pread has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11, match/switch 6, loops 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":"ext/node/ops/wasi.rs"},"region":{"startLine":2138}}}],"partialFingerprints":{"codehealthFindingId/v1":"47c75e7393e257265b1b0287f6d2a502a48d47946167ca29983bc124691886f5"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalLspHttpCache::get_remote_url (cognitive 19): LocalLspHttpCache::get_remote_url has cognitive complexity 19 (threshold 15). Drivers by points: if/else 17, loops 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":"libs/cache_dir/local.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"539ec7976b87c3b4d336ad678dd72f7fd9bb0648ad6700712b88d6cd61429caa"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalHttpCache::get (cognitive 19): LocalHttpCache::get has cognitive complexity 19 (threshold 15). Drivers by points: if/else 14, match/switch 4, 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":"libs/cache_dir/local.rs"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"9423bea83d61b3f0873bd602a4966feee87f4690f49b0df2f25e5561a82323c8"}},{"ruleId":"D2","level":"warning","message":{"text":"Flags::otel_config (cognitive 19): Flags::otel_config has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10, match/switch 6, 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":"cli/args/flags.rs"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"79a557946a18fd0d90d6d95e6295753443dde42d53a0676529fa4898fcc08d1a"}},{"ruleId":"D2","level":"warning","message":{"text":"convert::escape_and_split_commas (cognitive 19): convert::escape_and_split_commas has cognitive complexity 19 (threshold 15). Drivers by points: if/else 18, 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":"libs/cli_parser/src/convert.rs"},"region":{"startLine":1266}}}],"partialFingerprints":{"codehealthFindingId/v1":"204f9537720e16338e98a4a005719948e8cf09508394d2359873ffc16a8f5f41"}},{"ruleId":"D2","level":"warning","message":{"text":"discovery::handle_workspace_with_members (cognitive 19): discovery::handle_workspace_with_members has cognitive complexity 19 (threshold 15). Drivers by points: if/else 15, loops 3, 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":"libs/config/workspace/discovery.rs"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d6ec1b98410ecb8c821e5c5066f9851fcd70ccdc8b1d9405ab4b1b93680c7a0"}},{"ruleId":"D2","level":"warning","message":{"text":"ops_builtin_v8::op_deserialize (cognitive 19): ops_builtin_v8::op_deserialize has cognitive complexity 19 (threshold 15). Drivers by points: match/switch 12, if/else 4, loops 3 (nesting depth added 9). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/core/ops_builtin_v8.rs"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"aca839e1867328b43dbb765276bbab74656ef9a30d8f7a5a2fa457b1eff76c56"}},{"ruleId":"D2","level":"warning","message":{"text":"EszipV2::into_bytes (cognitive 19): EszipV2::into_bytes has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9, loops 8, match/switch 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":"libs/eszip/v2.rs"},"region":{"startLine":1109}}}],"partialFingerprints":{"codehealthFindingId/v1":"dae566635d9c0ec7c303a87b342fc8a1fa59b1ca634391a54395f0db987dedf0"}},{"ruleId":"D2","level":"warning","message":{"text":"SharedConn::poll_write_response_chunk_with (cognitive 19): SharedConn::poll_write_response_chunk_with has cognitive complexity 19 (threshold 15). Drivers by points: if/else 14, loops 4, match/switch 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/http_h1/conn.rs"},"region":{"startLine":1272}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9ecb7d66acba4b1d633100f5d7981476b216b336dbcb3a21bf2c202c4b070c6"}},{"ruleId":"D2","level":"warning","message":{"text":"LockfilePackageGraph::from_lockfile (cognitive 19): LockfilePackageGraph::from_lockfile has cognitive complexity 19 (threshold 15). Drivers by points: loops 7, if/else 6, match/switch 6 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/lockfile/graphs.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"82f5e4cafb69feaa8a1d45e66a70082d4483ffc9b80281bfeafd74fbff6f7779"}},{"ruleId":"D2","level":"warning","message":{"text":"NpmOverrides::for_child (cognitive 19): NpmOverrides::for_child has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12, boolean chains 3, match/switch 3, 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":"libs/npm/resolution/overrides.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"30a9f7fc74e71c6422bbaf7033d96c7ad794255775e70f9543431301ad9dd47c"}},{"ruleId":"D2","level":"warning","message":{"text":"NpmResolutionSnapshot::as_valid_serialized_for_system (cognitive 19): NpmResolutionSnapshot::as_valid_serialized_for_system has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11, loops 7, 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":"libs/npm/resolution/snapshot.rs"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"619b51898c396a8b432e97e89a8e915d0f6e43db00d0cb43b25896a90ff06711"}},{"ruleId":"D2","level":"warning","message":{"text":"hoisted::cleanup_hoisted_packages (cognitive 19): hoisted::cleanup_hoisted_packages has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12, loops 6, boolean chains 1 (nesting depth added 11). Of this number, 18 points are the body\u0027s own statements and 1 belong to one function item declared inside it. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/npm_installer/hoisted.rs"},"region":{"startLine":1035}}}],"partialFingerprints":{"codehealthFindingId/v1":"89989b951023f00f99f2c7a251c456decb44234252f4264bddf48d43472dfd2e"}},{"ruleId":"D2","level":"warning","message":{"text":"DictionaryField::try_from (cognitive 19): DictionaryField::try_from has cognitive complexity 19 (threshold 15). Drivers by points: match/switch 9, if/else 6, loops 4 (nesting depth added 10). 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":"libs/ops/webidl/dictionary.rs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"e01f0237e0fda33f0b100f1f2c72cf03c4a0f7cb4ac81df12ca7a53bb7edfe6f"}},{"ruleId":"D2","level":"warning","message":{"text":"IsCjsResolver::get_known_mode_with_is_script (cognitive 19): IsCjsResolver::get_known_mode_with_is_script has cognitive complexity 19 (threshold 15). Drivers by points: if/else 17, boolean chains 1, match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/resolver/cjs/mod.rs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d4976f3eb8abb6e92dc510c0e2ff07d99a78bbe56bb6687ce83a8e5d47ea7b5"}},{"ruleId":"D2","level":"warning","message":{"text":"DenoGraphLoader::load_or_cache (cognitive 19): DenoGraphLoader::load_or_cache has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11, match/switch 8 (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":"libs/resolver/file_fetcher.rs"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd56a167df9e4188e0cb4aaa46b540bc43283b81a79cec157b68374656c8e339"}},{"ruleId":"D2","level":"warning","message":{"text":"graph::format_deno_graph_error (cognitive 19): graph::format_deno_graph_error has cognitive complexity 19 (threshold 15). Drivers by points: if/else 13, loops 6 (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":"libs/resolver/graph.rs"},"region":{"startLine":1076}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f04815efb862437737f6612595b585903672d89cb4bf1f08afd7cb9609ff202"}},{"ruleId":"D2","level":"warning","message":{"text":"process_stdio::uv_stdio_create (cognitive 19): process_stdio::uv_stdio_create has cognitive complexity 19 (threshold 15). Drivers by points: if/else 13, match/switch 5, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/subprocess_windows/src/process_stdio.rs"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"87e8547237a54698ee56ddd5dc6a2b889bcdff0118adfc04c018fd91ab175256"}},{"ruleId":"D2","level":"warning","message":{"text":"pump (cognitive 19): pump has cognitive complexity 19 (threshold 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":"ext/web/06_streams.js"},"region":{"startLine":3413}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6bb9e25b04e5c79cddbfb50ba3bdd974ccd0cb02f711c7cf680487ba3535178"}},{"ruleId":"D2","level":"warning","message":{"text":"HttpClient::get_redirected_response (cognitive 18): HttpClient::get_redirected_response has cognitive complexity 18 (threshold 15). Drivers by points: if/else 15, loops 2, boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/http_util.rs"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"003eb65c6487c2b6851da4c7d429f629c874d583b4ad9637b562a210a64d4907"}},{"ruleId":"D2","level":"warning","message":{"text":"TsServer::provide_will_rename_files (cognitive 18): TsServer::provide_will_rename_files has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12, loops 5, match/switch 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/lsp/ts_server.rs"},"region":{"startLine":1131}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c60b23ed45d0afe72e005c648d90f2d841f87d631151dc5f28a34249e63131a"}},{"ruleId":"D2","level":"warning","message":{"text":"ExternalsMatcher::new (cognitive 18): ExternalsMatcher::new has cognitive complexity 18 (threshold 15). Drivers by points: if/else 17, 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":"cli/tools/bundle/externals.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dab88cabaeb4faa6ab9dac600bf3b71c049dec85312e31b6af698f32d45663d"}},{"ruleId":"D2","level":"warning","message":{"text":"PackagePath::new (cognitive 18): PackagePath::new has cognitive complexity 18 (threshold 15). Drivers by points: if/else 14, match/switch 2, 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":"cli/tools/publish/paths.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f714caff738404c4cbd7ac9acd1b537ce258d6c3ae4a4454fa2b0fdcd31d021"}},{"ruleId":"D2","level":"warning","message":{"text":"SpecifierUnfurler::find_types_package_version_req (cognitive 18): SpecifierUnfurler::find_types_package_version_req has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11, loops 6, boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/publish/unfurl.rs"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c8aa5dda658cf945191a3cac9cc3a5d05b026e6a8f56aa12945ec8dfcb781fb"}},{"ruleId":"D2","level":"warning","message":{"text":"ReplSession::evaluate_line_and_get_output::inner (cognitive 18): ReplSession::evaluate_line_and_get_output::inner has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9, match/switch 9 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/repl/session.rs"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f6a7075f4a03add5dca65f15213547759347830ab312e25763d1a9abf2b05bb"}},{"ruleId":"D2","level":"warning","message":{"text":"desktop::package_macos_app_bundle (cognitive 18): desktop::package_macos_app_bundle has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11, match/switch 7 (nesting depth added 6). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/desktop.rs"},"region":{"startLine":3007}}}],"partialFingerprints":{"codehealthFindingId/v1":"37d754f65b2e75b26d451c17475e273bf7730e076bf2bdd908d99850df2e24d8"}},{"ruleId":"D2","level":"warning","message":{"text":"desktop::msi_sort_tables_by_string_id (cognitive 18): desktop::msi_sort_tables_by_string_id has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11, loops 6, boolean chains 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/desktop.rs"},"region":{"startLine":4874}}}],"partialFingerprints":{"codehealthFindingId/v1":"e76603219ec20d875d9a6b885044a7e3927a1d3f03ba1079b4bd919016a1d34a"}},{"ruleId":"D2","level":"warning","message":{"text":"tsc::find_mergeable_named_import (cognitive 18): tsc::find_mergeable_named_import has cognitive complexity 18 (threshold 15). Drivers by points: if/else 13, loops 3, 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":"cli/lsp/tsc.rs"},"region":{"startLine":3749}}}],"partialFingerprints":{"codehealthFindingId/v1":"05abe22e4535d3bec71195005c10c3c34ef398adeaee69f895655871d2e582d9"}},{"ruleId":"D2","level":"warning","message":{"text":"unfurl::unfurl_specifiers (cognitive 18): unfurl::unfurl_specifiers has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10, loops 4, match/switch 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":"cli/tools/pack/unfurl.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"c66a9e72004a18c6075dd52cb4dd4a741e9be94a156505c45b62e7f9e5eee3bc"}},{"ruleId":"D2","level":"warning","message":{"text":"x::autoinstall_package (cognitive 18): x::autoinstall_package has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11, match/switch 6, boolean chains 1 (nesting depth added 8). Of this number, 13 points are the body\u0027s own statements and 5 belong to one function item declared inside it. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/x.rs"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"b313fcf6851cc5e37f6307aa0da3524fd035d16c9ccfed7a3fa3982f31222ee9"}},{"ruleId":"D2","level":"warning","message":{"text":"global::uninstall (cognitive 18): global::uninstall has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9, loops 6, boolean chains 2, match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/installer/global.rs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a0767d8208e61ca239c4279209b0dcc535fd581cc39642a6c47e7a47c73ace3"}},{"ruleId":"D2","level":"warning","message":{"text":"diagnostics::diagnose_dependency (cognitive 18): diagnostics::diagnose_dependency has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12, boolean chains 4, match/switch 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/lsp/diagnostics.rs"},"region":{"startLine":1399}}}],"partialFingerprints":{"codehealthFindingId/v1":"f786aec2534ec87ee6c91cd7c9d1bb5af21c93d22997f8012cadb3fbdf8b70b3"}},{"ruleId":"D2","level":"warning","message":{"text":"desktop_devtools::handle_upgrade (cognitive 18): desktop_devtools::handle_upgrade has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11, match/switch 6, 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":"cli/tools/desktop_devtools.rs"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ae72a3dab69e542488cc98b7f536b491a3cb39e392488cb127857ea88f29798"}},{"ruleId":"D2","level":"warning","message":{"text":"desktop_devtools::route_client_text (cognitive 18): desktop_devtools::route_client_text has cognitive complexity 18 (threshold 15). Drivers by points: if/else 16, boolean chains 1, match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/desktop_devtools.rs"},"region":{"startLine":1134}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dfcd0e2b84b4a6b420317bf71d49cb5cb8f2425f2bc133052b8ca58651bc008"}},{"ruleId":"D2","level":"warning","message":{"text":"npm::call_audits_api (cognitive 18): npm::call_audits_api has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9, loops 6, match/switch 3 (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":"cli/tools/pm/audit.rs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"34cf0609f6f092c8ea425ebb6e52b8bd30101b3941d33f49ca6279eb0af2c7ec"}},{"ruleId":"D2","level":"warning","message":{"text":"list::list (cognitive 18): list::list has cognitive complexity 18 (threshold 15). Drivers by points: if/else 13, boolean chains 2, match/switch 2, loops 1 (nesting depth added 4). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/pm/list.rs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dbb3b1d71f4ffd7cbff6030c1b940e2e4fafd76a681b1bb730fcb7d893402ff"}},{"ruleId":"D2","level":"warning","message":{"text":"ProxyConnector::call (cognitive 18): ProxyConnector::call has cognitive complexity 18 (threshold 15). Drivers by points: if/else 13, match/switch 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":"ext/fetch/proxy.rs"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"364b46f31b7adbbc2f5db62c89f64fb732c1fce818d533ab5b9e9b143c075d1b"}},{"ruleId":"D2","level":"warning","message":{"text":"dlfcn::op_ffi_load (cognitive 18): dlfcn::op_ffi_load has cognitive complexity 18 (threshold 15). Drivers by points: match/switch 12, if/else 5, loops 1 (nesting depth added 10). 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":"ext/ffi/dlfcn.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"55fbddf6616927e66f055b1c62fdca5b26338b0340159bc826333fd490bdf6a9"}},{"ruleId":"D2","level":"warning","message":{"text":"NetworkStreamPrefixCheck::match_prefix_or_shutdown (cognitive 18): NetworkStreamPrefixCheck::match_prefix_or_shutdown has cognitive complexity 18 (threshold 15). Drivers by points: if/else 15, match/switch 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":"ext/http/network_buffered_stream.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c43e33a8c5aec7246f484ff75d1c6c8a9e2114cf64548489824a1cd69fd3557"}},{"ruleId":"D2","level":"warning","message":{"text":"request_properties::req_host_from_addr (cognitive 18): request_properties::req_host_from_addr has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12, boolean chains 5, match/switch 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/http/request_properties.rs"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"07c76f6a848137c560746faa804cd6f161aa1f6909e00052ff1bd262d5180812"}},{"ruleId":"D2","level":"warning","message":{"text":"http_next::write_h1_flat_response (cognitive 18): http_next::write_h1_flat_response has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9, match/switch 5, boolean chains 4 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/http/http_next.rs"},"region":{"startLine":3554}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ed5e2ad33d3222f03d8c01feb0c898b7e4660269e0fa040acd56bf6480a3a04"}},{"ruleId":"D2","level":"warning","message":{"text":"bitmap::parse_args (cognitive 18): bitmap::parse_args has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12, match/switch 6. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/image/bitmap.rs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"d38dfd0958cf1fa3aba87834af3db7f4a566bfd251edcff8799aeeac6c4d5fd6"}},{"ruleId":"D2","level":"warning","message":{"text":"js_native_api::napi_get_typedarray_info (cognitive 18): js_native_api::napi_get_typedarray_info has cognitive complexity 18 (threshold 15). Drivers by points: if/else 18 (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":"ext/napi/js_native_api.rs"},"region":{"startLine":3802}}}],"partialFingerprints":{"codehealthFindingId/v1":"479f29a3552c2c0161b218a95530fb338c5dd3b241d23585925d4acfbefe7065"}},{"ruleId":"D2","level":"warning","message":{"text":"ops::op_net_connect_tcp_inner (cognitive 18): ops::op_net_connect_tcp_inner has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11, match/switch 4, boolean chains 2, loops 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":"ext/net/ops.rs"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e02277c9befde9631bcd1b2b03418e393528055964fbc14c6202e988a876616"}},{"ruleId":"D2","level":"warning","message":{"text":"TLSWrap::read_start (cognitive 18): TLSWrap::read_start has cognitive complexity 18 (threshold 15). Drivers by points: if/else 14, boolean chains 4 (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":"ext/node/ops/tls_wrap.rs"},"region":{"startLine":2472}}}],"partialFingerprints":{"codehealthFindingId/v1":"588cf2b6272e1963213dfdb3b52f221de8bc39b11e7286ae80e9e40cfee319ec"}},{"ruleId":"D2","level":"warning","message":{"text":"vm::op_vm_compile_function (cognitive 18): vm::op_vm_compile_function has cognitive complexity 18 (threshold 15). Drivers by points: if/else 13, loops 4, boolean chains 1 (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/node/ops/vm.rs"},"region":{"startLine":1489}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7dd40c2c25115ba0c7b75e678d1e1d62d4918bd04e94f9fc8d36ebc9200ea40"}},{"ruleId":"D2","level":"warning","message":{"text":"KeyObjectHandle::new_asymmetric_public_key_from_js (cognitive 18): KeyObjectHandle::new_asymmetric_public_key_from_js has cognitive complexity 18 (threshold 15). Drivers by points: match/switch 12, if/else 6 (nesting depth added 8). 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":"ext/node_crypto/keys.rs"},"region":{"startLine":1545}}}],"partialFingerprints":{"codehealthFindingId/v1":"73ebf34c852f89359034024d56901983be3dfa61322e1e43a02ad9266bfafcf9"}},{"ruleId":"D2","level":"warning","message":{"text":"AggregateFunctionOption::from_value (cognitive 18): AggregateFunctionOption::from_value has cognitive complexity 18 (threshold 15). Drivers by points: if/else 18 (nesting depth added 4). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/node_sqlite/database.rs"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"c754d763f6fd775f3f31ec401c075deae174d521b991167636f05c74f1e9e25e"}},{"ruleId":"D2","level":"warning","message":{"text":"DatabaseSync::deserialize (cognitive 18): DatabaseSync::deserialize has cognitive complexity 18 (threshold 15). Drivers by points: if/else 15, boolean chains 2, loops 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":"ext/node_sqlite/database.rs"},"region":{"startLine":2029}}}],"partialFingerprints":{"codehealthFindingId/v1":"47241d6ed0c64c673bc8c20b2f21f220aa9cf58585d2db57d107c83055d4563c"}},{"ruleId":"D2","level":"warning","message":{"text":"inspect::get_user_options (cognitive 18): inspect::get_user_options has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8, match/switch 5, loops 3, boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/web/console/inspect.rs"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4ba1577ba45090e9d569d31d638a32c0b7af3356444c6b5093ce530ddefcb47"}},{"ruleId":"D2","level":"warning","message":{"text":"Workspace::diagnostics::check_member_diagnostics (cognitive 18): Workspace::diagnostics::check_member_diagnostics has cognitive complexity 18 (threshold 15). Drivers by points: if/else 15, boolean chains 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":"libs/config/workspace/mod.rs"},"region":{"startLine":1204}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fb76f9b560f776625947bbf97d06a78e08fb15ef0e1f68532881a07dc534916"}},{"ruleId":"D2","level":"warning","message":{"text":"discovery::resolve_auto_link_config_folders (cognitive 18): discovery::resolve_auto_link_config_folders has cognitive complexity 18 (threshold 15). Drivers by points: loops 8, if/else 7, match/switch 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":"libs/config/workspace/discovery.rs"},"region":{"startLine":1303}}}],"partialFingerprints":{"codehealthFindingId/v1":"d373290ff21ed2beb3c1e2bac93277bddfb20ae545c07146c2c2598d7f13be55"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionContainer::dispatch_message_from_frontend (cognitive 18): SessionContainer::dispatch_message_from_frontend has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11, match/switch 6, 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":"libs/core/inspector.rs"},"region":{"startLine":1626}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ba2b8c6bd9b806a2f404a7ed921eff7061cd57f6220672ba9d23b48b3db1ef"}},{"ruleId":"D2","level":"warning","message":{"text":"bindings::op_ctx_template_or_accessor (cognitive 18): bindings::op_ctx_template_or_accessor has cognitive complexity 18 (threshold 15). Drivers by points: if/else 18 (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":"libs/core/runtime/bindings.rs"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"98bc859e707d9ada903f849b91e5260c0391292cfa0c6bcaf8c6b273e54e2652"}},{"ruleId":"D2","level":"warning","message":{"text":"StructField::try_from (cognitive 18): StructField::try_from has cognitive complexity 18 (threshold 15). Drivers by points: match/switch 9, if/else 5, loops 4 (nesting depth added 10). 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":"libs/ops/conversion/from_v8/struct.rs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"44bfd3803b6bc7587473d2daa5ce8bed26038c8f09d9db0e7343783ada1451e3"}},{"ruleId":"D2","level":"warning","message":{"text":"ByonmNpmResolver::resolve_package_folder_from_package::inner (cognitive 18): ByonmNpmResolver::resolve_package_folder_from_package::inner has cognitive complexity 18 (threshold 15). Drivers by points: if/else 15, 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":"libs/resolver/npm/byonm.rs"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"f77548319779c227f4955294c3e160889536acfb14ef222d90055e8659474ab3"}},{"ruleId":"D2","level":"warning","message":{"text":"Host::parse_inner (cognitive 18): Host::parse_inner has cognitive complexity 18 (threshold 15). Drivers by points: if/else 16, 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":"runtime/permissions/lib.rs"},"region":{"startLine":1845}}}],"partialFingerprints":{"codehealthFindingId/v1":"75883dfd425d5c4770007434ec680fd373a0fc08b20372952c68c4699efd1bdf"}},{"ruleId":"D2","level":"warning","message":{"text":"requiredArguments (cognitive 18): requiredArguments has cognitive complexity 18 (threshold 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":"ext/webidl/00_webidl.js"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"acca057760d6064683a7c397fa649d4e5a25b6faa2c87f71bda15041bff265a8"}},{"ruleId":"D2","level":"warning","message":{"text":"createDictionaryConverter (cognitive 18): createDictionaryConverter has cognitive complexity 18 (threshold 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":"ext/webidl/00_webidl.js"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"d82818744996aafa62443fc90699d8d9ce92e36ed2bd02aacca4207f626a34a9"}},{"ruleId":"D2","level":"warning","message":{"text":"#receiveDatagrams (cognitive 18): #receiveDatagrams has cognitive complexity 18 (threshold 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":"ext/web/webtransport.js"},"region":{"startLine":699}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9192c90f5097d5947fe12e8c3a2127302c652e7cca0cba7e0c0f5cba0bb93f7"}},{"ruleId":"D2","level":"warning","message":{"text":"encodeLockName (cognitive 18): encodeLockName has cognitive complexity 18 (threshold 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":"ext/web/locks.js"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"a462f1f102000097b626b3112ea070847135eefcab8a5273a7b3b4832402f479"}},{"ruleId":"D2","level":"warning","message":{"text":"fastSerialize (cognitive 18): fastSerialize has cognitive complexity 18 (threshold 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":"ext/web/13_message_port.js"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f77561999981e12fd9095e77454e53571b99f008b4364f2dc774e6fd3eda184"}},{"ruleId":"D2","level":"warning","message":{"text":"readableByteStreamControllerEnqueue (cognitive 18): readableByteStreamControllerEnqueue has cognitive complexity 18 (threshold 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":"ext/web/06_streams.js"},"region":{"startLine":1774}}}],"partialFingerprints":{"codehealthFindingId/v1":"40161e69c040572fc7e968415ac97e584d722015571c908397da7b5a5fa6694c"}},{"ruleId":"D2","level":"warning","message":{"text":"put (cognitive 18): put has cognitive complexity 18 (threshold 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":"ext/cache/01_cache.js"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dbcf2b34f4af05ace99f9cbc754428127fcc4c0c5751d61bb7cd76d9dbb904c"}},{"ruleId":"D2","level":"warning","message":{"text":"CliOptions::resolve_config_permissions_for_dir (cognitive 17): CliOptions::resolve_config_permissions_for_dir has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10, match/switch 7 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/args/mod.rs"},"region":{"startLine":1230}}}],"partialFingerprints":{"codehealthFindingId/v1":"8254dba1b2f3aebe6463fa9cde278265de18a081529bc44ce57c9bcc28796198"}},{"ruleId":"D2","level":"warning","message":{"text":"Inner::initialize (cognitive 17): Inner::initialize has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13, boolean chains 4 (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/lsp/language_server.rs"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"227a311075ee1002a67d2932a06db1593630b54a71cbf4aa050517cd5af46353"}},{"ruleId":"D2","level":"warning","message":{"text":"DenoTaskLifeCycleScriptsExecutor::run_single_package_scripts (cognitive 17): DenoTaskLifeCycleScriptsExecutor::run_single_package_scripts has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13, loops 3, 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":"cli/npm.rs"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"645c8cba3568e73bf9d3bf4b596abc1d7c5903d81f7c91e2a97c7ebffba5c50f"}},{"ruleId":"D2","level":"warning","message":{"text":"RequestedVersion::from_upgrade_flags (cognitive 17): RequestedVersion::from_upgrade_flags has cognitive complexity 17 (threshold 15). Drivers by points: if/else 17 (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":"cli/tools/upgrade.rs"},"region":{"startLine":1222}}}],"partialFingerprints":{"codehealthFindingId/v1":"a409330e2bbcaeb9750d0d38e8864508df4b8a2af16d0ab9dc9da409353a9b6d"}},{"ruleId":"D2","level":"warning","message":{"text":"GraphWalker::maybe_get_check_entry (cognitive 17): GraphWalker::maybe_get_check_entry has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12, match/switch 3, 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":"cli/type_checker.rs"},"region":{"startLine":1259}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5f7905504f1dda6ec7c26e73f0dc65463ebd99edba1d61c103328c60fef520d"}},{"ruleId":"D2","level":"warning","message":{"text":"pm::find_package_and_select_version_for_req::select (cognitive 17): pm::find_package_and_select_version_for_req::select has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11, boolean chains 3, match/switch 3 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/pm/mod.rs"},"region":{"startLine":897}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e26512b7d78d0bb5801442aa2e896e0f130c193aac83051b03a44a1d7c75048"}},{"ruleId":"D2","level":"warning","message":{"text":"code_lens::collect_tsc (cognitive 17): code_lens::collect_tsc has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 8, if/else 7, boolean chains 2 (nesting depth added 8). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/lsp/code_lens.rs"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfb2aaf4a4f17c2b359db4fa3fd4b20d5f69d1dc4fd5e4707d01f3961fb2f38b"}},{"ruleId":"D2","level":"warning","message":{"text":"env::load_env_variables_from_env_files (cognitive 17): env::load_env_variables_from_env_files has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 7, if/else 6, loops 3, 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":"cli/util/env.rs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"f115d4830b5eb2f67bff590c3dcaa720d097c8793e6ac021fdf59bd8b1b8e1db"}},{"ruleId":"D2","level":"warning","message":{"text":"npm_compat::expand_member_patterns (cognitive 17): npm_compat::expand_member_patterns has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11, loops 4, 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":"cli/tools/installer/npm_compat.rs"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"c92b0f07a3803de0417a0ee35536ba26220122c45cfa9fa6a1bf1739dc25ff28"}},{"ruleId":"D2","level":"warning","message":{"text":"approve_scripts::approve_scripts (cognitive 17): approve_scripts::approve_scripts has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7, loops 5, boolean chains 4, match/switch 1 (nesting depth added 1). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/pm/approve_scripts.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e4825657a5592df34a946b22b3aaef0aaf3242c960970ec3d5dcde9db8d32b5"}},{"ruleId":"D2","level":"warning","message":{"text":"pack::collect_asset_files (cognitive 17): pack::collect_asset_files has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10, boolean chains 3, loops 3, 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":"cli/tools/pack/mod.rs"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"83ee0d35abe1dafd57210c78f529894a71c4d65915ba8ca90c63fb9f38b74932"}},{"ruleId":"D2","level":"warning","message":{"text":"analysis::fix_ts_import_changes (cognitive 17): analysis::fix_ts_import_changes has cognitive complexity 17 (threshold 15). Drivers by points: if/else 14, loops 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/lsp/analysis.rs"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"adfb94d703d8bdc1bf1273b443a84040377c39c3f8a69cd3a5ca0ee7f2283311"}},{"ruleId":"D2","level":"warning","message":{"text":"repl::run (cognitive 17): repl::run has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12, match/switch 3, loops 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/repl/mod.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"25e8b776566fc95c2f4ec5c9d1126d775535fc17372a1bb3522526df8c8b8e8d"}},{"ruleId":"D2","level":"warning","message":{"text":"clean::walk_removing (cognitive 17): clean::walk_removing has cognitive complexity 17 (threshold 15). Drivers by points: if/else 15, 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":"cli/tools/clean.rs"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"be4923f4ad830c6ed4284aba302979ee7ec0d51a7d13b4bf43efb3ca538d91e1"}},{"ruleId":"D2","level":"warning","message":{"text":"tsc::resolve_graph_specifier_types (cognitive 17): tsc::resolve_graph_specifier_types has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 14, if/else 3 (nesting depth added 8). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tsc/mod.rs"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d5889dd299344a80e12551cc7a1abf1985c2f84bc556a37d329ee4de0b2e179"}},{"ruleId":"D2","level":"warning","message":{"text":"bundle::flatten_declarations (cognitive 17): bundle::flatten_declarations has cognitive complexity 17 (threshold 15). Drivers by points: if/else 16, 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":"cli/tools/bundle/mod.rs"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5549ca5a981212021b6f5503df65950ff5bfdb32203171a7b4f5a78a53067a1"}},{"ruleId":"D2","level":"warning","message":{"text":"bundle::inline_declarations (cognitive 17): bundle::inline_declarations has cognitive complexity 17 (threshold 15). Drivers by points: if/else 16, 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":"cli/tools/bundle/mod.rs"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"589edc0f8502c0ef0c9495e773316517c9300f23b54e86d79ed601a5899e5fb3"}},{"ruleId":"D2","level":"warning","message":{"text":"VfsBuilder::build (cognitive 17): VfsBuilder::build has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8, match/switch 7, loops 2 (nesting depth added 8). Of this number, 14 points are the body\u0027s own statements and 3 belong to one function item declared inside it. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/lib/standalone/virtual_fs.rs"},"region":{"startLine":1254}}}],"partialFingerprints":{"codehealthFindingId/v1":"794d91a6263d5704f402fb19178c26001349b048002b8de5dbac13e83cfeee88"}},{"ruleId":"D2","level":"warning","message":{"text":"subtle_import_key::validate_jwk_akp (cognitive 17): subtle_import_key::validate_jwk_akp has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11, loops 4, boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/crypto/subtle_import_key.rs"},"region":{"startLine":1031}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fa9bc524fe4920b84313a84ceea03ccc9bff61ae58b6ce80d967dea7a5a3ef1"}},{"ruleId":"D2","level":"warning","message":{"text":"subtle_import_key::validate_jwk_oct (cognitive 17): subtle_import_key::validate_jwk_oct has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11, loops 4, boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/crypto/subtle_import_key.rs"},"region":{"startLine":1844}}}],"partialFingerprints":{"codehealthFindingId/v1":"ede132538b2a848559c1d1c04eced95607b944a611a36fb06209223e1d220989"}},{"ruleId":"D2","level":"warning","message":{"text":"subtle_verify::run (cognitive 17): subtle_verify::run has cognitive complexity 17 (threshold 15). Drivers by points: if/else 16, match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/crypto/subtle_verify.rs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"896032a550b9d66d0ffbd08e1f7d6c6143471e3ffdfd54f9d57d39c7f01b8d85"}},{"ruleId":"D2","level":"warning","message":{"text":"subtle_export_key::export_okp (cognitive 17): subtle_export_key::export_okp has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11, match/switch 6 (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":"ext/crypto/subtle_export_key.rs"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"86d079f37a7cbf9f83efafafa32c3c1e6036a8a5bae75978249bd7976bb77918"}},{"ruleId":"D2","level":"warning","message":{"text":"deno_crypto::sign_key_sync (cognitive 17): deno_crypto::sign_key_sync has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 13, if/else 4 (nesting depth added 7). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/crypto/lib.rs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"205a65104f55966de2da427c95e1c32d9e5da418e254611ceebab8f5228d4f79"}},{"ruleId":"D2","level":"warning","message":{"text":"js_native_api::node_api_create_object_with_properties (cognitive 17): js_native_api::node_api_create_object_with_properties has cognitive complexity 17 (threshold 15). Drivers by points: if/else 15, loops 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/napi/js_native_api.rs"},"region":{"startLine":1019}}}],"partialFingerprints":{"codehealthFindingId/v1":"6769fa7d7465ad0669edab92b8f27ee8779d827b7f352d2f80aa328ba83f295c"}},{"ruleId":"D2","level":"warning","message":{"text":"deno_napi::op_napi_open (cognitive 17): deno_napi::op_napi_open has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10, match/switch 6, 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":"ext/napi/lib.rs"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cda6116bfadc090fbf69ace3bd89bec53db539d24016385cb8402c6b170a50c"}},{"ruleId":"D2","level":"warning","message":{"text":"impl_::ab_view_to_index (cognitive 17): impl_::ab_view_to_index has cognitive complexity 17 (threshold 15). Drivers by points: if/else 17 (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":"ext/node/ops/ipc.rs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd3849d6316f647817c0163795cf02930c28495c7bc48ae6b25707b76e8a693e"}},{"ruleId":"D2","level":"warning","message":{"text":"deprecated::kill (cognitive 17): deprecated::kill has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10, match/switch 7 (nesting depth added 6). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/process/lib.rs"},"region":{"startLine":2179}}}],"partialFingerprints":{"codehealthFindingId/v1":"af5933e24f4220b5588f12fe341ce3a5b7d93bf5550dfa8bc2c54d3946cee38b"}},{"ruleId":"D2","level":"warning","message":{"text":"TransformListParser::next (cognitive 17): TransformListParser::next has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11, match/switch 6 (nesting depth added 6). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/web/css_value.rs"},"region":{"startLine":2601}}}],"partialFingerprints":{"codehealthFindingId/v1":"702de5fd867b7eebb780988f294118df9e393047daf37b84c4642a0e6594965f"}},{"ruleId":"D2","level":"warning","message":{"text":"console::op_console_quote_string (cognitive 17): console::op_console_quote_string has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13, loops 4 (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":"ext/web/console/mod.rs"},"region":{"startLine":937}}}],"partialFingerprints":{"codehealthFindingId/v1":"5be01e79876e60d358a09d76df740998a2ed7d4fcfd890da2a9d55d9db13e2ec"}},{"ruleId":"D2","level":"warning","message":{"text":"pipe::uv_pipe_connect (cognitive 17): pipe::uv_pipe_connect has cognitive complexity 17 (threshold 15). Drivers by points: if/else 17 (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":"libs/core/uv_compat/pipe.rs"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb6776383e1fd7dc165f37c36810edf037da01c8954e2cd8975e5ca451beb4ce"}},{"ruleId":"D2","level":"warning","message":{"text":"stream::uv_shutdown (cognitive 17): stream::uv_shutdown has cognitive complexity 17 (threshold 15). Drivers by points: if/else 16, 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":"libs/core/uv_compat/stream.rs"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"6199f0b7d7498864ecb00128d323739f3a7ee89802d26a671bfde680c058a26a"}},{"ruleId":"D2","level":"warning","message":{"text":"map::strip_script_prologue (cognitive 17): map::strip_script_prologue has cognitive complexity 17 (threshold 15). Drivers by points: if/else 15, 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":"libs/core/modules/map.rs"},"region":{"startLine":3527}}}],"partialFingerprints":{"codehealthFindingId/v1":"6806b92baca2df831a383129e6c6d6d85086d2d3c85018e104260d373394dca7"}},{"ruleId":"D2","level":"warning","message":{"text":"tty::tty_try_write (cognitive 17): tty::tty_try_write has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13, loops 3, match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/core/uv_compat/tty.rs"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"f42efcafe2b05ba8468e8571982967a7c81fdbad8d0ee2486e8f5c0889e61b74"}},{"ruleId":"D2","level":"warning","message":{"text":"error::format_location (cognitive 17): error::format_location has cognitive complexity 17 (threshold 15). Drivers by points: if/else 16, boolean chains 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":"libs/core/error.rs"},"region":{"startLine":2376}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f3991de16ec4f749082c1ee567672e0896e5814afbf7c8e2f9d7768ad32d488"}},{"ruleId":"D2","level":"warning","message":{"text":"EszipV2::from_graph (cognitive 17): EszipV2::from_graph has cognitive complexity 17 (threshold 15). Drivers by points: if/else 25, loops 14, match/switch 7 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/eszip/v2.rs"},"region":{"startLine":1281}}}],"partialFingerprints":{"codehealthFindingId/v1":"620da2260a9c329eb3417e185e86cac921c3feb9f411bc77ead77744b634c973"}},{"ruleId":"D2","level":"warning","message":{"text":"write::write_response_head_inner (cognitive 17): write::write_response_head_inner has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11, boolean chains 5, loops 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/http_h1/write.rs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8c8e8a0a96cea4903503df0f75ce5719ed2c91e9a7623548d0bc5bbf481345d"}},{"ruleId":"D2","level":"warning","message":{"text":"write::write_response_head_to_inner (cognitive 17): write::write_response_head_to_inner has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11, boolean chains 5, loops 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/http_h1/write.rs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0ce1d21c5c4df1ce5deae7ea25c00150384015e34b3569f3f10c4af85b2d860"}},{"ruleId":"D2","level":"warning","message":{"text":"GraphDependencyResolver::dedup_dep_paths (cognitive 17): GraphDependencyResolver::dedup_dep_paths has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10, loops 6, 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":"libs/npm/resolution/graph.rs"},"region":{"startLine":1652}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4e09b5d8b1f7cda5afb6a1c8c9be4cfded27a9467090b056cd6a3cf52de5b6f"}},{"ruleId":"D2","level":"warning","message":{"text":"ini::parse_quoted_string::take_inner_text (cognitive 17): ini::parse_quoted_string::take_inner_text has cognitive complexity 17 (threshold 15). Drivers by points: if/else 15, boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/npmrc/ini.rs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"136b9c87087c168b9932cf4bb0e18067f4421fd7cb59258d353f4cc18924c3fb"}},{"ruleId":"D2","level":"warning","message":{"text":"MacroConfig::from_metas (cognitive 17): MacroConfig::from_metas has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8, match/switch 5, 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":"libs/ops/op2/config.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"9853f4419aecd60f5c7c4bde55e169d8a5b911ae7de7e7d058d00c4cb4dc4618"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkspaceFactory::raw_node_modules_dir_mode (cognitive 17): WorkspaceFactory::raw_node_modules_dir_mode has cognitive complexity 17 (threshold 15). Drivers by points: if/else 16, boolean chains 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":"libs/resolver/factory.rs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"e99dbd53cad58e2852134e81dfa4da1c8cbe5ee75e45b8e726c9288784fd1d5a"}},{"ruleId":"D2","level":"warning","message":{"text":"PreparedModuleLoader::load_prepared_module_or_defer_emit (cognitive 17): PreparedModuleLoader::load_prepared_module_or_defer_emit has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 12, if/else 5 (nesting depth added 9). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/resolver/loader/module_loader.rs"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"827df0de8660516957de8e00ea4bcbd929b84e7736d61c891e78334431c5993e"}},{"ruleId":"D2","level":"warning","message":{"text":"pnpm_lockfile_import::collect_importer_specifiers (cognitive 17): pnpm_lockfile_import::collect_importer_specifiers has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10, match/switch 4, loops 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":"libs/resolver/pnpm_lockfile_import.rs"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"61d8811774d52138d941ec776c48b4ad5b6594d474bfb1058418a2e625b568f1"}},{"ruleId":"D2","level":"warning","message":{"text":"common::find_definitely_typed_package_from_snapshot (cognitive 17): common::find_definitely_typed_package_from_snapshot has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9, match/switch 6, boolean chains 1, loops 1 (nesting depth added 8). Of this number, 16 points are the body\u0027s own statements and 1 belong to one function item declared inside it. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/resolver/npm/managed/common.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b0b685513b1749efc44ed100bf7458b3666b3f06a227468544321053b45c587"}},{"ruleId":"D2","level":"warning","message":{"text":"lintNodePolyfillDenoApis (cognitive 17): lintNodePolyfillDenoApis has cognitive complexity 17 (threshold 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":"tools/lint.js"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3a5d09a780fc2d9ff482034a7b155bd466971f6be2eeba1599962cfaa53a8fe"}},{"ruleId":"D2","level":"warning","message":{"text":"checkCopyright (cognitive 17): checkCopyright has cognitive complexity 17 (threshold 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":"tools/copyright_checker.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"53909c930ffd4610a3fa7f6a954da344e094fc452f1acdf9f2d6ba89e74c1645"}},{"ruleId":"D2","level":"warning","message":{"text":"cache (cognitive 17): cache has cognitive complexity 17 (threshold 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":"runtime/js/10_permissions.js"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"4665f3ddac4e17bef3603cfc38580dcabd63ff0174ed766125613faab3ac4632"}},{"ruleId":"D2","level":"warning","message":{"text":"runImmediates (cognitive 17): runImmediates has cognitive complexity 17 (threshold 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":"libs/core/01_core.js"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"2358ee5c8cb36900da0c7289c30a7f038b37e1fe89bd756aedb470242daccea9"}},{"ruleId":"D2","level":"warning","message":{"text":"structuredClone (cognitive 17): structuredClone has cognitive complexity 17 (threshold 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":"ext/web/13_message_port.js"},"region":{"startLine":1059}}}],"partialFingerprints":{"codehealthFindingId/v1":"1845737248f3b66a522ef9e809a73c660683cd92f85c87d6be313f3b6de13501"}},{"ruleId":"D2","level":"warning","message":{"text":"closeSteps (cognitive 17): closeSteps has cognitive complexity 17 (threshold 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":"ext/web/06_streams.js"},"region":{"startLine":4108}}}],"partialFingerprints":{"codehealthFindingId/v1":"009823bce46ac36b8183304082f52b7ab04eb759da71ca9fec40204e8b01a43e"}},{"ruleId":"D2","level":"warning","message":{"text":"createByteStruct (cognitive 17): createByteStruct has cognitive complexity 17 (threshold 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":"ext/fs/30_fs.js"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eb8dcdd3e7cb70dac082c83d18834c32cebcdc606297747a93d0f4420ea0a70"}},{"ruleId":"D2","level":"warning","message":{"text":"assertSnapshot (cognitive 17): assertSnapshot has cognitive complexity 17 (threshold 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":"cli/js/40_test_snapshot.js"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"98da36e3bf4cd33b2b0c3ec6eb1f2a12ac0255cbc307a69ee70a790451ea665a"}},{"ruleId":"D2","level":"warning","message":{"text":"subTraverse (cognitive 17): subTraverse has cognitive complexity 17 (threshold 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":"cli/js/40_lint.js"},"region":{"startLine":1415}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ff23f866c6ae092f3ae508abdc736707787c55143be35e616ada29bc40dcb89"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfigData::load_inner (cognitive 16): ConfigData::load_inner has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10, boolean chains 3, match/switch 3 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/lsp/config.rs"},"region":{"startLine":1552}}}],"partialFingerprints":{"codehealthFindingId/v1":"f87732e30b8aa8f6ad1527bdda3b5f4fde9ce6028efdd51f3d43c1fe7bfafd17"}},{"ruleId":"D2","level":"warning","message":{"text":"Documents::change_notebook (cognitive 16): Documents::change_notebook has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6, loops 5, match/switch 5 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/lsp/documents.rs"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"00dac161caad1e2d137f52297da07c3bd556f959f936ec2f526ce81a76984920"}},{"ruleId":"D2","level":"warning","message":{"text":"DenoCompileBinaryWriter::fill_bundle_native_addon_vfs (cognitive 16): DenoCompileBinaryWriter::fill_bundle_native_addon_vfs has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10, boolean chains 3, loops 2, match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/standalone/binary.rs"},"region":{"startLine":1217}}}],"partialFingerprints":{"codehealthFindingId/v1":"12d733e84f8a4aa1fb276284065cdc1c8bfd460d3aff2b8b96ccc3bf30bfe96a"}},{"ruleId":"D2","level":"warning","message":{"text":"BinNameResolver::infer_name_from_url (cognitive 16): BinNameResolver::infer_name_from_url has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9, boolean chains 4, match/switch 3 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/installer/bin_name_resolver.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c00a6bd7744ad5c46f84212eab15bda050dc84c64ef2868ee6ad483ac362839"}},{"ruleId":"D2","level":"warning","message":{"text":"Diagnostic::fmt_source_line (cognitive 16): Diagnostic::fmt_source_line has cognitive complexity 16 (threshold 15). Drivers by points: if/else 13, 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":"cli/tsc/diagnostics.rs"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"04e5ec90e536e736a573bdf8eacf56bcbaa3de208315b044ea2b58aa148049e3"}},{"ruleId":"D2","level":"warning","message":{"text":"completions::get_jsr_completions (cognitive 16): completions::get_jsr_completions has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12, match/switch 3, boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/lsp/completions.rs"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ab934f79670eae326f5af8d0237ccd101761e0dc2283489b5f821a25792272"}},{"ruleId":"D2","level":"warning","message":{"text":"npm_compat::install_jsr_packages (cognitive 16): npm_compat::install_jsr_packages has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 11, if/else 4, loops 1 (nesting depth added 7). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/installer/npm_compat.rs"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8863251bd78495291df24e83952cd02a9893273d6783ab8fa512946293e0351"}},{"ruleId":"D2","level":"warning","message":{"text":"swc::serialize_decl (cognitive 16): swc::serialize_decl has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9, match/switch 7 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/lint/ast_buffer/swc.rs"},"region":{"startLine":1352}}}],"partialFingerprints":{"codehealthFindingId/v1":"85aef985a1ce72565f262d4264549fc54f62af9b5432d64157766d5593d5c6f1"}},{"ruleId":"D2","level":"warning","message":{"text":"pack::process_single_module (cognitive 16): pack::process_single_module has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12, match/switch 3, 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":"cli/tools/pack/mod.rs"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"45c91979631cf4ba7cdd29052351d8dcd67f6ec14bb48c8a47cfb8b29017f83b"}},{"ruleId":"D2","level":"warning","message":{"text":"publish::perform_publish (cognitive 16): publish::perform_publish has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7, loops 7, match/switch 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":"cli/tools/publish/mod.rs"},"region":{"startLine":887}}}],"partialFingerprints":{"codehealthFindingId/v1":"0159542c06b97168c5a89c53fc291a21cdcc030da311839ce91b11e102e283ae"}},{"ruleId":"D2","level":"warning","message":{"text":"socket_dev::print_firewall_report (cognitive 16): socket_dev::print_firewall_report has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8, match/switch 4, loops 3, boolean chains 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":"cli/tools/pm/audit.rs"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"a94db69ed763a58ba534d506db5c1ccdf17142fa17da317b06079542eb44aed4"}},{"ruleId":"D2","level":"warning","message":{"text":"init::init_project (cognitive 16): init::init_project has cognitive complexity 16 (threshold 15). Drivers by points: if/else 16 (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":"cli/tools/init/mod.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a886313f92b89ef39610e311461f9c888a07c39aafddf51f36a014d6ba8671a"}},{"ruleId":"D2","level":"warning","message":{"text":"execution::extract_env_files_from_command (cognitive 16): execution::extract_env_files_from_command has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9, loops 4, boolean chains 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/lsp/testing/execution.rs"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ae6c6d19de44518c878f7cf270b4c06c1e8eb7084e3ab32324db7ea826e3d15"}},{"ruleId":"D2","level":"warning","message":{"text":"tsconfig_gen::build_check_root_overlay (cognitive 16): tsconfig_gen::build_check_root_overlay has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11, loops 3, boolean chains 1, match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tsc/tsconfig_gen.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"afe8f4716cda7ba2cb50d964c9292ae2d8f72103fd932b6221d20233a70b393e"}},{"ruleId":"D2","level":"warning","message":{"text":"list::print_tree (cognitive 16): list::print_tree has cognitive complexity 16 (threshold 15). Drivers by points: if/else 14, loops 2 (nesting depth added 6). Most of this is not in the body itself: 6 of the 16 points are its own statements and the rest belongs to one function item declared inside it (walk). 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":"cli/tools/pm/list.rs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"20e620d321abca509e98f9a34384b1d628ebc6bcc4283d5f17f16765092b55da"}},{"ruleId":"D2","level":"warning","message":{"text":"CjsCodeAnalyzer::inner_cjs_analysis (cognitive 16): CjsCodeAnalyzer::inner_cjs_analysis has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11, match/switch 5 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/rt/node.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"69373aee1357da81fad38b6b579eef7c3e9ac9ac26d9717d49ef2a10a0d5d030"}},{"ruleId":"D2","level":"warning","message":{"text":"subtle_export_key::jwk_to_object (cognitive 16): subtle_export_key::jwk_to_object has cognitive complexity 16 (threshold 15). Drivers by points: if/else 15, loops 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":"ext/crypto/subtle_export_key.rs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8df7cf2ceda98a94200f5a3752344692e333a3ae580607d5c5dd500eea64cc5"}},{"ruleId":"D2","level":"warning","message":{"text":"subtle_crypto::supports_inner (cognitive 16): subtle_crypto::supports_inner has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9, match/switch 5, boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/crypto/subtle_crypto.rs"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bf59c90646fe70cccc18723f85f9cb893fb5026834f16b55da3b0b257678d23"}},{"ruleId":"D2","level":"warning","message":{"text":"turbocall::compile_trampoline::convert (cognitive 16): turbocall::compile_trampoline::convert has cognitive complexity 16 (threshold 15). Drivers by points: if/else 15, match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/ffi/turbocall.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"117703aea534bbe5b0586d3fd1a1ba1db55db61cfb222c4221b896898aafa741"}},{"ruleId":"D2","level":"warning","message":{"text":"std_fs::cp (cognitive 16): std_fs::cp has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11, boolean chains 5 (nesting depth added 2). Most of this is not in the body itself: 8 of the 16 points are its own statements and the rest belongs to 2 function items declared inside it (cp_, is_identical). 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":"ext/fs/std_fs.rs"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"66d04b41bf113ec2e05877ecc5db8bf49106c467bb1d0b17fbb067aa68198db0"}},{"ruleId":"D2","level":"warning","message":{"text":"deno_http::op_http_write_resource (cognitive 16): deno_http::op_http_write_resource has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11, match/switch 4, 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":"ext/http/lib.rs"},"region":{"startLine":1514}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c1db774516a09acfab6a4d3fd030564f1309475f0aa67a42de92a298c70ec0f"}},{"ruleId":"D2","level":"warning","message":{"text":"bitmap::op_create_image_bitmap (cognitive 16): bitmap::op_create_image_bitmap has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10, match/switch 5, boolean chains 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":"ext/image/bitmap.rs"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"63b196699c8b4f0b39ed2ebfc53a9227a39d9668dcd4a3fffa9d6df56d4a10df"}},{"ruleId":"D2","level":"warning","message":{"text":"bi_pipe::bi_pipe_pair_raw (cognitive 16): bi_pipe::bi_pipe_pair_raw has cognitive complexity 16 (threshold 15). Drivers by points: if/else 15, 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":"ext/io/bi_pipe.rs"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"80194d377354b6ba3df99c895365759fd8ebee0eaf703b3af638227875f71f29"}},{"ruleId":"D2","level":"warning","message":{"text":"uv::uv_ref (cognitive 16): uv::uv_ref has cognitive complexity 16 (threshold 15). Drivers by points: if/else 15, 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":"ext/napi/uv.rs"},"region":{"startLine":1085}}}],"partialFingerprints":{"codehealthFindingId/v1":"2abbb53bf2251119a3c23d60b30dbdcb394b1e6dd479eca8e907903ea9357561"}},{"ruleId":"D2","level":"warning","message":{"text":"uv::uv_unref (cognitive 16): uv::uv_unref has cognitive complexity 16 (threshold 15). Drivers by points: if/else 15, 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":"ext/napi/uv.rs"},"region":{"startLine":1128}}}],"partialFingerprints":{"codehealthFindingId/v1":"976afd2296e77e9e2fb486adc055bd86d5efb468b8c0f506550c99bfefc394f0"}},{"ruleId":"D2","level":"warning","message":{"text":"ops::op_dns_resolve (cognitive 16): ops::op_dns_resolve has cognitive complexity 16 (threshold 15). Drivers by points: if/else 13, boolean chains 1, loops 1, match/switch 1 (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/net/ops.rs"},"region":{"startLine":1056}}}],"partialFingerprints":{"codehealthFindingId/v1":"04ef02d0befed37ebb27f3836a92d95c2e239fa1cda606b29daf50b9053856bc"}},{"ruleId":"D2","level":"warning","message":{"text":"TLSWrap::set_alpn_protocols (cognitive 16): TLSWrap::set_alpn_protocols has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11, loops 4, 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":"ext/node/ops/tls_wrap.rs"},"region":{"startLine":3046}}}],"partialFingerprints":{"codehealthFindingId/v1":"657f31ad20e12f5ab0158a482a8ef62285ea9f860201ff89061456989a50bfe7"}},{"ruleId":"D2","level":"warning","message":{"text":"WasiContext::fd_readdir (cognitive 16): WasiContext::fd_readdir has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8, match/switch 6, 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":"ext/node/ops/wasi.rs"},"region":{"startLine":1291}}}],"partialFingerprints":{"codehealthFindingId/v1":"0381928a28f1a6d368639240fd1c52220dec101f1a3ed462dd98879d3ed6a590"}},{"ruleId":"D2","level":"warning","message":{"text":"WasiContext::fd_pwrite (cognitive 16): WasiContext::fd_pwrite has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7, match/switch 7, 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":"ext/node/ops/wasi.rs"},"region":{"startLine":2203}}}],"partialFingerprints":{"codehealthFindingId/v1":"5195bb156aa06492abc20d4f332b1268979a1f766a570c0f78246c3f36729f1f"}},{"ruleId":"D2","level":"warning","message":{"text":"wasi::canonicalize_lookup (cognitive 16): wasi::canonicalize_lookup has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12, match/switch 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":"ext/node/ops/wasi.rs"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"b04e5e6da134763cfaacaef750499d83f1552df9912dd6aa42e03d73075fd6a5"}},{"ruleId":"D2","level":"warning","message":{"text":"fs::check_parent_paths_impl (cognitive 16): fs::check_parent_paths_impl has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7, match/switch 6, 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":"ext/node/ops/fs.rs"},"region":{"startLine":2541}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c62b790492ecc0e395dc85393ce5608d1f81f4ca5fac9ca5dbc5a9ca13801fe"}},{"ruleId":"D2","level":"warning","message":{"text":"fs::check_parent_paths_impl_sync (cognitive 16): fs::check_parent_paths_impl_sync has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7, match/switch 6, 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":"ext/node/ops/fs.rs"},"region":{"startLine":2634}}}],"partialFingerprints":{"codehealthFindingId/v1":"b917cd4b0a3a4d529ebd00f2263723f7b4149b13a2070b46fcc5469c7ca96995"}},{"ruleId":"D2","level":"warning","message":{"text":"session::h2_read_cb (cognitive 16): session::h2_read_cb has cognitive complexity 16 (threshold 15). Drivers by points: if/else 13, 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":"ext/node/ops/http2/session.rs"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"9202f2d1a36aa92a5c54b5ce622a190738504c50aba3502db6932709d3e9da0e"}},{"ruleId":"D2","level":"warning","message":{"text":"DatabaseSync::apply_changeset (cognitive 16): DatabaseSync::apply_changeset has cognitive complexity 16 (threshold 15). Drivers by points: if/else 16 (nesting depth added 5). Most of this is not in the body itself: 7 of the 16 points are its own statements and the rest belongs to 2 function items declared inside it (conflict_handler, filter_handler). 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":"ext/node_sqlite/database.rs"},"region":{"startLine":1319}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c009489d7cb4e936f6c79abab3d1fc4d93049c89dd879b85abf7a574d71f455"}},{"ruleId":"D2","level":"warning","message":{"text":"StatementSync::columns (cognitive 16): StatementSync::columns has cognitive complexity 16 (threshold 15). Drivers by points: if/else 15, 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":"ext/node_sqlite/statement.rs"},"region":{"startLine":1065}}}],"partialFingerprints":{"codehealthFindingId/v1":"8488a3cfce4f125bf6bc54aa37f3021e0c8483b4a3ba5b9c1f48ae7357008ea3"}},{"ruleId":"D2","level":"warning","message":{"text":"database::open_db (cognitive 16): database::open_db has cognitive complexity 16 (threshold 15). Drivers by points: if/else 15, 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":"ext/node_sqlite/database.rs"},"region":{"startLine":699}}}],"partialFingerprints":{"codehealthFindingId/v1":"c380e64abb3e512e022e83ecd58fa996f142a8cacc93447173cc3b34ee4b3252"}},{"ruleId":"D2","level":"warning","message":{"text":"database::custom_aggregate_step_base (cognitive 16): database::custom_aggregate_step_base has cognitive complexity 16 (threshold 15). Drivers by points: if/else 14, loops 1, match/switch 1 (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/node_sqlite/database.rs"},"region":{"startLine":2252}}}],"partialFingerprints":{"codehealthFindingId/v1":"244f0ce4527f84b3762d0adf887d950c8d99c0a7fc3a6f6aab28408a0aa90367"}},{"ruleId":"D2","level":"warning","message":{"text":"database::custom_aggregate_value_base (cognitive 16): database::custom_aggregate_value_base has cognitive complexity 16 (threshold 15). Drivers by points: if/else 16 (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":"ext/node_sqlite/database.rs"},"region":{"startLine":2361}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3446294d1fcde5a6b9b77f8de57ea9b83e891935f33bfb6c8c302f4e0bb1c0e"}},{"ruleId":"D2","level":"warning","message":{"text":"backup::op_node_database_backup (cognitive 16): backup::op_node_database_backup has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12, match/switch 3, 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":"ext/node_sqlite/backup.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"7980dc1925d1eccae29ca6fa4902e2a621dc89ceb46fa5d0008aba71857d3f4c"}},{"ruleId":"D2","level":"warning","message":{"text":"error_fmt::identical_sequence_range (cognitive 16): error_fmt::identical_sequence_range has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10, loops 5, 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":"ext/web/console/error_fmt.rs"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad6a905cd3c63758c3e1e68acb87f459db8eca4a6d966ec7d7f40b0fa3189fbf"}},{"ruleId":"D2","level":"warning","message":{"text":"deno_websocket::op_ws_next_event (cognitive 16): deno_websocket::op_ws_next_event has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8, match/switch 7, 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":"ext/websocket/lib.rs"},"region":{"startLine":955}}}],"partialFingerprints":{"codehealthFindingId/v1":"3deb6174f911db84640e55521fc9e163509ee7d7e437c066740bdef915a086a1"}},{"ruleId":"D2","level":"warning","message":{"text":"convert::install_parse (cognitive 16): convert::install_parse has cognitive complexity 16 (threshold 15). Drivers by points: if/else 15, 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":"libs/cli_parser/src/convert.rs"},"region":{"startLine":2139}}}],"partialFingerprints":{"codehealthFindingId/v1":"55ff1ae8e0760499fa0c002abb500e1176b5733290aefea3fa8706f80f5e8588"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkspaceDirectory::discover::resolve_start_dir (cognitive 16): WorkspaceDirectory::discover::resolve_start_dir has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8, match/switch 8 (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":"libs/config/workspace/mod.rs"},"region":{"startLine":1951}}}],"partialFingerprints":{"codehealthFindingId/v1":"231b2c2920d89ffe0a7bff84d14bf1a10e1c4161f6fc71f7aa2557e08f9ba5c1"}},{"ruleId":"D2","level":"warning","message":{"text":"import_map::rewrite_jsr_imports_to_npm (cognitive 16): import_map::rewrite_jsr_imports_to_npm has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10, loops 4, boolean chains 2 (nesting depth added 6). Most of this is not in the body itself: 7 of the 16 points are its own statements and the rest belongs to one function item declared inside it (rewrite_map). 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":"libs/config/import_map.rs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"2102002530a94580f5c6d6f2ff30876c631f1b4c29cee1a016f65966f9425c39"}},{"ruleId":"D2","level":"warning","message":{"text":"RuntimeActivityStatsFactory::capture (cognitive 16): RuntimeActivityStatsFactory::capture has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12, loops 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":"libs/core/runtime/stats.rs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2bcc74c12645e9ab6a4c0a4277d2f9bb681e471921587b6e9a4c9c38d9b50a4"}},{"ruleId":"D2","level":"warning","message":{"text":"ops_builtin_v8::op_current_user_call_site (cognitive 16): ops_builtin_v8::op_current_user_call_site has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9, match/switch 4, 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":"libs/core/ops_builtin_v8.rs"},"region":{"startLine":1487}}}],"partialFingerprints":{"codehealthFindingId/v1":"20bba4db2f55346fa5847fd45579ea11c47be292b01643405ae3fd4b0dca56fe"}},{"ruleId":"D2","level":"warning","message":{"text":"bindings::op_ctx_function_or_accessor (cognitive 16): bindings::op_ctx_function_or_accessor has cognitive complexity 16 (threshold 15). Drivers by points: if/else 16 (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":"libs/core/runtime/bindings.rs"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7c1217f6753175c392dd7dd573ca08015f4875dea3738ed184e494c3eb5dd40"}},{"ruleId":"D2","level":"warning","message":{"text":"deno_lockfile::split_git_conflict_sides (cognitive 16): deno_lockfile::split_git_conflict_sides has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10, boolean chains 3, match/switch 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":"libs/lockfile/lib.rs"},"region":{"startLine":1255}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ee2262611292ead7cb659bb82977b1e59b461773171b4cf7f7e68eceb0b19c6"}},{"ruleId":"D2","level":"warning","message":{"text":"NodeResolver::package_exports_resolve_internal (cognitive 16): NodeResolver::package_exports_resolve_internal has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11, boolean chains 2, match/switch 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":"libs/node_resolver/resolution.rs"},"region":{"startLine":1788}}}],"partialFingerprints":{"codehealthFindingId/v1":"503c3f192275970b64e14b2c36f62967bdec8500aa6500a22bd522fbfa072a6e"}},{"ruleId":"D2","level":"warning","message":{"text":"NpmPackageVersionInfo::dependencies_as_entries (cognitive 16): NpmPackageVersionInfo::dependencies_as_entries has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10, match/switch 3, loops 2, boolean chains 1 (nesting depth added 5). Of this number, 15 points are the body\u0027s own statements and 1 belong to one function item declared inside it. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/npm/registry.rs"},"region":{"startLine":980}}}],"partialFingerprints":{"codehealthFindingId/v1":"26601c1e7a5f07b7a07822dec1e9ed88ee75349632bc4c6de33b0e75d512ffd6"}},{"ruleId":"D2","level":"warning","message":{"text":"NpmPackageVersionResolver::resolve_best_package_version_info (cognitive 16): NpmPackageVersionResolver::resolve_best_package_version_info has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12, loops 2, match/switch 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":"libs/npm/resolution/common.rs"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"435b7def03b23d8aad7c25adfb99465fed8597a422f0520df1429cc63ea894bc"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph::resolve_packages_for_snapshot_with_maybe_restart (cognitive 16): Graph::resolve_packages_for_snapshot_with_maybe_restart has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8, loops 5, match/switch 2, 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":"libs/npm/resolution/graph.rs"},"region":{"startLine":802}}}],"partialFingerprints":{"codehealthFindingId/v1":"096bdd4c443dd5c61dad02f896476baf2b961f433df5d895fa5053057f7eb83b"}},{"ruleId":"D2","level":"warning","message":{"text":"RegistryInfoProviderInner::create_load_future (cognitive 16): RegistryInfoProviderInner::create_load_future has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7, match/switch 6, boolean chains 3 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/npm_cache/registry_info.rs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0214bc14d5fc2a2cd0872a7ceb0a035bafa7e531fea1f3371c98803da5a6555"}},{"ruleId":"D2","level":"warning","message":{"text":"resolution::peer_dep_diagnostics_to_display_tree (cognitive 16): resolution::peer_dep_diagnostics_to_display_tree has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12, loops 4 (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":"libs/npm_installer/resolution.rs"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"88187514b27f466a07ae5eabb50e6c60d5385a00694b369c1f5b90f89957d276"}},{"ruleId":"D2","level":"warning","message":{"text":"EnumVariantAttribute::from_variant (cognitive 16): EnumVariantAttribute::from_variant has cognitive complexity 16 (threshold 15). Drivers by points: loops 7, match/switch 5, if/else 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":"libs/ops/conversion/to_v8/enum.rs"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"51e7e51a105f2cdd5fb931713c2399af930d5d91add5e721cda617d6d1acf759"}},{"ruleId":"D2","level":"warning","message":{"text":"ByonmNpmResolver::resolve_pkg_folder_from_deno_module_req (cognitive 16): ByonmNpmResolver::resolve_pkg_folder_from_deno_module_req has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12, boolean chains 2, loops 1, match/switch 1 (nesting depth added 6). Of this number, 9 points are the body\u0027s own statements and 7 belong to one function item declared inside it. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/resolver/npm/byonm.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"d417a89687873b90603288e2da56696de58c8dc6c9a1a768c6cd7a169d30dfd8"}},{"ruleId":"D2","level":"warning","message":{"text":"update_text_for_elements (cognitive 16): update_text_for_elements has cognitive complexity 16 (threshold 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":"runtime/cpu_profiler/flamegraph.js"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e16b23273add9a51b846284f93e449a87264fa433be1f45e2bcbc5ae7fe2f48"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 16): (anonymous) has cognitive complexity 16 (threshold 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":"ext/websocket/01_websocket.js"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"234278667f7362b472bcccf296f03939dbf0f481c703a4ced0e28fe7cafd3345"}},{"ruleId":"D2","level":"warning","message":{"text":"readableStreamPipeTo (cognitive 16): readableStreamPipeTo has cognitive complexity 16 (threshold 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":"ext/web/06_streams.js"},"region":{"startLine":3247}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b59ef8718095cc22ee3cfd55f0432eaedf3cc1b51370cdd7a4e3f43891fc931"}},{"ruleId":"D2","level":"warning","message":{"text":"parseFileInfo (cognitive 16): parseFileInfo has cognitive complexity 16 (threshold 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":"ext/fs/30_fs.js"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"a17a282276b16a26d714fd244a0c433642a25f5873938e97220d003c64cb8917"}},{"ruleId":"D2","level":"warning","message":{"text":"parseContentTypeForCdp (cognitive 16): parseContentTypeForCdp has cognitive complexity 16 (threshold 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":"ext/fetch/26_fetch.js"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d18b41d6e777f218526d760f2ff1c4951652bf50fd27dcb227e0d7846f56d94"}},{"ruleId":"D2","level":"warning","message":{"text":"exec (cognitive 16): exec has cognitive complexity 16 (threshold 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":"cli/tsc/99_main_compiler.js"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"7614c88f4fb19f4762cc874b22e6f565db41a3d39b9a0f05d386e22f70107e6f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: args/flags.rs: FileTooLong \u2014 6829 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/args/flags.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"82396713dcc82c667389ed16952fa074177049221ccce9570de690fc40e25877"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: web/06_streams.js: FileTooLong \u2014 4960 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/web/06_streams.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"07447de42e73664b52d3cd002eb66b90b95e6bbbcd0fdc878d140f25b8d59985"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: http/http_next.rs: FileTooLong \u2014 4114 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/http/http_next.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"27bfd600cf6567c1a9b762603b597bc1ba90806ad118f9b31a6118362e49bcde"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: crate::args::flags: TooManyFunctions \u2014 236 free functions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/args/flags.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"c89ed8e40cfb4a60ce9872d4d83068c803abfec03b49ee5735cec28dc0f4522f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lsp/language_server.rs: FileTooLong \u2014 3701 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/lsp/language_server.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f6dc35154acddeda159565beae479fd30535830fa396aa0e7228bcf79881b75"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: permissions/lib.rs: FileTooLong \u2014 3669 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/permissions/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"481a05fbc71614feb5797b928a7f8df6afc803fde9e67edd6b6b086819d955ca"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: node_crypto/keys.rs: FileTooLong \u2014 3430 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/node_crypto/keys.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e6f9b5db3b6852fbb06c33b6870b84528bb649b8122ffa0e00f68737b53435a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tools/desktop.rs: FileTooLong \u2014 3414 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/desktop.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2542f1ea5d130f05432cb5301bf1ad1284059a5eafdd108073c16c91db3fadbe"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: napi/js_native_api.rs: FileTooLong \u2014 2933 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/napi/js_native_api.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"713d094c8e5fc4763855ebeaae4f7567501e68bc0092e14dc8ac03d7be890cb5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: console/inspect.rs: FileTooLong \u2014 2860 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/web/console/inspect.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"219a11026a91a26a5b52609a66fc08a5a6f1fc837598196bdf609ac5a64e45b0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: node_shim/lib.rs: FileTooLong \u2014 2854 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/node_shim/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f5995466297cb761320bf67ed01fbca04e87b7bbbf2a9bab54e57cec19dedce"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ops/tls_wrap.rs: FileTooLong \u2014 2721 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/node/ops/tls_wrap.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5c767ada5deba844a5e56ab884b51f56b096600297ce24aa3c163312ec5374e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TsEsTreeBuilder: TooManyMethods \u2014 155 methods."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/lint/ast_buffer/ts_estree.rs"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"b685509fa9512eb4547246d83ba9cbace09b72cb45537fac4ddd26c6567f48d5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ops/fs.rs: FileTooLong \u2014 2574 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/node/ops/fs.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fa7f938f5977d8eb6356a08c38df1f28cdcc5f6feacacd6707af4b29f72ba60"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: modules/map.rs: FileTooLong \u2014 2458 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/core/modules/map.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7a5e86a903057a182e4ffdae1e5648cc3c648fe162e281815bdca4e3e904b22"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ast_buffer/ts_estree.rs: FileTooLong \u2014 2347 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/lint/ast_buffer/ts_estree.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf65a5e3e9124ae16e8c2d62660f22bf72b1e5c32ebb1cdf1c0a624ce4e45f13"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: web/geometry.rs: FileTooLong \u2014 2290 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/web/geometry.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e031d7884953133490155dace4145c935cab212f36d8ab31f878b8a3d36822"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: crate::js_native_api: TooManyFunctions \u2014 137 free functions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/napi/js_native_api.rs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0504ed57b1eec3a391999e53562775d34080105cefbd91efe9dee0022742fb7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/convert.rs: FileTooLong \u2014 2279 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cli_parser/src/convert.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"325010264b0f7b33a914febdb3266282562a12d7bcf2c20863e4482e84669c59"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: workspace/mod.rs: FileTooLong \u2014 2255 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/config/workspace/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"94f497ab3e5f68d311c17457bd65b9c0fb681393a260401cac4d1a89e12eac85"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: resolution/graph.rs: FileTooLong \u2014 2213 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/npm/resolution/graph.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ff04be112c923f5a28ea0fdd07bbea2e695d08225ad06038eb593fc20e4830"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: node_resolver/resolution.rs: FileTooLong \u2014 2204 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/node_resolver/resolution.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b648264fa38c7faea491f976cdb64be1802bc99484f1d0bb4d6652a4064a91fe"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: http2/session.rs: FileTooLong \u2014 2182 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/node/ops/http2/session.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b35aa3258599e0a2492eca73ea794c98038c5da8c7f39f4b7ef80f4e47144f10"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: node_sqlite/database.rs: FileTooLong \u2014 2154 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/node_sqlite/database.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"202086487be5bfb2b558f814498f4fec0acb4b77fa1c4e34c281aba22566574b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ast_buffer/swc.rs: FileTooLong \u2014 2150 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/lint/ast_buffer/swc.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"021a94ba47ea5a90b6d89e8c544483ceb9fa4f6425365da24df7ae4f6161ff3e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: runtime/jsruntime.rs: FileTooLong \u2014 2137 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/core/runtime/jsruntime.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ce1023d22eb9b17edeae4ef2dee90630ddc64ddff7a731110ec7e4e308db987"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: bundle/mod.rs: FileTooLong \u2014 2040 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/bundle/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d802c665870e3d96043500a7986c35635221030c7e3805e510f538d5e00a6b77"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: uv_compat/tty.rs: FileTooLong \u2014 1975 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/core/uv_compat/tty.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b1b67b1667e3f1554567f4770c78b91f4de6c5de7df4ca553d35da000009151"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: deno_json/mod.rs: FileTooLong \u2014 1972 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/config/deno_json/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f1a58d6a09d7f04569e66d5cc6f2fa3396ed9a8c061ea24751cb2c2613abd21"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: crate::http_next: TooManyFunctions \u2014 112 free functions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/http/http_next.rs"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecd39f111b594e7d6c7212bfee7fcadb89519d9b7ea58af38a07421cfecd43e6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lsp/documents.rs: FileTooLong \u2014 1774 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/lsp/documents.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1434a7ddffef4b25ffe9db1aac69b2bc685903c2b0c80f26b8394bb6ac2fa728"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: core/error.rs: FileTooLong \u2014 1743 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/core/error.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"679c1f00c1436e32416f1a12c6d0dc7b34263366200fd9fd4eb487d5eee1d559"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ops/wasi.rs: FileTooLong \u2014 1711 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/node/ops/wasi.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fc0fcb7999a507bef4380b2f4f093470bb2bd98bc94b106bc3f1192c258aebd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: fs/ops.rs: FileTooLong \u2014 1706 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/fs/ops.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"726e32c530c05c0fc92d0d46c2db79e180c432ceca2b6f39b6e5b9a740e47862"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: crate::convert: TooManyFunctions \u2014 101 free functions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cli_parser/src/convert.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d0356736d9e23c869b44e4fc53f831cdd4e698212d8c7b1ad11217bb58be113"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: cli/module_loader.rs: FileTooLong \u2014 1586 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/module_loader.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e90705ed7f480ff7137326365c5eaa6d946cc3f57e883b32950088d844171c82"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ops/vm.rs: FileTooLong \u2014 1553 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/node/ops/vm.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d73462f970652a2507e2a5870c53e8956e5980db88b2b67c3ebe802f2d6afef"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: crypto/subtle_import_key.rs: FileTooLong \u2014 1550 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/crypto/subtle_import_key.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f01dd3bc311894470232cc2cc6823eb225859e0d502aef6a8f8d73fb274ae8cc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: node_crypto/lib.rs: FileTooLong \u2014 1547 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/node_crypto/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbe83119a4603d4f49bfe3201622c2e48177ccbf2eca36f48b967682246293dd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: crate::ops::fs: TooManyFunctions \u2014 92 free functions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/node/ops/fs.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b844babb2ea9659c07798caff808966defd8024cc55395bb69a395de9f42e81"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: crate::console::inspect: TooManyFunctions \u2014 92 free functions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/web/console/inspect.rs"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bdbd1e907cbe108cf084341d67551475be846d338a09de26572141ef02762b4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lsp/diagnostics.rs: FileTooLong \u2014 1518 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/lsp/diagnostics.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d7a4f04bcbd409c1a5758895cd215f5d18b07619a4d2e4d2b7fd307403b58c6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lsp/config.rs: FileTooLong \u2014 1490 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/lsp/config.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3a6f9a6e230602838ff326b426d428eaf349108ca355392aaafb234da7aa634"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: process/lib.rs: FileTooLong \u2014 1487 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/process/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3cd344f30dd5dbf72a5ca920cfa7b68f4dcfd283dddc658f70f91d37e9c379e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: npm_installer/local.rs: FileTooLong \u2014 1474 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/npm_installer/local.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"983e5d7300e8b1b02bb104dd40616344d0985a865f0f8309bf3fe3eaaccb5226"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CliOptions: TooManyMethods \u2014 87 methods."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/args/mod.rs"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"26c9147e82a4e30512b123448e2e811e80ba3e1c1718e5e646b27760a72ddb78"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: crate::keys: TooManyFunctions \u2014 87 free functions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/node_crypto/keys.rs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea61d9ee644b245015272ebb6bc6b3541cf802d5cd29fa1308ac2221ed1eb14e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: rt/run.rs: FileTooLong \u2014 1445 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/rt/run.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d5d3ff025b50667ceea0b30e350687afc6c653c463b1f19aac610fbfd8f3e4f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DOMMatrixReadOnly: TooManyMethods \u2014 86 methods."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/web/geometry.rs"},"region":{"startLine":1256}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5d7cbeba15ee445db5565d7bd71258590d62c2a0d471613dc5416df0a3e44ae"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: core/inspector.rs: FileTooLong \u2014 1424 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/core/inspector.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4682cd5b8b8f188a48c8c0e5e08f738b01977569c28a182e03cd5aaccf18bead"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tools/upgrade.rs: FileTooLong \u2014 1408 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/upgrade.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bab0d095ee9a424e65f5bffd92a3381e4a9cee487a601e66d9d7f2afc5c6be5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: crate::tools::desktop: TooManyFunctions \u2014 84 free functions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/desktop.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc68475b0c9e5086dc8b3727f0497e451c8330061702207f8150305eeb76711e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: resolver/deno_json.rs: FileTooLong \u2014 1388 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/resolver/deno_json.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fffe7e3ea84f6152612a81265590ec6d591fc3bf543b7f8288c2b131a52dede2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: http/lib.rs: FileTooLong \u2014 1379 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/http/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8510dda12120deef5af0f95acfa47531d8a7253981bb6c7be2efd448c0da8a6d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: resolver/workspace.rs: FileTooLong \u2014 1378 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/resolver/workspace.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e89ddd0a0f466d27deb852ed35a4e812156a10a816907e00b94a2eaa26c8b72"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: args/mod.rs: FileTooLong \u2014 1359 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/args/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b863170df867c42a62190f4f37d1a49712ca517f03e1a8b9c05556787351d3bb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: web/css_value.rs: FileTooLong \u2014 1358 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/web/css_value.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f2fd84e58f834d67f271dbf8f3bc309fdeb5a646a479c053804d057051216c6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: op2/signature.rs: FileTooLong \u2014 1341 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/ops/op2/signature.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6fe3dea1c0125a28a2eb0817cb76f17382ca0c7d970cdfd1e59e0a8b826ecff"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: crate::ops: TooManyFunctions \u2014 79 free functions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/fs/ops.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"29b899a2df3a9ec2711748048351d97a2b2bae01329e155ea34c318a4a7b5778"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: eszip/v2.rs: FileTooLong \u2014 1303 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/eszip/v2.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"965643d9cce9d8058e275d079e077daff19ae5f9669f8de6aff950533d0b4cfd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: console/mod.rs: FileTooLong \u2014 1291 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/web/console/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8447b5c56f470306508b113c8557888dc8cfa8380a63fc4233b6fd791b5cb07"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: rt/file_system.rs: FileTooLong \u2014 1272 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/rt/file_system.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"584dd3ecb6814df127e655d25ce02c86ef61eb8eb13c4697d682a0e3ae850f71"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Inner: TooManyMethods \u2014 75 methods."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/lsp/language_server.rs"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"d88babc0872221433fd4de5698ab47a5c67c896a37d6f74348d6a54cfa7251b3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: uv_compat/pipe.rs: FileTooLong \u2014 1249 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/core/uv_compat/pipe.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9258bd4fe898e34691f0964bd52df81cc340a3fff7db7c8b35fab8472189de7c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: fetch/lib.rs: FileTooLong \u2014 1228 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/fetch/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9037ae3193236bac1167e767b0fa9d502800495df372dcb7a086e7c8c86af21c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tools/fmt.rs: FileTooLong \u2014 1221 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/fmt.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cead8d9c4a05e09afd2349d6153404c090730905e57cddd1b48b8381c1ebb39"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: rt_desktop/lib.rs: FileTooLong \u2014 1217 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/rt_desktop/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f065ca98acf37e9a9b77219d55a3b378ce4cbd67c2c93028f68f818af3c4581"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ModuleMap: TooManyMethods \u2014 73 methods."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/core/modules/map.rs"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd2e69bdc43f7518bf91c5ad1462591bcc821248ec12bed15e3c9f33cbed3cba"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lsp/resolver.rs: FileTooLong \u2014 1196 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/lsp/resolver.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c0ffbc973065f004bd4870bee3320e7c3c2f06c85b34c670db5f68621e09d3b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ops/stream_wrap.rs: FileTooLong \u2014 1192 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/node/ops/stream_wrap.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4360212c2ddaf06e053f197ace0137098f841a5d68b56f38a0598d9cea1cca5b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: runtime/bindings.rs: FileTooLong \u2014 1179 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/core/runtime/bindings.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e74980619ece94e7289280255eaeceb7335f34a5bc5983bfd5617e89590fb48"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: node_crypto/cipher.rs: FileTooLong \u2014 1168 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/node_crypto/cipher.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc5653d4009194211f32365b5d6ba32a7e1bee61fbe98762971f28d1c4ebe13c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: http_h1/conn.rs: FileTooLong \u2014 1159 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/http_h1/conn.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a25066b5868837a5aafd19b5b80c9b2df7411efad72fd7d17b935333c06d4b27"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: cli/type_checker.rs: FileTooLong \u2014 1157 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/type_checker.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e07162303566b10c39ac53cba6dc13bacd6c75f42df2af40139eb10d6019479"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: cli/factory.rs: FileTooLong \u2014 1154 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/factory.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a65ed49d685823b1e2121907f4c749a7da938b3dab0c8248efe8d3e82cc19b74"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tsc/tsconfig_gen.rs: FileTooLong \u2014 1152 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tsc/tsconfig_gen.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ed9761bb6b60d56ff791f3cf8742d875d15fdd31f28e2ea326221ce350a0cc1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: npm/registry.rs: FileTooLong \u2014 1151 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/npm/registry.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"628bd7a9f418cf086328698b2bba390a13459c84a192beb31bc6ac938af76e0a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: crate::uv: TooManyFunctions \u2014 69 free functions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/napi/uv.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b02be69591fdf5c310f70d75d5047b0e73269813cecafefe7995ba9e459da64"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ops/desktop.rs: FileTooLong \u2014 1134 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/ops/desktop.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cdb50f190cfe6a408a7e93a7123172bb3b70ed67643c5f28564fd57012d613c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: crate: TooManyFunctions \u2014 67 free functions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/node_crypto/lib.rs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"a835ae9319002e68471d617016d5279667dbc8b152c8fa0824258dc034aa6bdc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: napi/uv.rs: FileTooLong \u2014 1104 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/napi/uv.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"54d05ddd861d7e3eb338fe825a3fa4b628cef4aa4789c78db8fb4dbf4f95b007"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: core/ops_builtin_v8.rs: FileTooLong \u2014 1096 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/core/ops_builtin_v8.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c7c4566c787b6b9886cfb43e24d24b871fba774cebfaeaf6bfd0a784e79b4f0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tools/task.rs: FileTooLong \u2014 1090 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/task.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ca8d42b574114233233d26c8bc51a50d9c382064a0b2224950986d2990a608e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: file_fetcher/mod.rs: FileTooLong \u2014 1087 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cache_dir/file_fetcher/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a3914f4e4f88e28ef9fe2937da070808e56a77f041e9051c8a3c46f05569319"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tsc/mod.rs: FileTooLong \u2014 1085 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tsc/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a59986e065c3c5b5714ecc435127089d037e14a9e5cb95bfdb99792f4769540"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CliFactory: TooManyMethods \u2014 65 methods."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/factory.rs"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fa732989e9d17b030f35970b69b749ce2e23835a82323f71575b8d68acebe2f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pm/mod.rs: FileTooLong \u2014 1073 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/pm/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b4155cbc21822cdb75806c591e8395bd15873c77375c3f634b935226eff3b45"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: JsRuntime: TooManyMethods \u2014 64 methods."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/core/runtime/jsruntime.rs"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"4694357aebadf44542fbeed79e478ab7e60e6518800c63c212faf5aed0aa23c1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: publish/mod.rs: FileTooLong \u2014 1063 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/publish/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a732373ab5262438c3c0c0836a2acd7f97b886d5a9bfe0b5b14fb56c6f0a2c3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: workspace/discovery.rs: FileTooLong \u2014 1058 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/config/workspace/discovery.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d99bfd48aa27a1bbd264ea99bdfa76114f83ad4edd4692e0e4d84eea060fb74d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: web/02_event.js: FileTooLong \u2014 1049 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/web/02_event.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5ce305ede937923963566443467e299a8dcad8958bb7d95609e84bc8c34ba2c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: resolver/factory.rs: FileTooLong \u2014 1047 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/resolver/factory.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d869a78c4263907932192ae70827372e84adcdbaab2285a67ce929a9a9d87b71"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: runtime/worker.rs: FileTooLong \u2014 1039 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/worker.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61c9751afd4317dbdc8bd010b2236a9105f0242006971994830c4022e124abad"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: net/quic.rs: FileTooLong \u2014 1029 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/net/quic.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b305c199d5688fbd50f76af1b6e3473acff8bfa3d3390bfa876c38ab20ee5ae"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: cli/lib.rs: FileTooLong \u2014 1027 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8f9e7a8cd3bde91e014c15bba0e0ecd4b58e71fc5483ab478ebe6a0383691dc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: zlib/mod.rs: FileTooLong \u2014 1023 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/node/ops/zlib/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"295ee5be26476e66b27e1c0ccb624f05f778114dd2ce59380c40e7c875a323fe"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lsp/ts_server.rs: FileTooLong \u2014 999 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/lsp/ts_server.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"64ec21b273ae2e95743eea89bac8d1f17383d49cd12c8b8681b909f7cb8fd66d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: cli/graph_util.rs: FileTooLong \u2014 994 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/graph_util.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d53fe49e524a94fe387188a2b476aea82b4c70da087c839ad44d2b1ab306a05"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: net/ops.rs: FileTooLong \u2014 988 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/net/ops.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76ccbd66736bfa7b7eedfde1850b964d3139e6b34eefaa37d0d91a9481b01e3b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: io/lib.rs: FileTooLong \u2014 984 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/io/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"735185cea235e5626c54dd4dc1b63378e329dd140c4107b06d68558ccc41cfbd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DOMMatrix: TooManyMethods \u2014 59 methods."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/web/geometry.rs"},"region":{"startLine":2413}}}],"partialFingerprints":{"codehealthFindingId/v1":"855f9393a03f8b59cc076009f905ee991972491530b1d0f6d465f8c48e8e259d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: uv_compat/tcp.rs: FileTooLong \u2014 959 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/core/uv_compat/tcp.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bdabc7b925e445492f3337e63ee053d245c11ec6b5e43600dfd7809371afbba"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: fs/std_fs.rs: FileTooLong \u2014 956 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/fs/std_fs.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f758b9f0352f7772d20aa894e683b01943250dbbf4be08c331506252ea088546"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/process.rs: FileTooLong \u2014 944 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/subprocess_windows/src/process.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b56996ce6757efedc84d001eeffe1dfd6bf2bb637168b7b4e4e26f2f20260c3d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: node_crypto/x509.rs: FileTooLong \u2014 936 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/node_crypto/x509.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba24141b9070ff3d848a763d089564ae1de41592c9beea2bd64c67b7ff94c145"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: op2/dispatch_slow.rs: FileTooLong \u2014 932 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/ops/op2/dispatch_slow.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"da250176f6b9db91dae102f17c13c09511524473ccf93e1cdc84805aa40b0603"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: runtime/web_worker.rs: FileTooLong \u2014 932 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/web_worker.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b3a302b99e90eecd5d5196f32c2f0c124acc5bcdc5a976924ae250d0f61339b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: installer/global.rs: FileTooLong \u2014 931 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/installer/global.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"57fdbc8c1f8501dbfb4394ca7eae20c147a32aa3fc95426ac3a6e2c26109f9bb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PermissionsContainer: TooManyMethods \u2014 55 methods."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/permissions/lib.rs"},"region":{"startLine":3988}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9c6262e60eb5e7626a8148f98bc7090c7aefb4e8a246f36ad6c3568a27f0db1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: npm/fast_registry_json.rs: FileTooLong \u2014 910 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/npm/fast_registry_json.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5edaf03c53a45c25a6d794349b7af4717e1ed4d5a684d1d0689de49738ea792"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: standalone/virtual_fs.rs: FileTooLong \u2014 907 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/lib/standalone/virtual_fs.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8374c27103f46a8912b3e8ca9c2e8da04a220da3f17dad4de6b459e083371dbe"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: core/uv_compat.rs: FileTooLong \u2014 900 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/core/uv_compat.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"869eca6b06b734ece67a6bdcd220bff8d813993cd2c543cf723a1a4301e6cc2b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tools/compile.rs: FileTooLong \u2014 896 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/compile.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6798efd581862bf21bc37e25198d639f802554371acc15e66f7162bd26d2a28"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: installer/npm_compat.rs: FileTooLong \u2014 891 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/installer/npm_compat.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ce673b18eb11b862c377c70511318e661bd07a594f30b1dcdc7430a8de1618a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: UnaryPermission: TooManyMethods \u2014 53 methods."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/permissions/lib.rs"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"8db1427668b179f79419e305e2e922b1d2edec82b5471f2051bd172f146e5cab"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lsp/analysis.rs: FileTooLong \u2014 874 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/lsp/analysis.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b2c1900aa68d81c7b2199045486d6267273debe48d7bcf5ff9248ae0bc26f0f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: rt/binary.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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/rt/binary.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5189805390ca4f4ecbb9c181492f9863c66e643edc2d2f999ee2748290f8e73d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pm/deps.rs: FileTooLong \u2014 870 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/pm/deps.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a146a66da37913d4ea9f5c2fbdda913712f22bb3d13054e0521af4b05008762"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: js/99_main.js: FileTooLong \u2014 859 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/js/99_main.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"07ea0c2691d8ea269f0836601a622c41bc6d59b1213929f1e6f2ea06dfb2c39c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Workspace: TooManyMethods \u2014 51 methods."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/config/workspace/mod.rs"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7df0e2c8c6ae858549b1c74dedc9fad95a604aceed2408cf30d7d7c694d837c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: napi/node_api.rs: FileTooLong \u2014 850 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/napi/node_api.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"980eb61bf8109f875d5fe5285075da931e6647c6efd9a06c4016d656c119a891"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: core/convert.rs: FileTooLong \u2014 845 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/core/convert.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"063be2b88d746bd9b80c40966adb2c6651b573730af5043549d7413465e267e7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tools/bump_version.rs: FileTooLong \u2014 843 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/bump_version.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca584be56937195cf76a468f9680647caa4e1c8011100c76a74403e0c2f54f76"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lockfile/lib.rs: FileTooLong \u2014 840 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/lockfile/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"66916fbb5905da8a7637e9b0907db187369d246eaa610209f50b1825bb6622e0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: publish/unfurl.rs: FileTooLong \u2014 839 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/publish/unfurl.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7a28a4a7f626e664239973a64526fd67ed058998f8b14c8a4ea2e815bea417a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: util/extract.rs: FileTooLong \u2014 834 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/util/extract.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e90bf1e2b4274586dc08692132164f5278283e4c47730bf50a336120223e684"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TLSWrap: TooManyMethods \u2014 50 methods."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/node/ops/tls_wrap.rs"},"region":{"startLine":2069}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa136994223755cbdccee91b46029cae9919176874f00e87ba9b39e3045a0396"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ops/v8.rs: FileTooLong \u2014 830 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/node/ops/v8.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8b4f5f5b1e4744c25b5a269853a08425f9e99ec3ff826299172253a298dbdcc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lsp/completions.rs: FileTooLong \u2014 826 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/lsp/completions.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d62665fab4575ef0d812a63da8e2e8710b579f808871d363cd914e00db681907"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: http/service.rs: FileTooLong \u2014 819 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/http/service.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"59604591c908d2c322fbce3fa36004c1bc5d6bcf3e08c1f32c92b5a46f6ce940"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: crate::tools::lint::ast_buffer::swc: TooManyFunctions \u2014 49 free functions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/lint/ast_buffer/swc.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"122177b3fd48bef211367f6a82ffe3616719130ff5aad8a29fa79adc78fc28c9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: node_resolver/errors.rs: FileTooLong \u2014 814 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/node_resolver/errors.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16fb5601dd57930295ecba7af983a42cb944ebbad9fe59a7c59ae7fc8a77bc61"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: repl/session.rs: FileTooLong \u2014 812 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/repl/session.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2378556f9460f1e3bf483b30237ebed54e2e128d01df353448b7e6c1a0df14b9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: node/lib.rs: FileTooLong \u2014 802 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/node/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ad6721290b34cae4c660d7d598143d9cd4b28586d18a11d7ef3170464b4f816"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: crate::ops::vm: TooManyFunctions \u2014 48 free functions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/node/ops/vm.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"41bdcec973f2cc591827e1042b57488a2961f5c9e7463f2d08558f8c18675c30"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ConfigFile: TooManyMethods \u2014 48 methods."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/config/deno_json/mod.rs"},"region":{"startLine":1730}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7fdebc66674bd0c0279d22902d33d52c05c99b8108617476915add31529cc82"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NodeResolver: TooManyMethods \u2014 48 methods."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/node_resolver/resolution.rs"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b39bc72f59356c536cf659bbe6ff4184cc11bf5aa94f8254ca016215d3f6331"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: web/00_url.js: FileTooLong \u2014 800 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/web/00_url.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5f5435e20b103f6f87deaeccb76ebce0b4a063a5fc8ea7b70eb598fe3c87819"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: resolver/graph.rs: FileTooLong \u2014 798 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/resolver/graph.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f1e4504900c72f5700fd289307ce4ae28c97b1248689b2a1e3bb400433414db"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: web/webtransport.js: FileTooLong \u2014 792 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/web/webtransport.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"78cc539308216e0d822f216e9b860c950a5423f7aed060ed3b5992e4651dd3ce"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: kv/lib.rs: FileTooLong \u2014 787 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/kv/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab66363e955eade1907f83c02acef35d073487481ca870b0fe28b9e452003531"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: resolution/snapshot.rs: FileTooLong \u2014 785 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/npm/resolution/snapshot.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4e40fe3e0113c3fbbf690afa4e47408074679342b7a864dbe6cb4fa2985a46c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: crate::ops::http2::session: TooManyFunctions \u2014 47 free functions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/node/ops/http2/session.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ca407b590b9424b22e21d42a0a4f9de53af15744b14ee42d2407d026b8e8015"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WasiContext: TooManyMethods \u2014 47 methods."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/node/ops/wasi.rs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"12f12ed7f008e82d9c9d09d2482f0b402daba3c00f2743cd9690b8b48112970d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: npm_installer/hoisted.rs: FileTooLong \u2014 783 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/npm_installer/hoisted.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"34502c29ded84bf2faefedd9e9988a341da8496d4e349e7647e98537432d52d8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: js/40_lint.js: FileTooLong \u2014 781 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/js/40_lint.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1ccb92589f5d05cc0188c45e5cce1b1fb5cd66f3655da421ceb636677dc57ab"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: js/jupyter_kernel.js: FileTooLong \u2014 775 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/js/jupyter_kernel.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"383d7d471cc2780166682d41b1ef5824d130a4644dce9288edaaf9f5e5664c95"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: websocket/lib.rs: FileTooLong \u2014 774 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/websocket/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"efd42f87b22c5ad2e91177eb45ffe0f1361b691f5e18028576828969b14d6dd2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: crate::tools::bundle: TooManyFunctions \u2014 46 free functions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/bundle/mod.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"46bc6e3f8d74202735e0fda2de737629ed206ebd921c34092fcc6b73a24108c5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: crate::ops::v8: TooManyFunctions \u2014 46 free functions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/node/ops/v8.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0fee0d875b76eee32e5e8678c23f3d9e05e9943fd1b72c45c45c0e98fb57c68"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: llhttp/binding.rs: FileTooLong \u2014 765 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/node/ops/llhttp/binding.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b76d1f189cf0368ecce5552e51aec9e6a89396fcad113171ea0a77679673e27"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: cache_dir/local.rs: FileTooLong \u2014 764 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cache_dir/local.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5ce4e75ce50c33518d1dd372776e06df6a1b1f2009f5043a7b7b6d97ad4d877"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: webgpu/device.rs: FileTooLong \u2014 761 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/webgpu/device.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1a0912590eff74ae143cf7ff96d303a4a44349c27f1f1c540c4462a7ff096e9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: op2/dispatch_fast.rs: FileTooLong \u2014 757 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/ops/op2/dispatch_fast.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1ff2032cbebc113534de8e4851331dc18fec0f741ad04770876b7aaed549825"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lib/worker.rs: FileTooLong \u2014 756 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/lib/worker.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ee16c101d6fa9cb94ecc4a4b3285aab8d3bac84e3af2b9f757beebd64b3d920"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: node_sqlite/statement.rs: FileTooLong \u2014 756 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/node_sqlite/statement.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7aa0ac96618f192f6bc4eb78982b21fdef7dd1ecf4945f3e2c704e0dbb6614e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/flags.rs: FileTooLong \u2014 755 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cli_parser/src/flags.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e08497dcfc8e8e3b1307931aa9098b107a726d7e229cc72321d13efd308369e0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: js/40_lint_selector.js: FileTooLong \u2014 754 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/js/40_lint_selector.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ba6f87d6f0a8968cc93fca8af376a5a9e99e2528a408dcb92aedbed2a3d11a2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: core/webidl.rs: FileTooLong \u2014 753 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/core/webidl.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5497e848587b87b9acc3e14b5a809a357936afd3400460adcb7662b1e1839a2c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: crate::ops_builtin_v8: TooManyFunctions \u2014 45 free functions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/core/ops_builtin_v8.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"80ab74f84dbb14017578fa83f9ba88bd70924f765a73738a0e135e6abb8fe85b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tools/desktop_devtools.rs: FileTooLong \u2014 749 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/desktop_devtools.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"27c93e0469b78c0832f0da4be0bc84a0ac9123c9ad66578ebcd672a09860680d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: crypto/lib.rs: FileTooLong \u2014 736 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/crypto/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"63557bbf59fee7343689532af1d58735d819dba3225561994f94de5ba86021d2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: node_resolver/analyze.rs: FileTooLong \u2014 723 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/node_resolver/analyze.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"33cce0523aa4d792e437f8cc6b9b55014f90a33bd6f9b3b501d7262629c569af"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: testing/execution.rs: FileTooLong \u2014 711 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/lsp/testing/execution.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc2be68edc1c7dd1e4002e63a1c60eb9be55226ac32d0f00e1eb9e0343b88959"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: websocket/01_websocket.js: FileTooLong \u2014 701 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/websocket/01_websocket.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bc102db859afa4831314b05f93a2806681650df040fd27b5a2644f2be164f23"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ops/ipc.rs: FileTooLong \u2014 698 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/node/ops/ipc.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd5c1e3b142eb1a9294d6a6e3c023915ed28452a12c10c09df021247c187540e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: fs/30_fs.js: FileTooLong \u2014 696 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/fs/30_fs.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af0573073163c2c5e7139b10c268cdde03cddd9a478ecd1028c6d6649fd60d7d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: crypto/subtle_export_key.rs: FileTooLong \u2014 694 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/crypto/subtle_export_key.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"02b545352d4a64b8f22d0d407472200424f0bfe3f1b66c8aedeb5429bbcb465c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: fetch/26_fetch.js: FileTooLong \u2014 690 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/fetch/26_fetch.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"54823e0d0675244236bbe6b96507e95bcd248ab5a02933aaf73fa7581d31bb80"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: crate::tools::upgrade: TooManyFunctions \u2014 41 free functions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/upgrade.rs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b090df408db2e0caba67a85db0768caab761085ba23ab04daee21825ba20b2e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: crate::tsc::tsconfig_gen: TooManyFunctions \u2014 40 free functions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tsc/tsconfig_gen.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"084b095aec548969a0ef008e2189c064c6e126144e9f28ef3654935605b641a3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: crate::error: TooManyFunctions \u2014 40 free functions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/core/error.rs"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"93b0c0e3880a57cff6b919107955548a8b73fad6b45f8c5c5667871499e689c3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: web/13_message_port.js: FileTooLong \u2014 666 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/web/13_message_port.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c22e10a0104957d3e441adf9a9c30683640e725331e6c61c2c1241fac90491e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: webgpu/01_webgpu.js: FileTooLong \u2014 657 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/webgpu/01_webgpu.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ec0782886a1512d61b56737e7467ad626adb20ac206c023e88c7708b1b4cabd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tools/x.rs: FileTooLong \u2014 651 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/x.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"219b542accbabed390bac3f39d3bb3f228e0e07229aecc52849d7f88f5ebbaa7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WorkspaceDirectory: TooManyMethods \u2014 39 methods."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/config/workspace/mod.rs"},"region":{"startLine":1918}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b870bbc08cdecd9d1e45752b840dc30444fb90d5f5692a2ec4d169f62ddc949"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: crypto/subtle_generate_key.rs: FileTooLong \u2014 650 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/crypto/subtle_generate_key.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6def392b3d119ac8c6d5214c606f7f8a45f1304143043c1df1d62fc83cf60e57"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: process/40_process.js: FileTooLong \u2014 646 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/process/40_process.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"525afff0dc01b15289b4b7d984e197bb810627d39b7bff5a9a0fd590686daebe"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: package_json/lib.rs: FileTooLong \u2014 646 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/package_json/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9348cbe018b56ab21d02be32cd78c0552bd022718619c7802a54287031f827c1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tools/info.rs: FileTooLong \u2014 645 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/info.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d0eeea85ad28fb1ae0113a5f0fdc4b317f9276cd3185b70a94100c0ad8da3f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: fetch/proxy.rs: FileTooLong \u2014 645 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/fetch/proxy.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf8d8714b62713f5226357ae79d2ebf7f142caa7c3cef4693c6efddad7927465"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: console/error_fmt.rs: FileTooLong \u2014 640 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/web/console/error_fmt.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"828a506a41e5967346a3aa13cc7f44ddf7ef1b7005978d9a953b4cbbc576549e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: napi/lib.rs: FileTooLong \u2014 638 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/napi/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"92a38b172bb25669ac106c0aafea856398932d70348b8b9dc0ee4029f0140a01"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: fetch/23_response.js: FileTooLong \u2014 636 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/fetch/23_response.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a330ad77289e223f7868c51d1f6bd44d6fed9e9b96a467567d43500fe9fef6b9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pm/audit.rs: FileTooLong \u2014 635 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/pm/audit.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"591b34fe3ae41f42ab4df939b99cbba2f936bde08e7cc0851e74905c6b48264b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lsp/path_to_regex.rs: FileTooLong \u2014 632 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/lsp/path_to_regex.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7815d803eb6320a9de212c388d8279e68bbe4b82562e2788e10dc3fd3f4f20b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: core/ops_builtin.rs: FileTooLong \u2014 628 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/core/ops_builtin.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c7aad5bf882fe2cfbdb858be517a5591f6342fa4837094145922f185b8b4709"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ops/worker_host.rs: FileTooLong \u2014 620 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/ops/worker_host.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c72d1a35627a597b3ea6090e0bbea05e063febba42755f3ea308393c4e7e7f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: cli/npm.rs: FileTooLong \u2014 617 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/npm.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"189b657d21172f353dd621a354c799d749f9565f312050d62fa42454be9dc5ad"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LibUvStreamWrap: TooManyMethods \u2014 37 methods."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/node/ops/stream_wrap.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"0764cfec566808039750d4df84ac5fe03d73ced37de57949649c0e8e5925da2d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: crate::uv_compat::tty: TooManyFunctions \u2014 37 free functions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/core/uv_compat/tty.rs"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe0200e3b6b90fe910acf94659f23f7aff24f2cb89840373e02dd6b029657b08"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: web/lib.rs: FileTooLong \u2014 613 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/web/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"63a9d80b06e2977fd7ff9e320795aad99a2361aff04ab6dbec26acce8a3cf9ec"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: crypto/import_key.rs: FileTooLong \u2014 611 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/crypto/import_key.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bfcacf1efb1d633cc2b114cf88d65207582d0fa510c883a03172dfb4f59da54"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: resolver/lib.rs: FileTooLong \u2014 610 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/resolver/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"27b5ad276ce774a8f11b94f38f98b3acabbdeae85f29323a8b9ae86835c23601"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: serde_v8/de.rs: FileTooLong \u2014 609 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/serde_v8/de.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe394971c87ac56b60d9910d109837eca3445b8f136f2428ea6e50566fb201ef"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: canvas/bitmaprenderer.rs: FileTooLong \u2014 605 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/canvas/bitmaprenderer.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d373f3b7ad4db85090d2bf9c8539c0a25a5b9a28db5d24841eb90e24b6e8515"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: outdated/mod.rs: FileTooLong \u2014 602 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/pm/outdated/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2949d23e462ec2a326a6bf3ca05d5836b1866ba6050eb1df678f26143ecacd0f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: resolver/file_fetcher.rs: FileTooLong \u2014 601 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/resolver/file_fetcher.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8451a074282e1f8d30f8b7e0dc263d8e16bd83ee35516d028e199c6b6702262"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: crate::tools::fmt: TooManyFunctions \u2014 36 free functions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/fmt.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"c88eda28050a3c4cbc921847dbeb9ad0cb6c52ef1ad9bd1b05f7edc7210dab8d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: crate::ops: TooManyFunctions \u2014 36 free functions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/net/ops.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f8a268fd695b4866311c22c9ff109bb08a7149c4c5796797241f5b17c9cec9c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: crate::ops::tls_wrap: TooManyFunctions \u2014 36 free functions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/node/ops/tls_wrap.rs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"04ad198c4b2523a39c2d5110bd408be12c2ffdc76d8cc69b08e8a533f67d7fa8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: webgpu/texture.rs: FileTooLong \u2014 599 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/webgpu/texture.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7184b737ca4850cda7e65739b5d00a3c88496d43eb85f68c560788e0fc361b1c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: crypto/subtle_crypto.rs: FileTooLong \u2014 589 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/crypto/subtle_crypto.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc0c4b82a50af01673ff48b6a9d496715bbefa49015321c7300e0806c3710cf0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tsc/97_ts_host.js: FileTooLong \u2014 585 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tsc/97_ts_host.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"875047654946047e7536cfbb677a7aa993de4680ad74ae2408929b514a259162"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: crate::node_api: TooManyFunctions \u2014 35 free functions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/napi/node_api.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b1337f2ecd45dbec9c00dd8daee6274541c73c2de2e43931eb5831a070e973c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: crate::quic: TooManyFunctions \u2014 35 free functions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/net/quic.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2629d059da0047266631c89bd4b7e9b98713e0abbc46b7280b688190f88f614"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GPUSupportedLimits: TooManyMethods \u2014 35 methods."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/webgpu/adapter.rs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ae8180b5e5c6c3022bf8647054764bb6c7bdfda91885943354d0495f07d4166"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: web/15_performance.js: FileTooLong \u2014 576 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/web/15_performance.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4028e409ebe8a51a86b0ff4dae99e01fc9128b35c9666a679381401f59d9da5f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: crate::x509: TooManyFunctions \u2014 34 free functions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/node_crypto/x509.rs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb06afc55f778b0ec98b440f5b53aa061c1d1d61e46ba7c564576768647b97c6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: crate::runtime::bindings: TooManyFunctions \u2014 34 free functions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/core/runtime/bindings.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"7be9a148b53222410c421dbf3743112660131e362f88860ed011cdadc35d08b2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: core/extensions.rs: FileTooLong \u2014 566 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/core/extensions.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a9bb4f52b0720a69941be46b45de7f4665c14885c6537886b15fc94e5144301"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: crypto/digest.rs: FileTooLong \u2014 565 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/crypto/digest.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16c5e31bc917c3ddeb23fb34afa6feffc39a99fbbcd4c1cbac3ef5deb0fa7ac6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pack/mod.rs: FileTooLong \u2014 559 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/pack/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd3e0895370442619591051ab4bca0e9a0c776eee9329950fd5f438457495a9a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: resolver/emit.rs: FileTooLong \u2014 559 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/resolver/emit.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aad4674d4a2bdb01265ea5c25430af91574196914060ef7852a3db55c98d82ea"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tools/lint.js: FileTooLong \u2014 558 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/lint.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5710661361bd9b96f06ae5d617396a4e4543b6858d3415931f30a7ba6698ba51"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ops/require.rs: FileTooLong \u2014 558 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/node/ops/require.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"59dc5b03dc5b27691e4aa0f7ddbc6c5f36584f2104c664c8fb94d21658a8c7e6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: inspector_server/lib.rs: FileTooLong \u2014 554 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/inspector_server/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ca5e291313272b0e88f2cd2bc3aecc959400301adc11ff0da4f1d16dac03c3a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ops/tcp_wrap.rs: FileTooLong \u2014 553 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/node/ops/tcp_wrap.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"682c144ed2823d67985cba2438126fa20b51882a85b1d42b70564c577be50425"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: glob/mod.rs: FileTooLong \u2014 551 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/config/glob/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ab2377d98557ab230ddcf59c4676fd109d2767105471b61749a2b6cc634c647"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: crate::ops_builtin: TooManyFunctions \u2014 33 free functions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/core/ops_builtin.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bd14007de3eb4d1f6020624e31db674771e8466d6745e12780c22ac9452ea9b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: net/01_net.js: FileTooLong \u2014 550 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/net/01_net.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e9005be7948c1f5262b1f421eeb13f05803ea286e5debbedbdaff97abf8cb1e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tools/doc.rs: FileTooLong \u2014 549 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/doc.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eaf89aa74e8893687bbba1fb0849edeedb2e3cd989761d424f48be028f44804"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: fetch/23_request.js: FileTooLong \u2014 546 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/fetch/23_request.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"50e43e844791252f70ef86fa6ce8f1bc6ff914939c62edd779598ea3df8638e6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: npm_cache/lib.rs: FileTooLong \u2014 546 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/npm_cache/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"536da08e1b0a21a39bcefb85c2f51d90523fd7f70a8efc45050aaa9d3e74b6ee"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: os/lib.rs: FileTooLong \u2014 542 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/os/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e8a1f687bb416822eb54e92775c35f544a902d15b7a06c13f7253e7c527c2d5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: modules/recursive_load.rs: FileTooLong \u2014 541 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/core/modules/recursive_load.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2fd53496be774b3618b6d38d81ac62cef9485de6ba8d1151f50c0574f5ae9d8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: crypto/subtle_derive_bits.rs: FileTooLong \u2014 535 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/crypto/subtle_derive_bits.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"380c6cded1a2dc01d1841992fe30d2307d8cc8a7a78d629e789c4be7b1135495"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: crate::subtle_import_key: TooManyFunctions \u2014 32 free functions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/crypto/subtle_import_key.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"195ad928540758b6c64fb478176ae8a3d2a35427eb9ac1432dd943dbef6d8a90"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: crate::console: TooManyFunctions \u2014 32 free functions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/web/console/mod.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"7401b18a912064a2bb7c6297a881ec4a9b6891e0caf19713468dd83cd3f7d4ba"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: crate::uv_compat: TooManyFunctions \u2014 32 free functions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/core/uv_compat.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9507e2839297494638f513baf7f737c80931e2fe699fb08e0467658fe13211b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ops/tls.rs: FileTooLong \u2014 525 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/node/ops/tls.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"57805817e4ef88c97c3d1e01d06f2dd7073f08518612c6a992c14a339f1ed1f4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: http2/stream.rs: FileTooLong \u2014 524 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/node/ops/http2/stream.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c964fe8f807ccd7b911c082d6c4dacc028d8c96392d1dbc64480bb90e88ec6c4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: HttpRecord: TooManyMethods \u2014 31 methods."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/http/service.rs"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"610cf713065ee12d196e427750269d848a6acdca870d196595f0b36b828359fc"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: crate::op2::dispatch_slow: TooManyFunctions \u2014 31 free functions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/ops/op2/dispatch_slow.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e3411306f2cbf6ef35286dfceb0284e52904f06a93feb3d5ac4546a08358937"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: resolver/lockfile.rs: FileTooLong \u2014 515 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/resolver/lockfile.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"31ddbf2b1f58495d5542575b0b78aa2620eddf067921588b3298421e96f50bd5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: npm/mod.rs: FileTooLong \u2014 512 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/resolver/npm/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"435d0e25ee98283119704e0cf50a52b9771485ae3ebf2c55c3e182690ca0e7ea"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tools/clean.rs: FileTooLong \u2014 511 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/clean.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"55c8033781138af3626a106e7b2cf4261b42272de27ddce2e83d9c6f0d37f70e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lint/mod.rs: FileTooLong \u2014 510 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/lint/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fca8e5f5ed208ea173edff9d1e7344ef71614d9ab2c8ccec0e544726f488afc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: web/01_console.js: FileTooLong \u2014 508 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/web/01_console.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"620b763177d9e3f0f084fcdbaa0157acc883776c67d01fab925cd3fdaae72bc8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lsp/code_lens.rs: FileTooLong \u2014 505 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/lsp/code_lens.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ae785dc479baec4d551179e50c03eb134f1a5699a553a2a2492e6bd5510fd1b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: uv_compat/stream.rs: FileTooLong \u2014 504 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/core/uv_compat/stream.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09ea0f6cccb6db2cd109765c3b99bd684274784602af8fe393a188e9f0020c77"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: loader/module_loader.rs: FileTooLong \u2014 504 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)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/resolver/loader/module_loader.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dda6c6e0f489dac45d8eccb57bd7949723c11bc1f9f28fc032f8545f22b9ec65"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: net/ops_tls.rs: FileTooLong \u2014 503 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/net/ops_tls.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d67a84e7b99a6205dc7120447a688e2f2b0c639c073f1cbef26e73a7accb6a5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: cli/args/flags.rs: cli/args/flags.rs changed 91 times in last 90 days, max complexity 80. 29 of those changes were fix/bug commits \u2014 a defect-dense hotspot worth prioritising."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/args/flags.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc9b6e2facfc2fb09202ba64cdf222175e45ea9e0d0a40cef9aad99b31edbdb9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ext/node/polyfills/01_require.js: ext/node/polyfills/01_require.js changed 76 times in last 90 days, max complexity 59. 45 of those changes were fix/bug commits \u2014 a defect-dense hotspot worth prioritising."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/node/polyfills/01_require.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"990554b9ba8f1043232805030bda485d5f2c9aff43be2cc5e27e83a0ef4c4e18"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: cli/lib.rs: cli/lib.rs changed 29 times in last 90 days, max complexity 70. 6 of those changes were fix/bug commits \u2014 a defect-dense hotspot worth prioritising."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6160ed3a834b417481572e90fe977eb4b3bfc475ed9b84c04268738cadffaa75"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/node_shim/lib.rs: libs/node_shim/lib.rs changed 17 times in last 90 days, max complexity 111. 13 of those changes were fix/bug commits \u2014 a defect-dense hotspot worth prioritising."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/node_shim/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"84c65e47df1be97e07d562bde217019e89ef910c036c2305b9551730b3be8873"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ext/node/polyfills/internal/child_process.ts: ext/node/polyfills/internal/child_process.ts changed 29 times in last 90 days, max complexity 59. 14 of those changes were fix/bug commits \u2014 a defect-dense hotspot worth prioritising."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/node/polyfills/internal/child_process.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09fd6229318cecd7770231e005e8b12417a9869d36a832beb3b6b29ed115996d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ext/node/polyfills/worker_threads.ts: ext/node/polyfills/worker_threads.ts changed 26 times in last 90 days, max complexity 61. 9 of those changes were fix/bug commits \u2014 a defect-dense hotspot worth prioritising."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/node/polyfills/worker_threads.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cb753e89d0357d57c2fbec03ddc71d820b7d966b0e8fc5dffbd68427e6b68bc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ext/node/polyfills/_http_client.js: ext/node/polyfills/_http_client.js changed 18 times in last 90 days, max complexity 88. 5 of those changes were fix/bug commits \u2014 a defect-dense hotspot worth prioritising."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/node/polyfills/_http_client.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"182e04a8b1f52caef80101606460ba2ebfc0b8e83e81cdeb86e3bcc9ef63b0b6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: .github/workflows/ci.ts: .github/workflows/ci.ts changed 30 times in last 90 days, max complexity 49. 3 of those changes were fix/bug commits \u2014 a defect-dense hotspot worth prioritising."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/ci.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"053db5ed3f2354502484e18f46e6fb1484add9b00c65d6bccfd1d79b634a9f6b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/config/workspace/mod.rs: libs/config/workspace/mod.rs changed 23 times in last 90 days, max complexity 61. 10 of those changes were fix/bug commits \u2014 a defect-dense hotspot worth prioritising."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/config/workspace/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b6f7fda6a4f5d9def6abb719fb157eeaee1d4cebeaa72290185ef2cf55fdb12"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: cli/tools/desktop.rs: cli/tools/desktop.rs changed 26 times in last 90 days, max complexity 51. 14 of those changes were fix/bug commits \u2014 a defect-dense hotspot worth prioritising."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/tools/desktop.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"34940fbae7cb486f71033bc92626a4bdf76b5705d230807de51a0bfabb3e12f2"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 18 significant file(s) lose their only recent owner: libs/config/glob/mod.rs, ext/node_crypto/x509.rs, libs/resolver/pnpm_lockfile_import.rs, libs/core/modules/recursive_load.rs, ext/node_crypto/primes.rs, libs/cli_parser/src/parse.rs, ext/telemetry/console_exporter.rs, ext/node/ops/module_hooks.rs (\u002B10 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"39b343fb44c65fde9522e846c1c6c7059aaeed2d72de0f612b33e150d924b05b"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 15 significant file(s) lose their only recent owner: ext/node/ops/wasi.rs, ext/crypto/subtle_import_key.rs, ext/crypto/subtle_crypto.rs, ext/crypto/subtle_export_key.rs, ext/crypto/subtle_generate_key.rs, ext/crypto/digest.rs, ext/crypto/subtle_sign.rs, ext/crypto/algorithm.rs (\u002B7 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"857905dac72bb3e7a40aa1b7f8e83c8774d31351b5788c13add7f1dcf7b704d3"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #3: If anonymized user #3 becomes unavailable, 8 significant file(s) lose their only recent owner: libs/eszip/v2.rs, cli/lib/standalone/virtual_fs.rs, libs/npmrc/ini.rs, cli/util/draw_thread.rs, libs/resolver/npm/managed/global.rs, tools/release/npm/build.ts, libs/resolver/npm/managed/common.rs, libs/npm_installer/graph.rs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"07a325311abbb5f5d1c54049f622fb1347d610730e62845a4fbb173ae86daac0"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #4: If anonymized user #4 becomes unavailable, 3 significant file(s) lose their only recent owner: ext/canvas/bitmaprenderer.rs, ext/webgpu/canvas.rs, cli/util/archive.rs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f7999c0eeb420468714d99220b5de438433b8898e9a32c6b0d3465338c703136"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #5: If anonymized user #5 becomes unavailable, 3 significant file(s) lose their only recent owner: ext/cron/cron.rs, libs/core/fast_string.rs, cli/tools/pack/npm_tarball.rs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c4b3b2abe0dbc95c600d9484b5d7c5f7d426e5d5f98987bfaec63ebdc21f0115"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 4 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (54 single-owned of 791 analysed files in total)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bf4a513685cdd70130c8b2d4099b6f79dfad71a6593b61671ca9701706c3fb14"}},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6a6c00ee4de23e690750bcb70255e5b18d354f46f760d3e2bd85a68d2441ef91"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"1608784d9aa3bff4aac4c8cb0d2b02c1a7f25cc3fedc9944b769e7bc43a4241c"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"9d58c941c387cbf494f677a676c97de7bdd2edbc1441375a5bec4e7c76e3f733"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"8a75597e858587e0231b0f791be0491bffedc05a61799e125f2e86d3a3ceeabf"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"7a731eeb0afa92d47d35b06de8f229c4625d29c05d74286e70dc13563286937d"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"b61a1a69aa8a5df297b3a21ecc0f8543ef1a83f5d2a3ab44ee45b954269f7067"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"9b1b9ea38fc9aaefa27a90c78751bcadb720c3d903344c4f9947e1657adf90d2"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"f6f09c2ecc8019413549d63f4ca0763a5ff000e796a247a4242df245bdf1393c"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"6385900c28ffe7ae0ff3fe07ff8e36f4cb5f4f8ea0f03bf3385e9396ad7ff7b0"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"30b40da5c76d9d185d53279aad925a50e82e4dd82135a8f3f0f1ee6249218dbc"}},{"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":"a77b03ac98820e72137d6187bcaeacc19cfcddf51c0406a831b8a1d44ce3229f"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away, so if it breaks, no one currently understands it. It does carry its own tests, so the behaviour is pinned even though the understanding is gone: schedule a read-through, using those tests as the specification, before the next change lands here."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/http/compressible.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7ed4d28b1dd7a8860cd855fe7ba50a44abc041bf747d308b235a9c64806da89"}},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 11 smaller file(s) also have no living knowledge \u2014 folded into the freshness score and metrics rather than listed individually (12 orphaned of 791 analysed files in total)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: global.rs \u2194 local.rs: \u0060libs/resolver/npm/managed/global.rs\u0060 and \u0060libs/resolver/npm/managed/local.rs\u0060 change together 70% of the time (51 of the 73 commits that touched the less-changed of the two, renames followed) with no explicit dependency \u2014 a hidden/logical coupling. They already sit in the same directory, so if they share structure, extract the common part into one unit; otherwise break the coupling."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/resolver/npm/managed/global.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"63fe54cf6705471227e325ed3b818b1c60796f04e6b588843c3a178ef9090699"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: lib.rs \u2194 cp_sync.ts: \u0060ext/node/lib.rs\u0060 and \u0060ext/node/polyfills/_fs/cp/cp_sync.ts\u0060 change together 67% of the time (8 of the 12 commits that touched the less-changed of the two, renames followed) with no explicit dependency \u2014 a hidden/logical coupling. If they belong together, co-locate them; if not, break the coupling."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/node/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7b2522939871c6e5e6f17f92bbd274648a3904dc9faefd93a87ee2e18292045"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: 99_main.js \u2194 worker_bootstrap.rs: \u0060runtime/js/99_main.js\u0060 and \u0060runtime/worker_bootstrap.rs\u0060 change together 64% of the time (38 of the 59 commits that touched the less-changed of the two, renames followed) with no explicit dependency \u2014 a hidden/logical coupling. If they belong together, co-locate them; if not, break the coupling."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/js/99_main.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1ca56bfa222b6b5b5a770d6ce830bfcb5be03092aa271379b36b40394a48adf"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: lib.rs \u2194 cp.ts: \u0060ext/node/lib.rs\u0060 and \u0060ext/node/polyfills/_fs/cp/cp.ts\u0060 change together 62% of the time (8 of the 13 commits that touched the less-changed of the two, renames followed) with no explicit dependency \u2014 a hidden/logical coupling. If they belong together, co-locate them; if not, break the coupling."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/node/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f39299699a729f962e13af029d74c1b5efa6f7d88d00f721cbdfed326fa3f1d5"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: child_process.ts \u2194 ipc.rs: \u0060ext/node/polyfills/internal/child_process.ts\u0060 and \u0060ext/process/ipc.rs\u0060 change together 60% of the time (6 of the 10 commits that touched the less-changed of the two, renames followed) with no explicit dependency \u2014 a hidden/logical coupling. If they belong together, co-locate them; if not, break the coupling."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/node/polyfills/internal/child_process.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7316b4f7e0c1441f2236880dcd4ad165b3639bce712ebcc34f0c3bc67422c363"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: snapshot_info.rs \u2194 worker.rs: \u0060runtime/snapshot_info.rs\u0060 and \u0060runtime/worker.rs\u0060 change together 58% of the time (18 of the 31 commits that touched the less-changed of the two, renames followed) with no explicit dependency \u2014 a hidden/logical coupling. They already sit in the same directory, so if they share structure, extract the common part into one unit; otherwise break the coupling."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/snapshot_info.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbf2569b961a42f2d4d9bd7328dd750b11124577af722c8100cc107e798bb18f"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: lib.rs \u2194 promises.ts: \u0060ext/node/lib.rs\u0060 and \u0060ext/node/polyfills/internal/fs/promises.ts\u0060 change together 58% of the time (11 of the 19 commits that touched the less-changed of the two, renames followed) with no explicit dependency \u2014 a hidden/logical coupling. If they belong together, co-locate them; if not, break the coupling."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ext/node/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8ef06b59b4b104d4641a15359960d7fdb557118a0a340210b6a9e20e7d501de"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: snapshot.rs \u2194 worker.rs: \u0060runtime/snapshot.rs\u0060 and \u0060runtime/worker.rs\u0060 change together 56% of the time (37 of the 66 commits that touched the less-changed of the two, renames followed) with no explicit dependency \u2014 a hidden/logical coupling. They already sit in the same directory, so if they share structure, extract the common part into one unit; otherwise break the coupling."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/snapshot.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0753ecbaeed5e6a1e11f67211630a913ad87f2bb8dde05cc7b3d2bfb85996eaa"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: js.rs \u2194 worker.rs: \u0060runtime/js.rs\u0060 and \u0060runtime/worker.rs\u0060 change together 55% of the time (11 of the 20 commits that touched the less-changed of the two, renames followed) with no explicit dependency \u2014 a hidden/logical coupling. They already sit in the same directory, so if they share structure, extract the common part into one unit; otherwise break the coupling."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/js.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"44ff1dde40c4f24dbdd28cbe137083912cc3e0b624f9a18204b64a8170918df3"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: js.rs \u2194 web_worker.rs: \u0060runtime/js.rs\u0060 and \u0060runtime/web_worker.rs\u0060 change together 55% of the time (11 of the 20 commits that touched the less-changed of the two, renames followed) with no explicit dependency \u2014 a hidden/logical coupling. They already sit in the same directory, so if they share structure, extract the common part into one unit; otherwise break the coupling."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/js.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9dc757beb90bc4697dcfe7e566c0eba7b83508505a1bd0abe58c3d694570cff"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"}},{"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"}},{"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":"0752d0df7434000fcabf1048e2de30a7a1a8b982b3db9a19898c4dec199856b4"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0dfb2a59a662f010c0c67d2fe0ad6ba20ce169ddaa5be53e2ac7fef9f6a86626"}},{"ruleId":"D38","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":"040a22cd530c75463cafb5ceef4b3253fd4db7dfb903c146184172d569adac53"}},{"ruleId":"D38","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":"21d29e9fc94997f2fc743f904945cce2fd777ddd42529b54762bd6b213569950"}},{"ruleId":"D38","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":"41dfc19f058dd5b7f97e899a86950c2a08c4c2a778f08843ecceb1f2519227ba"}},{"ruleId":"D38","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":"f1fabc28de3a591be4432828a9f5792fe602ceda94839b00d2573e946560675d"}},{"ruleId":"D38","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":"2b79e3f60274805531c877c6c83555cce0a7eb48d0a42c8b6b4ebb74b4cd4b32"}},{"ruleId":"D38","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":"08ba96a4cf5f90f0ead11286ec710869cdae8f29a7becc8553896758acbe6e0e"}},{"ruleId":"D38","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":"97adf7de416998f4bb30a053c020413b766c6ca2eaba3ada307c81e3061d51a9"}},{"ruleId":"D38","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":"ddb7a0f3de834c1584e9148f4df3e38113f3f1e7a7add876f2fc485f9761c3cd"}},{"ruleId":"D38","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":"7a2c6edea0cf1d0cae1cbe6b5ae064c75606f67704e89ab373170d0b9863107d"}},{"ruleId":"D38","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":"77c02758ef5f1f1dd7cf95bac86fc0f10049e0e0d1593a196f287a7503c06861"}},{"ruleId":"D38","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":"a2cac08b6d93428d16d7e3b0c60911fbfda2ac3e8826b1b10bf34a0ff9bbf4a9"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-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-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-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-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":"Command Injection","shortDescription":{"text":"Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"OS Command Injection","shortDescription":{"text":"OS Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Cross-site Scripting (XSS)","shortDescription":{"text":"Cross-site Scripting (XSS)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"SQL Injection","shortDescription":{"text":"SQL Injection"},"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":"Code Injection","shortDescription":{"text":"Code Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]}],"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":28,"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."]}]}