{"$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":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"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":"DM1","name":"Aggregate boundaries","shortDescription":{"text":"Aggregate boundaries"},"helpUri":"https://codehealth.canine.dev/dimensions/DM1"},{"id":"DM2","name":"Strongly-typed ids","shortDescription":{"text":"Strongly-typed ids"},"helpUri":"https://codehealth.canine.dev/dimensions/DM2"},{"id":"DM4","name":"Rich vs anemic domain model","shortDescription":{"text":"Rich vs anemic domain model"},"helpUri":"https://codehealth.canine.dev/dimensions/DM4"},{"id":"DM5","name":"Encapsulated state","shortDescription":{"text":"Encapsulated state"},"helpUri":"https://codehealth.canine.dev/dimensions/DM5"},{"id":"ED1","name":"Handler temporal coupling","shortDescription":{"text":"Handler temporal coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/ED1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"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":"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":"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":"Executor::mgr (cyclomatic 64): Executor::mgr has cyclomatic complexity 64 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-fm/src/executor.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"25c8ed9902e17bad71bba406d07c687a08c171dd2aaf14d6f930edda92b90c57"}},{"ruleId":"D1","level":"warning","message":{"text":"Key::from_str (cyclomatic 46): Key::from_str has cyclomatic complexity 46 (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":"yazi-config/src/keymap/key.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c7a0c5cb3fe38814fbfdca6f0dfff5c642e71c2a92358ab2c73ff6c3d0bffbd"}},{"ruleId":"D1","level":"warning","message":{"text":"yazi_shared::shell::unix::split (cyclomatic 44): yazi_shared::shell::unix::split has cyclomatic complexity 44 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-shared/src/shell/unix.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"097e40d4b03e5bc2d485e35a8d1b9a39eaa22a868e4baba0bcea3318214c1422"}},{"ruleId":"D1","level":"warning","message":{"text":"Key::fmt (cyclomatic 43): Key::fmt has cyclomatic complexity 43 (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":"yazi-config/src/keymap/key.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"13481518ae2d0fb0008d2adbc3e1cfb45408cc874ff8467c17ac94de1ba93777"}},{"ruleId":"D1","level":"warning","message":{"text":"Parser::parse_csi (cyclomatic 32): Parser::parse_csi has cyclomatic complexity 32 (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":"yazi-term/src/parser/csi.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b04046f2c7bedb72acfe3e4355e77356bd2d2946ae32521c3af629560b0deb5"}},{"ruleId":"D1","level":"warning","message":{"text":"FilesSorter::sort (cyclomatic 31): FilesSorter::sort has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-fs/src/sorter.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"14441faefd87a4f633bda57c9bf27f0eb94f0cdbbd215793eb7409ad20ccf9c7"}},{"ruleId":"D1","level":"warning","message":{"text":"Entries::update_existing (cyclomatic 27): Entries::update_existing has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-fs/src/entries.rs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"c20edb86cb359c323b7811c0783aceb9353014928665399e69ef83434a6e785e"}},{"ruleId":"D1","level":"warning","message":{"text":"WordWrapper::process_input (cyclomatic 26): WordWrapper::process_input has cyclomatic complexity 26 (threshold 15). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-shim/src/ratatui/wrapper.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"919a534f03408f83653d33f39b7032ff97d40b041f9903bb803b09978a1577bb"}},{"ruleId":"D1","level":"warning","message":{"text":"Data::from_lua (cyclomatic 23): Data::from_lua has cyclomatic complexity 23 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-shared/src/data/lua.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd7b613a72f7d5bb5b1f5ceac6997ba53842ac2718b27c310c22a6735f6d0162"}},{"ruleId":"D1","level":"warning","message":{"text":"yazi_tui::backend::write_modifier_diff (cyclomatic 23): yazi_tui::backend::write_modifier_diff has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-tui/src/backend.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cf9db202689653d9716454a378bfcb91c1219126b9ef9c5db99829e47916a69"}},{"ruleId":"D1","level":"warning","message":{"text":"StatMode::permissions (cyclomatic 23): StatMode::permissions has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-fs/src/stat/mode.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9ab5ee5b773cca68fe24c5f38dbe0fe4f6099410ad0ec0276a10c5b70d5afd3"}},{"ruleId":"D1","level":"warning","message":{"text":"Server::make (cyclomatic 22): Server::make has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-dds/src/server.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"d273056bfd2d0b648e78a3a190a8b0db320773605c846b52b65f067a4e50031f"}},{"ruleId":"D1","level":"warning","message":{"text":"Child::add_methods (cyclomatic 21): Child::add_methods has cyclomatic complexity 21 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. 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":"yazi-binding/src/process/child.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce783a8b20cec42e68db98db246eaeb6b9335cd4a65351ecbc28b94a35cca3dd"}},{"ruleId":"D1","level":"warning","message":{"text":"Refresher::handle (cyclomatic 21): Refresher::handle has cyclomatic complexity 21 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-watcher/src/refresher.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0b0fa4bfe3f4e7ffeac08cfcaea94439f549d833c33b5b8298f43640e07ecaa"}},{"ruleId":"D1","level":"warning","message":{"text":"yazi_cli::run (cyclomatic 19): yazi_cli::run has cyclomatic complexity 19 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-cli/src/main.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3f5bf4031f6a68bea2204b003825ddceb825dd137344a1ed59437e0fb103a73"}},{"ruleId":"D1","level":"warning","message":{"text":"Input::execute (cyclomatic 19): Input::execute has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-widgets/src/input/actor/actor.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e2a98f435970adda530ed2bd7e1059b1e698305d13046e8bfb5f2021a8172d1"}},{"ruleId":"D1","level":"warning","message":{"text":"Copy::act (cyclomatic 16): Copy::act has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-actor/src/mgr/copy.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"658b322c7b5a7d9de54c5d782695c74ff01dedd95d4aa6bab8d2d8f4140b5f94"}},{"ruleId":"D1","level":"warning","message":{"text":"Line::add_methods (cyclomatic 16): Line::add_methods has cyclomatic complexity 16 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-binding/src/elements/line.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f7f54c4760fb58db2285dd2dfe7e59d4099ea184dcd01839c078542cf53d7d7"}},{"ruleId":"D1","level":"warning","message":{"text":"Entries::update_create (cyclomatic 16): Entries::update_create has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-fs/src/entries.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd454282662ef73f0d255e5b0fca9ddb765b811c13575d91509adbf031735ffc"}},{"ruleId":"D1","level":"warning","message":{"text":"File::r#move (cyclomatic 16): File::r#move has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-scheduler/src/file/file.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fa87a28c76b9dc4c9bf54af075b708c64cddc2531e038fc61339ed185ffadf5"}},{"ruleId":"D1","level":"warning","message":{"text":"yazi_scheduler::file::traverse::traverse (cyclomatic 16): yazi_scheduler::file::traverse::traverse has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-scheduler/src/file/traverse.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fd0bcb90005b25af9bb2861c0e77bd9588d4824707654bfd5500548d47e09c9"}},{"ruleId":"D1","level":"warning","message":{"text":"Attrs::serialize (cyclomatic 16): Attrs::serialize has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-sftp/src/fs/attrs.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"1101af7d070c4c8d95249ffb5dd36d05c0e73c3debfafa2137f92c7c27fc41ce"}},{"ruleId":"D1","level":"warning","message":{"text":"Encoder::encode (cyclomatic 16): Encoder::encode has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-shared/src/wire/encoder.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8bc85d3db4f91d089fc32e6f68e529889c0062e217314f00c842807a770898f"}},{"ruleId":"D2","level":"warning","message":{"text":"Server::make (cognitive 65): Server::make has cognitive complexity 65 (threshold 15). Drivers by points: if/else 16 (58 pts), loops 2 (3 pts), match/switch 1 (3 pts), boolean chains 1 (nesting depth added 45). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-dds/src/server.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8e5440f8d87482d22809e50865030439ef4e7cc7a3c25ac38d7e8477b40d6c9"}},{"ruleId":"D2","level":"warning","message":{"text":"Executor::mgr (cognitive 61): Executor::mgr has cognitive complexity 61 (threshold 15). Drivers by points: if/else 60, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-fm/src/executor.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc168a408fb8fc6c539c9bd08a9a316766eda447b6aea1262abd1dd995f9e03d"}},{"ruleId":"D2","level":"warning","message":{"text":"Entries::update_existing (cognitive 47): Entries::update_existing has cognitive complexity 47 (threshold 15). Drivers by points: if/else 18 (33 pts), boolean chains 9, loops 3 (5 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":"yazi-fs/src/entries.rs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac35d7f86daab4014785da7d2c8354ff5d305b6e1224cac834a621ae2b005d74"}},{"ruleId":"D2","level":"warning","message":{"text":"yazi_shared::shell::unix::split (cognitive 47): yazi_shared::shell::unix::split has cognitive complexity 47 (threshold 15). Drivers by points: match/switch 9 (24 pts), if/else 5 (17 pts), boolean chains 5, loops 1 (nesting depth added 27). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-shared/src/shell/unix.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"26599b0e66d8ecf031a0ccc77141512ef177dd2ab1c18fa4c7bca4ed1cf9cbc5"}},{"ruleId":"D2","level":"warning","message":{"text":"FilesSorter::sort (cognitive 40): FilesSorter::sort has cognitive complexity 40 (threshold 15). Drivers by points: if/else 16 (27 pts), match/switch 10 (13 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-fs/src/sorter.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2d0579dd5102183a55a784c7f426c4eef9f32a8d985998ba0e1f2644cf1a415"}},{"ruleId":"D2","level":"warning","message":{"text":"WordWrapper::process_input (cognitive 39): WordWrapper::process_input has cognitive complexity 39 (threshold 15). Drivers by points: if/else 13 (24 pts), boolean chains 11, loops 2 (4 pts) (nesting depth added 13). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-shim/src/ratatui/wrapper.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"c94c3d44e73e397396b828a31b9f287c7d135fb70dbb49b354fae0dff14b9c6f"}},{"ruleId":"D2","level":"warning","message":{"text":"StatMode::permissions (cognitive 38): StatMode::permissions has cognitive complexity 38 (threshold 15). Drivers by points: if/else 31 (37 pts), match/switch 1 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-fs/src/stat/mode.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"58d062bc622a2eea7145ddbce41f058ff08f2d3745e503284c498475cc22d055"}},{"ruleId":"D2","level":"warning","message":{"text":"yazi_scheduler::file::traverse::traverse (cognitive 27): yazi_scheduler::file::traverse::traverse has cognitive complexity 27 (threshold 15). Drivers by points: if/else 6 (11 pts), match/switch 3 (7 pts), boolean chains 6, loops 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-scheduler/src/file/traverse.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"facd7914dbbdc1d5906e2447c918c36e731c021ced3cb18a179c10b690933474"}},{"ruleId":"D2","level":"warning","message":{"text":"SpanIter::next (cognitive 25): SpanIter::next has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 2 (4 pts), boolean chains 3, match/switch 1 (nesting depth added 12). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-shim/src/ratatui/span.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef8edc32b79bcb1031c2e1576cf01c7d4107cbb0fe03f6af80277b160a5f8e1d"}},{"ruleId":"D2","level":"warning","message":{"text":"Sixel::encode (cognitive 24): Sixel::encode has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 3 (4 pts), boolean chains 2, match/switch 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-adapter/src/drivers/sixel.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ac354086c9544e60a5344c86c3948fb63f9fa9b2b73b1a5d88e470008c2469"}},{"ruleId":"D2","level":"warning","message":{"text":"SizeCalculator::next_chunk (cognitive 24): SizeCalculator::next_chunk has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (18 pts), match/switch 1 (3 pts), boolean chains 2, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-fs/src/engine/local/calculator.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d3d01d3f7a067baa97c3dbc099b08ab28c75ab0fb468b4fe7e50c6d9f6fa10d"}},{"ruleId":"D2","level":"warning","message":{"text":"Entries::update_create (cognitive 24): Entries::update_create has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 3 (5 pts), boolean chains 3 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-fs/src/entries.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"cddf977b319e244b996b0c703f99675a6ee836212589c71aedf37a60c2357614"}},{"ruleId":"D2","level":"warning","message":{"text":"yazi_tui::backend::write_modifier_diff (cognitive 24): yazi_tui::backend::write_modifier_diff has cognitive complexity 24 (threshold 15). Drivers by points: if/else 18 (20 pts), boolean chains 4 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-tui/src/backend.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc2f0705c634a1a7b2df1df614d51af1d37d1726448c690a9fecad297bcdee80"}},{"ruleId":"D2","level":"warning","message":{"text":"yazi_fs::engine::local::absolute::try_absolute_impl (cognitive 21): yazi_fs::engine::local::absolute::try_absolute_impl has cognitive complexity 21 (threshold 15). Drivers by points: if/else 14 (18 pts), boolean chains 3 (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":"yazi-fs/src/engine/local/absolute.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"0673543610ba8100482de28b7b5e01a702c6225da43508fb05436ba5ad6a6ea9"}},{"ruleId":"D2","level":"warning","message":{"text":"yazi_shared::natsort::natsort (cognitive 21): yazi_shared::natsort::natsort has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 3 (5 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-shared/src/natsort.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"4de072645e4c4bdee24dace4a0a493939077cc7e031564e17ba9d75f321fc8ad"}},{"ruleId":"D2","level":"warning","message":{"text":"Refresher::handle (cognitive 21): Refresher::handle has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (10 pts), match/switch 4 (7 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-watcher/src/refresher.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"3932f91dc0286f37d6de9f112a011de8985260da90efcdf73780c2da60c577ff"}},{"ruleId":"D2","level":"warning","message":{"text":"Input::r#move (cognitive 21): Input::r#move has cognitive complexity 21 (threshold 15). Drivers by points: if/else 15 (20 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":"yazi-widgets/src/input/actor/move.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"74864ca38324367299decbfba558b3732b21e9531ccda8470edcfc7eb1235ad5"}},{"ruleId":"D2","level":"warning","message":{"text":"Style::add_methods (cognitive 20): Style::add_methods has cognitive complexity 20 (threshold 15). Drivers by points: if/else 18, match/switch 2. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-binding/src/style/style.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca28db1492bbdfc54430290d40ac8d7d6ac35a2d7d571364d5023417203935b0"}},{"ruleId":"D2","level":"warning","message":{"text":"File::r#move (cognitive 20): File::r#move has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 4, loops 2 (3 pts), match/switch 2 (3 pts) (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-scheduler/src/file/file.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f1521dfea74fbf45c931afeb2e9c816485969f291979776b25761841a2048a3"}},{"ruleId":"D2","level":"warning","message":{"text":"Session::make (cognitive 20): Session::make has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 3 (5 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 8). Of this number, 17 points are the body\u0027s own statements and 3 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-sftp/src/session.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"75bb573308f28cfd2c32d1deaeb120de538879deed7a17b7347896b09c4736bf"}},{"ruleId":"D2","level":"warning","message":{"text":"Line::add_methods (cognitive 19): Line::add_methods has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (11 pts), match/switch 4 (5 pts), loops 2, boolean chains 1 (nesting depth added 2). Of this number, 15 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-binding/src/elements/line.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf2459321d5ad4c0d91e6d2e91923a152cd5a9b67a14eb73a79bb2b31b5317c"}},{"ruleId":"D2","level":"warning","message":{"text":"Client::serve (cognitive 19): Client::serve has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (12 pts), match/switch 2 (5 pts), loops 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-dds/src/client.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"3428b0f7bc8a7072621ee865e4996e94915c1f1554441105a021883ab1e9c377"}},{"ruleId":"D2","level":"warning","message":{"text":"SizeCalculator::next_chunk (cognitive 19): SizeCalculator::next_chunk has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (13 pts), match/switch 1 (3 pts), boolean chains 2, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-vfs/src/engine/calculator.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f4199b92edaf2de4f985fdd1ccfe1e4aa8173e0206d1635979ef66f604d9f3f"}},{"ruleId":"D2","level":"warning","message":{"text":"Input::execute (cognitive 19): Input::execute has cognitive complexity 19 (threshold 15). Drivers by points: if/else 16 (18 pts), match/switch 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-widgets/src/input/actor/actor.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"87a8888934efa474fe07427a3d6dff539f2dd2f95baebb427708c20689dddeca"}},{"ruleId":"D2","level":"warning","message":{"text":"Cd::cd_interactive (cognitive 18): Cd::cd_interactive has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (15 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":"yazi-actor/src/mgr/cd.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"afc45a5021bb65cf792746506f9caa58b26b5b696ca55609fb5d21a3726d2f8c"}},{"ruleId":"D2","level":"warning","message":{"text":"Remover::remove (cognitive 18): Remover::remove has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (12 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":"yazi-fs/src/remover/unix.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d8fdb79de1a4f145207985340faf1ec124428e109d6c4cced70e67c0542786"}},{"ruleId":"D2","level":"warning","message":{"text":"Virtual::changed (cognitive 18): Virtual::changed has cognitive complexity 18 (threshold 15). Drivers by points: if/else 2 (6 pts), match/switch 2 (6 pts), loops 3 (5 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":"yazi-watcher/src/virtual/virtual.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"04ea2df92447a6ba37008e23f4aaa72233c31b4ed20627db17f08540a97a7b66"}},{"ruleId":"D2","level":"warning","message":{"text":"Copy::act (cognitive 17): Copy::act has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 2, match/switch 1 (2 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-actor/src/mgr/copy.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6de46b7461cb3664c445901820ee263b7651e29e3fcadf19c60aa64e0e6343f"}},{"ruleId":"D2","level":"warning","message":{"text":"Peek::act (cognitive 17): Peek::act has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"yazi-actor/src/mgr/peek.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6a0e9330f673eb8561a6053101a6147a47b94eca2f9fe9db4e9f83e733df749"}},{"ruleId":"D2","level":"warning","message":{"text":"Bar::render (cognitive 17): Bar::render has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9, loops 4 (8 pts) (nesting depth added 4). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-binding/src/elements/bar.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd1af29cd6cfc4a72f0ffa375273fa9234eab5fcfbc6db727ffe1fd808c9a9d6"}},{"ruleId":"D2","level":"warning","message":{"text":"Child::add_methods (cognitive 17): Child::add_methods has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 14, if/else 3. Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. 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":"yazi-binding/src/process/child.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c9f7bd9ce95966e5ef7b1c746a6af6344aa5983ba3afd9d9baedc0b2003a887"}},{"ruleId":"D2","level":"warning","message":{"text":"yazi_fs::path::clean::clean_path_impl (cognitive 17): yazi_fs::path::clean::clean_path_impl has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (9 pts), match/switch 2 (5 pts), loops 2, boolean chains 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-fs/src/path/clean.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"278b00b302790d0688457d58e7b5c938509119c383a08607e129ebbd0a5eead5"}},{"ruleId":"D2","level":"warning","message":{"text":"Data::from_lua (cognitive 17): Data::from_lua has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (9 pts), match/switch 3 (5 pts), loops 2 (3 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":"yazi-shared/src/data/lua.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"815916c64060824adda81366b3a73f54043a49b4ee8708a7972700ff90ecdd63"}},{"ruleId":"D2","level":"warning","message":{"text":"File::add_methods (cognitive 16): File::add_methods has cognitive complexity 16 (threshold 15). Drivers by points: if/else 16. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-actor/src/lives/file.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"f27f3044accd025cca202402b507de77d1e3b3156173c8860902f38d90980e0c"}},{"ruleId":"D2","level":"warning","message":{"text":"Engine::remove_dir_clean (cognitive 16): Engine::remove_dir_clean has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-fs/src/engine/traits.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f69dbacbba85c8a4ec57b2ec3b6172a5253fe3b8b0cabf32385c8485931b259"}},{"ruleId":"D2","level":"warning","message":{"text":"Attrs::serialize (cognitive 16): Attrs::serialize has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10, boolean chains 4, loops 1 (2 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-sftp/src/fs/attrs.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6e626ee8ac85a8d6830625bfd7cccd1e7ff93f47c5122843f1a1d056610ccfb"}},{"ruleId":"D2","level":"warning","message":{"text":"Local::changed (cognitive 16): Local::changed has cognitive complexity 16 (threshold 15). Drivers by points: if/else 2 (6 pts), match/switch 2 (6 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-watcher/src/local/local.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"10921d022337414afd29a2f4b0cd7035e25d80f74786f419f51300d457313f36"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Utils: TooManyMethods \u2014 60 methods, declared across 21 files: utils/sync.rs (9), utils/text.rs (6), utils/layer.rs (5), utils/user.rs (5), \u002B17 more file(s). The bar is 30 methods; this is 30 over it, 2.00\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. 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":"yazi-plugin/src/utils/utils.rs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9f9727f891e398b84e5718056edba4b4d999c9bc9091c0a41e5e4e24dac2592"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Spark.into_lua: MethodTooLong \u2014 into_lua 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":"yazi-parser/src/spark/spark.rs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"44c328c88bf942fcc701526e0a97dcf6f179e0031348062680004c880d43392c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Input: TooManyMethods \u2014 40 methods, declared across 20 files: input/input.rs (15), actor/kill.rs (3), actor/replace.rs (3), actor/recall.rs (2), \u002B16 more file(s). The bar is 30 methods; this is 10 over it, 1.33\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. 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":"yazi-widgets/src/input/input.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"511700df0658b19fc186ccf236233e46ca00ec10391056d68fc090bc5bfc3b97"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Url: TooManyMethods \u2014 38 methods, declared across 2 files: url/url.rs (37), url/encode.rs (1). The bar is 30 methods; this is 8 over it, 1.27\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. 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":"yazi-shared/src/url/url.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3a359e6643221a870683922298e00a1db5d75b80f060485b5b2ee62f21bc21f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Parser: TooManyMethods \u2014 38 methods, declared across 6 files: parser/parser.rs (22), parser/csi.rs (8), parser/report.rs (4), parser/osc.rs (2), \u002B2 more file(s). The bar is 30 methods; this is 8 over it, 1.27\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. 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":"yazi-term/src/parser/parser.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"43f170d195566aa9e05ed8f9613adf28ac21c60adb4d1f33b51582f774acbe54"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: yazi_plugin::fs::fs: TooManyFunctions \u2014 33 free functions. The bar is 30 free functions; this is 3 over it, 1.10\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":"yazi-plugin/src/fs/fs.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0ae6640ca856adf61105a46ffdb25a0606b7ef8d1d479cd9b1b6521b09aded6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: yazi_vfs::engine::engine: TooManyFunctions \u2014 31 free functions. The bar is 30 free functions; this is 1 over it, 1.03\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":"yazi-vfs/src/engine/engine.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"6311e048cf354c9c0389ae7070894f7115e42bc7463ab588db430496bd04a8a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (48 shared lines): yazi-adapter/src/drivers/kgp.rs:352-404 | yazi-adapter/src/drivers/kgp_old.rs:53-104 \u2014 These two members are variants of one another: 48 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":"yazi-adapter/src/drivers/kgp.rs"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"325e43ec6f5f483d12fdc868a9f3c4eb61a87d1ee319edde366ff23574ee1a14"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): yazi-config/src/open/open_rules.rs:93-123 | yazi-config/src/opener/opener_rules_arc.rs:35-60 | yazi-config/src/plugin/fetchers.rs:114-144 | yazi-config/src/plugin/preloaders.rs:118-148 | yazi-config/src/plugin/previewers.rs:93-123 | yazi-config/src/plugin/spotters.rs:95-125 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-config/src/open/open_rules.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec1255a44ddf5d9a32e9307357e6b14cc6ef85e01b1efe4bea4392c10537f8e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): yazi-scheduler/src/worker.rs:101-113 | yazi-scheduler/src/worker.rs:136-148 | yazi-scheduler/src/worker.rs:157-169 | yazi-scheduler/src/worker.rs:178-190 | yazi-scheduler/src/worker.rs:199-220 | yazi-scheduler/src/worker.rs:226-238 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-scheduler/src/worker.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca5a9de31f02e53ab752db985448217108d505f8dc59c41be305feb2326c937a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): yazi-scheduler/src/file/out.rs:24-47 | yazi-scheduler/src/file/out.rs:99-126 | yazi-scheduler/src/file/out.rs:231-253 | yazi-scheduler/src/file/out.rs:365-388 | yazi-scheduler/src/file/out.rs:436-459 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-scheduler/src/file/out.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cc6d5ad128c0f2ce03892d57585e4311236b3d9facab7663e19f448670f41da"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): yazi-adapter/src/drivers/chafa.rs:72-84 | yazi-adapter/src/drivers/iip.rs:29-41 | yazi-adapter/src/drivers/kgp.rs:335-350 | yazi-adapter/src/drivers/sixel.rs:35-47 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-adapter/src/drivers/chafa.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d22cba970c10d92b66bc2856abe931bb3b6616b71a1cdae1a4bd492e521a009"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): yazi-scheduler/src/fetch/progress.rs:12-22 | yazi-scheduler/src/file/progress.rs:108-118 | yazi-scheduler/src/file/progress.rs:218-228 | yazi-scheduler/src/preload/progress.rs:12-22 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-scheduler/src/fetch/progress.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d4ffe27117579c9e644c8a8e040eb312913ab919837c4b4b492a1a6837b708a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): yazi-scheduler/src/file/out.rs:63-77 | yazi-scheduler/src/file/out.rs:142-156 | yazi-scheduler/src/file/out.rs:404-418 | yazi-scheduler/src/file/out.rs:475-489 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-scheduler/src/file/out.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cbf76189bdcde9a01e8aec1c212f2972eb58ce168b86a65a8262f659a1a5457"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): yazi-scheduler/src/file/progress.rs:21-31 | yazi-scheduler/src/file/progress.rs:67-77 | yazi-scheduler/src/file/progress.rs:254-264 | yazi-scheduler/src/file/progress.rs:300-310 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-scheduler/src/file/progress.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fc26d89405428c233bc37327b4cf42f2311554ee562a947dbb9dfc70fb2f596"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): yazi-shared/src/url/url.rs:147-184 | yazi-shared/src/url/url.rs:213-257 \u2014 These two members are one piece of code written twice and then edited apart: 38 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":"yazi-shared/src/url/url.rs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7851761e4abb9328113781bfe7b9d5e0b282174b5b1a9ba1b85683c64f56e9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 26\u002B corresponding lines): yazi-actor/src/lives/selected.rs:39-64 | yazi-actor/src/lives/yanked.rs:43-68 | yazi-dds/src/ember/yank.rs:84-110 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 26 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":"yazi-actor/src/lives/selected.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"399928bf8ccfaa324d54dbd1ca005993ebe03b106f006f5125208e14ae761ac6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): yazi-shared/src/data/de_key.rs:34-51 | yazi-shared/src/data/de_key.rs:88-107 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-shared/src/data/de_key.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"f79d2ec7018e3bef282a6f2cd9d9a6051bc53a3aaf33c89dbe305e02922677c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): yazi-config/src/opener/opener.rs:93-128 | yazi-config/src/vfs/vfs.rs:55-93 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-config/src/opener/opener.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"33186ee60f8ab5b3039a0c06bf8815427cc05a0ceb8ab0df963d46a5be25c652"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): yazi-vfs/src/fns.rs:15-41 | yazi-vfs/src/fns.rs:43-79 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-vfs/src/fns.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6360768a3a84751ed12e893679debecc6bfbdc9c0ded864d59fbce317f9e4cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): yazi-shared/src/data/de.rs:11-26 | yazi-shared/src/data/de_owned.rs:13-29 \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":"yazi-shared/src/data/de.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"2737f0ed75f81f83582445e543d4c2f5848e423c25eb15142d804c45d3c9b63c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): yazi-binding/src/elements/line.rs:78-96 | yazi-binding/src/elements/text.rs:70-85 \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":"yazi-binding/src/elements/line.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"dac0ef874396d70e11cdb6153462ef2c5bac64e8e06730b98ec1b561816508a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): yazi-shared/src/auth/de.rs:122-143 | yazi-shared/src/url/de.rs:95-122 \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":"yazi-shared/src/auth/de.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c96b947895d0652612baf9ad74b4a1ce786c2ff104fbc3065e8860b230c8290"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): yazi-term/src/parser/csi.rs:171-186 | yazi-term/src/parser/csi.rs:211-245 \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":"yazi-term/src/parser/csi.rs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b173b592bab4f4eaff0516f1894e5bb5fd2ab8672dc678e2bfcad87aefd5db5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): yazi-scheduler/src/file/in.rs:33-45 | yazi-scheduler/src/file/in.rs:62-74 | yazi-scheduler/src/file/in.rs:76-88 \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":"yazi-scheduler/src/file/in.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"005c946a510cd61ec2af506167175f4fdf1f9527466b65dfe143f3029937966e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): yazi-shared/src/auth/display.rs:41-64 | yazi-shared/src/auth/encode.rs:34-57 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-shared/src/auth/display.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"efdf0b5c7045eac15f99ffc004dc4503a36710e920b6c36b3f2c75448ded913a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): yazi-scheduler/src/file/file.rs:63-78 | yazi-scheduler/src/file/file.rs:146-163 \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":"yazi-scheduler/src/file/file.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"b53456e19a7ea1e47c020790aae6119bb06e7dce3d1b6ce536a4518b9d1faf9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): yazi-term/src/parser/parser.rs:239-263 | yazi-term/src/parser/parser.rs:265-289 \u2014 These two members are one piece of code written twice and then edited apart: 25 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":"yazi-term/src/parser/parser.rs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"507fabb6a4e4c01abed86a3f68594d079043aa123f3247480398c5a14ca34d44"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): yazi-config/src/open/open_rules.rs:43-59 | yazi-config/src/plugin/fetchers.rs:52-71 | yazi-config/src/plugin/preloaders.rs:53-75 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-config/src/open/open_rules.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"f792e2afd311abbba841b69472640edb64d006e05a92b84715f85cce9de8f6a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): yazi-ffi/src/locale/strftime.rs:36-58 | yazi-ffi/src/locale/strftime.rs:61-83 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-ffi/src/locale/strftime.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0e102fea2155d29f9521edbe9c35e54d1d4da64cea11a509e0c6b0704b9beb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 25\u002B corresponding lines): yazi-fm/src/executor.rs:166-197 | yazi-fm/src/executor.rs:199-224 | yazi-fm/src/executor.rs:226-250 | yazi-fm/src/executor.rs:342-367 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 25 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-fm/src/executor.rs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eaabcbc059b937cc5b1cbeccd03495d6d38cfc5e428deadaa42d108e9e65b66"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): yazi-actor/src/app/clipboard.rs:20-33 | yazi-actor/src/app/dnd.rs:20-34 \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":"yazi-actor/src/app/clipboard.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc7019112b586610083a14541165c3ba8e1bc5956c94855c4a187c5bb877447c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): yazi-fs/src/remover/remover.rs:15-38 | yazi-vfs/src/remover/remover.rs:16-38 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-fs/src/remover/remover.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b2e90341a5218e8dd0de9b74e2dd2b47520fc6ecbd73d0290617b026b9e231a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): yazi-plugin/src/theme/theme.rs:185-205 | yazi-plugin/src/theme/theme.rs:207-226 | yazi-plugin/src/theme/theme.rs:301-319 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-plugin/src/theme/theme.rs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"66d3c28a205011c6f46ff7b44026203b9a43a09910b5719a7c5b578b4dd83ac5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): yazi-plugin/src/fs/fs.rs:93-108 | yazi-plugin/src/fs/fs.rs:279-294 \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":"yazi-plugin/src/fs/fs.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa3e8bf94c382b316e92b0595ed7bb9d4c1c8b7754fa4c0a85f5b126f1b7256"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): yazi-term/src/parser/parser.rs:317-335 | yazi-term/src/parser/parser.rs:337-356 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-term/src/parser/parser.rs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"02196ceb66d23865205c3f8dfdca106009a5218e02a810bcf318ba6162849497"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): yazi-config/src/theme/custom.rs:32-53 | yazi-config/src/vfs/authorities.rs:56-77 \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":"yazi-config/src/theme/custom.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"9355e6baa760f330f163f39686a37ac6163496140bdfd5072467fa8546e3c802"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): yazi-shared/src/natsort.rs:19-39 | yazi-shared/src/natsort.rs:42-65 \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":"yazi-shared/src/natsort.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"27385e9c42c9975dcde37ebccff646053e4caf10109e083a0c1012efc3a1816e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): yazi-shared/src/url/cow.rs:105-114 | yazi-shared/src/url/cow.rs:120-131 \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":"yazi-shared/src/url/cow.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5f924ac4c0d3c3d73b81343a59db271d9fb9a507014e86ac77f9494f345b2e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): yazi-adapter/src/drivers/kgp.rs:319-333 | yazi-adapter/src/drivers/kgp_old.rs:19-34 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-adapter/src/drivers/kgp.rs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfe2e7bd81dcd12300e10e2cba23bfe3adfe7f5c54792efd5bd8bb2086a7790c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): yazi-shared/src/auth/de.rs:99-117 | yazi-shared/src/url/de.rs:68-90 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-shared/src/auth/de.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"f26f49837bf3640a914e147039957046e8eecf9d7dac340d07e3f1842676057f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): yazi-binding/src/elements/align.rs:21-39 | yazi-binding/src/elements/wrap.rs:29-47 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-binding/src/elements/align.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed07f5c93b5887a2ed61fa260a889c0ae47e59f50e174ab820cd1489c13a78d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): yazi-tty/src/sequence/dnd.rs:93-107 | yazi-tty/src/sequence/dnd.rs:121-143 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-tty/src/sequence/dnd.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dec9458d5feddb9d1997e54f007c6dc2be0973a8b312a740299c690803c185a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): yazi-runner/src/loader/loader.rs:121-134 | yazi-runner/src/loader/loader.rs:157-170 \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":"yazi-runner/src/loader/loader.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1a542a4afc1f1013251fef01e67ea7ef3c8077b44546c41baffa14866fb7550"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): yazi-fs/src/xdg.rs:21-41 | yazi-fs/src/xdg.rs:48-62 | yazi-fs/src/xdg.rs:69-83 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-fs/src/xdg.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"3850181b61f11a10455c41574bb8ae75c05b66205bf5ebf12bdc4af9a1f94e9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): yazi-actor/src/mgr/filter.rs:23-38 | yazi-actor/src/mgr/find.rs:23-35 \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":"yazi-actor/src/mgr/filter.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6816ad2782fe01c556833f10704d190a54f392f12d18cd9353604852cc0e21d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): yazi-tty/src/handle.rs:51-69 | yazi-tty/src/handle.rs:73-91 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-tty/src/handle.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5137db0eef2a0a7289b7c843cabcfcb1b7f1f3aef928ff394c5d32695882cd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): yazi-cli/src/args.rs:179-192 | yazi-cli/src/args.rs:201-215 \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":"yazi-cli/src/args.rs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ce63b5800e40ef6fe0283978ed5850834390fddfe961ceeafd8007e3d5ab2c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 13\u002B corresponding lines): yazi-config/src/open/open_rule_matcher.rs:54-66 | yazi-config/src/plugin/fetcher.rs:102-114 | yazi-config/src/plugin/preloader.rs:90-102 | yazi-config/src/plugin/previewer.rs:85-97 | yazi-config/src/plugin/spotter.rs:85-97 \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":"yazi-config/src/open/open_rule_matcher.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"250fad46d1ff74f5301f00936fc8ef8eaeb3cee9c60a4b8e1ebff95d733e7c6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): yazi-fs/src/remover/removal.rs:51-59 | yazi-vfs/src/engine/read_dir.rs:38-46 \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":"yazi-fs/src/remover/removal.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"b636926872f3cf2d8ab304f6b1ec9ee8b8d323393678bb52788e162a8809e86c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 15\u002B corresponding lines): yazi-plugin/src/theme/theme.rs:228-244 | yazi-plugin/src/theme/theme.rs:267-281 | yazi-plugin/src/theme/theme.rs:283-299 | yazi-plugin/src/theme/theme.rs:321-335 | yazi-plugin/src/theme/theme.rs:337-352 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-plugin/src/theme/theme.rs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"b61a385edea0d829660c9b38fa04cc3540df1ce5ebab0e78cc742bf0497c3f55"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): yazi-scheduler/src/scheduler.rs:123-134 | yazi-scheduler/src/scheduler.rs:136-146 \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":"yazi-scheduler/src/scheduler.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf40e771cf9b326e935a6fda19e3299f24e49cb96f0f9087be81a70ebecef84a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): yazi-cli/src/package/package.rs:40-56 | yazi-cli/src/package/package.rs:58-76 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-cli/src/package/package.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"e697f7f5614e4ad822e3a13adbd5b4141e3d374174a5c0451f858deafbb0c1b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): yazi-plugin/src/theme/theme.rs:82-107 | yazi-plugin/src/theme/theme.rs:129-148 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-plugin/src/theme/theme.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"bebec2a18afac6162158b1cd179291f821ae3976adee816b5b60461bbd78ffc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): yazi-shim/src/mlua/traits.rs:48-60 | yazi-shim/src/mlua/traits.rs:89-101 \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":"yazi-shim/src/mlua/traits.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea8aef89cccef7f44e64ad77bbbf4412687c295432404001f2308f92fb505df8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): yazi-scheduler/src/scheduler.rs:59-69 | yazi-scheduler/src/scheduler.rs:71-81 \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":"yazi-scheduler/src/scheduler.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ff00b4e7fa602bc76cbc86bc44a604e78b2bef959d38755a903ca362ddf78ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): yazi-binding/src/elements/list.rs:16-25 | yazi-binding/src/elements/row.rs:18-27 | yazi-binding/src/elements/table.rs:35-44 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-binding/src/elements/list.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"14194afaa20ecbffd107b94e53fc6ed868dd689d19f7ae9d73dc030a5372d296"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): yazi-term/src/parser/parser.rs:291-302 | yazi-term/src/parser/parser.rs:304-315 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-term/src/parser/parser.rs"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddfa3eb0999634a8c1f13c32cd2a60ed6e2e668f96dcf5bbf797100927388ccd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): yazi-core/src/spot/lock.rs:25-40 | yazi-core/src/tab/preview_lock.rs:24-37 \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":"yazi-core/src/spot/lock.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e9fed5576da95353e3dd91ebd7be3dcef9241d204d27aff7f2c268389a3c82f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): yazi-actor/src/mgr/bulk_create.rs:132-145 | yazi-actor/src/mgr/bulk_rename.rs:180-193 \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":"yazi-actor/src/mgr/bulk_create.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb335a9b6510061c9f07a6c6acfefa469a28933584d8a0feacd43ceb32bb3a8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): yazi-vfs/src/engine/file_cursor.rs:14-22 | yazi-vfs/src/engine/file_cursor.rs:24-32 \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":"yazi-vfs/src/engine/file_cursor.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"d88e00d9bfaeab8a390fb761e0e445bcfcc3e7dcedd53a1207b0b74a6748c4f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): yazi-actor/src/mgr/bulk_create.rs:117-130 | yazi-actor/src/mgr/bulk_rename.rs:161-178 \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":"yazi-actor/src/mgr/bulk_create.rs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"f65cf19e8c2871c459596059ac769ac5a67c258aa67dd04912182720c1cdd839"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): yazi-widgets/src/scrollable.rs:31-44 | yazi-widgets/src/scrollable.rs:46-58 \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":"yazi-widgets/src/scrollable.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"b90006c627cbce69893685ed1b9ee26e23c4ee53907cea105edc6f5fa6235805"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): yazi-vfs/src/engine/lua/lua.rs:57-75 | yazi-vfs/src/engine/lua/lua.rs:77-95 | yazi-vfs/src/engine/lua/lua.rs:191-203 \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":"yazi-vfs/src/engine/lua/lua.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"98b052706df07fe17211c3ba3d96d7babe34f0097f8b9059e9b210692e8524d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): yazi-binding/src/elements/line.rs:112-119 | yazi-binding/src/elements/text.rs:151-158 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-binding/src/elements/line.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"510ce5d0348d0b5352b5e3f800833b0bad744018cd6f7ad4121dd952161a487a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): yazi-fs/src/engine/transit.rs:33-48 | yazi-fs/src/remover/removal.rs:19-30 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-fs/src/engine/transit.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6c801c4765579a1f423349313a238ee3bfc32ed99bb74d4967b7bf4a04a916d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): yazi-config/src/keymap/chord_arc.rs:108-116 | yazi-config/src/opener/opener_rule_arc.rs:36-42 \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":"yazi-config/src/keymap/chord_arc.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c89c1fff369dbe4c053207d2cc9332c9fd2b682981115789f8808188a12d45e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): yazi-fm/src/mgr/preview.rs:16-31 | yazi-fm/src/spot/spot.rs:14-25 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-fm/src/mgr/preview.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a167826266144c04e6b6502b76becb12dfb7f288d9710cd35cf2d5c92064317"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): yazi-shared/src/url/buf.rs:133-140 | yazi-shared/src/url/url.rs:186-193 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-shared/src/url/buf.rs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"8390669b0b44fb446865f724f18dc78d1761e3ffe8bb9f8862367af7ea44aacf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): yazi-shared/src/data/de.rs:108-115 | yazi-shared/src/data/de_owned.rs:111-118 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-shared/src/data/de.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bc5e99bbdb12cfee75a943e1c4f744510e4fc5868b637b5dbc7d05a1414ae67"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): yazi-binding/src/chan.rs:21-28 | yazi-binding/src/chan.rs:47-52 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-binding/src/chan.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f3cbeca5d22e5becd7c6ac3a6bc68a5667b7d45a3ecfa197e5e335831c3fbc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): yazi-vfs/src/engine/engine.rs:116-123 | yazi-vfs/src/engine/engine.rs:208-215 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-vfs/src/engine/engine.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa05887ac495deeac46a169dac1e863cb2b49499081900e9fe2cd595dab38e11"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): yazi-vfs/src/engine/lua/lua.rs:112-118 | yazi-vfs/src/engine/lua/lua.rs:120-126 \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":"yazi-vfs/src/engine/lua/lua.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddd7d5e11bdc60eaa21c4378936b1dbb21ae0c7a0abfc92703249c70ef331379"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): yazi-core/src/tab/finder.rs:29-39 | yazi-core/src/tab/finder.rs:41-51 \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":"yazi-core/src/tab/finder.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab0f424ce011fa5f26be8828bb7ea2781881d7551094f3d00b4a7eaa71ed63ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): yazi-scheduler/src/fetch/fetch.rs:48-60 | yazi-scheduler/src/preload/preload.rs:59-71 \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":"yazi-scheduler/src/fetch/fetch.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6b776aea3daa8fe8a6d9ebdee3383843caf6fea3621fcce9c0529c0b65e7068"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): yazi-binding/src/chan.rs:32-39 | yazi-binding/src/chan.rs:56-63 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-binding/src/chan.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b9af7a7ad647ea2458058a31c3a3161142d594b74e989e60ca4513fa79084cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 13\u002B corresponding lines): yazi-config/src/keymap/chords.rs:55-67 | yazi-config/src/open/open_rules.rs:73-85 | yazi-config/src/plugin/fetchers.rs:85-97 | yazi-config/src/plugin/preloaders.rs:89-101 | yazi-config/src/plugin/previewers.rs:73-85 | yazi-config/src/plugin/spotters.rs:75-87 \u2014 These 6 members are one piece of code written 6 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-config/src/keymap/chords.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eeef8e00e0cf66bff2e67e7f728f919d97b8fe34b54b1fe2ff20299ca6b691b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): yazi-core/src/tasks/option.rs:34-44 | yazi-scheduler/src/process/in.rs:30-38 \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":"yazi-core/src/tasks/option.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"832053bbbcf06bd747a4c2b6942ae52e4b9929fe29f4d40552be30066eff0697"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): yazi-scheduler/src/hook/hook.rs:107-116 | yazi-scheduler/src/hook/hook.rs:119-125 \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":"yazi-scheduler/src/hook/hook.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"16071f8ac18bb1e157b289a8b55d612ff3ee7da5d938d435ee3fd7ba3accc1b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): yazi-sftp/src/operator.rs:113-120 | yazi-sftp/src/operator.rs:157-164 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-sftp/src/operator.rs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"4349ff7885079cb71cb433f1375f7610a0926b78b40cf6aeed92292db90ff7fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 7\u002B corresponding lines): yazi-shared/src/loc/buf.rs:104-110 | yazi-shared/src/loc/buf.rs:115-121 | yazi-shared/src/loc/buf.rs:137-143 | yazi-shared/src/loc/buf.rs:145-151 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-shared/src/loc/buf.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbfdea55616681abe962f4ed0232aa6320c4d59cb1b5a7d59bff53d57275a7f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): yazi-actor/src/mgr/hardlink.rs:16-25 | yazi-actor/src/mgr/link.rs:16-25 \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":"yazi-actor/src/mgr/hardlink.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff98a5998e9121eb64d5443c22e09be4b4ef29d5c4b1b12ec0a5faf19e8cde9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 8\u002B corresponding lines): yazi-binding/src/elements/bar.rs:19-26 | yazi-binding/src/elements/color.rs:9-16 | yazi-binding/src/elements/fill.rs:15-23 | yazi-binding/src/elements/gauge.rs:18-25 | yazi-binding/src/elements/span.rs:21-28 | yazi-binding/src/style/style.rs:23-30 | yazi-widgets/src/clear/clear.rs:13-20 \u2014 These 7 members are one piece of code written 7 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-binding/src/elements/bar.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"e714cbfd4996349f447c52feb31bbcb9d9a4fc3cab509300e2f645aa934626a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): yazi-vfs/src/engine/lua/file.rs:100-107 | yazi-vfs/src/engine/lua/file.rs:109-116 | yazi-vfs/src/engine/lua/file.rs:118-125 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-vfs/src/engine/lua/file.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfd76dd80b4b0d4b5a6259fba10295657f18badd3267191b3ca53d5fabe39325"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): yazi-config/src/plugin/fetchers.rs:73-79 | yazi-config/src/plugin/preloaders.rs:77-83 \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":"yazi-config/src/plugin/fetchers.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f76d5e5b2bf35c82c569510487d68b0f876d17b124be247a43751ce52f3e753"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 8\u002B corresponding lines): yazi-plugin/src/fs/fs.rs:110-117 | yazi-plugin/src/fs/fs.rs:119-126 | yazi-plugin/src/fs/fs.rs:213-220 | yazi-plugin/src/fs/fs.rs:296-303 | yazi-plugin/src/fs/fs.rs:320-327 | yazi-plugin/src/fs/fs.rs:329-336 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-plugin/src/fs/fs.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"7781713115c4ac4e1804f9478b768db45bbef37d43e9e2d50cd5e3eaff16b56d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): yazi-shared/src/url/buf.rs:27-32 | yazi-shared/src/url/cow.rs:16-21 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-shared/src/url/buf.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"e54fb25bc7e338edf27037ee6516f526a1c46a19888a312758c3456732fca2ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): yazi-plugin/src/pubsub/pubsub.rs:22-29 | yazi-plugin/src/pubsub/pubsub.rs:31-38 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-plugin/src/pubsub/pubsub.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"69d019afe2c4df294663768cb0a662d02e646271902752dde7a76d24efa9a553"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 12\u002B corresponding lines): yazi-scheduler/src/fetch/out.rs:15-29 | yazi-scheduler/src/file/out.rs:333-347 | yazi-scheduler/src/plugin/out.rs:24-36 | yazi-scheduler/src/preload/out.rs:17-31 | yazi-scheduler/src/process/out.rs:14-25 | yazi-scheduler/src/process/out.rs:40-51 | yazi-scheduler/src/process/out.rs:67-81 \u2014 These 7 members are one piece of code written 7 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-scheduler/src/fetch/out.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"496423217fb4dcba0e9bc3a7f6e9fa8ee011e226a0e86b13fe8d954dca9e56f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): yazi-shared/src/auth/de.rs:145-154 | yazi-shared/src/url/de.rs:124-135 \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":"yazi-shared/src/auth/de.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"32b0ffe372355b48476bdf6e9771838e0c8174597fce6eabaf18ecf26e982d18"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): yazi-fs/src/engine/local/local.rs:176-187 | yazi-fs/src/engine/local/local.rs:193-204 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-fs/src/engine/local/local.rs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"11543061c6afee1923acf15a2fc7cf9a7e51a61956d26b2794d35ae63b42d866"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): yazi-fs/src/mounts/partitions.rs:54-64 | yazi-fs/src/mounts/partitions.rs:66-76 \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":"yazi-fs/src/mounts/partitions.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b6431a7f8753c6c18f6f5488a05e0b1827a7ce2cfaae5692cf40d40d5595c71"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): yazi-fs/src/url.rs:41-48 | yazi-fs/src/url.rs:58-65 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-fs/src/url.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"9464374c05f200a3e35a6e06d10e375daa1e4b5be0ae6e55aa5d3034e363a0af"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): yazi-plugin/src/fs/op.rs:34-39 | yazi-plugin/src/fs/op.rs:41-46 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-plugin/src/fs/op.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"88911453ba77c42a6aa949981cb35a0b0086d1b91dda6bd27efac9cdd36cd331"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): yazi-shared/src/data/data.rs:247-254 | yazi-shared/src/data/data.rs:260-267 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-shared/src/data/data.rs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff673d529c6b879b1ee83873b959ab7649a23319ccdf11df1b771f9c044a9d0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): yazi-tty/src/sequence/dnd.rs:47-53 | yazi-tty/src/sequence/dnd.rs:64-70 \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":"yazi-tty/src/sequence/dnd.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"3de08d1829c74ea93679ae1bce91549b9e300bc4860eb7b83a06ab93ba073d0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): yazi-dds/src/ember/yank.rs:37-46 | yazi-shared/src/event/action.rs:254-264 \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":"yazi-dds/src/ember/yank.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"3853d683f01880a0c35e83c69eba06b60227bc3ec2393347707607484947a01e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): yazi-scheduler/src/custom/in.rs:42-52 | yazi-scheduler/src/plugin/in.rs:96-106 \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":"yazi-scheduler/src/custom/in.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f163b370f300d1e4d5073af8c60517bc9ca95a27752ca447a6aae95bafa82ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): yazi-shared/src/data/de.rs:199-205 | yazi-shared/src/data/de_owned.rs:204-210 \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":"yazi-shared/src/data/de.rs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"b88705e84cb7f8c593243326b4d1622ba3d09b97e63ad19208b42e85486d8400"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): yazi-config/src/opener/opener_rules_matcher.rs:14-25 | yazi-config/src/vfs/domains_matcher.rs:14-25 | yazi-config/src/vfs/vfs_matcher.rs:14-25 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-config/src/opener/opener_rules_matcher.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa07723e9ad01822670b07f49e7945ea40148ea90ec01dd6a19616e5c4aabe58"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): yazi-config/src/popup/input.rs:55-63 | yazi-config/src/popup/input.rs:65-73 \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":"yazi-config/src/popup/input.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8ac957ad6e8e00aff1eff5452acdf55d8fd17a456abf1204feb25f93f4c4c21"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): yazi-core/src/reconciler.rs:70-76 | yazi-core/src/reconciler.rs:78-84 \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":"yazi-core/src/reconciler.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7cda1ebea4fc36d06e76d3ab6fe6e3a8f716f6d6203cb21e603c8fbb91aee74"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): yazi-sftp/src/operator.rs:143-152 | yazi-sftp/src/operator.rs:175-182 | yazi-sftp/src/operator.rs:188-197 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-sftp/src/operator.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"5efa0b365521b0976bfddc506f92e6b2afc73ccfd41a333e2e86179ef6ff3e2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 7\u002B corresponding lines): yazi-scheduler/src/hook/hook.rs:37-44 | yazi-scheduler/src/hook/hook.rs:58-65 | yazi-scheduler/src/hook/hook.rs:67-73 | yazi-scheduler/src/hook/hook.rs:91-97 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-scheduler/src/hook/hook.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfb275f9c37b02d27b2dc3c3ba07e0093d8b3f475393bc9e449f07d6b2b1ff86"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): yazi-term/src/terminal/unix.rs:19-27 | yazi-term/src/terminal/windows.rs:20-28 \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":"yazi-term/src/terminal/unix.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6a6b9b0c3bd5379264b64590b3582398e607f9af3b63c82b42a29c891a2a3f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): yazi-core/src/tasks/option.rs:46-55 | yazi-scheduler/src/process/in.rs:49-56 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-core/src/tasks/option.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c51b91fff45632afc428277a27eb2a31e788544f22cff87a635aae68f9df4a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): yazi-actor/src/tasks/close.rs:16-27 | yazi-actor/src/tasks/show.rs:16-27 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-actor/src/tasks/close.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"38f2a1d2a73d79fceebbc9a15bce25b7bd6130c88bcbf9df38b75974bf7411ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): yazi-fs/src/trash/freedesktop/trash.rs:108-121 | yazi-fs/src/trash/macos/trash.rs:99-108 | yazi-fs/src/trash/windows/trash.rs:99-108 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-fs/src/trash/freedesktop/trash.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"449a3f1396fe963401e29f307e48b8abceb0e5bb80ce0e9ff6fbfefb997c5cd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): yazi-shared/src/path/path.rs:217-223 | yazi-shared/src/path/path.rs:258-264 | yazi-shared/src/strand/buf.rs:132-139 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-shared/src/path/path.rs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"857d77e23cac45ac6ed6b3c223b6ad2354a79be763bc0856a259329677c11db3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): yazi-parser/src/confirm/show.rs:13-23 | yazi-parser/src/pick/show.rs:14-24 \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":"yazi-parser/src/confirm/show.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"4468d68ecba7f1ecf33bd860365268782b753251d0e990c6f2179d6e49173e1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): yazi-shared/src/path/cow.rs:67-72 | yazi-shared/src/strand/cow.rs:67-72 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-shared/src/path/cow.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8dfc60e3dc563fa856f366476aa8b901dc24afcd6dc6e137c43d47e6e2ee5e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): yazi-config/src/theme/theme.rs:289-298 | yazi-config/src/vfs/sftp.rs:38-46 \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":"yazi-config/src/theme/theme.rs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"024343ed7de2f81da54f01f4c2d10c7b331712a8d724f8abe9f0c1ce88f1c23b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): yazi-sftp/src/requests/init.rs:13-16 | yazi-sftp/src/responses/version.rs:11-14 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-sftp/src/requests/init.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"764f7c83ce3b5eb6af472375ed5685bb0d45e46968622c532091999930228c26"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): yazi-config/src/preview/preview.rs:51-59 | yazi-config/src/vfs/sftp.rs:55-63 \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":"yazi-config/src/preview/preview.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"a13413d7709a4c092c4644a1d0c190cb5fe5dbfcd0e9dfda5d5a79d143527bc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): yazi-fs/src/copier/progress.rs:45-53 | yazi-fs/src/remover/progress.rs:17-26 \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":"yazi-fs/src/copier/progress.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d25ad23ef2899d9f9251ba4d9bf70541b8345788e41ed81ccbd3d4f04a02c71"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): yazi-parser/src/mgr/toggle.rs:12-21 | yazi-parser/src/mgr/toggle_all.rs:12-21 \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":"yazi-parser/src/mgr/toggle.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"c00e77c7a36ff63b15d0ae6ed0578ce293548622437eeee95e0caf6ff069730a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): yazi-actor/src/mgr/back.rs:16-21 | yazi-actor/src/mgr/forward.rs:16-21 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-actor/src/mgr/back.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"ece78615ebb14bf3685ba2ac7834efc2e4715fa71160f4c6b8e1762bcd7d5da0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): yazi-config/src/plugin/previewer.rs:71-79 | yazi-config/src/plugin/spotter.rs:71-79 \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":"yazi-config/src/plugin/previewer.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"462c95f80ca81cce95ee3114f11d1872efd78adecdb4ee4e3422eb274d4b16b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): yazi-shared/src/path/buf.rs:150-156 | yazi-shared/src/path/path.rs:302-308 \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":"yazi-shared/src/path/buf.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e163d318225b299f0f36eb12e243ca869168b4f1ff77c01ba29747c0fc3d0e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): yazi-config/src/preview/preview.rs:76-83 | yazi-config/src/theme/theme.rs:303-310 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-config/src/preview/preview.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e38bcc3b418c890ed14c40fbe4a39c379b49d32620a6e42648a1a619e6605fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): yazi-shared/src/kebab_cased_key.rs:13-16 | yazi-shared/src/snake_cased_key.rs:11-14 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-shared/src/kebab_cased_key.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3755d8b6d34af9e4dd0ed95a0592a863abe50530f15eea13f38d75737db3f2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): yazi-vfs/src/engine/engines.rs:13-19 | yazi-vfs/src/engine/rw_file.rs:33-39 \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":"yazi-vfs/src/engine/engines.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddc9691f54774c7d0f03d73b66e7dd4e161065c756cdd2dc21652325814f188d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): yazi-proxy/src/tasks.rs:26-30 | yazi-scheduler/src/proxy.rs:9-13 \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":"yazi-proxy/src/tasks.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"f26c87510c0ee0dd7c8a25bb58c9b09f2aaaabdc612fe00bbec6c93b78690035"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): yazi-shared/src/path/components.rs:31-36 | yazi-shared/src/strand/conversion.rs:75-80 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-shared/src/path/components.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"f35476c2d3fc81e3fd8809c734356ef652967c28268128aa0480e09a8afe852b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): yazi-config/src/opener/opener.rs:51-57 | yazi-config/src/vfs/authorities.rs:34-40 | yazi-config/src/vfs/domains.rs:35-42 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-config/src/opener/opener.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b3f451bab620492cbc3dd5adbe608d5095869eea4c29c66672c13e422f1774e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): yazi-config/src/theme/icon_conds.rs:25-27 | yazi-config/src/theme/icon_globs.rs:25-27 \u2014 These two members are one piece of code written twice and then edited apart: 3 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":"yazi-config/src/theme/icon_conds.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"82a0d3edf2f2e40d817127b20ce1f171cb06157ec43f5ffbbc23741e15d9a54d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 8\u002B corresponding lines): yazi-config/src/open/open_rules.rs:34-41 | yazi-config/src/plugin/preloaders.rs:44-51 | yazi-config/src/plugin/previewers.rs:34-41 | yazi-config/src/plugin/spotters.rs:35-43 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-config/src/open/open_rules.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d05e3eeb7d2d3121fe075a49dfef291633dc9e6cd541745e73b35bd55a27fe6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): yazi-parser/src/notify/push.rs:15-19 | yazi-parser/src/which/activate.rs:15-19 \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":"yazi-parser/src/notify/push.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"94cb0e8d65e1af2c46e0b97c89c0f3bb9c3cc94637c4d0572d297d9f4ce1e162"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): yazi-shared/src/data/de.rs:137-142 | yazi-shared/src/data/de_owned.rs:142-147 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-shared/src/data/de.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"c88180b205fcbbaccb8a0a33a10f5aa7efcf9083d6aa044e524e8598f3ecaf1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 5\u002B corresponding lines): yazi-config/src/keymap/keymap.rs:52-56 | yazi-config/src/theme/theme.rs:43-47 | yazi-config/src/vfs/vfs.rs:41-45 | yazi-config/src/yazi.rs:23-27 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 5 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-config/src/keymap/keymap.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f3886969af2c31fd72c9b82a70c37bf1f1fad1e421121cdb7d5b42650e20603"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): yazi-core/src/cmp/cmp.rs:24-27 | yazi-core/src/help/help.rs:86-89 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-core/src/cmp/cmp.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"5df24deddd0169de9be48d72f7a0d951c784f59a56922faa2cf3e50c13deb068"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): yazi-tty/src/reader.rs:26-31 | yazi-tty/src/writer.rs:32-37 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-tty/src/reader.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a7b41a61a18727eecf6f371f584e002f8e80a4b427bc2ee9b7c3ba9403244f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): yazi-binding/src/http/response.rs:66-73 | yazi-shared/src/scope/scope.rs:118-125 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-binding/src/http/response.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"95e7ed308e2f1e34d7711c7ac689cc0ca60d492c8a739cd8e953b6efa5fb77df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): yazi-fs/src/copier/copier.rs:76-82 | yazi-fs/src/remover/remover.rs:40-46 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-fs/src/copier/copier.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"8395033e5838cc89c016501428d9085cacc6068dd598739a13c2a07b0da6a45d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): yazi-fs/src/engine/rw_file.rs:55-59 | yazi-vfs/src/engine/sftp/rw_file.rs:42-46 \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":"yazi-fs/src/engine/rw_file.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"480d315d22b7a0b6f31d014f2749a0f2ba86960914f5942b1bdff919402574e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): yazi-cli/src/shared/shared.rs:13-18 | yazi-vfs/src/fns.rs:8-13 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-cli/src/shared/shared.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0b08c306aec49b897c6066222eff8802b046d93da7fbf7dcef195765eb29b97"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): yazi-scheduler/src/plugin/plugin.rs:20-25 | yazi-scheduler/src/process/process.rs:51-56 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-scheduler/src/plugin/plugin.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"c07e53ff7839d1f80c4c4bc4b664b5bd62dc9f1793a120e38613f65a34542842"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): yazi-shared/src/data/de.rs:257-262 | yazi-shared/src/data/de_owned.rs:262-267 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-shared/src/data/de.rs"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"1242a0cabbf6e2591ad913c31fad854e7132f93abbc59be72ec87884ed390f1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): yazi-shared/src/kebab_cased_key.rs:52-56 | yazi-shared/src/non_empty_string.rs:61-64 | yazi-shared/src/snake_cased_key.rs:44-48 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 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":"yazi-shared/src/kebab_cased_key.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b6b7570cc4fe619ed5700740c26ab8401b922fe785980ad4fe175cc5397e247"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 3\u002B corresponding lines): yazi-config/src/opener/opener_rules_matcher.rs:31-33 | yazi-config/src/vfs/domains_matcher.rs:31-33 | yazi-config/src/vfs/vfs_matcher.rs:31-33 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 3 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":"yazi-config/src/opener/opener_rules_matcher.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"fddc44df897cf15743703d7d101ea6231a466861ccfc7ea7af3ae866671bac0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): yazi-actor/src/mgr/bulk_create.rs:110-115 | yazi-actor/src/mgr/bulk_rename.rs:150-155 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-actor/src/mgr/bulk_create.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"178976a50526a06349440b200832b92732350ce4d64c9b560a2db2a8b75afe96"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): yazi-sftp/src/requests/read.rs:21-27 | yazi-sftp/src/requests/write.rs:22-24 \u2014 These two members are one piece of code written twice and then edited apart: 3 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":"yazi-sftp/src/requests/read.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f107f2d2d8227d246fa81a0f5773a0356b8cfdb1c9686eb1e2617189d383aa3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): yazi-binding/src/elements/row.rs:69-71 | yazi-binding/src/elements/span.rs:64-66 \u2014 These two members are one piece of code written twice and then edited apart: 3 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":"yazi-binding/src/elements/row.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4f27ee3c0ea0fd1a854c4e2d63981a29edfb5893cb89441cddd0d6f1aad250a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): yazi-scheduler/src/plugin/in.rs:35-40 | yazi-scheduler/src/preload/in.rs:33-38 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-scheduler/src/plugin/in.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a064d84261d2073306f9d7f75da275d7f2276947d623e5bfe454b419cd6908c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): yazi-scheduler/src/plugin/in.rs:42-47 | yazi-scheduler/src/preload/in.rs:40-45 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-scheduler/src/plugin/in.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eeece0c421dc798a0537f7eb6040de753b099401a5b9bd10793f7f998bc35d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (8 members, 6\u002B corresponding lines): yazi-config/src/keymap/chord.rs:146-151 | yazi-config/src/mgr/ratio.rs:34-39 | yazi-config/src/open/open_rule_matcher.rs:70-75 | yazi-config/src/opener/opener_rule_matcher.rs:53-58 | yazi-config/src/plugin/fetcher.rs:118-123 | yazi-config/src/plugin/preloader.rs:106-111 | yazi-config/src/plugin/previewer.rs:101-106 | yazi-config/src/plugin/spotter.rs:101-106 \u2014 These 8 members are one piece of code written 8 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 8 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-config/src/keymap/chord.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"7511ba28113839dedd1a8bd27cfe58ac67ca9a586e5beed45390233079986b70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): yazi-shared/src/shell/unix.rs:88-105 | yazi-shared/src/shell/unix.rs:117-134 \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 \u0060yazi-shared/src/shell/unix.rs:88\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-shared/src/shell/unix.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"f874f1b104d1f911d6898726f195e90cf5592d316ede0afa61c88805f0bb7855"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4): yazi-scheduler/src/file/out.rs:26-42 | yazi-scheduler/src/file/out.rs:101-117 | yazi-scheduler/src/file/out.rs:367-383 | yazi-scheduler/src/file/out.rs:438-454 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060yazi-scheduler/src/file/out.rs:26\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":"yazi-scheduler/src/file/out.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"6148ee1e47dea35663e67d5162a2b7a3b3c843f30938b2e725b4122b6f21cd7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): yazi-fs/src/engine/local/calculator.rs:76-91 | yazi-vfs/src/engine/calculator.rs:54-69 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060yazi-fs/src/engine/local/calculator.rs:76\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 \u0060buf\u0060 to \u0060\u0026mut VecDeque\u003CEither\u003CPathBuf, std::fs::ReadDir\u003E\u003E\u0060 in one and \u0060\u0026mut VecDeque\u003CEither\u003CUrlBuf, ReadDir\u003E\u003E\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":"yazi-fs/src/engine/local/calculator.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"283bc5eedcb5cb3dd368b0ae7ca0a41b06982019ef7bd3450fc123ed7a2cb5dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): yazi-parser/src/mgr/cd.rs:22-36 | yazi-parser/src/mgr/reveal.rs:22-36 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-parser/src/mgr/cd.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"91477a1dfcf3958444dea0a8b5a4bfabf6d12aac54629c29c28006a39a29c857"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): yazi-scheduler/src/file/out.rs:34-47 | yazi-scheduler/src/file/out.rs:240-253 | yazi-scheduler/src/file/out.rs:375-388 | yazi-scheduler/src/file/out.rs:446-459 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060yazi-scheduler/src/file/out.rs:34\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060yazi-scheduler/src/file/out.rs:53\u0060 calls \u0060Adv\u0060 and \u0060yazi-scheduler/src/file/out.rs:259\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":"yazi-scheduler/src/file/out.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"13b878aa8cc1e445aef7efbb80e160924022db61c0c18586d74e1c03fff28210"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): yazi-adapter/src/drivers/kgp.rs:382-395 | yazi-adapter/src/drivers/kgp_old.rs:83-96 \u2014 before extracting anything, compare \u0060yazi-adapter/src/drivers/kgp.rs\u0060 and \u0060yazi-adapter/src/drivers/kgp_old.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 56 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060yazi-adapter/src/drivers/kgp.rs:382\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060yazi-adapter/src/drivers/kgp.rs:397\u0060 calls \u0060width\u0060, \u0060height\u0060 and \u0060yazi-adapter/src/drivers/kgp_old.rs:98\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-adapter/src/drivers/kgp.rs"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"5396e2e6201394edd460f4c7ec2d32574c917b1b556ce773806093b147f9a850"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): yazi-config/src/keymap/chords.rs:28-41 | yazi-config/src/opener/opener_rules.rs:24-37 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060rule\u0060 to \u0060ChordArc\u0060 in one and \u0060OpenerRuleArc\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":"yazi-config/src/keymap/chords.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcacb8350f8f8d19a29482349eb71db43aeb58f0bec1964c2f2f1b4c978a1063"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): yazi-scheduler/src/file/out.rs:65-77 | yazi-scheduler/src/file/out.rs:144-156 | yazi-scheduler/src/file/out.rs:406-418 | yazi-scheduler/src/file/out.rs:477-489 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060yazi-scheduler/src/file/out.rs:65\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":"yazi-scheduler/src/file/out.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f50301d5b3776f71ad5f288df44b1ecf66949dbfdf0a0a92873b1ff1d5f43ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): yazi-scheduler/src/fetch/out.rs:17-29 | yazi-scheduler/src/file/out.rs:335-347 | yazi-scheduler/src/preload/out.rs:19-31 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060yazi-scheduler/src/fetch/out.rs:17\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":"yazi-scheduler/src/fetch/out.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"9162c4e62e8df3fc64ade3fb9bbe5a77fac87322a3c9be042cb9ce099313bbd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): yazi-actor/src/lives/yanked.rs:48-59 | yazi-dds/src/ember/yank.rs:89-101 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060yazi-actor/src/lives/yanked.rs:48\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-actor/src/lives/yanked.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"0490fdf8e55db159e4ac81816331a9c44c512d902af63e0ac9c0d5cf59adc577"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): yazi-shared/src/auth/display.rs:52-64 | yazi-shared/src/auth/encode.rs:45-57 \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 \u0060yazi-shared/src/auth/display.rs:52\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":"yazi-shared/src/auth/display.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"97d2ef92693157b8f08eaa715c7e04789c74deed849a9bbdacf857e39897d2aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): yazi-config/src/opener/opener.rs:118-128 | yazi-config/src/vfs/domains_arc.rs:54-63 | yazi-config/src/vfs/vfs.rs:84-93 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060yazi-config/src/opener/opener.rs:118\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":"yazi-config/src/opener/opener.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"571a43f4aebdc1e32e23eb9a1a031ae47ee07b5e99a88251b774d356967ce7ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): yazi-adapter/src/drivers/iip.rs:17-27 | yazi-adapter/src/drivers/sixel.rs:23-33 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-adapter/src/drivers/iip.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"88de0c502b43726441ef4dcc848a03a9c70023e69d5f999fed8ba7c141a1f342"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): yazi-binding/src/http/part.rs:62-73 | yazi-binding/src/http/session.rs:44-55 \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":"yazi-binding/src/http/part.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"80f601b9ce72fd27912c188209dbfb28aca996e9c0524fe02cf41c9f33e70942"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): yazi-scheduler/src/fetch/progress.rs:13-22 | yazi-scheduler/src/file/progress.rs:109-118 | yazi-scheduler/src/file/progress.rs:219-228 | yazi-scheduler/src/preload/progress.rs:13-22 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060value\u0060 to \u0060FetchProg\u0060 in one and \u0060FileProgLink\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":"yazi-scheduler/src/fetch/progress.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"36eb6c79e62a7672e0daf02d42e029513b5071ed553fb750a0a9c348a4979c74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): yazi-scheduler/src/file/progress.rs:22-31 | yazi-scheduler/src/file/progress.rs:68-77 | yazi-scheduler/src/file/progress.rs:255-264 | yazi-scheduler/src/file/progress.rs:301-310 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060value\u0060 to \u0060FileProgCopy\u0060 in one and \u0060FileProgMove\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":"yazi-scheduler/src/file/progress.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"de66a733fc8b3fd127b542336cf9457700e4f2f206c36723561cbaddc3eabd5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): yazi-scheduler/src/custom/progress.rs:18-27 | yazi-scheduler/src/file/progress.rs:143-152 | yazi-scheduler/src/file/progress.rs:184-193 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060value\u0060 to \u0060CustomProg\u0060 in one and \u0060FileProgHardlink\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":"yazi-scheduler/src/custom/progress.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"438a8defc3a4eb017206824c9858c7ab47eac49d6cad21c4c1b732d9f910cbba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): yazi-scheduler/src/plugin/progress.rs:13-22 | yazi-scheduler/src/process/progress.rs:69-78 | yazi-scheduler/src/size/progress.rs:12-21 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060value\u0060 to \u0060PluginProgEntry\u0060 in one and \u0060ProcessProgBg\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":"yazi-scheduler/src/plugin/progress.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ef6ab019d645cc3abe2398a841bb2d8097c156d65bfd872f168c7ff1c0728ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): yazi-adapter/src/drivers/kgp.rs:366-380 | yazi-adapter/src/drivers/kgp_old.rs:67-81 \u2014 before extracting anything, compare \u0060yazi-adapter/src/drivers/kgp.rs\u0060 and \u0060yazi-adapter/src/drivers/kgp_old.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 56 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060yazi-adapter/src/drivers/kgp.rs:366\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-adapter/src/drivers/kgp.rs"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"2af389f659275e97b7f541a4d53102d0080a6be75c3b4e09350ae02e969a3d13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): yazi-fs/src/remover/remover.rs:29-38 | yazi-vfs/src/remover/remover.rs:29-38 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060yazi-fs/src/remover/remover.rs:29\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":"yazi-fs/src/remover/remover.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"d39ed49e77a2b931da7d55b87b0c90138d56dc92dc4a47a8c9cd4eacb5d1f65e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): yazi-fs/src/trash/freedesktop/trash.rs:81-90 | yazi-fs/src/trash/macos/trash.rs:82-89 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060yazi-fs/src/trash/freedesktop/trash.rs:81\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":"yazi-fs/src/trash/freedesktop/trash.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"617a30c388cf655bbee323477ed70d3968c7c979be8e14d1e9e39baec91161a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): yazi-scheduler/src/file/file.rs:25-34 | yazi-scheduler/src/file/file.rs:81-90 \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":"yazi-scheduler/src/file/file.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2c3ac51138fcce24adca57c56da6826f2d3f3bf8e4b7694a1794d393bfa0e65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): yazi-scheduler/src/process/progress.rs:13-22 | yazi-scheduler/src/process/progress.rs:41-50 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060value\u0060 to \u0060ProcessProgBlock\u0060 in one and \u0060ProcessProgOrphan\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":"yazi-scheduler/src/process/progress.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1e31e3c4464e014dae842f84f3a9e11eb73efc2031e7922229e41faf4b3c324"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6): yazi-config/src/open/open_rules.rs:102-110 | yazi-config/src/opener/opener_rules_arc.rs:44-52 | yazi-config/src/plugin/fetchers.rs:123-131 | yazi-config/src/plugin/preloaders.rs:127-135 | yazi-config/src/plugin/previewers.rs:102-110 | yazi-config/src/plugin/spotters.rs:104-112 \u2014 before extracting anything, compare \u0060yazi-config/src/plugin/previewers.rs\u0060 and \u0060yazi-config/src/plugin/spotters.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060yazi-config/src/open/open_rules.rs:102\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":"yazi-config/src/open/open_rules.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa7cc594619b4e77c5fd96e88be081cea716b93e157ee0b3fa7d14f97d49bf7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): yazi-adapter/src/drivers/chafa.rs:76-84 | yazi-adapter/src/drivers/iip.rs:33-41 | yazi-adapter/src/drivers/sixel.rs:39-47 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060yazi-adapter/src/drivers/chafa.rs:76\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-adapter/src/drivers/chafa.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5034e1464b4e0ba0e71648d3b23465c4035c62c6231a98ca5befc1eda80dbdd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): yazi-shared/src/auth/de.rs:123-131 | yazi-shared/src/url/de.rs:96-104 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-shared/src/auth/de.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c8afe9d6683bbc168d9a174998085efa9bd025c5a53c944a9a21db8364161cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): yazi-shared/src/auth/display.rs:42-50 | yazi-shared/src/auth/encode.rs:35-43 \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 \u0060yazi-shared/src/auth/display.rs:42\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":"yazi-shared/src/auth/display.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"7667d2f18d9d56922015ddbd7134f88026700a62be1325ab1524f494caae43be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): yazi-shim/src/mlua/traits.rs:52-60 | yazi-shim/src/mlua/traits.rs:93-101 \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 \u0060yazi-shim/src/mlua/traits.rs:52\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":"yazi-shim/src/mlua/traits.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"cebb4c46fd62dd9901972e11efc8534f25642eb2d1a1ab27115e6cfd1f025371"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): yazi-watcher/src/refresher.rs:54-62 | yazi-watcher/src/refresher.rs:70-78 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060yazi-watcher/src/refresher.rs:54\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":"yazi-watcher/src/refresher.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9f57b11b01651729e5c1a17b10b0552e510aaa832760dbe7bb3ad51f65d1b6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): yazi-actor/src/mgr/hidden.rs:28-35 | yazi-actor/src/mgr/sort.rs:35-42 \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 \u0060yazi-actor/src/mgr/hidden.rs:28\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060yazi-actor/src/mgr/sort.rs:43\u0060 calls \u0060prework_sorted\u0060 and \u0060yazi-actor/src/mgr/hidden.rs:36\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-actor/src/mgr/hidden.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0343e6bc1c56e6c3c2d845c07ed6f2275af0848645aa38cdb1450c6f0fedd35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): yazi-adapter/src/drivers/kgp.rs:326-333 | yazi-adapter/src/drivers/kgp_old.rs:27-34 \u2014 before extracting anything, compare \u0060yazi-adapter/src/drivers/kgp.rs\u0060 and \u0060yazi-adapter/src/drivers/kgp_old.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 56 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060yazi-adapter/src/drivers/kgp.rs:326\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":"yazi-adapter/src/drivers/kgp.rs"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"f729bb67ee71a6938d65602b2971bc055dd5b821ac4f3919aadcc665e57479f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): yazi-binding/src/elements/row.rs:20-27 | yazi-binding/src/elements/table.rs:37-44 \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 \u0060yazi-binding/src/elements/row.rs:20\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":"yazi-binding/src/elements/row.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"29a65f12612e9bb4b752e7ea679bddf967ddc4c60e82b347fcee42f2d673f39b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): yazi-actor/src/lives/selected.rs:50-56 | yazi-actor/src/lives/yanked.rs:54-60 | yazi-dds/src/ember/yank.rs:96-102 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060yazi-actor/src/lives/selected.rs:50\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":"yazi-actor/src/lives/selected.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6e7cacdf72ee79712cce9cd479155c01407981692132614bd4695801018377a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): yazi-actor/src/mgr/bulk_create.rs:48-54 | yazi-actor/src/mgr/bulk_rename.rs:65-71 \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 \u0060yazi-actor/src/mgr/bulk_create.rs:48\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-actor/src/mgr/bulk_create.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"d60c40812a83bc7ef56c5872b714a98236d63408a11e4120476a0bc5c7cfb971"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): yazi-adapter/src/drivers/kgp.rs:353-364 | yazi-adapter/src/drivers/kgp_old.rs:54-65 \u2014 before extracting anything, compare \u0060yazi-adapter/src/drivers/kgp.rs\u0060 and \u0060yazi-adapter/src/drivers/kgp_old.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 56 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060yazi-adapter/src/drivers/kgp.rs:353\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":"yazi-adapter/src/drivers/kgp.rs"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"63d37155a181d5c158c1fa716bdb20ac409fa6bc37cf3e44e0a8621b2f75ca13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u20137 lines \u00D7 2): yazi-tty/src/sequence/dnd.rs:95-99 | yazi-tty/src/sequence/dnd.rs:123-129 \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 \u0060yazi-tty/src/sequence/dnd.rs:95\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":"yazi-tty/src/sequence/dnd.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"4686d853cff3151238391d1f8eb3c99c1354e3dc8132e8ed668d0f42807c7ceb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): yazi-scheduler/src/worker.rs:102-108 | yazi-scheduler/src/worker.rs:137-143 | yazi-scheduler/src/worker.rs:158-164 | yazi-scheduler/src/worker.rs:179-185 | yazi-scheduler/src/worker.rs:200-206 | yazi-scheduler/src/worker.rs:227-233 \u2014 all 6 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 \u0060yazi-scheduler/src/worker.rs:102\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060rx\u0060 to \u0060async_priority_channel::Receiver\u003CFileIn, u8\u003E\u0060 in one and \u0060async_priority_channel::Receiver\u003CPluginIn, u8\u003E\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":"yazi-scheduler/src/worker.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"266300c475e200bf7ec6c05ce210b535b1e17c4cd021182e5c84ac2838f6f0b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): yazi-adapter/src/drivers/chafa.rs:76-81 | yazi-adapter/src/drivers/iip.rs:33-38 | yazi-adapter/src/drivers/kgp.rs:339-345 | yazi-adapter/src/drivers/sixel.rs:39-44 \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 4 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060yazi-adapter/src/drivers/chafa.rs:76\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":"yazi-adapter/src/drivers/chafa.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"6194345a2133d32f856e743b142c3e4a202942ff21f083ca9e08e7e99e4ac8c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): yazi-config/src/plugin/fetchers.rs:139-144 | yazi-config/src/plugin/preloaders.rs:143-148 | yazi-config/src/plugin/spotters.rs:120-125 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060yazi-config/src/plugin/fetchers.rs:139\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":"yazi-config/src/plugin/fetchers.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf9d0ed4869d38721154cbb0486baf50a18fa61fb0519cc71b6271a106f95b9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): yazi-binding/src/chan.rs:33-39 | yazi-binding/src/chan.rs:57-63 \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":"yazi-binding/src/chan.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"d44d6ecbc376c89835f984c6b5404bad0e00d6373c1c30682405682a7d2abfdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): yazi-binding/src/elements/line.rs:41-46 | yazi-binding/src/elements/text.rs:29-34 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060yazi-binding/src/elements/line.rs:41\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":"yazi-binding/src/elements/line.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"611fa69470f424f742bdc5fac164860221c54f27d8b19e2610b77c5a4217cc71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): yazi-config/src/open/open_rules.rs:118-123 | yazi-config/src/plugin/previewers.rs:118-123 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060yazi-config/src/open/open_rules.rs:118\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":"yazi-config/src/open/open_rules.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba1aef994b69b51dd5c6d9d5782e7224065082cc40fc9eeda27ab4d694d9f9a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): yazi-scheduler/src/file/file.rs:40-45 | yazi-scheduler/src/file/file.rs:234-239 \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 \u0060yazi-scheduler/src/file/file.rs:40\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":"yazi-scheduler/src/file/file.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"772906f88e6fbec7a5e21d67818accefdd0dacf56c25c1768173683328463c34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): yazi-shared/src/data/de.rs:110-115 | yazi-shared/src/data/de_owned.rs:113-118 \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 \u0060yazi-shared/src/data/de.rs:110\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":"yazi-shared/src/data/de.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbbd591e6ff856b65cac10b117c9b137bfebb036102f221d69a9d85053eae8a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): yazi-shared/src/natsort.rs:23-28 | yazi-shared/src/natsort.rs:47-52 \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 \u0060yazi-shared/src/natsort.rs:23\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":"yazi-shared/src/natsort.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"47e46795aee852e4139190441ee7068ca10ed7eb597b977e47203b5933488c4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): yazi-binding/src/elements/color.rs:10-16 | yazi-binding/src/elements/span.rs:22-28 | yazi-binding/src/style/style.rs:24-30 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. 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":"yazi-binding/src/elements/color.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"643f555cc25e542f1c091bc8e529dd81af9e737e19511be0cb86f4c86bef86e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): yazi-actor/src/mgr/hidden.rs:39-43 | yazi-actor/src/mgr/sort.rs:47-51 \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 \u0060yazi-actor/src/mgr/hidden.rs:39\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060yazi-actor/src/mgr/sort.rs:43\u0060 calls \u0060prework_sorted\u0060 and \u0060yazi-actor/src/mgr/hidden.rs:35\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":"yazi-actor/src/mgr/hidden.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"34db8f150e765d5db3f4d93d59cae58dea28801ecd1fd0305eadc193739f8223"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): yazi-adapter/src/drivers/kgp.rs:398-404 | yazi-adapter/src/drivers/kgp_old.rs:98-104 \u2014 before extracting anything, compare \u0060yazi-adapter/src/drivers/kgp.rs\u0060 and \u0060yazi-adapter/src/drivers/kgp_old.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 56 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060yazi-adapter/src/drivers/kgp.rs:398\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060yazi-adapter/src/drivers/kgp.rs:397\u0060 calls \u0060width\u0060, \u0060height\u0060 and \u0060yazi-adapter/src/drivers/kgp_old.rs:96\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-adapter/src/drivers/kgp.rs"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"4822c2d5eecb7185e813fefece9d4b31e85de781ca99b738b8d92003c9c25d59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): yazi-binding/src/elements/line.rs:113-119 | yazi-binding/src/elements/text.rs:152-158 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-binding/src/elements/line.rs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"04cdb6c216f4f72f976801fbe7af48c54bf181930cddde84516bd3bff44a9f5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): yazi-binding/src/http/session.rs:51-55 | yazi-vfs/src/engine/rw_file.rs:197-201 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060yazi-binding/src/http/session.rs:51\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":"yazi-binding/src/http/session.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"06ce1e6910548bb6748d4f5784d7fab1b2963ca84b9c9a014be9f601c3ab0458"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): yazi-config/src/plugin/fetchers.rs:74-79 | yazi-config/src/plugin/preloaders.rs:78-83 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060matcher\u0060 to \u0060FetcherMatcher\u0060 in one and \u0060PreloaderMatcher\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":"yazi-config/src/plugin/fetchers.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b31fd345edc108de3b53b70071d4b6f9d0504fd3056bbe94287cba3a4681a09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): yazi-fs/src/remover/removal.rs:55-59 | yazi-vfs/src/engine/read_dir.rs:42-46 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060yazi-fs/src/remover/removal.rs:55\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":"yazi-fs/src/remover/removal.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"309deb785ef52f7e41684fdfe6b012e9d82396e7259ec893433caa1f0d625a4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): yazi-term/src/event/dnd.rs:177-181 | yazi-term/src/event/dnd.rs:183-187 \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 \u0060yazi-term/src/event/dnd.rs:177\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":"yazi-term/src/event/dnd.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d123474a9f0fc98d42a71753f7a6a40e8691ff435a110fba1d2d45c66d32ebd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): yazi-config/src/plugin/previewers.rs:43-59 | yazi-config/src/plugin/spotters.rs:45-61 \u2014 before extracting anything, compare \u0060yazi-config/src/plugin/previewers.rs\u0060 and \u0060yazi-config/src/plugin/spotters.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 33 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":"yazi-config/src/plugin/previewers.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2da5279e2644f27b4aac54fc6df61ff1cedd819ec5bf52b9bb25fd9dea3799b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): yazi-config/src/plugin/fetcher_arc.rs:21-49 | yazi-config/src/plugin/preloader_arc.rs:21-45 \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 \u0060yazi-config/src/plugin/fetcher_arc.rs:21\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-config/src/plugin/fetcher_arc.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"04f531845671750a7f314d419a1affb7710b2b50125a9ed450c3cbb68e8ec949"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): yazi-config/src/plugin/previewer_arc.rs:16-44 | yazi-config/src/plugin/spotter_arc.rs:16-44 \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 \u0060yazi-config/src/plugin/previewer_arc.rs:16\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-config/src/plugin/previewer_arc.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"79f16f84370dadfbf164c4be19310d32295f8c2e512a6a46d55139da86d4089a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6): yazi-core/src/app/quit.rs:20-28 | yazi-core/src/notify/option.rs:28-36 | yazi-parser/src/app/focus.rs:13-25 | yazi-parser/src/help/close.rs:13-25 | yazi-parser/src/input/close.rs:13-25 | yazi-parser/src/mgr/sort.rs:20-28 \u2014 \u0060yazi-parser/src/help/close.rs\u0060 and \u0060yazi-parser/src/input/close.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 2 separate duplicated blocks between them, totalling at least 26 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060yazi-core/src/app/quit.rs:20\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-core/src/app/quit.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"34720d23d0b747cdc70a54f960eb96b1a3b1aa6acebec72d8b7906df2b1b3de1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 33): yazi-parser/src/app/deprecate.rs:12-20 | yazi-parser/src/app/lua.rs:15-23 | yazi-parser/src/app/passthrough.rs:11-19 | yazi-parser/src/cmp/close.rs:12-24 | yazi-parser/src/confirm/close.rs:12-24 | yazi-parser/src/help/toggle.rs:12-24 | yazi-parser/src/input/recall.rs:13-21 | yazi-parser/src/mgr/bulk_exit.rs:14-22 | yazi-parser/src/mgr/create.rs:16-24 | yazi-parser/src/mgr/find_arrow.rs:12-20 | yazi-parser/src/mgr/hardlink.rs:14-22 | yazi-parser/src/mgr/link.rs:16-24 | yazi-parser/src/mgr/paste.rs:14-22 | yazi-parser/src/mgr/remove.rs:16-24 | yazi-parser/src/mgr/rename.rs:19-27 | yazi-parser/src/mgr/seek.rs:12-20 | yazi-parser/src/mgr/tab_close.rs:12-24 | yazi-parser/src/mgr/tab_switch.rs:14-22 | yazi-parser/src/mgr/update_mimes.rs:13-21 | yazi-parser/src/mgr/visual_arrow.rs:12-20 | yazi-parser/src/mgr/visual_mode.rs:12-20 | yazi-parser/src/mgr/yank.rs:12-20 | yazi-parser/src/notify/tick.rs:17-25 | yazi-parser/src/pick/close.rs:12-24 | yazi-parser/src/spot/copy.rs:13-21 | yazi-parser/src/tasks/update_succeed.rs:15-23 | yazi-widgets/src/input/parser/backspace.rs:12-24 | yazi-widgets/src/input/parser/backward.rs:14-22 | yazi-widgets/src/input/parser/delete.rs:14-22 | yazi-widgets/src/input/parser/forward.rs:17-25 | yazi-widgets/src/input/parser/insert.rs:12-24 | yazi-widgets/src/input/parser/kill.rs:13-21 | yazi-widgets/src/input/parser/paste.rs:12-20 \u2014 \u0060yazi-parser/src/cmp/close.rs\u0060 and \u0060yazi-parser/src/confirm/close.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 2 separate duplicated blocks between them, totalling at least 26 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060yazi-parser/src/app/deprecate.rs:12\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-parser/src/app/deprecate.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eec12d7c0ac436a37a6bc3b62fba3abd08b55a30670251643e025ae1e591367"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): yazi-parser/src/app/focus.rs:13-25 | yazi-parser/src/help/close.rs:13-25 | yazi-parser/src/input/close.rs:13-25 \u2014 \u0060yazi-parser/src/help/close.rs\u0060 and \u0060yazi-parser/src/input/close.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 2 separate duplicated blocks between them, totalling at least 26 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060yazi-parser/src/app/focus.rs:13\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-parser/src/app/focus.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dc5760e5cab27514dc74427f7580ccc978085dbaf7cbe6b1263bf349374f032"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 7): yazi-parser/src/cmp/close.rs:12-24 | yazi-parser/src/confirm/close.rs:12-24 | yazi-parser/src/help/toggle.rs:12-24 | yazi-parser/src/mgr/tab_close.rs:12-24 | yazi-parser/src/pick/close.rs:12-24 | yazi-widgets/src/input/parser/backspace.rs:12-24 | yazi-widgets/src/input/parser/insert.rs:12-24 \u2014 \u0060yazi-parser/src/cmp/close.rs\u0060 and \u0060yazi-parser/src/confirm/close.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 2 separate duplicated blocks between them, totalling at least 26 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060yazi-parser/src/cmp/close.rs:12\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-parser/src/cmp/close.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"0da24cba8c0b43b103bacacf005761656be9e157059da56cd260b04fd3f38f26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): yazi-parser/src/app/quit.rs:14-30 | yazi-parser/src/mgr/close.rs:14-26 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060yazi-parser/src/app/quit.rs:14\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-parser/src/app/quit.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e5aa9eb45d2f93279f73d83d2f057876e72faf8ea8e83a2a16ba393c272541a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): yazi-parser/src/mgr/filter.rs:11-23 | yazi-parser/src/mgr/find_do.rs:11-23 | yazi-parser/src/mgr/open.rs:11-27 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060yazi-parser/src/mgr/filter.rs:11\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-parser/src/mgr/filter.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"0498865735ffb1a1a08c26d9a188e49831baede1edbd7f7b259f35f9a2a046d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): yazi-sftp/src/requests/mkdir.rs:16-22 | yazi-sftp/src/requests/set_stat.rs:18-41 \u2014 before extracting anything, compare \u0060yazi-sftp/src/requests/mkdir.rs\u0060 and \u0060yazi-sftp/src/requests/set_stat.rs\u0060 as WHOLE FILES: 85% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060yazi-sftp/src/requests/set_stat.rs:18\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-sftp/src/requests/mkdir.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6a503b7fc5584fe2b372530fafd3eb39f2e9e2f93da26a138e2ae9f40dd4b04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): yazi-sftp/src/requests/open_dir.rs:15-19 | yazi-sftp/src/requests/readlink.rs:15-19 | yazi-sftp/src/requests/realpath.rs:15-19 | yazi-sftp/src/requests/remove.rs:15-19 | yazi-sftp/src/requests/rmdir.rs:15-19 | yazi-sftp/src/requests/stat.rs:15-19 \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 6 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-sftp/src/requests/open_dir.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"be877f524c75c5fd86d6076a754656913707f3c5ce0bf46dbb5896112c2d452f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): yazi-binding/src/elements/area.rs:92-97 | yazi-binding/src/elements/row.rs:75-80 \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":"yazi-binding/src/elements/area.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eef0bf4c11a3c2ea7b67a111e3f009d9f42cc22db1b5343d4af241d67af529f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): yazi-config/src/keymap/chords.rs:43-49 | yazi-config/src/open/open_rules.rs:61-67 | yazi-config/src/opener/opener_rules.rs:39-45 | yazi-config/src/plugin/previewers.rs:61-67 | yazi-config/src/plugin/spotters.rs:63-69 \u2014 before extracting anything, compare \u0060yazi-config/src/plugin/previewers.rs\u0060 and \u0060yazi-config/src/plugin/spotters.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 33 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060matcher\u0060 to \u0060ChordMatcher\u0060 in one and \u0060OpenRuleMatcher\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":"yazi-config/src/keymap/chords.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"40ff7fa7bb9f1945df72b39afcb67072af31895c09d5c071fe8d0570c3a5f2a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): yazi-config/src/open/open_rule_matcher.rs:26-34 | yazi-config/src/plugin/fetcher.rs:71-79 | yazi-config/src/plugin/preloader.rs:57-65 | yazi-config/src/plugin/previewer.rs:57-65 | yazi-config/src/plugin/spotter.rs:57-65 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 5 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-config/src/open/open_rule_matcher.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6a7565442883021cff11718a5802624f8b120af556f6d9b1c77e74c4c56dfd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): yazi-config/src/open/open_rule_matcher.rs:40-48 | yazi-config/src/opener/opener_rule_matcher.rs:31-39 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-config/src/open/open_rule_matcher.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"24f853f5c26a3b142db6ec2bbacd85ab7f18bfbd103c425d91afd9802c244ced"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): yazi-config/src/opener/opener.rs:59-65 | yazi-config/src/vfs/authorities.rs:42-48 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-config/src/opener/opener.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"637367606ceb2e84f8da8d918dc05c19f87b2d93956db62da46c6ddf07ab93f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): yazi-dds/src/ember/delete.rs:31-35 | yazi-dds/src/ember/download.rs:31-35 | yazi-dds/src/ember/trash.rs:31-35 \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":"yazi-dds/src/ember/delete.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"720f4d2d9332003dd921869db99f52d24824b4a63913cf508ec08843efdcb11e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): yazi-fs/src/engine/local/calculator.rs:37-44 | yazi-vfs/src/engine/calculator.rs:37-44 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-fs/src/engine/local/calculator.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8fc9a4b232ccc4606bd820a0cf444e4fbc11d2eb2b1cd5472ac1237c5057e99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): yazi-shared/src/path/buf.rs:95-100 | yazi-shared/src/path/path.rs:65-70 \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":"yazi-shared/src/path/buf.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ee7c119e13c5b4ab01ab921bff85ff391ea5547a8e18cc480443f3fd81899bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): yazi-shared/src/path/buf.rs:103-108 | yazi-shared/src/path/path.rs:73-78 \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":"yazi-shared/src/path/buf.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d80ec48e6306b9e64f905050f3722fd3a08dc067e2b6f5e129f7dfac6ce9981"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): yazi-actor/src/mgr/enter.rs:24-32 | yazi-actor/src/mgr/leave.rs:26-34 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-actor/src/mgr/enter.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0804924d01d4c06ab07c1eeaddcf122ccd056670ea50c786ef5646643417211"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): yazi-config/src/plugin/fetchers.rs:99-106 | yazi-config/src/plugin/preloaders.rs:103-110 \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":"yazi-config/src/plugin/fetchers.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"430f543dcd6ff04d7a315a76b18754a0dcfc30d2efb0b2d896ff193575c68aa0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): yazi-scheduler/src/fetch/in.rs:19-24 | yazi-scheduler/src/fetch/in.rs:34-39 | yazi-scheduler/src/fetch/in.rs:41-46 | yazi-scheduler/src/plugin/in.rs:20-25 | yazi-scheduler/src/preload/in.rs:18-23 \u2014 there are 5 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 5 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060yazi-scheduler/src/fetch/in.rs:19\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":"yazi-scheduler/src/fetch/in.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c8dd108f66e9c90f2aebe297f9ce9563d2a7d8ea2cc11bf3cd5882bc48c0346"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): yazi-scheduler/src/fetch/in.rs:26-32 | yazi-scheduler/src/plugin/in.rs:27-33 | yazi-scheduler/src/preload/in.rs:25-31 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060yazi-scheduler/src/fetch/in.rs:26\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":"yazi-scheduler/src/fetch/in.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ce4c7ca5417734e551eb6a949893bdd7f79dcc85308be51d964951850603051"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): yazi-shared/src/data/de.rs:297-302 | yazi-shared/src/data/de_owned.rs:302-307 \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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-shared/src/data/de.rs"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ab1aa63651214a3511116b107377c40eaddf8d5db0eaf5457627cf8eb52099e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): yazi-shared/src/strand/buf.rs:93-99 | yazi-shared/src/strand/strand.rs:152-158 \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":"yazi-shared/src/strand/buf.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"234e3b10ef2a30566c6de20a07fc2ac650a2412179c29cabd03fd4ce43408842"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): yazi-vfs/src/engine/dir_entry.rs:15-21 | yazi-vfs/src/engine/dir_entry.rs:23-29 | yazi-vfs/src/engine/dir_entry.rs:31-37 | yazi-vfs/src/engine/engines.rs:33-39 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-vfs/src/engine/dir_entry.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4bdadaa4dca849e9816dcd880690bf848dadf1c362377766db445832d693104"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): yazi-vfs/src/engine/sftp/conn.rs:139-146 | yazi-vfs/src/engine/sftp/conn.rs:173-181 \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":"yazi-vfs/src/engine/sftp/conn.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"a71e90bc164e33648ef5f029db8de2beccedf7aa2520d32a13b5c28ef3c5a9ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): yazi-actor/src/mgr/bulk_create.rs:123-130 | yazi-actor/src/mgr/bulk_rename.rs:171-178 \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 \u0060yazi-actor/src/mgr/bulk_create.rs:123\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":"yazi-actor/src/mgr/bulk_create.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"0062baec6e5199f2fe2dea4dc6e666125d26f7cb2127f2f4739679046cec5ef8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): yazi-sftp/src/fs/attrs.rs:109-115 | yazi-sftp/src/responses/extended.rs:51-57 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060yazi-sftp/src/fs/attrs.rs:109\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-sftp/src/fs/attrs.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"1baa499e81a6ecd9f98e05520bcf5fa9af48a9def0a200abab8510f198c57dd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): yazi-binding/src/http/session.rs:52-56 | yazi-binding/src/process/child.rs:141-145 | yazi-binding/src/process/child.rs:150-155 | yazi-vfs/src/engine/rw_file.rs:204-208 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060yazi-binding/src/http/session.rs:52\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-binding/src/http/session.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b4ad0e2f4971c6c2623af18314dddeee04c15d1f8e2011eb22cae26e9ee45e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): yazi-fs/src/xdg.rs:32-37 | yazi-fs/src/xdg.rs:53-58 | yazi-fs/src/xdg.rs:74-79 \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 \u0060yazi-fs/src/xdg.rs:32\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":"yazi-fs/src/xdg.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f8db7d4d2cfc0a0c51b9e21e6446652c46ec5875a315aad34522ac10a719a33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): yazi-term/src/parser/csi.rs:70-74 | yazi-term/src/parser/csi.rs:142-146 \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":"yazi-term/src/parser/csi.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b405e6829e0a4b951cbc47ccb651c59eba08229ceebe157519dd2999b03182d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): yazi-term/src/parser/csi.rs:69-73 | yazi-term/src/parser/csi.rs:141-145 | yazi-term/src/parser/csi.rs:172-176 \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":"yazi-term/src/parser/csi.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"7af9adae483e558fb4963e86ca9672386a289838017d750ed48e5e37dbe80e6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): yazi-actor/src/app/clipboard.rs:21-26 | yazi-actor/src/app/dnd.rs:21-26 | yazi-actor/src/app/mouse.rs:22-27 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060yazi-actor/src/app/clipboard.rs:21\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":"yazi-actor/src/app/clipboard.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f9a55567729ae7103d4500a74678817bceac8e490160436f980272577094c9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): yazi-plugin/src/slim.rs:6-10 | yazi-plugin/src/standard.rs:25-29 \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":"yazi-plugin/src/slim.rs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"285ea8d8a9c72bf137b78d45bc1d13c9b1765219c9e3c6fddc01ec4f8708820d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): yazi-runner/src/loader/loader.rs:122-127 | yazi-runner/src/loader/loader.rs:158-163 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-runner/src/loader/loader.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"16a801517c57a647e01dbc127a779af3e1cc9373f1e2d81cd6fa8bdf73ff4ca1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): yazi-scheduler/src/file/file.rs:64-68 | yazi-scheduler/src/file/file.rs:147-151 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060yazi-scheduler/src/file/file.rs:64\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 \u0060task\u0060 to \u0060FileInCopy\u0060 in one and \u0060FileInMove\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":"yazi-scheduler/src/file/file.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"e903641127ab6762e995312b2790979437314802f1b5039d876c667cbc9068ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): yazi-sftp/src/fs/file.rs:152-156 | yazi-sftp/src/fs/file.rs:182-186 \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 \u0060yazi-sftp/src/fs/file.rs:152\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":"yazi-sftp/src/fs/file.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc293de71c043f526c8dcf9a821538891039977f15d27cd4f5dfa9105119819"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): yazi-shared/src/url/buf.rs:28-32 | yazi-shared/src/url/cow.rs:17-21 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-shared/src/url/buf.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3deec4bcfd3f4aa6efc0407cf0685ba9717ed054aa8e9f83cc5b060df4af299"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): yazi-vfs/src/engine/file_cursor.rs:15-19 | yazi-vfs/src/engine/file_cursor.rs:25-29 \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":"yazi-vfs/src/engine/file_cursor.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"29eef192689a8b1c414141b322ac9b4850e21f7ecbf10a851f4854a71f0976af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): yazi-watcher/src/local/local.rs:90-94 | yazi-watcher/src/virtual/virtual.rs:34-38 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060yazi-watcher/src/local/local.rs:90\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 \u0060rx\u0060 to \u0060UnboundedReceiver\u003CUrlBuf\u003E\u0060 in one and \u0060UnboundedReceiver\u003CVirtualReport\u003E\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060yazi-watcher/src/local/local.rs:96\u0060 calls \u0060acquire\u0060, \u0060unwrap\u0060 and \u0060yazi-watcher/src/virtual/virtual.rs:40\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":"yazi-watcher/src/local/local.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"252f1e9f3b9c800318bd7ae7aa73fdcd64af55e6b826951c2479489b59320d3b"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project yazi-parser: yazi-parser has instability 0.93 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"34d37d4258f35f3614b1fe9febfc2fc2943bb2460475d2c2abd1c1d47a4f50a0"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project yazi-plugin: yazi-plugin has instability 0.86 with 3 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8474a899ddbfa3f76b57d20987601fecbc1594a0f113a5f3561abde99ac0caa1"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: yazi-sftp: yazi-sftp: abstractness 0.04, instability 0.00, distance 0.96 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"eee372397b420a857445d6bed63d3d928a892c05cadda372879fd5cc9bcf20fd"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: yazi-term: yazi-term: abstractness 0.00, instability 0.20, distance 0.80 \u2014 zone of pain \u2014 concrete and depended on by 12 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d91ad7b22afa209de6e7f34e0d64f099a1cc81f8121d6b7d73059031ed76c91a"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: yazi-tty: yazi-tty: abstractness 0.02, instability 0.20, distance 0.78 \u2014 zone of pain \u2014 concrete and depended on by 12 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4d93e4f3bb73b74439fc797ce0e481a4127c8ed0fdc3ad3f05b0bfd663bb1d95"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: yazi-ffi: yazi-ffi: abstractness 0.00, instability 0.29, distance 0.71 \u2014 zone of pain \u2014 concrete and depended on by 5 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ed267aef7992d92b1370ff22ea0bb2789777686a2e815659634860a33425e5df"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Operator (LCOM4 17): Operator\u0027s methods fall into 17 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 17 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-sftp/src/operator.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"241468549561d634e03d4a7bde47a6f627f69c75929485c0c7ac68968a76cf36"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Worker (LCOM4 10): Worker\u0027s methods fall into 10 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 10 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":"yazi-scheduler/src/worker.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee6f9373d454ebb52364312bf486959a322d302d9801dd3a6e95629243db8d4c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Action (LCOM4 8): Action\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":"yazi-shared/src/event/action.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c347976144c7096ec5ff871e7370dd6149b0c0220b59eb40c94cf798ff3cbf2"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: File (LCOM4 5): File\u0027s methods fall into 5 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 5 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":"yazi-vfs/src/engine/lua/file.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc41e14553972482a032b3c657301dddb8f6bdab414c99c376ecb325717c4c9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: yazi-config/src/keymap/key.rs: yazi-config/src/keymap/key.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 46 in Key::from_str at line 72. 3 of those changes were fix/bug commits, and the other 3 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 21:25:33 \u002B08:00\u0027 --until=\u00272026-11-12 21:25:33 \u002B08:00\u0027 --full-history --no-merges -- yazi-config/src/keymap/key.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-config/src/keymap/key.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5fead96710b375625b4a2640d318db7e7149e1043e8216380d58ef7e1c108bd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: yazi-fm/src/executor.rs: yazi-fm/src/executor.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 64 in Executor::mgr at line 66. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 21:25:33 \u002B08:00\u0027 --until=\u00272026-11-12 21:25:33 \u002B08:00\u0027 --full-history --no-merges -- yazi-fm/src/executor.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-fm/src/executor.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec66f3ea159c201a8b43c416047ab11a4add0371cc6c4b4a1f64b953f81ca99c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: yazi-watcher/src/refresher.rs: yazi-watcher/src/refresher.rs changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in Refresher::handle at line 43. 2 of those changes were fix/bug commits, and the other 8 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 21:25:33 \u002B08:00\u0027 --until=\u00272026-11-12 21:25:33 \u002B08:00\u0027 --full-history --no-merges -- yazi-watcher/src/refresher.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-watcher/src/refresher.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b1b6785983ca6f1d2694aadc7d648784515414ecb1213accdbd4063996d8109"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: yazi-fs/src/entries.rs: yazi-fs/src/entries.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in Entries::update_existing at line 174. 1 of those changes was a fix/bug commit, and the other 6 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 21:25:33 \u002B08:00\u0027 --until=\u00272026-11-12 21:25:33 \u002B08:00\u0027 --full-history --no-merges -- yazi-fs/src/entries.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-fs/src/entries.rs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"f985920ef24ceea5583df51b392a00b35fd8494a9b302eeb9ff5f84de8647006"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: yazi-binding/src/process/child.rs: yazi-binding/src/process/child.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in Child::add_methods at line 88. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 21:25:33 \u002B08:00\u0027 --until=\u00272026-11-12 21:25:33 \u002B08:00\u0027 --full-history --no-merges -- yazi-binding/src/process/child.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-binding/src/process/child.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"d66fdea8597e90789b8ddaef505ba989dce6462f9c168ac8f641cfb9229f2439"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: yazi-cli/src/main.rs: yazi-cli/src/main.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in yazi_cli::run at line 17. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 21:25:33 \u002B08:00\u0027 --until=\u00272026-11-12 21:25:33 \u002B08:00\u0027 --full-history --no-merges -- yazi-cli/src/main.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-cli/src/main.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"53e844c82847a6ea931a51d4a878fe5c3c9786a2e29a64ff14d170d9e5b45a70"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: yazi-scheduler/src/file/file.rs: yazi-scheduler/src/file/file.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in File::r#move at line 80. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 21:25:33 \u002B08:00\u0027 --until=\u00272026-11-12 21:25:33 \u002B08:00\u0027 --full-history --no-merges -- yazi-scheduler/src/file/file.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-scheduler/src/file/file.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c8066eef207c5afb65a660ad1a101c2094c003a4f3df29c4705bb4b3c910ded"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: yazi-scheduler/src/file/traverse.rs: yazi-scheduler/src/file/traverse.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in yazi_scheduler::file::traverse::traverse at line 131. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 21:25:33 \u002B08:00\u0027 --until=\u00272026-11-12 21:25:33 \u002B08:00\u0027 --full-history --no-merges -- yazi-scheduler/src/file/traverse.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-scheduler/src/file/traverse.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1f3295314b60ade292869af8f57eee9cfcc1891754a40730c2aa3fe43eac363"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: yazi-actor/src/mgr/copy.rs: yazi-actor/src/mgr/copy.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in Copy::act at line 18. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 21:25:33 \u002B08:00\u0027 --until=\u00272026-11-12 21:25:33 \u002B08:00\u0027 --full-history --no-merges -- yazi-actor/src/mgr/copy.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-actor/src/mgr/copy.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"6022381febbc88a207fa0dc3ce20831fe18a8ec417b0de0ada35022a79b26c70"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: yazi-fs/src/sorter.rs: yazi-fs/src/sorter.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in FilesSorter::sort at line 20. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 21:25:33 \u002B08:00\u0027 --until=\u00272026-11-12 21:25:33 \u002B08:00\u0027 --full-history --no-merges -- yazi-fs/src/sorter.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-fs/src/sorter.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"57c64f4524d8ab84242c1733477239b43fc5969add2596d46e688cd640976a92"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: yazi-fs/src/stat/mode.rs: yazi-fs/src/stat/mode.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in StatMode::permissions at line 93. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 21:25:33 \u002B08:00\u0027 --until=\u00272026-11-12 21:25:33 \u002B08:00\u0027 --full-history --no-merges -- yazi-fs/src/stat/mode.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-fs/src/stat/mode.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"8108e3c49089c241605eb3feca36ebbcbac765ff5443f6a98aa00f113ae0bc8f"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: yazi-adapter/src/adapter.rs: yazi-adapter/src/adapter.rs changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is Adapter::image_hide at line 48), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: make terminal probe timeout earlier to startup (#4432)\u201D; \u201Cfix: wait for terminal probe echo back before stopping instance (#4271)\u201D; \u201Cfix: avoid flicker caused by screen clear on final response from terminal (#4250)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 21:25:33 \u002B08:00\u0027 --until=\u00272026-11-12 21:25:33 \u002B08:00\u0027 --full-history --no-merges -- yazi-adapter/src/adapter.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-adapter/src/adapter.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff6f072e02688749fbde68ec2902dca071d80027b35396f13b78abc33a93b4aa"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 184 significant file(s) lose their only recent owner: yazi-parser/src/spark/spark.rs, yazi-shared/src/url/buf.rs, yazi-scheduler/src/file/file.rs, yazi-vfs/src/engine/lua/file.rs, yazi-shared/src/url/url.rs, yazi-plugin/src/fs/fs.rs, yazi-scheduler/src/worker.rs, yazi-scheduler/src/file/out.rs (\u002B176 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"567e248fb6c78d107c475a619914e19924c0dee85690dfe7c7caa31782ac2616"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: LINKED should return Url instead of Path \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":"yazi-watcher/src/reporter.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"3399bed69145595cab4447a70584a8e8c4bc9f511f3adfcd136402e180093894"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: revert this once a new notification is implemented \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":"yazi-watcher/src/local/local.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ae901813d5a62e212103b370db8709e9727d8101a64062afa50f5918affb771"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: remove \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":"yazi-shared/src/url/buf.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"480b207b02440c70b34e5fd85bb4a22f2b001ff1ecda4e75386cc5898c3bd140"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: remove \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":"yazi-shared/src/loc/buf.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"58715f65a4c355d3b6b89b6db88e82ed262687bd86d55653146f1cd7a7addbaf"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: remove \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":"yazi-shared/src/loc/loc.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a161d9fe6c95b9aa5949509b489332d221f7cdfbac2532dc6c9fbcf889536ba"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: remove \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":"yazi-config/src/theme/theme.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a2dc8829f6d0805b68cd5559ee519557e5ddddf145e1c9fb5b8c7d07db99ef0"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: find a better name \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":"yazi-shared/src/data/data.rs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"5800da5eb4da9881d6f38843598046c50918c33036b64fdd7e1eb2091e0e1113"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: use Vec\u003Cu8\u003E \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":"yazi-sftp/src/packet.rs"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a91b443fff7d54f48a701d5f10cff5b945a3c2cdec1b6baa036dae335008491"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: use PathBufDyn instead of UrlBuf in SizeIn \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":"yazi-scheduler/src/size/size.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"df150d77fbdbca824cdeccbf294701d47c0e629f9b0f7b98a4502d89784249ba"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(scope): make a new Data::Scope variant to avoid the conversion to Any2 and back \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":"yazi-plugin/src/utils/call.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df3e0b675cbdc777b03470d1ec20c1a679e3a66e1e6d592d77db520ce3bdde6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(scope): make a new Data::Scope variant to avoid the conversion to Any2 and back \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":"yazi-plugin/src/utils/call.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b317ad22340bfcfc0bdc7119b3a1e466cb52fb83a3b3c7ebdaf0ec4d3c0104d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-plugin/src/utils/layer.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1cdacc7005898ef0f7b0df36f989f9da6f556543333c4b16cc2d0ccaac82b8c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-binding/src/elements/table.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ac5e04cb2f691e5d2a98b74a2fc2dad66d6a960d9118e0263e284e8f2e4d69f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-actor/src/spot/copy.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cade9ef5162b21f7d1fc8bfb8ec5c424e2a982639c89992c76f445593f4a924"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-plugin/src/utils/preview.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"137d4f0d403531da4a9e31ea7412715d0b9a63944b91345aaf491ea5afa05963"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove \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":"yazi-plugin/src/fs/fs.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a93ca4717dcb933a0fdc9d4c802f1898d84735adc02919fc45f800772884584"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove \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":"yazi-plugin/src/fs/fs.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"66f8200641067addea7df0c517e15242d8dbdd0210228a01693d054bc4280c35"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove \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":"yazi-plugin/src/fs/fs.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"0111981744f326b8d69ab4b057f352470d5ae7a1c60422905bdc7299ad6ae734"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove \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":"yazi-plugin/src/fs/fs.rs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"64f414f0a04058046aea41a550a461a22dd91f40b79498307e566bc6f4589a33"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove \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":"yazi-plugin/src/fs/fs.rs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"bed2f557c468b1a27266a8f3109fd2902854f61997f5d9450dece462ac6b005f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove \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":"yazi-plugin/src/fs/fs.rs"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"afa5a39065a44abc6fba852d3ae1bc5073a1cdb8eb15dce2bd250acad6b0f058"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove \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":"yazi-dds/src/ember/yank.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccb6f037b8d6bf2bf96d8c7ae9a7cb9038b75883e3f4f4fcda7f0dc62b87b16b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove \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":"yazi-binding/src/macros.rs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b3e79a0415527f0cf3cc2a1564834eca90cf745d101bef193bd9cd90b2d4290"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove \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":"yazi-binding/src/elements/border.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c2322b69573285fa5f6ed5c0c853d1e5ffd84fa1a3bdc3450012433f6a6383e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove \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":"yazi-binding/src/elements/border_type.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"6129b208231ced5368203db3bf59110cb148d5dffae28c67b7cbdc3379487acc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove \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":"yazi-actor/src/lives/selected.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"2be01a55f23c4b32b397782b442fd88fe9897f769592c3cc05ed95bb477b956f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove \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":"yazi-actor/src/lives/yanked.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c861fcd07d07fc3ab026340b4dfa63695573974783634efc8705737fd0187f1"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: also rename or remove the .trashinfo file in the info folder \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":"yazi-fs/src/trash/freedesktop/trash.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"e628355db1a773e336d0c727c13365c989f096cfbe90ef063f94d5006eed24f2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: deprecate \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":"yazi-fs/src/stat/mode.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"4269f82b77b56895af087706a22a9a9bff91978f637ea5447ab3bf9788e35910"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: mount.external \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":"yazi-fs/src/mounts/linux.rs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"a60176f31014efda2ed459ed41931046f99de5cc93209c7478624ca9374d685a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: use \u0060file_name_os_str\u0060 when stabilized \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":"yazi-fs/src/engine/local/dir_entry.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"55a39b5cae5c51ddd625093e6714c2794756ebf46f9c1865dcd9a915bd084714"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: handle error \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-dds/src/pubsub.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"e43fbd463ffd3a6ee9c54f060043bc3a4353fc1998d5d48fe271834845dde3c5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove .clone() \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":"yazi-dds/src/ember/yank.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"59ba966c0361bed92cd928934cf88c472930abc0968ab1da4a2f879e0296acc1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: When ansi_term adds support for bright variants using codes \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":"yazi-core/src/highlighter.rs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"4658134611ed772e874fe5c379c7b2358ad2648d5b030acee34dac73fe3a32cb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove the \u0060mem::take\u0060 since that involves Arc atomics refcount changes \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":"yazi-core/src/which/sorter.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"41385d811b924fb389a40a929ed828386d2b4cc12a1af542869e82e8e60b07cc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: compat for old caches, remove in the future \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-cli/src/package/git.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"038d58512b31c1bdb8437f1629ba9459ec0f24ddba8cc876eb88c61ac34d8ebe"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: deprecate this method \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":"yazi-binding/src/process/child.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c90cce49b859428224879f635eb15ea16396af6e71ac6144c70dbc6fef325e1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: cache \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":"yazi-binding/src/position/lua.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"c72b8529099e767bb2631e5595cab6b94e08060ecb235a74410e5eef7a9aab7a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: block \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":"yazi-binding/src/elements/text.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ce35c2e945d9b820d28140e770383e042b31f57d3cc16aae3db37291fbef364"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Use \u0060create_transform_in_place_nbit\u0060 in the next minor version of moxcms. \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":"yazi-adapter/src/icc.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a9bcdddbb824e805628972fae01033db8e55043caee11e40dd520b3cfec03d1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: stdin \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":"yazi-actor/src/tasks/inspect.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"073014419fc3a2a1997d103a03f3372f8f717032b8b021053331beeb49bd453c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: support \u0060bulk_exit\u0060? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-actor/src/mgr/bulk_create.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"f33096e54db9a512fadf516dd83dda397f5b8a68ce1a578c51a5b6be0d292eaf"}},{"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 \u0060yazi-fm/Cargo.toml\u0060 makes this repository a deployable product (line 67)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-fm/Cargo.toml"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"23087cad8623130a0197340c2bd1a230ac6dea5c7fa381a0c0c120f513731bc8"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 3 of 32 project(s) overshoot their size bounds, lowering Project Cohesion to 8.4/10. The most over is \u0060yazi-fs\u0060 (7860 LoC, 80 module-visible types across 19 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4798999ce1407aa2bd241b9a080e72a4888f8a1711856b60c2e65e9ee69539ca"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b5c3565f138db92e0ea1ff11b0c787fc94b575ae98c8d4c10cb95614505f9cfe"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"098c3b5e62964dd3fb8333ba956507e8e89b4a337bf52b4cab772a09525b3891"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b52f482ef6d8e02c633b28b7119907227cff961af1bd71e43fca27e046886383"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f588b5064be19cb3e40295583eaf06f266a230502531a1fac503c403660deb57"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"66b6a2ea1afe254c86300041ffb79f107df96e7db0d8c688cab53907934c2195"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d124475fb6855fac41f0017699a419b3033f0880d731d6d400e519ef32944f43"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a218bdf32c58aa5051ccb7cc74765a074809144dbcc38b2da4fa862ac17a7c7f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"78d7408317be484cd47970b0b8ece5f49ad54e0fee3a43d78f0757e857c1f82a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0b09a325d08cd2f0113d3f44bb64cec2bb7cabd792805bc9fd38a0b6414f5c58"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"84a7544cc3c0d1a02ab280a224eb1b5b2e36e9cfe625d7571e11cc5adc677185"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"166de33d44fd3b2da39951956c8d0b623ee19bb69eecb85f18a69a3b2633e73b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"835b181eaaf8976f6d941b5ccd243332ea9b61bfa85172375856570146908849"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f5d7bd0c61f8ac9ea2c92a463adc31fa0996122b361d5e32bb6ecf31671560e8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"73e94f0ebc3b79a829837db171e6d7fe993c2b5c7752779b8763180ed34e871f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"631eed6e4d9aaeda94ed58849dc78dc802f076d1425da91c83352ad282704540"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0c0109565c09bfc15c8f53a82e203a783f300831f889feb8948fdb52d63e5734"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f4f47e2c95dded95a65894c9cb80c6cad22f5b3b95a9f219c225c0abdc77beac"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9bbaa2ee8603fdfdb0e413b337cd0827e323300e94ca72f983ed7c1343e1a77f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"19cfc3833e33acfb39cd870f7435dca3b025b490fb8b1ada75e8c004a1efe2e2"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fb0efcf618dd89e0af78b9b34ad114b055036c077a067f4b5a62cd4126776f22"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d40fe92bb22e3321f5cb66f94a9e1ad15b6287d3c3905c55ee612e870501d805"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0c6074e1260d5b371867211288855a7e7e54119fa5da7ad3c66221121805eea4"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d836e1255b0e9941a555ff7e6eb9a77490206d3e3b10db862314cfc39c109ca6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ff22c45ef672bbcbb304221796786b52b937b6e34ea8d17a33d57de2ecaba50d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fc142b29e63af09bad73b8f5666d0a963b879a5a3eeb6134a81bbf451447767d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a6463ea2d526a3cf9a344d7a59fc11196b4e7b2f285deb98a88d9bbf5e1b7a2f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4880f4ca5b012ab38296f5fa600e62210fb5742bb9f61604df632ac1fd2fe8f0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6b32bf2a38a815fcbe872ff0217166a0a7771537b44e4d67ea89ebbc86368555"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4b9fed149b907306a578919a2ece5688d36abef222046df51f4aaae81dc8db05"},"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":"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":"ccb35bd4158a826501c04dbf9238a2f46e21c7deae1b8a0c5c9deb6acb43c4ea"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"baef8fe4825cc4ef36ac1078ac0609917934d78d7af18d27e20ec54adb7aebf9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d9c1823d85b3acfeb685942748c84e06c132c5381ef1ca5f1312a8d51cd876e6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9342d142a2c5bcf10e92772f6e36ddd47af281626bb4961e60f82160be953274"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7d6b02bb7c4f4c5cf71f420041898ed657c11683268384983abcc34ed3c17f51"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7b6f01253d69d58c5678c211e47e943ed1532e47a2071c1bf566ac6e9ef7b845"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5a0f4eeb45acc889a38cf0dc76b24c1211f2071ad3524d0888d3e9abb2151a09"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0337f0f4de1cbdadac1ebfd3b98e540e542cd4375e626754c5b983fe60797565"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d7a54fbdf9f06422305e13b4e6e2360bd30a978e56d794afdebd74a481804f1f"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a463341869fa2bef9f30e4401a1767ff8511c514503fe9df0ea1a6a4442e8f02"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1292673190429690e13376d79ca019448e88b4e630762afeecd91788fb4eba5d"},"taxa":[{"id":"CWE-269","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"331ecc2380f16510151553ec2cca9aed06110a42170adee5e77533257aa692eb"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"676326c92f6c6aef6e0fa561db44b3503bff6f7e9417967729396f823be4ac20"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dfff5ffe2aaa4a67597abc8240e05203ee03a914259c06bc364b1d33c3cb387f"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0368062220b7d03a1fa9e9d2bccb854d86c67fc9ecc0cc9ff48703e4ad75233a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"52603cead5e30ac867792559540ff178eec1e4d51a5d97f2506d3cbd20f6bacc"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e97827063ec819299e668f983d1308aa3cbc4769a4932fe75e7e5a04332d9843"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"25b7354911fca1be81878bcc7d906d689dedf6c3652793a82f09009ba88a7619"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b96c245db5872bfcb13459b39f70b44b45d7c01d841ac80a5b8d5a33b25d7d2"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cf78fc749a8923d451b9bd9f9f3aeda600051684ec66728f14a89be11bfbfa63"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"55a9feee9774121f2f799f78815f48406c361b20f27615a6b6c4aa576c312700"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1f2576e7b1c65ba7e27679de01059dd925ba026499481054ac7826000d1b6960"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"929889218fe2adba5577454da6e2fffb54a21f38de62c057ea511bf22abbc080"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d2da7cc0c71c8c0174f0e839813de2c1c2393141542285e30390afb2d93f0a5a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c8c5e654aeb9b713ffd6db4e7f716b438ade657fc6624436eef39ee799e2fd3e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"20c24066a545eec67897d1900df52fce43e947361973421dca47074f8e0a2be9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"aca22bca969cfcf1eb60265801a7e770ba1b61b25817ae7be6b92e6a82f674c7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4975822701b3b96654c82dada9bad969e348a6adefa52cd3bba1b6cfd71c3bb7"},"properties":{"dependency":{"package":"bincode","version":"1.3.3","advisory":"RUSTSEC-2025-0141","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5922a5beeab5ac077ffb485a783ad545036e79b56239f83da38f3fb84336b113"},"properties":{"dependency":{"package":"paste","version":"1.0.15","advisory":"RUSTSEC-2024-0436","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ac07f6d7edfd49261e66a0ecf670dc83aeb27f637d0eaec58b89ac41744f7835"},"properties":{"dependency":{"package":"rsa","version":"0.10.0-rc.18","advisory":"RUSTSEC-2023-0071","aliases":["[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 3 of 267 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 267 of the 1389 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: yazi-shared/src/translit/table.rs, yazi-tty/src/sequence/clipboard.rs, yazi-adapter/src/icc.rs. Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-shared/src/translit/table.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"88ee873c9921063ffaa1c89fba342a8d0ec2165023b37f05dad90b4f1da23fae"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-tty/src/sequence/clipboard.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"78d610146d46d37b0a3e1c4e3dfc3dfd5bbe46928bdc38f1dfc21c111d6744c4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-adapter/src/icc.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2606f2d020646a1d8d6e976884ebada36c13e73bbfa0bf0e925858b833604f15"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: mod.rs \u2194 executor.rs: \u0060yazi-actor/src/mgr/mod.rs\u0060 (context yazi-actor) and \u0060yazi-fm/src/executor.rs\u0060 (context yazi-fm) sit in DIFFERENT parts of the tree yet change together 92% of the time (12 of the 13 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) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 12 shared commits counted here, the most recent 3 are \u0060519939b5\u0060 feat: new \u0060visual_arrow\u0060 action to reanchor visual selections (#4281); \u0060fde56338\u0060 feat: bulk create (#3793); \u0060c703332b\u0060 feat: new \u0060bulk_exit\u0060 action that customizes the prompt for bulk oper\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-actor/src/mgr/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3dbad47fa1bbff6b38801dfe1265551245aee535b272c579f1aa7709fcde309"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: boot.rs \u2194 xdg.rs: \u0060yazi-boot/src/boot.rs\u0060 (context yazi-boot) and \u0060yazi-fs/src/xdg.rs\u0060 (context yazi-fs) sit in DIFFERENT parts of the tree yet change together 82% of the time (9 of the 11 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) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 9 shared commits counted here, the most recent 3 are \u006062dd22b8\u0060 fix: put package cache in cache dir instead of state dir (#3930); \u0060a109aa92\u0060 refactor: refine URN for archives (#3043); \u00604d8e276a\u0060 feat: flavor (#753) (at that commit the file was still \u0060yazi-shared/src/xdg.rs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-boot/src/boot.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2a4421169e16b7f8d0021ce0cef631ebb8ce65760995eacad942a8643cb5faa"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: mux.rs \u2194 term.rs: \u0060yazi-emulator/src/mux.rs\u0060 (context yazi-emulator) and \u0060yazi-term/src/term.rs\u0060 (context yazi-term) sit in DIFFERENT parts of the tree yet change together 69% of the time (9 of the 13 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) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 9 shared commits counted here, the most recent 3 are \u0060a076ff8c\u0060 refactor: satisfy \u0060mismatched-lifetime-syntaxes\u0060 lint (#2881) (at that commit the files were still \u0060yazi-adapter/src/mux.rs\u0060 and \u0060yazi-fm/src/term.rs\u0060); \u00608ed569b7\u0060 refactor: move \u0060tty\u0060 to the new \u0060yazi-term\u0060 crate (#2701) (at that commit the files were still \u0060yazi-adapter/src/mux.rs\u0060 and \u0060yazi-fm/src/term.rs\u0060); \u0060119cc9c2\u0060 feat: support using Yazi in Helix directly without Zellij or tmux (#2\u2026 (at that commit the files were still \u0060yazi-adapter/src/mux.rs\u0060 and \u0060yazi-fm/src/term.rs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-emulator/src/mux.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e70ab2cad26c2e91b0678414c43fd4dcffa0db6a9c3d83ba9732a48a8c209b94"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: lib.rs \u2194 mux.rs: \u0060yazi-adapter/src/lib.rs\u0060 (context yazi-adapter) and \u0060yazi-emulator/src/mux.rs\u0060 (context yazi-emulator) sit in DIFFERENT parts of the tree yet change together 62% of the time (8 of the 13 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) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u0060a076ff8c\u0060 refactor: satisfy \u0060mismatched-lifetime-syntaxes\u0060 lint (#2881) (at that commit the file was still \u0060yazi-adapter/src/mux.rs\u0060); \u0060119cc9c2\u0060 feat: support using Yazi in Helix directly without Zellij or tmux (#2\u2026 (at that commit the file was still \u0060yazi-adapter/src/mux.rs\u0060); \u0060f25ef0f0\u0060 feat: terminal response detection under async stdin (#2347) (at that commit the file was still \u0060yazi-adapter/src/mux.rs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-adapter/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a28ff8953735dc0c8bd90e10263f2f5e1cb6c73fdf7778b26890f061ee4bfb52"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: open.rs \u2194 prework.rs: \u0060yazi-actor/src/mgr/open.rs\u0060 (context yazi-actor) and \u0060yazi-core/src/tasks/prework.rs\u0060 (context yazi-core) sit in DIFFERENT parts of the tree yet change together 50% of the time (5 of the 10 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) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u0060e795d6cf\u0060 feat: offload mimetype fetching on opening files to the task schedule\u2026 (at that commit the file was still \u0060yazi-core/src/tasks/preload.rs\u0060); \u00604194befb\u0060 feat: true custom \u0060mime\u0060 fetcher support - using user rules even duri\u2026 (at that commit the files were still \u0060yazi-core/src/manager/commands/open.rs\u0060 and \u0060yazi-core/src/tasks/preload.rs\u0060); \u006061c0db86\u0060 fix: set a dedicated \u0060Mimetype\u0060 agency to reconcile regular files and\u2026 (at that commit the files were still \u0060yazi-core/src/manager/commands/open.rs\u0060 and \u0060yazi-core/src/tasks/preload.rs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-actor/src/mgr/open.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ab496c3854ddcc6c530f67936221b97754dbaef41b6205b4d032fbbe6d16bd6"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: payload.rs \u2194 pubsub.rs: \u0060yazi-dds/src/payload.rs\u0060 and \u0060yazi-dds/src/pubsub.rs\u0060 change together 83% of the time (10 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 between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise 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 \u0060805579e9\u0060 feat: new \u0060create\u0060 and \u0060bulk-create\u0060 DDS events for file creations (#\u2026; \u006099ed93d3\u0060 feat: new \u0060theme\u0060 DDS event for plugins to watch theme reloads (#4203); \u0060fde56338\u0060 feat: bulk create (#3793) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-dds/src/payload.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c414d7c5f4459119e1460b5595e4ebf51042aaeb9fafbace5839aebda3c59771"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: kgp.rs \u2192 iip.rs, kgp_old.rs, sixel.rs: \u0060yazi-adapter/src/drivers/kgp.rs\u0060 changes together with 3 other files \u2014 \u0060yazi-adapter/src/drivers/iip.rs\u0060, \u0060yazi-adapter/src/drivers/kgp_old.rs\u0060, \u0060yazi-adapter/src/drivers/sixel.rs\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-adapter/src/drivers/kgp.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d0b2b26fae4a9ac22911e24917f03c2e77edb5325a024c60e0bba63899164b4"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: slim.rs \u2194 standard.rs: \u0060yazi-plugin/src/slim.rs\u0060 and \u0060yazi-plugin/src/standard.rs\u0060 change together 75% of the time (9 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 between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 9 shared commits counted here, the most recent 3 are \u006016d20e21\u0060 feat: new \u0060Path.os()\u0060 API creates an OS-native \u0060Path\u0060 (#3541) (at that commit the files were still \u0060yazi-plugin/src/isolate/isolate.rs\u0060 and \u0060yazi-plugin/src/lua.rs\u0060); \u0060e7cd6637\u0060 fix: avoid UI-dependent async APIs from being called during app initi\u2026 (at that commit the files were still \u0060yazi-plugin/src/isolate/isolate.rs\u0060 and \u0060yazi-plugin/src/lua.rs\u0060); \u0060ac7718c2\u0060 feat: new experimental \u0060ya.async()\u0060 API (#3422) (at that commit the files were still \u0060yazi-plugin/src/isolate/isolate.rs\u0060 and \u0060yazi-plugin/src/lua.rs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-plugin/src/slim.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"acc8de74d11e4abedd1bc00d89d46eea6fbc440203b54598ea03c4b9df2439d8"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: iip.rs \u2194 sixel.rs: \u0060yazi-adapter/src/drivers/iip.rs\u0060 and \u0060yazi-adapter/src/drivers/sixel.rs\u0060 change together 62% of the time (8 of the 13 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 between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u0060f6113d38\u0060 feat: advanced app overall style (#4023); \u006066d12da0\u0060 perf: add \u0060BufWriter\u0060 to \u0060Stderr\u0060 to avoid frequent system calls and \u2026 (at that commit the files were still \u0060yazi-adaptor/src/iterm2.rs\u0060 and \u0060yazi-adaptor/src/sixel.rs\u0060); \u006080aebda2\u0060 feat: fix all dependencies to specific version numbers to allow non-\u0060\u2026 (at that commit the files were still \u0060yazi-adaptor/src/iterm2.rs\u0060 and \u0060yazi-adaptor/src/sixel.rs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-adapter/src/drivers/iip.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"19cc09fdd852bd3cb1ab35be7c2af87337554d979c7b75a3cf0dc0e22f5f81bf"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: create.rs \u2194 rename.rs: \u0060yazi-actor/src/mgr/create.rs\u0060 and \u0060yazi-actor/src/mgr/rename.rs\u0060 change together 50% of the time (9 of the 18 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 between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 9 shared commits counted here, the most recent 3 are \u0060a3e9ea0d\u0060 refactor: generalize \u0060Loc\u0060, \u0060LocBuf\u0060, \u0060Uri\u0060, and \u0060Urn\u0060 (#3295); \u0060c2a94daa\u0060 feat: casefold (#3114); \u00600054cf0b\u0060 perf: lock-free hashing for string interns (#3091) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-actor/src/mgr/create.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2051589f26efd79882387b9264037701b41985e906a71aec1e4af708630a6249"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: show.rs \u2194 trigger.rs: \u0060yazi-actor/src/cmp/show.rs\u0060 and \u0060yazi-actor/src/cmp/trigger.rs\u0060 change together 50% of the time (5 of the 10 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 between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u0060366fca6b\u0060 perf: raise the max allowed concurrent connections per SFTP service (\u2026; \u0060da97e5a8\u0060 feat: URL covariance for the mimetype agency (#3030); \u0060ffc635e4\u0060 feat: improve path auto-completion results (#2765) (at that commit the files were still \u0060yazi-core/src/cmp/commands/show.rs\u0060 and \u0060yazi-core/src/cmp/commands/trigger.rs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-actor/src/cmp/show.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a57b4d3332b53dbe75f198d22425721565d593125b1fab95b33d70a3a9892cd"}},{"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":"759dca709f1a032fb6f624ce672e6afb5558fce53ecf01fb73618c4d33923164"},"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":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cc682cd7167c2c692b624e54d299d32b2ea2b5b3eb72f5516f0dfab9c0ce991d"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AX4","level":"error","message":{"text":"Dependency-rule violation: yazi-core (Domain) \u2192 yazi-adapter (Infrastructure): \u0060yazi-core\u0060 is a Domain project but references \u0060yazi-adapter\u0060, a Infrastructure project. The clean-architecture rule is that dependencies point INWARD \u2014 the domain/application core must not depend on outer layers (infrastructure/web). Invert it: define the abstraction in the inner layer and implement it in the outer one."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"85bafd75f6b99a6fc8a1e190311b01ac69a536907a6106e1153d47c67caee2b9"}},{"ruleId":"AX4","level":"error","message":{"text":"Dependency-rule violation: yazi-core (Domain) \u2192 yazi-tui (Web): \u0060yazi-core\u0060 is a Domain project but references \u0060yazi-tui\u0060, a Web project. The clean-architecture rule is that dependencies point INWARD \u2014 the domain/application core must not depend on outer layers (infrastructure/web). Invert it: define the abstraction in the inner layer and implement it in the outer one."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1e111f1042261b61341741518b082bc39fa3bf74f77c15cf246e7e6ee77e740b"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking wait inside a handler: Copy.act: \u0060Copy.act\u0060 is an event/message handler that blocks the executor on a synchronous wait (\u0060block_on\u0060/\u0060blocking_recv\u0060/\u0060thread::sleep\u0060/a blocking \u0060recv()\u0060) \u2014 it stalls the handler and serialises throughput, and on an async runtime can starve the reactor. Either move the awaited work off the handler (\u0060tokio::spawn\u0060/\u0060Handle::current().spawn\u0060, if the result isn\u0027t needed inline) or make the handler itself \u0060async\u0060 so it can \u0060.await\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-actor/src/mgr/copy.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"47fdcbcfc522d9e8aad8a105a3bf36a83d13b8712ffc33ebef6e494be3c099ad"}},{"ruleId":"ED1","level":"error","message":{"text":"Blocking wait inside a handler: Copy.act: \u0060Copy.act\u0060 is an event/message handler that blocks the executor on a synchronous wait (\u0060block_on\u0060/\u0060blocking_recv\u0060/\u0060thread::sleep\u0060/a blocking \u0060recv()\u0060) \u2014 it stalls the handler and serialises throughput, and on an async runtime can starve the reactor. Either move the awaited work off the handler (\u0060tokio::spawn\u0060/\u0060Handle::current().spawn\u0060, if the result isn\u0027t needed inline) or make the handler itself \u0060async\u0060 so it can \u0060.await\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-actor/src/spot/copy.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"d271dd2d95aca750717254223132e0cbd54e6d603b529ce115a8d5f0846a621f"}},{"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":"P2","level":"note","message":{"text":"Logging is not universal: Only 19/21 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060yazi-build\u0060, \u0060yazi-cli\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P3","level":"note","message":{"text":"Dependabot does not watch cargo: \u0060.github/dependabot.yml\u0060 schedules updates, but no \u0060package-ecosystem\u0060 entry covers \u0060cargo\u0060, which this tree depends on \u2014 so those dependencies get no update pull requests and no advisory pressure, however complete the dep-scan credit looks. Add the missing entry to the \u0060updates:\u0060 list."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/dependabot.yml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dc96cbee094111cd5477d1cd61206d730376403fd2c6f84d75edafea2180945"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!latest.hits(current) || latest.extra.link_to() != current.extra.link_to() || latest.extra.backing() != current.extra.backing()\u0060 appears character-identically in 2 files \u2014 yazi-fs/src/trash/freedesktop/trash.rs, yazi-fs/src/trash/macos/trash.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-fs/src/trash/freedesktop/trash.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"f69ad37452cb4ac40e65d2026b33324a44b7b9ad4551fa053d1825bc9bb7db2c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!rel.is_relative() || rel.has_parent_component()\u0060 appears character-identically in 2 files \u2014 yazi-fs/src/trash/macos/ds_store.rs, yazi-fs/src/trash/trash_id.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-fs/src/trash/macos/ds_store.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7f122b7b8a9a13b0b9d6b5e2aff6735ceac541d2f0e7b6940a96b77f0dfc30c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.cleaned.is_failed() || self.state == Some(false)\u0060 appears character-identically in 3 files \u2014 yazi-scheduler/src/fetch/progress.rs, yazi-scheduler/src/file/progress.rs, yazi-scheduler/src/preload/progress.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-scheduler/src/fetch/progress.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ba6ea913e325568d82db6634ac1b600aff3794f7cf455376f97ddeff1c96ba0"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060volume_paths\u0060 turns every \u0060Err\u0060 into \u0060vec![]\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yazi-fs/src/mounts/windows.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cda0fc02b68a0f98647a08c360cf39772ecff599280584b74f6a562e14c2660"}}],"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-269","guid":"70e1f5f6-81e5-4e5a-ba40-b541c3a346e2","name":"Improper Privilege Management","shortDescription":{"text":"Improper Privilege Management"},"helpUri":"https://cwe.mitre.org/data/definitions/269.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-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":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"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":66,"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."]}]}