{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"AXB1","name":"Runtime evidence locked \u2014 no reproducible boot","shortDescription":{"text":"Runtime evidence locked \u2014 no reproducible boot"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB1"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF1","name":"Benchmark discipline","shortDescription":{"text":"Benchmark discipline"},"helpUri":"https://codehealth.canine.dev/dimensions/PF1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"Parser::parse (cyclomatic 61): Parser::parse 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":"clap_builder/src/parser/parser.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b45d3ac4c4bb34d454ca0ba52642ecdaffc7330ca3aa43c1f6d36208ff1a0ee"}},{"ruleId":"D1","level":"warning","message":{"text":"Parser::react (cyclomatic 45): Parser::react 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":"clap_builder/src/parser/parser.rs"},"region":{"startLine":1141}}}],"partialFingerprints":{"codehealthFindingId/v1":"6df0b109fcbb410aa68876a38993a79e8a4f4f9ee9f4669fb50d62161c1e7a7c"}},{"ruleId":"D1","level":"warning","message":{"text":"clap_derive::utils::doc_comments::markdown::parse_markdown (cyclomatic 38): clap_derive::utils::doc_comments::markdown::parse_markdown has cyclomatic complexity 38 (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":"clap_derive/src/utils/doc_comments.rs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd526a9094c0e90048455f53c13773b3f819cd925195886ef658a6c834aee7ac"}},{"ruleId":"D1","level":"warning","message":{"text":"clap_builder::builder::debug_asserts::assert_app (cyclomatic 37): clap_builder::builder::debug_asserts::assert_app has cyclomatic complexity 37 (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":"clap_builder/src/builder/debug_asserts.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"529413e768859b93d95d686f6e0c645f96ff2a57fdfa13bf42e00aaa84c73208"}},{"ruleId":"D1","level":"warning","message":{"text":"clap_builder::error::format::write_dynamic_context (cyclomatic 33): clap_builder::error::format::write_dynamic_context 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":"clap_builder/src/error/format.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9161778cc5d1817678428b2c66a14f2e71f74dfe8a93bc974e2b7e9804e3b36"}},{"ruleId":"D1","level":"warning","message":{"text":"clap_builder::builder::debug_asserts::_verify_positionals (cyclomatic 26): clap_builder::builder::debug_asserts::_verify_positionals 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":"clap_builder/src/builder/debug_asserts.rs"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b47da75217988cccb1f2777219c579d7c2e3a65395997256fb8b987b3d63c5e"}},{"ruleId":"D1","level":"warning","message":{"text":"clap_complete::aot::shells::fish::gen_fish_inner (cyclomatic 26): clap_complete::aot::shells::fish::gen_fish_inner 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":"clap_complete/src/aot/shells/fish.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a6a7a7215a7a2a8d0c483265612c85eea00cd97856d5a48b628b02f3445ce77"}},{"ruleId":"D1","level":"warning","message":{"text":"Usage::write_args (cyclomatic 25): Usage::write_args 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":"clap_builder/src/output/usage.rs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"aec922719aa1a8b75945b56b15dc54e4dd6290b0d83d25e28229e1eca95fb7ca"}},{"ruleId":"D1","level":"warning","message":{"text":"clap_builder::builder::debug_asserts::assert_arg_flags (cyclomatic 25): clap_builder::builder::debug_asserts::assert_arg_flags 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":"clap_builder/src/builder/debug_asserts.rs"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"63dd4ede6b1ee3299769e14249ad2b57137fe84a90cc54c5d3a399145cb6699f"}},{"ruleId":"D1","level":"warning","message":{"text":"Command::_build_self (cyclomatic 24): Command::_build_self 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":"clap_builder/src/builder/command.rs"},"region":{"startLine":4397}}}],"partialFingerprints":{"codehealthFindingId/v1":"33ad40ee2d97c6943103ac227f93400cf72c6cf7b0797cc171dfb8797afdc1f2"}},{"ruleId":"D1","level":"warning","message":{"text":"Validator::validate_required (cyclomatic 23): Validator::validate_required 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":"clap_builder/src/parser/validator.rs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"79830567df9836edf1cfeb4228e33e281b4522c41e7e280f73a5e6b3e8d82773"}},{"ruleId":"D1","level":"warning","message":{"text":"clap_complete::engine::complete::complete (cyclomatic 21): clap_complete::engine::complete::complete 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":"clap_complete/src/engine/complete.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"78b728105c7e2d5281186c6bcdee4123be7939ef48318b52f5056d22ebf615e5"}},{"ruleId":"D1","level":"warning","message":{"text":"clap_mangen::render::options (cyclomatic 19): clap_mangen::render::options 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":"clap_mangen/src/render.rs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d687752b03e53b254f19f14da302664e3b7a8410c12f5d585e4e1606ed4ef4d"}},{"ruleId":"D1","level":"warning","message":{"text":"Usage::get_required_usage_from (cyclomatic 18): Usage::get_required_usage_from 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":"clap_builder/src/output/usage.rs"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce3af5fc25a5f46e5e968f14d702225987d5dcb991d7411833f7859d6df06dd2"}},{"ruleId":"D1","level":"warning","message":{"text":"clap_complete::aot::shells::elvish::generate_inner (cyclomatic 17): clap_complete::aot::shells::elvish::generate_inner 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":"clap_complete/src/aot/shells/elvish.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"932dbd5f50ce8825786fda5bdd570e0f46b20fae19bca83b923e1dbf7be47037"}},{"ruleId":"D2","level":"warning","message":{"text":"Parser::parse (cognitive 119): Parser::parse has cognitive complexity 119 (threshold 15). Drivers by points: if/else 37 (86 pts), match/switch 4 (15 pts), boolean chains 14, loops 2 (4 pts) (nesting depth added 62). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/parser/parser.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ef71f57b5d7dbeab644b9ffc4194840a991b6f108895ece5a0ec8c85cad7989"}},{"ruleId":"D2","level":"warning","message":{"text":"clap_builder::builder::debug_asserts::assert_app (cognitive 67): clap_builder::builder::debug_asserts::assert_app has cognitive complexity 67 (threshold 15). Drivers by points: loops 19 (34 pts), if/else 15 (31 pts), boolean chains 2 (nesting depth added 31). 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":"clap_builder/src/builder/debug_asserts.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"17480a6e5e7c844eb68891e5f44bfb7805dc4fbccfc831b7552988f13451b451"}},{"ruleId":"D2","level":"warning","message":{"text":"clap_builder::error::format::write_dynamic_context (cognitive 58): clap_builder::error::format::write_dynamic_context has cognitive complexity 58 (threshold 15). Drivers by points: if/else 29 (47 pts), loops 2 (7 pts), match/switch 2 (4 pts) (nesting depth added 25). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/error/format.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed50c0445847596666dd4511b6bbc5c99fb47de029075007b4de71b1259b3e07"}},{"ruleId":"D2","level":"warning","message":{"text":"Parser::react (cognitive 56): Parser::react has cognitive complexity 56 (threshold 15). Drivers by points: if/else 21 (36 pts), boolean chains 13, match/switch 3 (4 pts), loops 1 (3 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/parser/parser.rs"},"region":{"startLine":1141}}}],"partialFingerprints":{"codehealthFindingId/v1":"42c5bfdb7321bf60997db90179f1672f146b799baf4da399ada138291840a9d0"}},{"ruleId":"D2","level":"warning","message":{"text":"Usage::write_args (cognitive 52): Usage::write_args has cognitive complexity 52 (threshold 15). Drivers by points: if/else 20 (38 pts), loops 8 (11 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/output/usage.rs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ffec1d3f133553b26b329622b7cbeb75848ea20825d75255fbde2fb0c603391"}},{"ruleId":"D2","level":"warning","message":{"text":"clap_complete::aot::shells::fish::gen_fish_inner (cognitive 48): clap_complete::aot::shells::fish::gen_fish_inner has cognitive complexity 48 (threshold 15). Drivers by points: if/else 12 (23 pts), loops 11 (23 pts), match/switch 1 (2 pts) (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_complete/src/aot/shells/fish.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"f78bc315fd9db8370ef1e5a21f0ce7d46e6fb049f0e99f4673c1e7d03c60e5b4"}},{"ruleId":"D2","level":"warning","message":{"text":"Command::_build_self (cognitive 44): Command::_build_self has cognitive complexity 44 (threshold 15). Drivers by points: if/else 17 (31 pts), loops 3 (7 pts), boolean chains 6 (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":"clap_builder/src/builder/command.rs"},"region":{"startLine":4397}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f17be68396d9f20daeac74fd423d63a69bde4df496e07b5cccf8a3a8919b51e"}},{"ruleId":"D2","level":"warning","message":{"text":"clap_complete::engine::complete::complete (cognitive 44): clap_complete::engine::complete::complete has cognitive complexity 44 (threshold 15). Drivers by points: if/else 17 (36 pts), match/switch 2 (6 pts), boolean chains 1, loops 1 (nesting depth added 23). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_complete/src/engine/complete.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5fec9ccf4e584858dcb8463fe4f23cab2ad76491e0f406f8e09cacb19b8d0af"}},{"ruleId":"D2","level":"warning","message":{"text":"Usage::get_required_usage_from (cognitive 43): Usage::get_required_usage_from has cognitive complexity 43 (threshold 15). Drivers by points: if/else 15 (34 pts), loops 5 (6 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 21). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/output/usage.rs"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"03463928474ac3c0912d6d435e05734e7fcfa6902b3afebd31ef3128125f1adc"}},{"ruleId":"D2","level":"warning","message":{"text":"Command::_build_bin_names_internal (cognitive 42): Command::_build_bin_names_internal has cognitive complexity 42 (threshold 15). Drivers by points: if/else 16 (36 pts), loops 2 (5 pts), boolean chains 1 (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":"clap_builder/src/builder/command.rs"},"region":{"startLine":4580}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cbeb3924faa9726a770d0ba65c47e38359113cc283da4ac2609021bb763e5e1"}},{"ruleId":"D2","level":"warning","message":{"text":"Validator::validate_required (cognitive 41): Validator::validate_required has cognitive complexity 41 (threshold 15). Drivers by points: if/else 13 (30 pts), loops 4 (6 pts), boolean chains 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":"clap_builder/src/parser/validator.rs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b3a5408437a9394e8b29c82c580a7d83da3bffc86db505955124b913c025d87"}},{"ruleId":"D2","level":"warning","message":{"text":"clap_builder::builder::debug_asserts::_verify_positionals (cognitive 41): clap_builder::builder::debug_asserts::_verify_positionals has cognitive complexity 41 (threshold 15). Drivers by points: if/else 15 (25 pts), boolean chains 11, loops 3 (5 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/builder/debug_asserts.rs"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3c7ecb3d7dd15d9f9331c81a4f7b2a240e77a87be02d7407da31162df8a1fa3"}},{"ruleId":"D2","level":"warning","message":{"text":"clap_builder::builder::debug_asserts::assert_arg_flags (cognitive 40): clap_builder::builder::debug_asserts::assert_arg_flags has cognitive complexity 40 (threshold 15). Drivers by points: if/else 24 (40 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/builder/debug_asserts.rs"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"224f20c70a4f5d63957eed592e850c8f7c4c542df58749699f651ac28924a819"}},{"ruleId":"D2","level":"warning","message":{"text":"clap_mangen::render::options (cognitive 39): clap_mangen::render::options has cognitive complexity 39 (threshold 15). Drivers by points: if/else 12 (30 pts), loops 3 (6 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_mangen/src/render.rs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"154235c29058236756a1823ad8710e92c3f6503d375eed7b17f75751f633f132"}},{"ruleId":"D2","level":"warning","message":{"text":"clap_complete::engine::complete::complete_option (cognitive 37): clap_complete::engine::complete::complete_option has cognitive complexity 37 (threshold 15). Drivers by points: if/else 20 (37 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_complete/src/engine/complete.rs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2da3331a498e20b7cbbc903fda121747a5d698c6be9d40ff4a65a2024063e07"}},{"ruleId":"D2","level":"warning","message":{"text":"Parser::add_default_value (cognitive 31): Parser::add_default_value has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (23 pts), match/switch 1 (5 pts), loops 1 (3 pts) (nesting depth added 18). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/parser/parser.rs"},"region":{"startLine":1455}}}],"partialFingerprints":{"codehealthFindingId/v1":"50350b146c5a8884b99cdfa1fbf76d8ba7941fd2ab01cae227efa7a4b8bbc39a"}},{"ruleId":"D2","level":"warning","message":{"text":"clap_complete::aot::shells::elvish::generate_inner (cognitive 31): clap_complete::aot::shells::elvish::generate_inner has cognitive complexity 31 (threshold 15). Drivers by points: loops 11 (21 pts), if/else 6 (10 pts) (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":"clap_complete/src/aot/shells/elvish.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"baa8866ffa4b56fd598e1c054d17f2450f9fd5469abc713e7115d724a96d46c4"}},{"ruleId":"D2","level":"warning","message":{"text":"Parser::parse_short_arg (cognitive 27): Parser::parse_short_arg has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (18 pts), match/switch 2 (5 pts), boolean chains 3, 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":"clap_builder/src/parser/parser.rs"},"region":{"startLine":882}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f045330e028ceea559465e6a50562069bf78b00cb4b3e8b6a77b7a2733c21f0"}},{"ruleId":"D2","level":"warning","message":{"text":"Arg::_build (cognitive 26): Arg::_build has cognitive complexity 26 (threshold 15). Drivers by points: if/else 15 (25 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/builder/arg.rs"},"region":{"startLine":4578}}}],"partialFingerprints":{"codehealthFindingId/v1":"a330a225519b83803cf4c8b3eeea309d8ec27c8aa575c9fb9aad235884ab0930"}},{"ruleId":"D2","level":"warning","message":{"text":"clap_complete_nushell::append_argument (cognitive 26): clap_complete_nushell::append_argument has cognitive complexity 26 (threshold 15). Drivers by points: loops 4 (12 pts), if/else 5 (9 pts), match/switch 3 (5 pts) (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":"clap_complete_nushell/src/lib.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"825ac491a5c6865c0cf1224971d0969cd74b46b24c86ecac0a78eb4a3038bdda"}},{"ruleId":"D2","level":"warning","message":{"text":"clap_complete::aot::shells::zsh::write_flags_of (cognitive 22): clap_complete::aot::shells::zsh::write_flags_of has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 3 (9 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_complete/src/aot/shells/zsh.rs"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1c8a58bd780b83185807234446a2d59ef3196ab56cb210cb0cb50646c6f0c93"}},{"ruleId":"D2","level":"warning","message":{"text":"clap_complete::engine::custom::complete_path (cognitive 22): clap_complete::engine::custom::complete_path has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (16 pts), match/switch 2 (4 pts), boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_complete/src/engine/custom.rs"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1b2a9c749d08e23c179557208634366cf23c7fd1e671ba2362581671b53ea2c"}},{"ruleId":"D2","level":"warning","message":{"text":"Command::try_get_matches_from_mut (cognitive 21): Command::try_get_matches_from_mut has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (21 pts) (nesting depth added 13). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/builder/command.rs"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"01c56d07a81c7ecca1f4a76d5a29a5d0433376917492cacbcc55f0ee3c2a8257"}},{"ruleId":"D2","level":"warning","message":{"text":"Parser::parse_long_arg (cognitive 21): Parser::parse_long_arg has cognitive complexity 21 (threshold 15). Drivers by points: if/else 14 (18 pts), boolean chains 2, match/switch 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/parser/parser.rs"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"3db466bc68ad52564a34d0c0a05ebe87ef421ed4e7408b4bd5013cb2b7dc3512"}},{"ruleId":"D2","level":"warning","message":{"text":"clap_complete::aot::shells::bash::option_details_for_path (cognitive 21): clap_complete::aot::shells::bash::option_details_for_path has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (18 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_complete/src/aot/shells/bash.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"a83e620d39cf9b11e54682ae11db87d0299389f1200978ea140c959ba518f69b"}},{"ruleId":"D2","level":"warning","message":{"text":"clap_derive::utils::doc_comments::markdown::parse_markdown (cognitive 21): clap_derive::utils::doc_comments::markdown::parse_markdown has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 2 (4 pts), match/switch 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_derive/src/utils/doc_comments.rs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f02ff53560c8208b45fa681a947906d663e6c63dfb428f1ec90b499c45ee52c"}},{"ruleId":"D2","level":"warning","message":{"text":"RichFormatter::format_error (cognitive 20): RichFormatter::format_error has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13 (18 pts), loops 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/error/format.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ab4ed05cc7519247a6737d901d0a714696d659948173a2fa6f374964403f618"}},{"ruleId":"D2","level":"warning","message":{"text":"clap_complete::aot::shells::zsh::write_opts_of (cognitive 20): clap_complete::aot::shells::zsh::write_opts_of has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (7 pts), loops 3 (7 pts), match/switch 3 (6 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_complete/src/aot/shells/zsh.rs"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"103f9fe3417f1ce3b9211702d1001bb2571377d028da24f431828fee6fb1975c"}},{"ruleId":"D2","level":"warning","message":{"text":"clap_complete::engine::complete::complete_arg (cognitive 19): clap_complete::engine::complete::complete_arg has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (16 pts), 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":"clap_complete/src/engine/complete.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fd7f29c7fcc8f93b7c298842e2202965309ef2107eafc8a20d15e9a16aa44d3"}},{"ruleId":"D2","level":"warning","message":{"text":"LineWrapper::wrap (cognitive 18): LineWrapper::wrap has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/output/textwrap/wrap_algorithms.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"11895db7741fb09a6521eb7090ff722d81a7ed6a270eedd317acd81f3119e1d7"}},{"ruleId":"D2","level":"warning","message":{"text":"clap_complete::engine::complete::parse_positional (cognitive 18): clap_complete::engine::complete::parse_positional has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (17 pts), match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_complete/src/engine/complete.rs"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"e82d5b12aff3909c12df0c8a51eba4a004a118374c45e9c012885496bc71fb62"}},{"ruleId":"D2","level":"warning","message":{"text":"Arg::render_arg_val (cognitive 17): Arg::render_arg_val has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 3, loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/builder/arg.rs"},"region":{"startLine":4707}}}],"partialFingerprints":{"codehealthFindingId/v1":"574b1fbc09103561f3d8ba28764f90439feed3cb39165906e8f9a74f2946f8b2"}},{"ruleId":"D2","level":"warning","message":{"text":"Command::unroll_arg_requires (cognitive 17): Command::unroll_arg_requires has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (13 pts), loops 2 (4 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/builder/command.rs"},"region":{"startLine":5087}}}],"partialFingerprints":{"codehealthFindingId/v1":"01051ca8902b1aeb930460671ac38d7bb44494bcc21b7d511e2850788b449a50"}},{"ruleId":"D2","level":"warning","message":{"text":"clap_mangen::render::synopsis (cognitive 17): clap_mangen::render::synopsis has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 5 (6 pts), 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":"clap_mangen/src/render.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ec96f53eea140f1ea98c868f80bdc9dcfcb6a2aa2d1469185c0959edf97b3f4"}},{"ruleId":"D2","level":"warning","message":{"text":"Usage::needs_options_tag (cognitive 16): Usage::needs_options_tag has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 2 (3 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/output/usage.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"731f27c974cb861c01500b43c891547a5b60988dcbdfa9d84cb70239d0479a68"}},{"ruleId":"D2","level":"warning","message":{"text":"Parser::possible_subcommand (cognitive 16): Parser::possible_subcommand has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (15 pts), boolean chains 1 (nesting depth added 9). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/parser/parser.rs"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ae85713db495a5f34c1bf7757e4ca306939811e856b9f6c447fa87ac3400ae"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Command: TooManyMethods \u2014 227 methods. The bar is 30 methods; this is 197 over it, 7.57\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/builder/command.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"ead0c3d378a6d6e4a689e3553c7db78620966ae6b30e57087b438cc1b91c29be"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Arg: TooManyMethods \u2014 135 methods. The bar is 30 methods; this is 105 over it, 4.50\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/builder/arg.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aa77255e3912b2df382ecaa67586ddc7cd052382b8a07cf9d7680f86b12746a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Command: ClassTooLong \u2014 1427 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 227 methods, 11 blocks, lines 74-5256. The bar is 400 significant lines; this is 1027 over it, 3.57\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/builder/command.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cc5e65d86fcdaf177033a82f0ebb0c26f665e90e635f696377bc99e958c1f80"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: builder/command.rs: FileTooLong \u2014 1625 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 88% of them inside a single declaration: Command (11 blocks, 74-5256). The bar is 500 significant lines; this is 1125 over it, 3.25\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/builder/command.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d36e73a1a4acfa3fc2a48f7ddef538bc2e9a302d0c3665114317c2ff8d5511a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Parser.parse: MethodTooLong \u2014 parse runs 288 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 188 over it, 2.88\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/parser/parser.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9484a92837b22ba8a26df10ccdb4e87c525b939f71fdd839cd126b3d225ce82"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Parser: ClassTooLong \u2014 1093 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 25 methods, 4 blocks, lines 23-1633. The bar is 400 significant lines; this is 693 over it, 2.73\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/parser/parser.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"359adac11357e4733aa2f993aec8af1c99040401cf088927ebadad043a0bb5a9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: clap_builder::builder::debug_asserts::assert_app: FunctionTooLong \u2014 clap_builder::builder::debug_asserts::assert_app runs 257 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 157 over it, 2.57\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/builder/debug_asserts.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"08058eda104d23200d2e65e1bf2188d873bf786110d36994cadd2e7081b1542d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Arg: ClassTooLong \u2014 944 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 135 methods, 13 blocks, lines 60-4838. The bar is 400 significant lines; this is 544 over it, 2.36\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/builder/arg.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6a00727083547c26964fbdf24a44357aad4a81d00f4826ec021b28100de58c0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: builder/value_parser.rs: FileTooLong \u2014 1143 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 643 over it, 2.29\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/builder/value_parser.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dddab9d1632c559679c1abde4a15e03e2728197d0dca705ba32527085c86098"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: parser/parser.rs: FileTooLong \u2014 1142 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 96% of them inside a single declaration: Parser (4 blocks, 23-1633). The bar is 500 significant lines; this is 642 over it, 2.28\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/parser/parser.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"038fd1402bcff19fe4a014201afae42a84b3c3154ef38060c3665e95a283803a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: builder/arg.rs: FileTooLong \u2014 972 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 97% of them inside a single declaration: Arg (13 blocks, 60-4838). The bar is 500 significant lines; this is 472 over it, 1.94\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/builder/arg.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3072174f5ac82bde8519cde27222a2eec44e9e21ad4d1b9a27e11cce54de7212"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: clap_builder::error::format::write_dynamic_context: FunctionTooLong \u2014 clap_builder::error::format::write_dynamic_context runs 173 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 73 over it, 1.73\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/error/format.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d00590607a8b42bee41f72cbd004e6a55fc172a6169be64c4ab81357270ca59"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Error: TooManyMethods \u2014 45 methods. The bar is 30 methods; this is 15 over it, 1.50\u00D7 the bar. Most of these members implement error.Error (45 of 45 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/error/mod.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"38ee99828b6d21f0a3001e9cbc948a639c27b3780762f58c49ddfd388f632b5e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Parser.react: MethodTooLong \u2014 react runs 136 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 36 over it, 1.36\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/parser/parser.rs"},"region":{"startLine":1141}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5cf59f8bcfe9b7ff478c8f0303f336fc6936f4787456f628a1daeae46f8d6a1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: clap_derive::utils::doc_comments::markdown::parse_markdown: FunctionTooLong \u2014 clap_derive::utils::doc_comments::markdown::parse_markdown runs 128 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_derive/src/utils/doc_comments.rs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"2704ac91f15a28910ac167b73c60da468be9d1d02c5b30f0ea9b626ff5c072c9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ArgMatches: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/parser/matches/arg_matches.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"05816aa1379fd70947985779b3189b9631b64543499143e29952ad31da5ed5d7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: Command: TooManyFields \u2014 36 stored fields beside 227 methods. The bar is 30 stored fields; this is 6 over it, 1.20\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/builder/command.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ed7d7524ab8cdd8882d653ace15b4535e053229b32ba6364b5d5367df021f83"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: clap_builder::builder::debug_asserts::_verify_positionals: FunctionTooLong \u2014 clap_builder::builder::debug_asserts::_verify_positionals runs 110 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/builder/debug_asserts.rs"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"64d66dfa85d7067fc7f19f2bfb748b6d3ab6ad66f20f90b081e017a1860dafcf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: matches/arg_matches.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). The bar is 500 significant lines; this is 42 over it, 1.08\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/parser/matches/arg_matches.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"82110f597ded05bf403e7e34509de265da3425443981b7958c6aafa54799b32d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Error: ClassTooLong \u2014 431 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 45 methods, 7 blocks, lines 60-854. The bar is 400 significant lines; this is 31 over it, 1.08\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/error/mod.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"1af5af23f7c4b0ba4cd70070777d9f1f6cbda6bad31770adbe826bf0b2dde3f2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: error/mod.rs: FileTooLong \u2014 532 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 81% of them inside a single declaration: Error (7 blocks, 60-854). The bar is 500 significant lines; this is 32 over it, 1.06\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/error/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"abf855841c4916dc8795480fadda4063b694b7a7cf77f759b90a87b6385cc6c8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: builder/debug_asserts.rs: FileTooLong \u2014 531 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 31 over it, 1.06\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/builder/debug_asserts.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5823d717f06215d1fc32c6beb736f86cf26667e52ddeeecb603bbe5669046ede"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: engine/complete.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). The bar is 500 significant lines; this is 11 over it, 1.02\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_complete/src/engine/complete.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c37090aeaf56df3cf06399b1b86c0a55f92ca6bfbf77423971ee33d87a1d4da"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (44 shared lines): clap_builder/src/builder/command.rs:4495-4578 | clap_builder/src/builder/command.rs:4580-4693 \u2014 These two members are variants of one another: 44 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/builder/command.rs"},"region":{"startLine":4495}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a4b8e10f224996e763d27985b510a770b2a6ecf405cf6ba47a9a3b1af2b3d25"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (39 shared lines): clap_builder/src/output/usage.rs:254-376 | clap_builder/src/output/usage.rs:383-493 \u2014 These two members are variants of one another: 39 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/output/usage.rs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8641ba99220bac46e9b90d6b3d09a0bd896213904c5bb841e35ec64bb5d9067"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): clap_builder/src/builder/value_parser.rs:1411-1455 | clap_builder/src/builder/value_parser.rs:1610-1654 \u2014 These two members are one piece of code written twice and then edited apart: 45 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/builder/value_parser.rs"},"region":{"startLine":1411}}}],"partialFingerprints":{"codehealthFindingId/v1":"454f5a2c1f57df340c717f8ae2c7b97207411a55b6be40deacab3b8bcccc7e97"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): clap_builder/src/builder/value_parser.rs:1377-1397 | clap_builder/src/builder/value_parser.rs:1576-1596 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/builder/value_parser.rs"},"region":{"startLine":1377}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6af6784956c7951c6de9e5b2db67b0e4ae06617c99559f9e36c75f516929ea2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): clap_complete/src/aot/generator/utils.rs:70-91 | clap_complete/src/aot/generator/utils.rs:95-121 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_complete/src/aot/generator/utils.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"493bacc8724ed0b457a5516cb8be3ebf1305b657dc459e040c2517122bd0696e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): clap_builder/src/error/mod.rs:491-528 | clap_builder/src/error/mod.rs:777-806 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/error/mod.rs"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0ace9db55777d27ad7dbb530724e9e637616361f1330a96e9828a6f87c3604b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): clap_complete/src/env/shells.rs:256-273 | clap_complete/src/env/shells.rs:280-295 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_complete/src/env/shells.rs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb35496857470d46aeb58bd7bb5225a6847d811855c3ac282160c9ad0fc3674e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): clap_complete/src/engine/complete.rs:503-516 | clap_complete/src/engine/complete.rs:519-532 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_complete/src/engine/complete.rs"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"c02d70ac0607b55785b34d5b12eb1ad16db70af6f98fdb2a48d32668eab5cc5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): clap_complete/src/engine/complete.rs:555-567 | clap_complete/src/engine/complete.rs:604-616 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_complete/src/engine/complete.rs"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6ebb5b4a59c8290d8f3d53255c43d1c3bc08a73e327aa1f46b8ada578d472c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): clap_builder/src/builder/command.rs:934-944 | clap_builder/src/builder/command.rs:968-978 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/builder/command.rs"},"region":{"startLine":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"87d7ceb177f5b781df5349cd9f0d02b35c06a13361768aea8d34efc5028578ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): clap_builder/src/builder/action.rs:375-387 | clap_builder/src/builder/action.rs:389-401 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/builder/action.rs"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b427d88da7c32a792d838863d5c7acb7d0fe1d46a5efdbb1f77024bcbc60528"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 20\u002B corresponding lines): clap_complete/src/env/shells.rs:24-71 | clap_complete/src/env/shells.rs:153-172 | clap_complete/src/env/shells.rs:417-466 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 20 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_complete/src/env/shells.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebf4fd8095350486421dc84f8e05af70ce1661d641714a8be56fd6758739ecef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): clap_builder/src/util/flat_map.rs:156-165 | clap_builder/src/util/flat_map.rs:167-176 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/util/flat_map.rs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fcd15ea838834cf80bd93eef6320d9700850442291c38a89a7265e6da040826"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): clap_builder/src/builder/action.rs:403-415 | clap_builder/src/builder/action.rs:417-429 | clap_builder/src/builder/action.rs:431-443 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/builder/action.rs"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1ea0f813c5f06758030d8c38e16248318f6d7b42b30b543f2c335d8e995ead2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 15\u002B corresponding lines): clap_builder/src/error/mod.rs:438-452 | clap_builder/src/error/mod.rs:534-550 | clap_builder/src/error/mod.rs:556-572 | clap_builder/src/error/mod.rs:579-598 | clap_builder/src/error/mod.rs:619-635 | clap_builder/src/error/mod.rs:643-666 | clap_builder/src/error/mod.rs:692-715 \u2014 These 7 members are one piece of code written 7 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/error/mod.rs"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"37096d80d61a980c6b9427845bc1f6f9eb560d3793d05432756055ffd370b1bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): clap_builder/src/derive.rs:31-43 | clap_builder/src/derive.rs:56-68 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/derive.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"c975a16ba61eadac1c59f91c1884be6920c23f7061b675cc270a472d7d66291f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 13\u002B corresponding lines): clap_builder/src/parser/matches/arg_matches.rs:1102-1115 | clap_builder/src/parser/matches/arg_matches.rs:1135-1147 | clap_builder/src/parser/matches/arg_matches.rs:1153-1165 | clap_builder/src/parser/matches/arg_matches.rs:1186-1199 | clap_builder/src/parser/matches/arg_matches.rs:1205-1217 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/parser/matches/arg_matches.rs"},"region":{"startLine":1102}}}],"partialFingerprints":{"codehealthFindingId/v1":"1604e9103d30dee21826e62930f05d945c2a56a7b1b82f1d018b0a7e63d052b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): clap_builder/src/builder/command.rs:1051-1059 | clap_builder/src/builder/command.rs:1066-1074 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/builder/command.rs"},"region":{"startLine":1051}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fb67fc83b4accc8ddb584bac064a3b039bf84efafe7b618e91be8a94d5a1573"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): clap_builder/src/builder/arg.rs:4320-4329 | clap_builder/src/parser/validator.rs:528-537 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/builder/arg.rs"},"region":{"startLine":4320}}}],"partialFingerprints":{"codehealthFindingId/v1":"35a73389a96768f41cbec5f2b085c26c589d53ee90e3618e1698604298a6ddeb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): clap_complete/src/engine/complete.rs:448-454 | clap_complete/src/engine/custom.rs:459-463 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_complete/src/engine/complete.rs"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"91a649f478d943b3914b7801cf3db6b3f213f26e34478f84c50acd868df635de"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): clap_complete/src/aot/generator/utils.rs:134-142 | clap_complete/src/engine/complete.rs:572-578 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_complete/src/aot/generator/utils.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"efe4566982159dbe6e36d5a700f4859733b25d6c94dfa160f947b6a22d759677"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): clap_complete/src/aot/shells/elvish.rs:23-56 | clap_complete/src/aot/shells/powershell.rs:23-61 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_complete/src/aot/shells/elvish.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"837566ab953dd247e41477f85de268ce1e33a3c07457ee7dbc46d5a269fccef4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2): clap_builder/src/builder/value_parser.rs:1331-1375 | clap_builder/src/builder/value_parser.rs:1530-1574 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/builder/value_parser.rs"},"region":{"startLine":1331}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9020184a3ded8347b987a81362c7883073ede795bd2e4de07a86f1d4e487ffa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): clap_builder/src/builder/value_parser.rs:1419-1455 | clap_builder/src/builder/value_parser.rs:1618-1654 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060clap_builder/src/builder/value_parser.rs:1419\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/builder/value_parser.rs"},"region":{"startLine":1419}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b36a3ec775dc782d8a2527568ff646923f7fb4198dac1b9208f376bb72c9bf3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): clap_complete/src/aot/shells/bash.rs:190-217 | clap_complete/src/aot/shells/bash.rs:223-250 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060clap_complete/src/aot/shells/bash.rs:190\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_complete/src/aot/shells/bash.rs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b68e8cc2c6acb4e339a22e11841b05fd5137cdc875b772632221847e4ec4797"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): clap_builder/src/error/mod.rs:384-404 | clap_builder/src/error/mod.rs:412-432 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/error/mod.rs"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"e052160c921174168c07121fc3e31c9910323e7c36039c2f9530448f459c0004"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): clap_builder/src/builder/command.rs:4551-4567 | clap_builder/src/builder/command.rs:4659-4675 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060clap_builder/src/builder/command.rs:4551\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060self\u0060 to \u0060crate) fn _build_subcommand(\u0026mut\u0060 in one and \u0060\u0026mut\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/builder/command.rs"},"region":{"startLine":4551}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b81a848445a37da2b78c71a3c6060a7bebce345b2e987de0e3abff3b95d3846"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): clap_complete/src/aot/shells/fish.rs:131-147 | clap_complete/src/aot/shells/fish.rs:156-172 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060clap_complete/src/aot/shells/fish.rs:149\u0060 calls \u0060push_str\u0060, \u0060value_completion\u0060, \u0060as_str\u0060 and \u0060clap_complete/src/aot/shells/fish.rs:174\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_complete/src/aot/shells/fish.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bd8e5dd498764e2dbe0127a840a25465af3545fc683ab757ed2389337d5ada4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): clap_complete/src/aot/shells/elvish.rs:87-102 | clap_complete/src/aot/shells/elvish.rs:105-120 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060clap_complete/src/aot/shells/elvish.rs:87\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_complete/src/aot/shells/elvish.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"831afcf0c4dedcc06a38fa5824c8074546cac9ad8f3a02b45609fdb343ecae16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): clap_complete/src/env/shells.rs:231-246 | clap_complete/src/env/shells.rs:381-396 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_complete/src/env/shells.rs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"863bbe5f85d18dd53d6711b66480e9bed736626a632e5cd8d4d66c6633461f9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): clap_builder/src/builder/command.rs:4514-4528 | clap_builder/src/builder/command.rs:4611-4625 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/builder/command.rs"},"region":{"startLine":4514}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec0d1fce655e9d92cf03a23b6cf9693daf577e92661f447ab7814e436c00c4e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): clap_builder/src/parser/parser.rs:174-187 | clap_builder/src/parser/parser.rs:257-271 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060clap_builder/src/parser/parser.rs:174\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/parser/parser.rs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"a463cefb708a6bd9ae23e15234e07553cbff85fc52ef19a055b409c760fe65d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): clap_builder/src/output/usage.rs:259-270 | clap_builder/src/output/usage.rs:389-402 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060clap_builder/src/output/usage.rs:259\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/output/usage.rs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"49d980b62c8440449636c130f7de39afe64bd75cba0cc14088f77614d38176cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): clap_builder/src/builder/command.rs:4498-4509 | clap_builder/src/builder/command.rs:4584-4596 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060self\u0060 to \u0060crate) fn _build_subcommand(\u0026mut\u0060 in one and \u0060\u0026mut\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/builder/command.rs"},"region":{"startLine":4498}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c44ec96301236e12c7c4d83afaab28da4295faaf445388db0c61b506a2efe68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): clap_builder/src/parser/parser.rs:1208-1219 | clap_builder/src/parser/parser.rs:1251-1262 | clap_builder/src/parser/parser.rs:1272-1283 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/parser/parser.rs"},"region":{"startLine":1208}}}],"partialFingerprints":{"codehealthFindingId/v1":"3084e3ba0f46037bc64026cd3159de5b7e518a4e7d65071bb36dd98864226d4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): clap_complete/src/aot/shells/elvish.rs:72-83 | clap_complete/src/aot/shells/powershell.rs:80-91 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_complete/src/aot/shells/elvish.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"21bc46a075a298136c6383a1c7011e33dc796be8f624cbbd2a3888a85d6b65fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): clap_builder/src/builder/value_parser.rs:1382-1392 | clap_builder/src/builder/value_parser.rs:1581-1591 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060clap_builder/src/builder/value_parser.rs:1382\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/builder/value_parser.rs"},"region":{"startLine":1382}}}],"partialFingerprints":{"codehealthFindingId/v1":"72327ed74ab527ed0c6b7d0e9264c2b40ca23148e7a2110d6f628422a43fc24d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): clap_builder/src/parser/parser.rs:1216-1226 | clap_builder/src/parser/parser.rs:1235-1243 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060clap_builder/src/parser/parser.rs:1216\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/parser/parser.rs"},"region":{"startLine":1216}}}],"partialFingerprints":{"codehealthFindingId/v1":"4727fff9aeb7503f7e6496b205988d57e32c1238c2bf802359bd3f20d1cb70b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): clap_builder/src/parser/validator.rs:169-178 | clap_builder/src/parser/validator.rs:414-423 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060clap_builder/src/parser/validator.rs:169\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/parser/validator.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2f3abd61d52078fd34f5f0674afa9612c21198d6ba766e78db16bc9c773647e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): clap_complete/src/engine/complete.rs:257-266 | clap_complete/src/engine/complete.rs:269-278 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_complete/src/engine/complete.rs"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"16b19111bacd7779fc99a696ae287507a6a8f23cc77333a2bd1a505795658e52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): clap_builder/src/error/format.rs:277-285 | clap_builder/src/error/format.rs:314-322 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060clap_builder/src/error/format.rs:277\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060ContextValue\u0060 to \u0060:String(invalid_value))\u0060 in one and \u0060:Number(min_values))\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/error/format.rs"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b7b35f38ac7a6d90e797f2d3748df7594f2fbc27b8cf1d4320a81fe5e123797"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): clap_builder/src/error/format.rs:297-305 | clap_builder/src/error/format.rs:337-345 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060clap_builder/src/error/format.rs:297\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/error/format.rs"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aac0713fbf4259af0d0bb38400204d6491e3ee6c1e72a721835a4787882ce23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): clap_builder/src/error/mod.rs:724-731 | clap_builder/src/error/mod.rs:778-785 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060clap_builder/src/error/mod.rs:724\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/error/mod.rs"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ee3c68bae416c67f68931f617f5b040a23226dff2e8e91ded02e0b52fa1fa20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 2): clap_builder/src/output/usage.rs:301-307 | clap_builder/src/output/usage.rs:451-459 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060clap_builder/src/output/usage.rs:301\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/output/usage.rs"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fec15d54230a8eff3094b07dd16567360ed7a8d26d72089d7d1170dfcdb8d40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): clap_builder/src/error/format.rs:46-52 | clap_builder/src/error/format.rs:76-82 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060clap_builder/src/error/format.rs:75\u0060 calls \u0060write_dynamic_context\u0060 and \u0060clap_builder/src/error/format.rs:45\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/error/format.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"e01ea1234e020793f39d0395bca014512a9508f9d062d47d2783ca7763274024"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): clap_builder/src/parser/parser.rs:1201-1207 | clap_builder/src/parser/parser.rs:1228-1234 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/parser/parser.rs"},"region":{"startLine":1201}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd27ed18f834fccadb1c13a821291f401032c1712a34b9e29b2ce8ed28e8f904"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20137 lines \u00D7 3): clap_complete/src/env/shells.rs:94-100 | clap_complete/src/env/shells.rs:188-194 | clap_complete/src/env/shells.rs:485-488 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060clap_complete/src/env/shells.rs:94\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_complete/src/env/shells.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd2e359dc2de0b0161200c00c3bef0b84395a8b470b45ace5ff2cb3ac314b484"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): clap_complete/src/env/shells.rs:257-263 | clap_complete/src/env/shells.rs:281-287 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060clap_complete/src/env/shells.rs:257\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_complete/src/env/shells.rs"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8e9ca4be6a9f04442387791bd4767ca7dea398462f2429a52b3335df66b9be9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): clap_mangen/src/render.rs:86-92 | clap_mangen/src/render.rs:287-292 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060clap_mangen/src/render.rs:287\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_mangen/src/render.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"507b9eb60a8476d662638d7b2b129f122740e6308ab8e5a0fa8066742c9e7e4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (62 lines \u00D7 2): clap_builder/src/builder/app_settings.rs:10-87 | clap_builder/src/builder/arg_settings.rs:8-69 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060clap_builder/src/builder/app_settings.rs:10\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060setting\u0060 to \u0060AppSettings\u0060 in one and \u0060ArgSettings\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/builder/app_settings.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"f78815d100ea75d7ad8260f7ac9a09e6654b82670cc6466a8991f9b924506b6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): clap_builder/src/builder/arg.rs:254-261 | clap_builder/src/builder/command.rs:2691-2698 \u2014 before extracting anything, compare \u0060clap_builder/src/builder/arg.rs\u0060 and \u0060clap_builder/src/builder/command.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 58 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/builder/arg.rs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fe69a496f418af8d658c1ce7298564bcad7a6186d5e95facdf7b2612174cd04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): clap_builder/src/builder/arg.rs:317-321 | clap_builder/src/builder/command.rs:2793-2797 \u2014 before extracting anything, compare \u0060clap_builder/src/builder/arg.rs\u0060 and \u0060clap_builder/src/builder/command.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 58 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/builder/arg.rs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"513be00b6ecfcc7cb7d221a3ab5ec91fb762a1826db27e53e9cd164f1e32f1e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): clap_builder/src/builder/arg.rs:375-382 | clap_builder/src/builder/command.rs:2893-2900 \u2014 before extracting anything, compare \u0060clap_builder/src/builder/arg.rs\u0060 and \u0060clap_builder/src/builder/command.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 58 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/builder/arg.rs"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceb0367835cdaedda323c64992f7b4c471fa33ee72ebb1e06586f8b74453ff28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): clap_builder/src/builder/arg.rs:435-439 | clap_builder/src/builder/command.rs:3000-3004 \u2014 before extracting anything, compare \u0060clap_builder/src/builder/arg.rs\u0060 and \u0060clap_builder/src/builder/command.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 58 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/builder/arg.rs"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"53efa2cbcd052e4cb83d533e1c0456481d90c5329af022444a159625d80a7d30"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): clap_builder/src/builder/arg.rs:4007-4014 | clap_builder/src/builder/arg_group.rs:457-464 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/builder/arg.rs"},"region":{"startLine":4007}}}],"partialFingerprints":{"codehealthFindingId/v1":"85e61a480faeb589385be277c66c42795a768f92304716a248f30f79f62ac11c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): clap_builder/src/builder/os_str.rs:133-138 | clap_builder/src/builder/str.rs:82-87 | clap_builder/src/builder/styled_str.rs:190-195 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/builder/os_str.rs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"88003bd2d0ae90e0aa50c785b7abff152b5f180e82baed0c0088ac866fee14ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): clap_builder/src/builder/arg.rs:284-292 | clap_builder/src/builder/command.rs:2718-2726 \u2014 before extracting anything, compare \u0060clap_builder/src/builder/arg.rs\u0060 and \u0060clap_builder/src/builder/command.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 58 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/builder/arg.rs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"77278d211396dbfc04001e1c8ee2c57d796e86df18233ea76cb25ffd11dff308"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): clap_builder/src/builder/arg.rs:346-352 | clap_builder/src/builder/command.rs:2820-2826 \u2014 before extracting anything, compare \u0060clap_builder/src/builder/arg.rs\u0060 and \u0060clap_builder/src/builder/command.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 58 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/builder/arg.rs"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"504bff790d246aa86ca7f799729b1068367eb333e2390e6b673f0124b18c353c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): clap_builder/src/builder/arg.rs:404-412 | clap_builder/src/builder/command.rs:2923-2931 \u2014 before extracting anything, compare \u0060clap_builder/src/builder/arg.rs\u0060 and \u0060clap_builder/src/builder/command.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 58 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/builder/arg.rs"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc42ba3c51b8796b442b0db680d6dbc4c8f1533158736d2d0608c56b7df374ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): clap_builder/src/builder/arg.rs:461-467 | clap_builder/src/builder/command.rs:3023-3029 \u2014 before extracting anything, compare \u0060clap_builder/src/builder/arg.rs\u0060 and \u0060clap_builder/src/builder/command.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 58 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/builder/arg.rs"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4b55e062cebba87d8320ca8d1f89874441e1c23dc769efeb98b91cbc0d0ed93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): clap_builder/src/builder/arg.rs:2892-2899 | clap_builder/src/builder/arg_group.rs:137-144 | clap_builder/src/builder/arg_group.rs:360-367 | clap_builder/src/builder/possible_value.rs:134-141 \u2014 there are 4 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/builder/arg.rs"},"region":{"startLine":2892}}}],"partialFingerprints":{"codehealthFindingId/v1":"709bb823f8f03cfecd5626529d37b427d4036148160d298d7d58bd778b2be811"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): clap_complete/src/aot/shells/elvish.rs:132-148 | clap_complete/src/aot/shells/powershell.rs:113-130 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060clap_complete/src/aot/shells/elvish.rs:132\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_complete/src/aot/shells/elvish.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f873d525c1814d651386981982424b3540c8915c6eb1300615553a026fb9eac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): clap_builder/src/output/usage.rs:273-292 | clap_builder/src/output/usage.rs:411-430 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060clap_builder/src/output/usage.rs:273\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/output/usage.rs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"92f0b4513c13df58f28a7a73485707e5811ba0cf9d715e95dd488548498a5536"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): clap_builder/src/error/mod.rs:498-508 | clap_builder/src/error/mod.rs:730-742 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060clap_builder/src/error/mod.rs:498\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/error/mod.rs"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"391808a9102813601a5a2e30c1f9d12183e716a57b6d3e77dde8ce3bcf37058d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): clap_complete/src/env/shells.rs:180-184 | clap_complete/src/env/shells.rs:474-478 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_complete/src/env/shells.rs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2ea86f307da0206e35974b7f20fbebe6a99f0a2f5ada6f97ccf958f5073e5ac"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: clap_lex: clap_lex: abstractness 0.25, instability 0.00, distance 0.75 \u2014 zone of pain \u2014 concrete and depended on by 2 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8199a0b1cb7bfe152b558852331350fa29ad3ae914bbfc0b52817e89510a8bd6"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Command (LCOM4 12): Command\u0027s methods fall into 12 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 12 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/builder/command.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"63a700ea4f8bb66dad41a9da7d7135f0681e872d31c2bf2b19bac6b1d1341a1e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Styles (LCOM4 8): Styles\u0027s methods fall into 8 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 8 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/builder/styling.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab6de64c5dba25d4ee44ebed9433c36e83a2d08635823b64e7b7725c33a569de"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: clap_builder/src/builder/os_str.rs: 43.9% line coverage (47/107)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/builder/os_str.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fb98145a4ea49493814cd1118e4f03f58bf9170902d774c6f2e427f17edd884"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: clap_builder/src/builder/str.rs: 40.0% line coverage (44/110)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/builder/str.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fdf698f244798383406d3d433568e15f73a36f47c99878d3eec97f5c68459fc"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: clap_builder/src/builder/value_hint.rs: 0.0% line coverage (0/17)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/builder/value_hint.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6017a67affc7e28cfdea859700e826511b437cd367a52bf4d44df807a996ade5"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: clap_builder/src/derive.rs: 32.1% line coverage (53/165)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/derive.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"88a678ee4c8ba9f8217e182d7dd3c156d235e0c27aba02bdafa6f63780ea4701"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: clap_builder/src/error/context.rs: 0.0% line coverage (0/39)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/error/context.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b4445fb19a55919265985086ccbef381be9d56d35259d6e718866eef7d27ecf"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: clap_builder/src/error/kind.rs: 17.4% line coverage (4/23)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/error/kind.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9a389526e25332006a839ebe6b23f4e0a73c162155050d80f3f13f8803804f2"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: clap_builder/src/util/color.rs: 33.3% line coverage (9/27)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/util/color.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8974acf0474abd8caae01f37439fe6410f22c3a1863a8d9d337d462e7613ba07"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: clap_complete/src/aot/generator/mod.rs: 33.3% line coverage (11/33)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_complete/src/aot/generator/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7d6e4838d8a9899c6c44b705d7cddcab83763a1d757b9872268c2b8f7b4639c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: clap_complete/src/aot/shells/shell.rs: 14.3% line coverage (10/70)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_complete/src/aot/shells/shell.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6739157d836f7828132c45aa613773a29d352dc80a1a3ac82557125e5d558f32"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: clap_derive/src/attr.rs: 0.0% line coverage (0/113)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_derive/src/attr.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3817589694a926af29729f8487f4a9f35e2d6ec56c9be803bdfb586fc3bf3252"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: clap_derive/src/derives/args.rs: 0.0% line coverage (0/383)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_derive/src/derives/args.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8946aab9884d0edbf2c476a13cda9ce772a116b8537334afc98b8d3355545e97"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: clap_derive/src/derives/into_app.rs: 0.0% line coverage (0/58)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_derive/src/derives/into_app.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6e6a997a561db5c7dc927610ea45e2379aeb17c888a0213a517c3a4f37e513f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: clap_derive/src/derives/parser.rs: 0.0% line coverage (0/76)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_derive/src/derives/parser.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aa6b892a4f380da78ec26ed3fae7203f6b12860a00c329207b10fa54d405fc4"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: clap_derive/src/derives/subcommand.rs: 0.0% line coverage (0/390)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_derive/src/derives/subcommand.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c9df7f3142b64ac59f4899b2e8e0a9bc4df8bc0243c3d5707eec28b9cd3b3eb"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: clap_derive/src/derives/value_enum.rs: 0.0% line coverage (0/86)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_derive/src/derives/value_enum.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"873bdbeb31369442bc6eeebd4b1080931de319dd99820d7fd315deeb02ad8796"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: clap_derive/src/dummies.rs: 0.0% line coverage (0/21)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_derive/src/dummies.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"23bf865f246ce39afc3bbc18cbe1dec4a076ab1d6b62f67aaf7915a54df57ab8"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: clap_derive/src/item.rs: 0.0% line coverage (0/863)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_derive/src/item.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"476b8d45647da8f372d00ba82c387350f7c9de4269b17fd42a72ac9f36b46e33"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: clap_derive/src/lib.rs: 0.0% line coverage (0/54)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_derive/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2dfab44dd1b83ccb692cebe6de919c74f27a7c88911edbc8042a831f9f0c183"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: clap_derive/src/utils/doc_comments.rs: 0.0% line coverage (0/86)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_derive/src/utils/doc_comments.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fbf711fbb423d8dd21f76cc47cddf2791c8e779e7de90abc25488e8ab975ee6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: clap_derive/src/utils/error.rs: 0.0% line coverage (0/6)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_derive/src/utils/error.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18ec974eb5580d4d446e4afa38e97f2b0dd9bdba0991943614d2044c4e58b443"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: clap_derive/src/utils/spanned.rs: 0.0% line coverage (0/43)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_derive/src/utils/spanned.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"39e0c3fbf7d29a3bbf08207984fb5605c0416cbc95b43324431aa7afbc193fa4"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: clap_derive/src/utils/ty.rs: 0.0% line coverage (0/91)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_derive/src/utils/ty.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1f0864d71eb52b23e48d37e4c2c7d9de80991dbb29c1e7fff760c4d20b3b236"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 8 significant file(s) lose their only recent owner: clap_builder/src/builder/arg_group.rs, clap_builder/src/error/kind.rs, clap_builder/src/parser/arg_matcher.rs, clap_builder/src/parser/matches/matched_arg.rs, src/_concepts.rs, src/lib.rs, clap_derive/src/utils/ty.rs, clap_complete/src/lib.rs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"473308de932113b75acb691b3e0551fe0fd0a81adab2319a9ca08e40989477af"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO If we decide not to support any colors, we can replace this with \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_derive/src/utils/doc_comments.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"e09f175d356df98a1f5c8fdb22ec33e3c675dca8070549d9e3819647590dbc4b"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // HACK: Validation isn\u0027t ready yet for nested arg groups, so just don\u0027t populate the group in \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_derive/src/derives/args.rs"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f2f4f01cf2c3834de6a4558440c278beea4167176b770968ac9c1fa9f015e10"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // HACK: elvish prints and clears this message when a completer takes too long which is \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_complete_nushell/tests/common.rs"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb9269f2f474c11a543950735da29a0ae7659f0ebdab86e198dbd29e595a15aa"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // HACK: elvish prints and clears this message when a completer takes too long which is \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_complete/tests/testsuite/common.rs"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b1f79e4ba95f2eb68081daa6e67c991a69eb9edbc174e5a21439b1b3b71d935"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // HACK: At least on CI, the prompt override is not working \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_complete_nushell/tests/common.rs"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"1130a0c42b4d4a2226ab29a8a424fa614465fade5ad9e6451658a87015871efc"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // HACK: At least on CI, the prompt override is not working \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_complete/tests/testsuite/common.rs"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"7225b1e397f554062ee26a24020a9ae62a8424eac8654b9ec134c6ef70561d71"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // HACK: this cannot handle in-word \u0027[TAB]\u0027 \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_complete/tests/testsuite/engine.rs"},"region":{"startLine":1545}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2cb82e8568daec07775c662a93eb14401e29462ab438cb6fbb21dbe8e2d0f5a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Multicall support \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_complete/src/engine/complete.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"df7c0a49f80c17fb6d3da932bba446c15a29e2479d61d53460fbd5d0b439f5ec"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // HACK: Assuming knowledge of is_stdio \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_complete/src/engine/complete.rs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"1af3e5c1f6d6144328bbb3df1f66401f9603526dabb38a582b2cc8b6902fcaee"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // HACK: Assuming knowledge of is_escape \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_complete/src/engine/complete.rs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"976ba619d81ff48c0994abf83716b8ca1266a90c8afa2e22bfd03b69283d440e"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // HACK: Assuming subcommands are only nested less than 3 levels as more than that is \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_complete/src/aot/shells/fish.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"e28bfe6b3aada785482e4f94bef0d7cab19faf26159509a0ab12cc67cef79ee7"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // HACK: maintain indexes between parsers \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/parser/parser.rs"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"42de7bd91f6cba3da807667ee75328175658be338cc1251fd4cb98a77213ab94"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // HACK: for rust 1.64 (1.68 doesn\u0027t need this since this is in lib.rs) \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/output/help_template.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c086969ad9cd6ce13a0dbbd8471e1e76b390fe18f9b40e100ff1166e653680b"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // HACK: we should use \u0060Self::add\u0060 and \u0060Self::remove\u0060 to type-check that \u0060ArgExt\u0060 is used \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/builder/arg.rs"},"region":{"startLine":1393}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f9c4f191ef7a547cac50d11c181b8c193851667407b8097de339f7f519cb28d"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // HACK: we should use \u0060Self::add\u0060 and \u0060Self::remove\u0060 to type-check that \u0060ArgExt\u0060 is used \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/builder/arg.rs"},"region":{"startLine":4373}}}],"partialFingerprints":{"codehealthFindingId/v1":"43d230dcddedd05fbe40ba4682871f671374ce447315d206015c8f2a41b8de84"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: This could probably have been an iterator \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/builder/command.rs"},"region":{"startLine":4036}}}],"partialFingerprints":{"codehealthFindingId/v1":"e875852802fd455b7ccaa5fa2774ba6b21a7b7e6a392dbe4e2a335834ef59dda"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: This could probably have been an iterator \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/builder/command.rs"},"region":{"startLine":4070}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e18befa1671c8393e04f65b4b3d70e24af2e352d73f29ae86806b2be520bf6a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this check should be recursive \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/builder/debug_asserts.rs"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e347f891606cbe5ea3d805007789727219328fe0774f24fda30c4fc12f4b729"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // HACK: Don\u0027t check for flags to make the derive easier \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/builder/debug_asserts.rs"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b3e1d9101792734ebf8c78a6f79a4093eaaba3fc3b5396e9ef4701425b4662b"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060src/bin/stdio-fixture.rs\u0060 makes this repository a deployable product (line 1)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/bin/stdio-fixture.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"934698d9d561db6af34d0953126aa9dcbe22442e4e2ececcac15ddfb00d3e179"}},{"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":"482e3b19efd040fb2215efbc5e65f5b9996234817368c5a9198eb89910e46231"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5700cf8ee182fc440abb16030061d2e9976929eb60c880096208a514bc453b10"},"properties":{"dependency":{"package":"zip","version":"0.6.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0367","RUSTSEC-2026-0368","RUSTSEC-2026-0369","RUSTSEC-2026-0429"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e9e2c75d2fefa94504a6443bd33d31210eecfcc19eda5a718aaf21e504742ebf"},"properties":{"dependency":{"package":"openssl","version":"0.10.64","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2024-0357","RUSTSEC-2025-0004","RUSTSEC-2025-0022","RUSTSEC-2026-0463","RUSTSEC-2026-0473","RUSTSEC-2026-0474","RUSTSEC-2026-0475","RUSTSEC-2026-0476","RUSTSEC-2026-0477","RUSTSEC-2026-0478","RUSTSEC-2026-0479"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"657ace3acf26c9413dc3c0e66543851b9a135570e9158e02053edf661d88afca"},"properties":{"dependency":{"package":"uucore","version":"0.0.27","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1a1e503af806e767f14c170c32073931de1d4295405a897beef69c919a99a60d"},"properties":{"dependency":{"package":"adler","version":"1.0.2","advisory":"RUSTSEC-2025-0056","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f814f99d68c2759480457d35fc42d41c7f4ce11247e748bab7b8971be44f9597"},"properties":{"dependency":{"package":"calamine","version":"0.22.1","advisory":"RUSTSEC-2026-0436","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a5fbbccd4a995e54051ac6da7441d2adab6778825918bb499131f39a3dc4f20a"},"properties":{"dependency":{"package":"crossbeam-channel","version":"0.5.13","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","RUSTSEC-2025-0024","TROVE-2025-013"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c4a0c58aca13bc848c37d4c3d5bcb90f8e046f8df5b386f5a3743d0625ad8dae"},"properties":{"dependency":{"package":"crossbeam-epoch","version":"0.9.18","advisory":"RUSTSEC-2026-0204","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"29893d3a3e305da437cc83ee22a1371122931c4170a4efca5bd1b42e190a502c"},"properties":{"dependency":{"package":"idna","version":"0.5.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","RUSTSEC-2024-0421"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f48cf8c9f415048128045caa118a1e03769d0b4fe18d7f036c2f3766e3e8d8fb"},"properties":{"dependency":{"package":"instant","version":"0.1.13","advisory":"RUSTSEC-2024-0384","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7b3f5e73f54279d8a385f3ccb6ce6659725cab3121019062bfd36c6500f66d85"},"properties":{"dependency":{"package":"libsqlite3-sys","version":"0.26.0","advisory":"RUSTSEC-2026-0459","aliases":["[CVE redacted]","[GHSA redacted]","RUSTSEC-2026-0502"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bbe030f8c1c144f826bad4cbbd83ebd5ea8dfc9162bb9621a856f9f966813acf"},"properties":{"dependency":{"package":"lru","version":"0.12.3","advisory":"RUSTSEC-2026-0002","aliases":["[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"422864efbc32ee020d94634a443edac9d818b90faf02ac96d91c4d66ffa4da37"},"properties":{"dependency":{"package":"lru","version":"0.12.3","advisory":"RUSTSEC-2026-0253","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"705e8761c5e609601c0419d94a8bad1aeb6aee434f48ec4660c92e8bf534c9de"},"properties":{"dependency":{"package":"number_prefix","version":"0.4.0","advisory":"RUSTSEC-2025-0119","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"46f49615124997a47ae03424c2b2e05e8f53b2ec644cd091de0dc203d46f11ac"},"properties":{"dependency":{"package":"pin-utils","version":"0.1.0","advisory":"RUSTSEC-2026-0441","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d469c4cdd0b2892278c4ee90c01a5a8ea4872a98733c483777e04c904cfebdfc"},"properties":{"dependency":{"package":"proc-macro-error2","version":"2.0.1","advisory":"RUSTSEC-2026-0173","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"64363d74ce1f052fae524dc374bd082dc62972fb05982f1a96c21eb7c322e135"},"properties":{"dependency":{"package":"pulldown-cmark","version":"0.13.3","advisory":"RUSTSEC-2026-0414","aliases":["RUSTSEC-2026-0433"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5585c48a8c4ed670247ebaa40a533d385248c4e49079fee700e7b93cbab137a9"},"properties":{"dependency":{"package":"quick-xml","version":"0.30.0","advisory":"RUSTSEC-2026-0194","aliases":["RUSTSEC-2026-0195"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d44a25813d8a9e18eb42fa5350a972c298292d454155c6472f091bfb670363df"},"properties":{"dependency":{"package":"rand","version":"0.8.5","advisory":"RUSTSEC-2026-0097","aliases":["[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e9cf74773a6e34d2f2cd5f4cc024a1a57cb07e5917cf84c703df779cadb57013"},"properties":{"dependency":{"package":"rustix","version":"1.1.4","advisory":"RUSTSEC-2026-0486","aliases":["[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"85ffa314d77812277deab31fb2264e02366c4034561614d82315c198cb6bb99e"},"properties":{"dependency":{"package":"time","version":"0.3.36","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","RUSTSEC-2026-0009"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d3f6b0dc7d0843f1539cb8274e739376fd4b1be6c39d73c3f6b7e78cb5af4d8b"},"properties":{"dependency":{"package":"unic-char-property","version":"0.9.0","advisory":"RUSTSEC-2025-0081","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"610868c659b2bc4a0ea5bd7cebeddb1d8961b8ebb7c9f31dcc75e07badfe1d8f"},"properties":{"dependency":{"package":"unic-char-range","version":"0.9.0","advisory":"RUSTSEC-2025-0075","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9a9761ad8cbbcee9fd4b4bb09fc1e6e6977230d7588402bc8497b52c5027e99e"},"properties":{"dependency":{"package":"unic-common","version":"0.9.0","advisory":"RUSTSEC-2025-0080","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b4071a3abdc28a8dc6f1f6cd188aff2e864bcf5be3ec3a756029a36597e4ae38"},"properties":{"dependency":{"package":"unic-emoji-char","version":"0.9.0","advisory":"RUSTSEC-2025-0090","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b269e07aa3d9bfb90d59d794c0e6a0b7849b288910031fdd0fe253514c3af463"},"properties":{"dependency":{"package":"unic-ucd-version","version":"0.9.0","advisory":"RUSTSEC-2025-0098","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2b5cc6a78fe02a95b2f6755616011982ae866dcba8c2aeaae7b037f36ce19be5"},"properties":{"dependency":{"package":"unsafe-libyaml","version":"0.2.11","advisory":"RUSTSEC-2024-0449","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"128358c6a0903fed65c80eb3771827ca450b908b209c67fdff6f0cc988a54969"},"properties":{"dependency":{"package":"uu_cp","version":"0.0.23","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bbcfcf3632b4d93d0b12682534f3fcf051b77db9674c85e363e38d581c9e4c70"},"properties":{"dependency":{"package":"uu_mkdir","version":"0.0.23","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e4a7ec86b8abb5b970592ef1924edc838dbbaa10a2c8d009aa19ab1b9e0680d8"},"properties":{"dependency":{"package":"uu_mktemp","version":"0.0.23","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: _tutorial.rs \u2194 _tutorial.rs: \u0060src/_derive/_tutorial.rs\u0060 and \u0060src/_tutorial.rs\u0060 change together 67% of the time (10 of the 15 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 10 shared commits counted here, the most recent 3 are \u0060c74cfbe7\u0060 docs(tutorial): Explicitly cover required vs optional; \u006008a9b969\u0060 docs(tutorial): Clarify option/positional difference; \u00602b8d21ae\u0060 docs(tutorial): Move default before subcommand \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/_derive/_tutorial.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"41a4de6a72701b75b8f7fe6f7d193b2d5570d66dd494d319bfa077e3ddc884a3"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: arg.rs \u2194 kind.rs: \u0060clap_builder/src/builder/arg.rs\u0060 and \u0060clap_builder/src/error/kind.rs\u0060 change together 52% of the time (14 of the 27 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 14 shared commits counted here, the most recent 3 are \u0060a89f3e69\u0060 docs: Fix link; \u00605d0fbb47\u0060 doc: Clean up cfgs (at that commit the files were still \u0060src/builder/arg.rs\u0060 and \u0060src/error/kind.rs\u0060); \u00600664c6db\u0060 fix!: Remove Arg::use_value_delimiter in favor of Arg::value_delimiter (at that commit the files were still \u0060src/builder/arg.rs\u0060 and \u0060src/error/kind.rs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/builder/arg.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c18d47ba3ea41d33b00fff5335553d643c4302daa935b176e746d29245fffb40"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: command.rs \u2194 _features.rs: \u0060clap_builder/src/builder/command.rs\u0060 and \u0060src/_features.rs\u0060 change together 50% of the time (6 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u006099f1fa6b\u0060 docs: Cross-link color control to Command::styles; \u0060eb53db89\u0060 feat(help): Stabilize styling support; \u0060015f88b2\u0060 feat(help): Allow customizing terminal styling \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clap_builder/src/builder/command.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f80a82afd27cb2347b944205d71288d535a5a3de631dc4bf35349870cbccf0e1"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4f1e7684f8281bd255ddef97105c7055c2ebae06964c8745716b83e174debe83"}},{"ruleId":"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":"c593d4dbd23724f337bfb8d2c1653812f143ae255bd9b59d4b3e9c37779fa6f4"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"M1","level":"note","message":{"text":"Thin README: The root README is 91 words, against a bar of 120. Of the three newcomer-critical sections this check looks for by heading, in the README and in the repository documents it links, it found no a build/run or getting-started section, no a testing section, no an architecture or project-map section. Sections are matched on HEADING text only, so material written under a heading this check does not recognise \u2014 or with no heading at all \u2014 is not seen and this row may understate what the document covers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c88b11295dc6ac6146c259ace6043143959f96dc98628f8c8578b6c5f95b8149"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"P12","level":"warning","message":{"text":"Coverage collected but not gated: CI collects a coverage report but no step enforces a minimum \u2014 coverage could halve and CI stays green. Add a step that fails the build when coverage drops below a floor (your coverage tool\u0027s minimum-threshold flag, or a coverage-gate action) so the number guards something. What was searched, so you can tell an absence from a miss: this repository\u0027s CI files AND its coverage configuration \u2014 the well-known coverage and test-runner config files, read at the repository root and inside workspace package directories two levels down, so a floor declared beside the tests rather than in the pipeline is credited \u2014 matched against the threshold settings this check knows by name. A floor set in your coverage service\u0027s web UI rather than in a committed file, or under a setting whose name is not one of those, is not seen here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7f63c06044cf998d9a0698692df30d8873e29bc9b0c98ee829255017c1193d33"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 2/3 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060.\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}}],"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-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-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-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":35,"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."]}]}