{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"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":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D22","name":"Internal API Consistency","shortDescription":{"text":"Internal API Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D22"},{"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"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"]}},{"id":"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"]}],"properties":{"cwe":["CWE-1395","CWE-937"]}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"]}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"]}},{"id":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"]}},{"id":"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"]}],"properties":{"cwe":["CWE-506"]}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AC1","name":"Text alternatives","shortDescription":{"text":"Text alternatives"},"helpUri":"https://codehealth.canine.dev/dimensions/AC1"},{"id":"AC2","name":"Forms \u0026 labels","shortDescription":{"text":"Forms \u0026 labels"},"helpUri":"https://codehealth.canine.dev/dimensions/AC2"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AC4","name":"Keyboard semantics","shortDescription":{"text":"Keyboard semantics"},"helpUri":"https://codehealth.canine.dev/dimensions/AC4"},{"id":"AC5","name":"ARIA correctness","shortDescription":{"text":"ARIA correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/AC5"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"id":"AC7","name":"A11y enforcement","shortDescription":{"text":"A11y enforcement"},"helpUri":"https://codehealth.canine.dev/dimensions/AC7"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX2","name":"Stateful singletons","shortDescription":{"text":"Stateful singletons"},"helpUri":"https://codehealth.canine.dev/dimensions/AX2"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"ES1","name":"Fold determinism","shortDescription":{"text":"Fold determinism"},"helpUri":"https://codehealth.canine.dev/dimensions/ES1"},{"id":"ES2","name":"Immutable events","shortDescription":{"text":"Immutable events"},"helpUri":"https://codehealth.canine.dev/dimensions/ES2"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R4","name":"Test Coverage","shortDescription":{"text":"Test Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/R4"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"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":"App.App (cyclomatic 54): App.App has cyclomatic complexity 54 (threshold 15). Most of this is not in the body itself: 9 of the 54 points are its own statements and the rest belongs to 27 function literals inside it that branch (lines 254, 129, 184, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/App.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4fbaccab64c143a845f5daf3503d6ba266ba093302b38b4d1dd347b91323ea2"}},{"ruleId":"D1","level":"warning","message":{"text":"LayerConfig::verify (cyclomatic 53): LayerConfig::verify has cyclomatic complexity 53 (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":"mirrord/config/src/lib.rs"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"20ca3d3d793d48c5ddcd9928725da60da2dbd097f50773d4f097502f7fa52a5e"}},{"ruleId":"D1","level":"warning","message":{"text":"OperatorApi::prepare_branch_dbs (cyclomatic 49): OperatorApi::prepare_branch_dbs has cyclomatic complexity 49 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/operator/src/client.rs"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"926259d21aa7a8a88426fcaa9f62c6f1e959115d8cfc8582b8edbde297a55e10"}},{"ruleId":"D1","level":"warning","message":{"text":"TargetTab.TargetTab (cyclomatic 47): TargetTab.TargetTab has cyclomatic complexity 47 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 21 belong to 14 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/wizard/src/components/steps/TargetTab.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a5ed6355752a98e435d2a19da9f1870555f4ea9a3f1d9f484a135c7addbe077"}},{"ruleId":"D1","level":"warning","message":{"text":"Wizard.Wizard (cyclomatic 38): Wizard.Wizard has cyclomatic complexity 38 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 21 belong to 7 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/wizard/src/components/Wizard.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"7da72e848e877b362b00299374eb28fd2847dcba63c3c4bfa3565cc4da348ec2"}},{"ruleId":"D1","level":"warning","message":{"text":"PreviewEnvsScreen::handle_event (cyclomatic 37): PreviewEnvsScreen::handle_event has cyclomatic complexity 37 (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":"mirrord/tui/src/screens/preview_envs.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdc070bfac7680c0955a5739111c9be3734fcdbba636c7a88021f499c3a4d88a"}},{"ruleId":"D1","level":"warning","message":{"text":"OutgoingProxy::run (cyclomatic 36): OutgoingProxy::run has cyclomatic complexity 36 (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":"mirrord/intproxy/src/proxies/outgoing.rs"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd4f0b4b280aa1b4957e925fee0fc4520ee2e3739a884f6aea7e04bfd662c8c8"}},{"ruleId":"D1","level":"warning","message":{"text":"EventStream.EventStream (cyclomatic 34): EventStream.EventStream has cyclomatic complexity 34 (threshold 15). Most of this is not in the body itself: 15 of the 34 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 177, 256, 139, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/EventStream.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3a0cf48037b12133885a672a6e883dfdfe6d4d47e0ba4652be2b612843c8466"}},{"ruleId":"D1","level":"warning","message":{"text":"mirrord::preview::preview_start (cyclomatic 33): mirrord::preview::preview_start has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/cli/src/preview.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f6778dcb46753d9db06267b3693c9ef38aa8a2714f16944cd624fa09d0bbcd5"}},{"ruleId":"D1","level":"warning","message":{"text":"DatabaseBranchConfig::copy_mode (cyclomatic 33): DatabaseBranchConfig::copy_mode has cyclomatic complexity 33 (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":"mirrord/config/src/feature/database_branches.rs"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"21f1cf2e200910e976c101987b866bb00b29a0662618d2f3b8fc0c6e58ee9397"}},{"ruleId":"D1","level":"warning","message":{"text":"SettingsForm::handle_key (cyclomatic 33): SettingsForm::handle_key has cyclomatic complexity 33 (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":"mirrord/tui/src/screens/targets/form.rs"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e504049a1f5aba2286948a8f5581e53bd612e50c9cb82d626a653f394f2a13f"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonUtils.readCurrentFilters (cyclomatic 33): JsonUtils.readCurrentFilters has cyclomatic complexity 33 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 10 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/wizard/src/components/JsonUtils.tsx"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"039710a4fa97e5e8e56f6a616a074b4f29e9ce90e147a02782b18b8ab601d0cb"}},{"ruleId":"D1","level":"warning","message":{"text":"Input::handle_key (cyclomatic 32): Input::handle_key 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":"mirrord/tui/src/screens/targets/form.rs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb03ec0918c72c3992c038d52f162e11eaec0f2da07edd731e455cf926a57db7"}},{"ruleId":"D1","level":"warning","message":{"text":"TrafficTunnels::handle_event (cyclomatic 31): TrafficTunnels::handle_event 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":"mirrord/protocol-api/src/client/tunnels.rs"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd20ac5f2218a89b7a8e85a5bd3efa5f3284517b9c770a29db9c71e11ecad67d"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionSidebar.SessionSidebar (cyclomatic 31): SessionSidebar.SessionSidebar has cyclomatic complexity 31 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 8 belong to 5 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/SessionSidebar.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bba3b23736ab55d0ab4efeae8ca020be04fde8bfc9ac43e6352dd33e6ff224f"}},{"ruleId":"D1","level":"warning","message":{"text":"ConfigFlags::new (cyclomatic 28): ConfigFlags::new has cyclomatic complexity 28 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/config/derive/src/config/flag.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"69f13119866f46debdf526ba1dc7f9020f51309807795b2a364116e2858f699c"}},{"ruleId":"D1","level":"warning","message":{"text":"FilesProxy::file_request (cyclomatic 28): FilesProxy::file_request has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: FileRequest::agent_lost_response (cyclomatic 29) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/intproxy/src/proxies/files.rs"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"1802c3245f8930f0d217ea064d8e53e700ba7bb17e5c644d649afd30c238c4b0"}},{"ruleId":"D1","level":"warning","message":{"text":"TargetsScreen::handle_event (cyclomatic 28): TargetsScreen::handle_event has cyclomatic complexity 28 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/tui/src/screens/targets.rs"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"3810174f7adaadd152350d886e58c6376e094d0f0ef2b1ca4d54cb3f3ba6120a"}},{"ruleId":"D1","level":"warning","message":{"text":"TcpStealerApi::handle_client_message (cyclomatic 27): TcpStealerApi::handle_client_message 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":"mirrord/agent/src/steal/api.rs"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aafa0c4befdfe7882f6e59c63daba2dc416e96a0008c6832848075a0fcd2a4d"}},{"ruleId":"D1","level":"warning","message":{"text":"PortForwarder::handle_msg_from_agent (cyclomatic 27): PortForwarder::handle_msg_from_agent has cyclomatic complexity 27 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/cli/src/port_forward.rs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab601a82a1297045861c5ea956432bf63418f2a0601878b782eef5a4032178c8"}},{"ruleId":"D1","level":"warning","message":{"text":"App::handle_event (cyclomatic 27): App::handle_event has cyclomatic complexity 27 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/tui/src/app.rs"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"8abae7af610985becb19eb9723d60657e39f4e1bbe484b3b33b2a27a03daae2f"}},{"ruleId":"D1","level":"warning","message":{"text":"PreviewDiagnostics.PreviewDiagnostics (cyclomatic 27): PreviewDiagnostics.PreviewDiagnostics has cyclomatic complexity 27 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 8 belong to 5 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/PreviewDiagnostics.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f6d9441dd7c8483aab31df7a17a29985a873832f6ca6c84a1c1188d20cbe540"}},{"ruleId":"D1","level":"warning","message":{"text":"useChaosRules.useChaosRules (cyclomatic 26): useChaosRules.useChaosRules has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 1 of the 26 points is its own statement and the rest belongs to 10 function literals inside it that branch (lines 144, 120, 222, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/hooks/useChaosRules.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7cdd8251c5e0bc420e3f4ab4195a51923eacbe78eab100898b20e15a5b85adc"}},{"ruleId":"D1","level":"warning","message":{"text":"mirrord::internal_proxy::db_portforwards::extract_portforward_configs (cyclomatic 25): mirrord::internal_proxy::db_portforwards::extract_portforward_configs has cyclomatic complexity 25 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/cli/src/internal_proxy/db_portforwards.rs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"1039d4dd1ad739f8035f197a0e2717dd8f012c060b4f2f4973413a430a7ec4f1"}},{"ruleId":"D1","level":"warning","message":{"text":"mirrord::preview::preview_status (cyclomatic 24): mirrord::preview::preview_status has cyclomatic complexity 24 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/cli/src/preview.rs"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"bba0aa2b212f5b6c1594a7f1f3a520f535620dc904b1bc83e7b6d77bc1e28fa6"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionDetail.SessionDetail (cyclomatic 24): SessionDetail.SessionDetail has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 3 of the 24 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 103, 49, 98, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/SessionDetail.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"cabceb06adf43b55d7309c49de4ae19b14f9905480fb2bbd116d9492c11d1a22"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonUtils.updateConfigFilter (cyclomatic 24): JsonUtils.updateConfigFilter has cyclomatic complexity 24 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/wizard/src/components/JsonUtils.tsx"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"5863fdddfa3e57fa5a592e5f23ff1305cb33e83be258dd78a48b0f789afe439a"}},{"ruleId":"D1","level":"warning","message":{"text":"ClientConnectionHandler::start (cyclomatic 23): ClientConnectionHandler::start 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":"mirrord/agent/src/entrypoint.rs"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8c2164da89679810badc72e8fb9c691d32974209244b963c57e882c595165e6"}},{"ruleId":"D1","level":"warning","message":{"text":"TargetConfig::collect_analytics (cyclomatic 23): TargetConfig::collect_analytics has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/config/src/target.rs"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"a037e185916106dec6fbcc9dc71bd27854bce74dd419416d9962b7f0e9959675"}},{"ruleId":"D1","level":"warning","message":{"text":"mirrord_layer_lib::socket::ops::connect_common (cyclomatic 23): mirrord_layer_lib::socket::ops::connect_common has cyclomatic complexity 23 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/layer-lib/src/socket/ops.rs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"9caf2d3f369aafe97be292f89ae5994083186d2c06cca6e7703fce147185dee4"}},{"ruleId":"D1","level":"warning","message":{"text":"mirrord_layer_win::hooks::files::ops::query_info::info (cyclomatic 23): mirrord_layer_win::hooks::files::ops::query_info::info has cyclomatic complexity 23 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/layer-win/src/hooks/files/ops/query_info.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"47ff3723da553ecfcd87a25e0f0c7d15c46685a9126cf9b8bb39eacce31426d7"}},{"ruleId":"D1","level":"warning","message":{"text":"UnifiedDatabaseBranchParams::new (cyclomatic 23): UnifiedDatabaseBranchParams::new 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":"mirrord/operator/src/client/database_branches.rs"},"region":{"startLine":1394}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c0e2cd805049c0ed1ada8f7b1c4ad8ea76c0c4f5d2141a7431a9f2f508e3743"}},{"ruleId":"D1","level":"warning","message":{"text":"ClientConnectionHandler::handle_client_message (cyclomatic 22): ClientConnectionHandler::handle_client_message has cyclomatic complexity 22 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/agent/src/entrypoint.rs"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4a785c7f5f5f3351fe7c49a3ded63e037306b0d5a985e89684b0554393499c5"}},{"ruleId":"D1","level":"warning","message":{"text":"mirrord::external_proxy::proxy (cyclomatic 21): mirrord::external_proxy::proxy 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":"mirrord/cli/src/external_proxy.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0e97f8c69aeb3477163e7a6c48ea0ec82f3035c483c260c5074ca8c222df62c"}},{"ruleId":"D1","level":"warning","message":{"text":"LayerConfig::verify_for_preview_env (cyclomatic 21): LayerConfig::verify_for_preview_env has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/config/src/lib.rs"},"region":{"startLine":1228}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a800633facef13bce8fd8ee9c9ace3cd07c58665d87473b4fa433d61ce95645"}},{"ruleId":"D1","level":"warning","message":{"text":"SettingsForm::draw (cyclomatic 21): SettingsForm::draw has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/tui/src/screens/targets/form.rs"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc6fd6bf5d463f45b620e25e11fb9341a86eabfdfb18b1851e1a1d3b857e31f5"}},{"ruleId":"D1","level":"warning","message":{"text":"mirrord_tui::screens::queues::details_lines (cyclomatic 21): mirrord_tui::screens::queues::details_lines has cyclomatic complexity 21 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions. This is NOT this file\u0027s highest cyclomatic complexity: QueuesScreen::handle_event (cyclomatic 26) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/tui/src/screens/queues.rs"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab0b746c1b0a9a4df09901b5e8eab8d77817456ca4a04e5b8925feeb48500998"}},{"ruleId":"D1","level":"warning","message":{"text":"StatusCommandHandler::handle (cyclomatic 20): StatusCommandHandler::handle has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/cli/src/operator/status.rs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"10de537280d82fe35d7762ca25c1b005d6087ebe840185db395e6b9fc6f0956d"}},{"ruleId":"D1","level":"warning","message":{"text":"mirrord::ui::chaos_command (cyclomatic 20): mirrord::ui::chaos_command has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/cli/src/ui.rs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"979a537b88a60e166ac44ad4124e6d024591b4076fca9df0f48376577b7fdade"}},{"ruleId":"D1","level":"warning","message":{"text":"GenericBranchConfig::verify (cyclomatic 20): GenericBranchConfig::verify has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/config/src/feature/database_branches/generic.rs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8a3a471b310ad6065f692d04c37c4cbcfa97c29af53fc63b84c29b3a305b6ff"}},{"ruleId":"D1","level":"warning","message":{"text":"IntProxy::handle_agent_message (cyclomatic 20): IntProxy::handle_agent_message has cyclomatic complexity 20 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/intproxy/src/lib.rs"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a34265c5eeb970646d5dacc84ab1441ce101a57f9c4139b40cf387b92e67211"}},{"ruleId":"D1","level":"warning","message":{"text":"mirrord_layer::socket::ops::bind (cyclomatic 20): mirrord_layer::socket::ops::bind has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/layer/src/socket/ops.rs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"e576a3fd4f1b79635616aa398c2e1e630ff09c770aa8ae7de471560a4df29394"}},{"ruleId":"D1","level":"warning","message":{"text":"DebuggerType::get_ports (cyclomatic 20): DebuggerType::get_ports has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/layer-lib/src/debugger_ports.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"26e64537fc5330ed6a7f0bd610436535a7032b998c441b46581aa81a9b0be15d"}},{"ruleId":"D1","level":"warning","message":{"text":"Interceptor::run (cyclomatic 19): Interceptor::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":"mirrord/intproxy/src/proxies/outgoing/interceptor.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc177cbab786999d0350303668bfef6c8c1ca637e0bb6490c6308bdadc701a21"}},{"ruleId":"D1","level":"warning","message":{"text":"mirrord_kube::api::container::job::create_job_agent (cyclomatic 19): mirrord_kube::api::container::job::create_job_agent has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/kube/src/api/container/job.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aa2f98cc681ec3ec66a6d75dffbcb1b8678345404b3d3f56725ae2c60b38a8b"}},{"ruleId":"D1","level":"warning","message":{"text":"mirrord_layer_win::hooks::socket::bind_detour_impl (cyclomatic 19): mirrord_layer_win::hooks::socket::bind_detour_impl has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/layer-win/src/hooks/socket/mod.rs"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dd3df8296c267d06031957544a6bafb01ef2a4ea8a7d5f48ff2583ba09492f0"}},{"ruleId":"D1","level":"warning","message":{"text":"ClientTask::handle_server_message (cyclomatic 19): ClientTask::handle_server_message 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":"mirrord/protocol-api/src/client/task.rs"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"957437a880c7c1e68852a8da480a7a3c621044c429468c0333cc7faa7653173c"}},{"ruleId":"D1","level":"warning","message":{"text":"Browser::handle_key (cyclomatic 19): Browser::handle_key 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":"mirrord/tui/src/screens/targets/browser.rs"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a14246c0b62652ccffcb489f681d4c0ef396dba84e019702ba7fe043ba2aaf9"}},{"ruleId":"D1","level":"warning","message":{"text":"TargetsScreen::draw (cyclomatic 19): TargetsScreen::draw has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/tui/src/screens/targets.rs"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3a1a912ca2ad60a3ce8255ab7dc6d2a319a952330937a826c877869b3b125ba"}},{"ruleId":"D1","level":"warning","message":{"text":"mirrord_up::process::supervise_with_second_signal (cyclomatic 19): mirrord_up::process::supervise_with_second_signal 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":"mirrord/up/src/process.rs"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3bbee687a9e284904c2acfcb1cdd8583496cfba41ce14cd21eeb5fa44d04799"}},{"ruleId":"D1","level":"warning","message":{"text":"HttpFilter::matches (cyclomatic 18): HttpFilter::matches has cyclomatic complexity 18 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/agent/src/http/filter.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eac821843f91be856bf864927a0fd15b3c75be38421e6b6482800d2122f7313"}},{"ruleId":"D1","level":"warning","message":{"text":"ExecParams::as_env_vars (cyclomatic 18): ExecParams::as_env_vars has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/cli/src/config.rs"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0af0b63c7b66d30f60211ad932a51b06a796e0f70a222f9eb0536a5a675dbc7"}},{"ruleId":"D1","level":"warning","message":{"text":"mirrord::print_config (cyclomatic 18): mirrord::print_config has cyclomatic complexity 18 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This is NOT this file\u0027s highest cyclomatic complexity: mirrord::main (cyclomatic 39) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/cli/src/main.rs"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"f81aee6049270716ad4bc4627b2aaea9e95a40d1aff0c48c473f303ac962538c"}},{"ruleId":"D1","level":"warning","message":{"text":"IncomingProxy::handle_message (cyclomatic 18): IncomingProxy::handle_message has cyclomatic complexity 18 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/intproxy/src/proxies/incoming.rs"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fd996adb90ab6c1cc6c2b4813f3f90e3fee3875cad63069a6fab814f33fae37"}},{"ruleId":"D1","level":"warning","message":{"text":"mirrord_layer_win::hooks::files::ops::set_info::handle (cyclomatic 18): mirrord_layer_win::hooks::files::ops::set_info::handle has cyclomatic complexity 18 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/layer-win/src/hooks/files/ops/set_info.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"19645520c107fc104350a745351b8c04a87a8d8838abda09ec11d0dd5bb731a5"}},{"ruleId":"D1","level":"warning","message":{"text":"SubscribeEventsTable.SubscribeEventsTable (cyclomatic 18): SubscribeEventsTable.SubscribeEventsTable has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 8 of the 18 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 183, 177, 170, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/SubscribeEventsTable.tsx"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"d29fbd0f253c3e79701996a9fedacc1b39f625ac4114f624d20e8ef46362f8c1"}},{"ruleId":"D1","level":"warning","message":{"text":"mirrord::connection::try_connect_using_operator (cyclomatic 17): mirrord::connection::try_connect_using_operator has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/cli/src/connection.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"698ce4da0eac58c127713edc600125522583252c31997584aa3539dbb215eac5"}},{"ruleId":"D1","level":"warning","message":{"text":"FilesProxy::file_response (cyclomatic 17): FilesProxy::file_response has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: FileRequest::agent_lost_response (cyclomatic 29) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/intproxy/src/proxies/files.rs"},"region":{"startLine":900}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ec42507ec74527f6e3a50b540e4ce998f6cda5de4e7e90a8c4f85f10596e277"}},{"ruleId":"D1","level":"warning","message":{"text":"ResolvedTarget::assert_valid_mirrord_target (cyclomatic 17): ResolvedTarget::assert_valid_mirrord_target has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/kube/src/resolved.rs"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a1ff054d9fb091c57fa127b3649b903818077e528521ba4ecea92ee31b39ac8"}},{"ruleId":"D1","level":"warning","message":{"text":"mirrord_layer_lib::debugger_ports::tokenize_argfile (cyclomatic 17): mirrord_layer_lib::debugger_ports::tokenize_argfile has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/layer-lib/src/debugger_ports.rs"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"4db3da031c9ccff306715ad8c6c775e2fb5e345f2b553984a84ee43e9ba6cab6"}},{"ruleId":"D1","level":"warning","message":{"text":"mirrord_tui::screens::targets::suggest::discover (cyclomatic 17): mirrord_tui::screens::targets::suggest::discover has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/tui/src/screens/targets/suggest.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b036730d47866def724943c426f77e6941259680e71b74afc540235aa95fe59"}},{"ruleId":"D1","level":"warning","message":{"text":"utils_win::diagnostics::dialog::window_proc (cyclomatic 17): utils_win::diagnostics::dialog::window_proc has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/utils-win/src/diagnostics/dialog.rs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"965938cc569d3785d5cd9abb3aa6980ab85a713515d9d3f47cc62bae79a969d9"}},{"ruleId":"D1","level":"warning","message":{"text":"EventRow.EventRow (cyclomatic 17): EventRow.EventRow has cyclomatic complexity 17 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/events/EventRow.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2271b688d24d12e119fb7877cc6a293cc1c2f19333e5f748fbab0952f150e9b"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonUtils.updateConfigPorts (cyclomatic 17): JsonUtils.updateConfigPorts has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/wizard/src/components/JsonUtils.tsx"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d651be5c8c03adee626b236f76b6e1845932b42c81b486a0fb7287b8efd3f6c"}},{"ruleId":"D1","level":"warning","message":{"text":"mirrord::exec (cyclomatic 16): mirrord::exec has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: mirrord::main (cyclomatic 39) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/cli/src/main.rs"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1769d2e467e74254401141e562e1425b1af1a48219be66dbbc6a1cd4e9130be"}},{"ruleId":"D1","level":"warning","message":{"text":"ProtocolAndAddressFilter::matches (cyclomatic 16): ProtocolAndAddressFilter::matches 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":"mirrord/layer-lib/src/socket.rs"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"19c8fc4eb2a34ca300c7cad34c8f6217e081883a7f719fb3a305eabbdc326c1c"}},{"ruleId":"D1","level":"warning","message":{"text":"mirrord_layer_win::hooks::files::ops::open::handle (cyclomatic 16): mirrord_layer_win::hooks::files::ops::open::handle 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":"mirrord/layer-win/src/hooks/files/ops/open.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"44d0ba818467d7f6f6717c257703a9a406e1e112bc739448680dd994670f66d2"}},{"ruleId":"D1","level":"warning","message":{"text":"TargetsScreen::run (cyclomatic 16): TargetsScreen::run 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":"mirrord/tui/src/screens/targets.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd89cdbf605748642fab643b216f572285450fcc4bdcce0411afc0e890d7004f"}},{"ruleId":"D1","level":"warning","message":{"text":"ContextNamespacePicker.NamespaceCombobox (cyclomatic 16): ContextNamespacePicker.NamespaceCombobox has cyclomatic complexity 16 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/ContextNamespacePicker.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"cebe3950b58e084bc9de0f5b6f82d4f45f266209bb7f2e466c2a1d5c311ffc0f"}},{"ruleId":"D1","level":"warning","message":{"text":"OperatorSessionDetail.OperatorSessionDetail (cyclomatic 16): OperatorSessionDetail.OperatorSessionDetail has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/OperatorSessionDetail.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5938196e085668ee1528089ccfe282eed65ed9d73aab759fcf0c321d0d253b6"}},{"ruleId":"D2","level":"warning","message":{"text":"OperatorApi::prepare_branch_dbs (cognitive 77): OperatorApi::prepare_branch_dbs has cognitive complexity 77 (threshold 15). Drivers by points: if/else 31 (44 pts), loops 11 (26 pts), boolean chains 5, match/switch 2 (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/operator/src/client.rs"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd644940ca866cd06c7a8a2cc8f82db826edc39eabe8728284bacfe23711dccc"}},{"ruleId":"D2","level":"warning","message":{"text":"OutgoingProxy::run (cognitive 72): OutgoingProxy::run has cognitive complexity 72 (threshold 15). Drivers by points: match/switch 10 (34 pts), if/else 8 (33 pts), loops 2 (5 pts) (nesting depth added 52). 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":"mirrord/intproxy/src/proxies/outgoing.rs"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"43951c44243cb333e25b4bc162e7c6c4dcedd83785de1a1edb6d9a48733dfda6"}},{"ruleId":"D2","level":"warning","message":{"text":"App.App (cognitive 62): App.App has cognitive complexity 62 (threshold 15). Drivers by points: if/else 26 (27 pts), ternaries 14 (23 pts), boolean chains 10, error handling 1, loops 1 (nesting depth added 10). Most of this is not in the body itself: 13 of the 62 points are its own statements and the rest belongs to 27 function literals inside it that branch (lines 254, 129, 184, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/App.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"39fc118428944c25925f92ca38f6aea62aa8a7783e9c885683a62bc66722ce20"}},{"ruleId":"D2","level":"warning","message":{"text":"LayerConfig::verify (cognitive 60): LayerConfig::verify has cognitive complexity 60 (threshold 15). Drivers by points: if/else 38 (46 pts), boolean chains 7, loops 2 (4 pts), match/switch 3 (nesting depth added 10). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/config/src/lib.rs"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"68abd6049b2996579be45b4f938ff0512aeaddd7b11c3a4cfe19c05b8c1ab6c0"}},{"ruleId":"D2","level":"warning","message":{"text":"TrafficTunnels::handle_event (cognitive 59): TrafficTunnels::handle_event has cognitive complexity 59 (threshold 15). Drivers by points: if/else 18 (47 pts), match/switch 5 (12 pts) (nesting depth added 36). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/protocol-api/src/client/tunnels.rs"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"07c778393e874f9ab2f60bb40987a7e073d355aaeb32e43f32571b293abac77e"}},{"ruleId":"D2","level":"warning","message":{"text":"PortForwarder::handle_msg_from_agent (cognitive 55): PortForwarder::handle_msg_from_agent has cognitive complexity 55 (threshold 15). Drivers by points: match/switch 11 (30 pts), if/else 7 (25 pts) (nesting depth added 37). 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":"mirrord/cli/src/port_forward.rs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbb3e286128fe2af575a2f9dea870119626aeb825632d9f5d41dd1e47e4d00cb"}},{"ruleId":"D2","level":"warning","message":{"text":"mirrord_layer_win::hooks::files::ops::query_info::info (cognitive 55): mirrord_layer_win::hooks::files::ops::query_info::info has cognitive complexity 55 (threshold 15). Drivers by points: if/else 21 (51 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 31). Of this number, 48 points are the body\u0027s own statements and 7 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/layer-win/src/hooks/files/ops/query_info.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"8372441090f4d31af74289f74bf318a38d542183c9019dd0a140849730e528ab"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsForm::handle_key (cognitive 48): SettingsForm::handle_key has cognitive complexity 48 (threshold 15). Drivers by points: if/else 10 (21 pts), match/switch 8 (21 pts), boolean chains 6 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/tui/src/screens/targets/form.rs"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"6227f515e12e31902196dfc050e722f6ed7f6b006673599877555d8902dac80a"}},{"ruleId":"D2","level":"warning","message":{"text":"TcpStealerApi::handle_client_message (cognitive 46): TcpStealerApi::handle_client_message has cognitive complexity 46 (threshold 15). Drivers by points: if/else 15 (38 pts), match/switch 3 (5 pts), loops 1 (3 pts) (nesting depth added 27). 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":"mirrord/agent/src/steal/api.rs"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"4210ddfb24d37d543bed0f9ab7fd485c679601829ee947d66a41b197398c29fb"}},{"ruleId":"D2","level":"warning","message":{"text":"TcpMirrorApi::next (cognitive 44): TcpMirrorApi::next has cognitive complexity 44 (threshold 15). Drivers by points: if/else 10 (35 pts), match/switch 3 (8 pts), loops 1 (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/agent/src/mirror.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"41f5572fffdc8fe4e3d755332ef5e52f960fb17c15bfa5f07370891c38da9938"}},{"ruleId":"D2","level":"warning","message":{"text":"mirrord::preview::preview_start (cognitive 42): mirrord::preview::preview_start has cognitive complexity 42 (threshold 15). Drivers by points: if/else 15 (24 pts), match/switch 5 (13 pts), loops 3 (5 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/cli/src/preview.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"03aa3a887194ebb268a2f2f74713e4ad2447470b47d1d9988ad427d05772ff07"}},{"ruleId":"D2","level":"warning","message":{"text":"Wizard.Wizard (cognitive 42): Wizard.Wizard has cognitive complexity 42 (threshold 15). Drivers by points: ternaries 10 (16 pts), boolean chains 14, if/else 9 (11 pts), match/switch 1 (nesting depth added 8). Most of this is not in the body itself: 14 of the 42 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 117, 85, 99, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/wizard/src/components/Wizard.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"14298b170ef4f95e70ba2798957da446b79c4c095c3d8795d31e89d941b40a3a"}},{"ruleId":"D2","level":"warning","message":{"text":"FullResponseFut::poll (cognitive 40): FullResponseFut::poll has cognitive complexity 40 (threshold 15). Drivers by points: if/else 7 (21 pts), match/switch 4 (13 pts), loops 2 (6 pts) (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/protocol-api/src/client/tunnels/streams.rs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"98b3f25128c6c95471c1396436c9b9e1da16182fc173dc00044c45a6635c5401"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsForm::draw (cognitive 40): SettingsForm::draw has cognitive complexity 40 (threshold 15). Drivers by points: if/else 19 (29 pts), match/switch 4 (8 pts), loops 2 (3 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/tui/src/screens/targets/form.rs"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"85cc4cdcfdacd7641ad4e4fbda70e3f1bf0425ac4c37331be233adab19973494"}},{"ruleId":"D2","level":"warning","message":{"text":"StatusCommandHandler::handle (cognitive 38): StatusCommandHandler::handle has cognitive complexity 38 (threshold 15). Drivers by points: if/else 10 (18 pts), loops 8 (15 pts), match/switch 1 (4 pts), boolean chains 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/cli/src/operator/status.rs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c7edb10403ebff6a7f4e7dc267251c0612c82c95aa26faafe3c5184a7114c4a"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionSidebar.SessionSidebar (cognitive 38): SessionSidebar.SessionSidebar has cognitive complexity 38 (threshold 15). Drivers by points: ternaries 11 (19 pts), boolean chains 14, if/else 5 (nesting depth added 8). Of this number, 30 points are the body\u0027s own statements and 8 belong to 5 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/SessionSidebar.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4972d0b5bc5dfb6fd092ca880eb48b13e18c289a77a2429c70fd75b159c3e70"}},{"ruleId":"D2","level":"warning","message":{"text":"FilesProxy::file_request (cognitive 37): FilesProxy::file_request has cognitive complexity 37 (threshold 15). Drivers by points: if/else 13 (23 pts), match/switch 6 (12 pts), boolean chains 2 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/intproxy/src/proxies/files.rs"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"65a2fb58167ccaaed973bfcdcf4107bb462cfd7f49c9fc64762060dbc8a17efe"}},{"ruleId":"D2","level":"warning","message":{"text":"mirrord::ui::chaos_command (cognitive 36): mirrord::ui::chaos_command has cognitive complexity 36 (threshold 15). Drivers by points: if/else 12 (20 pts), match/switch 6 (11 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/cli/src/ui.rs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"a46482334b53b575147e1c664a5aa1f685167a6ebc0defa93f09d84f9acbe809"}},{"ruleId":"D2","level":"warning","message":{"text":"DebuggerType::get_ports (cognitive 36): DebuggerType::get_ports has cognitive complexity 36 (threshold 15). Drivers by points: if/else 12 (19 pts), match/switch 7 (14 pts), boolean chains 3 (nesting depth added 14). 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":"mirrord/layer-lib/src/debugger_ports.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe9e9bb1324bdf3dae55c82b9cd7b3498b89a95f280041a787fa38fa9cb78e42"}},{"ruleId":"D2","level":"warning","message":{"text":"mirrord_layer_win::hooks::files::ops::set_info::handle (cognitive 36): mirrord_layer_win::hooks::files::ops::set_info::handle has cognitive complexity 36 (threshold 15). Drivers by points: if/else 12 (33 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 22). Of this number, 32 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/layer-win/src/hooks/files/ops/set_info.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"fae11b02d473611861bdf1797fdfae5df710057bcf13115c783e791bdd26c5e6"}},{"ruleId":"D2","level":"warning","message":{"text":"mirrord_kube::api::container::job::create_job_agent (cognitive 35): mirrord_kube::api::container::job::create_job_agent has cognitive complexity 35 (threshold 15). Drivers by points: if/else 6 (22 pts), match/switch 4 (10 pts), boolean chains 2, loops 1 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/kube/src/api/container/job.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3b9715dfb563163cca304697965c85e82d96b423c737d593834a901e968f3d6"}},{"ruleId":"D2","level":"warning","message":{"text":"TargetsScreen::handle_event (cognitive 35): TargetsScreen::handle_event has cognitive complexity 35 (threshold 15). Drivers by points: match/switch 9 (22 pts), if/else 10 (11 pts), boolean chains 2 (nesting depth added 14). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/tui/src/screens/targets.rs"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c90b27314f91cc599b9076ed149211b9c217963941a103562bc0af1e4c91dae"}},{"ruleId":"D2","level":"warning","message":{"text":"TargetConfig::collect_analytics (cognitive 34): TargetConfig::collect_analytics has cognitive complexity 34 (threshold 15). Drivers by points: if/else 12 (32 pts), match/switch 1 (2 pts) (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/config/src/target.rs"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"23e5393df8f4f7e992da8933bc395b0236ebe316901f10490ec02a14ea6836ea"}},{"ruleId":"D2","level":"warning","message":{"text":"useChaosRules.useChaosRules (cognitive 34): useChaosRules.useChaosRules has cognitive complexity 34 (threshold 15). Drivers by points: if/else 15 (21 pts), ternaries 5 (7 pts), boolean chains 3, loops 2, error handling 1 (nesting depth added 8). Most of this is not in the body itself: 0 of the 34 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 144, 120, 222, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/hooks/useChaosRules.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"94e052b95709490aa0288fbcacf2eca8a0bdaf72501fc7296e5bc24742c44777"}},{"ruleId":"D2","level":"warning","message":{"text":"mirrord::preview::preview_status (cognitive 32): mirrord::preview::preview_status has cognitive complexity 32 (threshold 15). Drivers by points: match/switch 6 (15 pts), if/else 7 (12 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/cli/src/preview.rs"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"449add85538d60d25daaa6ecb3b7a93871b6d3a8b7a95f66e3fa5507d0ac8d72"}},{"ruleId":"D2","level":"warning","message":{"text":"ResolvedTarget::get_env (cognitive 32): ResolvedTarget::get_env has cognitive complexity 32 (threshold 15). Drivers by points: if/else 7 (19 pts), loops 4 (12 pts), boolean chains 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/kube/src/resolved.rs"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"f22c19b10fbda0f6e321608130044771a8f07c2657951c2154968a9e42fab233"}},{"ruleId":"D2","level":"warning","message":{"text":"mirrord_tui::screens::preview_envs::view::card_content (cognitive 32): mirrord_tui::screens::preview_envs::view::card_content has cognitive complexity 32 (threshold 15). Drivers by points: if/else 13 (28 pts), match/switch 1 (3 pts), boolean chains 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/tui/src/screens/preview_envs/view.rs"},"region":{"startLine":1003}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7c8729c3ab9fa74265dfb6004705202618d4edb4cba201a99bad683bfc19a0f"}},{"ruleId":"D2","level":"warning","message":{"text":"TargetTab.TargetTab (cognitive 32): TargetTab.TargetTab has cognitive complexity 32 (threshold 15). Drivers by points: boolean chains 15, ternaries 11, if/else 6. Of this number, 19 points are the body\u0027s own statements and 13 belong to 14 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/wizard/src/components/steps/TargetTab.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f07b50432adf1c29209a92e7fdc9d2b419908d56ea252bf986d92683d76bec3"}},{"ruleId":"D2","level":"warning","message":{"text":"PreviewDiagnostics.PreviewDiagnostics (cognitive 31): PreviewDiagnostics.PreviewDiagnostics has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 10 (16 pts), boolean chains 8, if/else 7 (nesting depth added 6). Of this number, 23 points are the body\u0027s own statements and 8 belong to 5 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/PreviewDiagnostics.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"34a2b92342415621a3cd169ab2d7d0feea09f737050ee22af73de43862864da5"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalConnectionTask::run (cognitive 29): LocalConnectionTask::run has cognitive complexity 29 (threshold 15). Drivers by points: match/switch 9 (20 pts), if/else 2 (8 pts), loops 1 (nesting depth added 17). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/cli/src/port_forward.rs"},"region":{"startLine":849}}}],"partialFingerprints":{"codehealthFindingId/v1":"79326797e2ab811b18098e144c0ad504485f32b3f6b7b8f9adb42118ea80f5eb"}},{"ruleId":"D2","level":"warning","message":{"text":"mirrord::external_proxy::proxy (cognitive 29): mirrord::external_proxy::proxy has cognitive complexity 29 (threshold 15). Drivers by points: if/else 6 (15 pts), match/switch 5 (13 pts), loops 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/cli/src/external_proxy.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3a628481de3da9db53ce6bf3a19addd249b1d776c4659a466db4813b6420611"}},{"ruleId":"D2","level":"warning","message":{"text":"mirrord_tui::screens::queues::details_lines (cognitive 29): mirrord_tui::screens::queues::details_lines has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 5 (9 pts), match/switch 5 (8 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/tui/src/screens/queues.rs"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f0bbadc351519ac6ab7d4cf7e9c4c9df773731af52f2fba25f9764a90930517"}},{"ruleId":"D2","level":"warning","message":{"text":"mirrord_up::process::supervise_with_second_signal (cognitive 29): mirrord_up::process::supervise_with_second_signal has cognitive complexity 29 (threshold 15). Drivers by points: match/switch 8 (14 pts), if/else 10 (13 pts), loops 2 (nesting depth added 9). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/up/src/process.rs"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"b56ca316773a6f542ed0340abd1a870298599ed93cdb46f0f87b91a7403cc456"}},{"ruleId":"D2","level":"warning","message":{"text":"HttpFilter::matches (cognitive 28): HttpFilter::matches has cognitive complexity 28 (threshold 15). Drivers by points: match/switch 5 (12 pts), if/else 4 (10 pts), loops 3 (6 pts) (nesting depth added 16). 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":"mirrord/agent/src/http/filter.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cafef6e530847983860dafb53bf626b746a9f672258943a23429a13ee53724c"}},{"ruleId":"D2","level":"warning","message":{"text":"DatabaseBranchConfig::copy_mode (cognitive 28): DatabaseBranchConfig::copy_mode has cognitive complexity 28 (threshold 15). Drivers by points: match/switch 14 (28 pts) (nesting depth added 14). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/config/src/feature/database_branches.rs"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"21de757b4e7eedda9467f50052193c0d5ecde7b319fca9a6f2b56f60ffa2294b"}},{"ruleId":"D2","level":"warning","message":{"text":"mirrord_layer_lib::socket::ops::connect_common (cognitive 28): mirrord_layer_lib::socket::ops::connect_common has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 9, match/switch 4 (6 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":"mirrord/layer-lib/src/socket/ops.rs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdb677136407fab261d902a00252d07ea95ac8f59862684ad7baf28d1a740311"}},{"ruleId":"D2","level":"warning","message":{"text":"mirrord_layer_lib::debugger_ports::tokenize_argfile (cognitive 27): mirrord_layer_lib::debugger_ports::tokenize_argfile has cognitive complexity 27 (threshold 15). Drivers by points: match/switch 4 (12 pts), if/else 3 (10 pts), loops 2 (5 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/layer-lib/src/debugger_ports.rs"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8fca0ab808a096064ce9017e41adc75eb17ca41cf9d46e2e175b8d51555a60c"}},{"ruleId":"D2","level":"warning","message":{"text":"GenericBranchConfig::verify_var_references (cognitive 26): GenericBranchConfig::verify_var_references has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (18 pts), loops 4 (7 pts), boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/config/src/feature/database_branches/generic.rs"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"d004e70e93d52046f707c794d9cde96c26b6b47d00135bcce6afc320d8046016"}},{"ruleId":"D2","level":"warning","message":{"text":"Interceptor::run (cognitive 26): Interceptor::run has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (14 pts), match/switch 4 (9 pts), boolean chains 2, loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/intproxy/src/proxies/outgoing/interceptor.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b129f3fd70fe373ecc230115126eae9b93f1827770e20fd2df348d71e3b979f"}},{"ruleId":"D2","level":"warning","message":{"text":"mirrord_layer_win::hooks::socket::bind_detour_impl (cognitive 26): mirrord_layer_win::hooks::socket::bind_detour_impl has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13 (18 pts), match/switch 4 (5 pts), boolean chains 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/layer-win/src/hooks/socket/mod.rs"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fded9bb442ce3d5a38eb89da5eb08b9c8bea622ee11d267f0c1b64c36764296"}},{"ruleId":"D2","level":"warning","message":{"text":"TargetsScreen::draw (cognitive 26): TargetsScreen::draw has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 4, match/switch 4, loops 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/tui/src/screens/targets.rs"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c4ea00add3cced9afa97aa29b1c45e4c4977a04d749766ec449cb4bfa51d004"}},{"ruleId":"D2","level":"warning","message":{"text":"ClientConnectionHandler::start (cognitive 25): ClientConnectionHandler::start has cognitive complexity 25 (threshold 15). Drivers by points: match/switch 11 (20 pts), if/else 2 (4 pts), loops 1 (nesting depth added 11). 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":"mirrord/agent/src/entrypoint.rs"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"753b18f2cf2d2b70d930d18473edf6abd418718ca03f465221c07aee62264105"}},{"ruleId":"D2","level":"warning","message":{"text":"mirrord::internal_proxy::db_portforwards::extract_portforward_configs (cognitive 25): mirrord::internal_proxy::db_portforwards::extract_portforward_configs has cognitive complexity 25 (threshold 15). Drivers by points: match/switch 5 (12 pts), if/else 4 (10 pts), boolean chains 2, loops 1 (nesting depth added 13). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/cli/src/internal_proxy/db_portforwards.rs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"744900b072d730459e9d791a7c0edc2f0b57219497a3a860819acdc4b7567b8f"}},{"ruleId":"D2","level":"warning","message":{"text":"TcpProxyTask::run (cognitive 25): TcpProxyTask::run has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (15 pts), match/switch 3 (8 pts), boolean chains 1, loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/intproxy/src/proxies/incoming/tcp_proxy.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"f33e5c96395b03228572ae818d5fc202f7b2c5a3987bcf9871403bcc117abcca"}},{"ruleId":"D2","level":"warning","message":{"text":"mirrord_tui::screens::preview_envs::data::run (cognitive 25): mirrord_tui::screens::preview_envs::data::run has cognitive complexity 25 (threshold 15). Drivers by points: match/switch 4 (13 pts), if/else 2 (7 pts), loops 3 (5 pts) (nesting depth added 16). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/tui/src/screens/preview_envs/data.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0e8c4bc1da3b49407c862693c049585c8d52ad56e36e8c326a9c14ec83abede"}},{"ruleId":"D2","level":"warning","message":{"text":"EventStream.EventStream (cognitive 25): EventStream.EventStream has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 15, ternaries 7 (8 pts), if/else 2 (nesting depth added 1). Most of this is not in the body itself: 11 of the 25 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 177, 256, 139, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/EventStream.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec1aed4b3473ad38d16cd03a01bc0e8b8e74de4accaa49467aa83b8249485abe"}},{"ruleId":"D2","level":"warning","message":{"text":"mirrord::connection::try_connect_using_operator (cognitive 24): mirrord::connection::try_connect_using_operator has cognitive complexity 24 (threshold 15). Drivers by points: if/else 13 (19 pts), match/switch 3, boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/cli/src/connection.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"b343e13549dd25efa380b4ca9be8a3b4cdaa639eaa572cb4f9d4c293cbc1a226"}},{"ruleId":"D2","level":"warning","message":{"text":"GenericBranchConfig::verify (cognitive 24): GenericBranchConfig::verify has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 5, loops 3, match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/config/src/feature/database_branches/generic.rs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"17d2575e989d85843d66e6f56658692bb5d4104e88472bd6dd9971d190513bbb"}},{"ruleId":"D2","level":"warning","message":{"text":"Browser::rows (cognitive 24): Browser::rows has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 3 (6 pts), boolean chains 4, match/switch 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":"mirrord/tui/src/screens/targets/browser.rs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceb7aa94f690dcca5fa0c69952d0cf5dfae0e1649c832674c0f28d9ef828705b"}},{"ruleId":"D2","level":"warning","message":{"text":"TargetsScreen::run (cognitive 24): TargetsScreen::run has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (13 pts), match/switch 4 (7 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/tui/src/screens/targets.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"14a6343be4b00c8fff3dae100f1a53dd9eeb91b154c5b2ddcefb1df0fc3e0e1b"}},{"ruleId":"D2","level":"warning","message":{"text":"mirrord::db_branches::destroy_command (cognitive 23): mirrord::db_branches::destroy_command has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (16 pts), loops 2 (6 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":"mirrord/cli/src/db_branches.rs"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"debeca1c6040e5b0db4b9e084442d6b095cb68ac933eb0469efc15ef9b767aba"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfigFlags::new (cognitive 23): ConfigFlags::new has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 11, match/switch 4 (9 pts), loops 2 (3 pts) (nesting depth added 6). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/config/derive/src/config/flag.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"71da6be366b6dcd2b75c3f525cc5b375fde995c3af46e5a7c7f41899de8c5aaa"}},{"ruleId":"D2","level":"warning","message":{"text":"mirrord_layer::socket::ops::bind (cognitive 23): mirrord_layer::socket::ops::bind has cognitive complexity 23 (threshold 15). Drivers by points: if/else 14 (16 pts), boolean chains 5, match/switch 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":"mirrord/layer/src/socket/ops.rs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"003dfe7e2f2ea4b16fb8e300a4646933dbe35965b53acb6d1a70873bc7c34623"}},{"ruleId":"D2","level":"warning","message":{"text":"mirrord_layer_lib::process::windows::command_line::push_quoted (cognitive 23): mirrord_layer_lib::process::windows::command_line::push_quoted has cognitive complexity 23 (threshold 15). Drivers by points: loops 5 (16 pts), match/switch 2 (5 pts), boolean chains 1, if/else 1 (nesting depth added 14). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/layer-lib/src/process/windows/command_line.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3a28eed7ace6457149f6567c94c29960f8195429df9adcf7c610f849b61ce9a"}},{"ruleId":"D2","level":"warning","message":{"text":"mirrord_layer_win::hooks::socket::connectex_detour (cognitive 23): mirrord_layer_win::hooks::socket::connectex_detour has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (19 pts), match/switch 3 (4 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/layer-win/src/hooks/socket/mod.rs"},"region":{"startLine":1034}}}],"partialFingerprints":{"codehealthFindingId/v1":"adabae5117d49dbf82872f9f32b462b0a659111459f50b28e24557196df1e596"}},{"ruleId":"D2","level":"warning","message":{"text":"HttpGatewayTask::run (cognitive 22): HttpGatewayTask::run has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (19 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":"mirrord/intproxy/src/proxies/incoming/http_gateway.rs"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"85b7dd309c0f5f9980375c8e8a539ec266b6f2afd1eaacec805824ffa694208e"}},{"ruleId":"D2","level":"warning","message":{"text":"DatabaseBranchParams::new (cognitive 22): DatabaseBranchParams::new has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 4 (7 pts), 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":"mirrord/operator/src/client/database_branches.rs"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"91abee5585f2f951199414a352b4fa1bd7bdbb204da5e0e16df449d9a0c62eee"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonUtils.updateConfigFilter (cognitive 22): JsonUtils.updateConfigFilter has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 4, ternaries 1 (3 pts), match/switch 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/wizard/src/components/JsonUtils.tsx"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"def3cb85f225e94fe78e761beae97e7e6483903c9cc5355f51a4e383f8b727e5"}},{"ruleId":"D2","level":"warning","message":{"text":"MirrordCi::prepare_container_command (cognitive 21): MirrordCi::prepare_container_command has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (14 pts), match/switch 3 (7 pts) (nesting depth added 6). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/cli/src/ci.rs"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c4cbe03e75dbf4e7a145f6875969a592c24d170d5ffbc15ce35e815dc68c915"}},{"ruleId":"D2","level":"warning","message":{"text":"LayerConfig::verify_for_preview_env (cognitive 21): LayerConfig::verify_for_preview_env has cognitive complexity 21 (threshold 15). Drivers by points: if/else 18 (19 pts), boolean chains 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/config/src/lib.rs"},"region":{"startLine":1228}}}],"partialFingerprints":{"codehealthFindingId/v1":"0615d81682ec3280da955c175e1a828310e29c533ec6d8e0a158090cd752b195"}},{"ruleId":"D2","level":"warning","message":{"text":"FilesProxy::file_response (cognitive 21): FilesProxy::file_response has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (18 pts), match/switch 2 (3 pts) (nesting depth added 10). 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":"mirrord/intproxy/src/proxies/files.rs"},"region":{"startLine":900}}}],"partialFingerprints":{"codehealthFindingId/v1":"a00725268fa760cba8d6eda567dce3e58e0d92443dbe12badd2d976cbddc561d"}},{"ruleId":"D2","level":"warning","message":{"text":"IncomingProxy::handle_message (cognitive 21): IncomingProxy::handle_message has cognitive complexity 21 (threshold 15). Drivers by points: match/switch 5 (11 pts), if/else 2 (5 pts), loops 2 (5 pts) (nesting depth added 12). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/intproxy/src/proxies/incoming.rs"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"f344346d6845c88f55a5f6fcaa5b314cee5afa9c5cc57a1895c693308672689c"}},{"ruleId":"D2","level":"warning","message":{"text":"OperatorApi::prepare_session (cognitive 21): OperatorApi::prepare_session has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (18 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/operator/src/client.rs"},"region":{"startLine":1519}}}],"partialFingerprints":{"codehealthFindingId/v1":"d77042801ddce122ef2fdfcb201b820119fa3bca90491540f85f2ad3d6662f0d"}},{"ruleId":"D2","level":"warning","message":{"text":"mirrord_layer_lib::socket::dns::reverse_dns::update_dns_reverse_mapping_bulk (cognitive 20): mirrord_layer_lib::socket::dns::reverse_dns::update_dns_reverse_mapping_bulk has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 3 (7 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":"mirrord/layer-lib/src/socket/dns/reverse_dns.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"650ecaec19ad0787e003d7e9beacaf217d8e0bc49d751c626f431823677a2907"}},{"ruleId":"D2","level":"warning","message":{"text":"App::handle_event (cognitive 20): App::handle_event has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (10 pts), match/switch 5 (9 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/tui/src/app.rs"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"27f6a83e17da3891a06f7763a4725c55020f973ec5df529743136b5f3dee7ccb"}},{"ruleId":"D2","level":"warning","message":{"text":"TerminalScreen::draw (cognitive 20): TerminalScreen::draw has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 3 (7 pts), match/switch 2 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/tui/src/screens/terminal.rs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"60e0fa7c5d341ebaa2b339601c84d78d8335e308342789da2a68a45c26e75656"}},{"ruleId":"D2","level":"warning","message":{"text":"PidWatch::run (cognitive 20): PidWatch::run has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (16 pts), match/switch 1 (3 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":"mirrord/utils-win/src/diagnostics/monitor/server.rs"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"b732a6f2df06ef77cb9d153c38cc94a090eac91d76a47738746f64d34da0dd05"}},{"ruleId":"D2","level":"warning","message":{"text":"ExecParams::as_env_vars (cognitive 19): ExecParams::as_env_vars has cognitive complexity 19 (threshold 15). Drivers by points: if/else 16 (17 pts), boolean chains 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/cli/src/config.rs"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f326e3158ad9488ca8a9de2657b080e79c573672ab83fe5c15aa4f32ab423c7"}},{"ruleId":"D2","level":"warning","message":{"text":"ProtocolAndAddressFilter::matches (cognitive 19): ProtocolAndAddressFilter::matches has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (9 pts), match/switch 3 (7 pts), boolean chains 3 (nesting depth added 5). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/layer-lib/src/socket.rs"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"31fd8afd47e288dbac6f738c0cac11d38b8e9813ca0120346e7cff5362eac78a"}},{"ruleId":"D2","level":"warning","message":{"text":"PingPong::run (cognitive 19): PingPong::run has cognitive complexity 19 (threshold 15). Drivers by points: match/switch 3 (9 pts), if/else 3 (8 pts), boolean chains 1, loops 1 (nesting depth added 11). 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":"mirrord/intproxy/src/ping_pong.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b9426b0d62959d1750a87795d69c3704ab004d1a4e8866d8cb03cf4fe3b2892"}},{"ruleId":"D2","level":"warning","message":{"text":"IncomingProxy::handle_chunked_request (cognitive 19): IncomingProxy::handle_chunked_request has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 1 (2 pts), match/switch 1 (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/intproxy/src/proxies/incoming.rs"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce6c0cc4dcf21292676c8492855d2c387a99a4b29195fdcc828bc32948749cc3"}},{"ruleId":"D2","level":"warning","message":{"text":"mirrord_operator::client::database_branches::create_branches (cognitive 19): mirrord_operator::client::database_branches::create_branches has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 2, loops 2, match/switch 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/operator/src/client/database_branches.rs"},"region":{"startLine":1046}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfb416dc9905f3b662ce7e4453dfc3a4f4e29788b5b7bfe629d1a8420c9bcc34"}},{"ruleId":"D2","level":"warning","message":{"text":"HttpFilter::fmt (cognitive 19): HttpFilter::fmt has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 2 (6 pts), match/switch 2 (3 pts) (nesting depth added 11). 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":"mirrord/protocol/src/tcp.rs"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfd76ac7eff8c0c3c2c429c48b69023e4868dd684db443f1a937dd90238ed002"}},{"ruleId":"D2","level":"warning","message":{"text":"Input::handle_key (cognitive 19): Input::handle_key has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (8 pts), boolean chains 6, match/switch 3 (5 pts) (nesting depth added 6). 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":"mirrord/tui/src/screens/targets/form.rs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0b5c74b02988ecdb646c5869e56afbe6ef660ada2b0b2f5aa1db09495767de4"}},{"ruleId":"D2","level":"warning","message":{"text":"utils_win::diagnostics::report::build_session_archive (cognitive 19): utils_win::diagnostics::report::build_session_archive has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 4, loops 3 (4 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/utils-win/src/diagnostics/report.rs"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfca92b2aa1bd9c54005562a4da999b5b81516afa664c134108c0f398170ebba"}},{"ruleId":"D2","level":"warning","message":{"text":"utils_win::diagnostics::dialog::window_proc (cognitive 19): utils_win::diagnostics::dialog::window_proc has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (15 pts), boolean chains 3, match/switch 1 (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/utils-win/src/diagnostics/dialog.rs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"df3adca3cf6f82c9e26122abe1bdd664cd01dbcf899f25ebec0e5059e1e7ea62"}},{"ruleId":"D2","level":"warning","message":{"text":"RedirectorTask::handle_initialized_connection (cognitive 18): RedirectorTask::handle_initialized_connection has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (9 pts), match/switch 3 (6 pts), loops 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/agent/src/incoming/task.rs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd422cf2591c0a4b3b4d7648c0e3363ea78576ca4350feaaa2467474eae484cd"}},{"ruleId":"D2","level":"warning","message":{"text":"FailoverStrategy::run_with_termination (cognitive 18): FailoverStrategy::run_with_termination has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (9 pts), match/switch 3 (5 pts), loops 3, boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/intproxy/src/failover_strategy.rs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebbec03c2ee626471175cc093ad3e0f143622002d36ef35d8c503aef744d7a37"}},{"ruleId":"D2","level":"warning","message":{"text":"mirrord_layer_lib::socket::ops::connect_outgoing_common (cognitive 18): mirrord_layer_lib::socket::ops::connect_outgoing_common has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (13 pts), match/switch 2 (4 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/layer-lib/src/socket/ops.rs"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"e77b1c2e1615c31a7da89d759d9b00cb2199fc0fe90e9b9716a89da1622fdacf"}},{"ruleId":"D2","level":"warning","message":{"text":"UnifiedDatabaseBranchParams::new (cognitive 18): UnifiedDatabaseBranchParams::new has cognitive complexity 18 (threshold 15). Drivers by points: match/switch 4 (8 pts), if/else 4 (7 pts), loops 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/operator/src/client/database_branches.rs"},"region":{"startLine":1394}}}],"partialFingerprints":{"codehealthFindingId/v1":"51ebcee9f16fe414bbfca0a697fe7dc3eeef11ccdc911ef5f8161539c585b6c8"}},{"ruleId":"D2","level":"warning","message":{"text":"mirrord_tui::screens::targets::suggest::discover (cognitive 18): mirrord_tui::screens::targets::suggest::discover has cognitive complexity 18 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 3 (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":"mirrord/tui/src/screens/targets/suggest.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"2643343cc54631f86e1f30052b747990e075e4fbeee05b03cccd3c82ec1bda75"}},{"ruleId":"D2","level":"warning","message":{"text":"mirrord::exec (cognitive 17): mirrord::exec has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 5, loops 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/cli/src/main.rs"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fe814f32d91987d8a65bb86c08a4c57ccd50f5f0b8fe64b58d10d78fa6a0a13"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncDecoder::poll_next (cognitive 17): AsyncDecoder::poll_next has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (14 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/intproxy/protocol/src/codec/codec_async.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"add584e2ab2f60db50217fdd1f860993587a8efb144730559581eb83eca2ac9f"}},{"ruleId":"D2","level":"warning","message":{"text":"LayerInitializer::run (cognitive 17): LayerInitializer::run has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (8 pts), match/switch 3 (8 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/intproxy/src/layer_initializer.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"db15894375b850c58047f11fe8ad17bf00857f46f119554d4d0ba9fc88ebbd06"}},{"ruleId":"D2","level":"warning","message":{"text":"SinglePortForwarder::into_retry_future (cognitive 17): SinglePortForwarder::into_retry_future has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (11 pts), match/switch 2 (5 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/kube/src/api/kubernetes/portforwarder.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"2393356dbb1412a107e45f5d71226b3a45f2f1eb55039260907537d47f3786ad"}},{"ruleId":"D2","level":"warning","message":{"text":"LayerManagedProcess::add_mirrord_env_vars (cognitive 17): LayerManagedProcess::add_mirrord_env_vars has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (10 pts), match/switch 3 (6 pts), loops 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/layer-lib/src/process/windows/execution/mod.rs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"758ef3d57326620d901a29aca5cb3232de4971f536cbeb8009ebe36f18f3d469"}},{"ruleId":"D2","level":"warning","message":{"text":"mirrord_protocol_io::websocket::run_writer (cognitive 17): mirrord_protocol_io::websocket::run_writer has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (11 pts), match/switch 2 (5 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":"mirrord/protocol-io/src/websocket.rs"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fc610f98bddd907b103d10a6be45568535dec18c427b8b27ff7a82117f2b556"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonUtils.readCurrentFilters (cognitive 17): JsonUtils.readCurrentFilters has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 11, if/else 5 (6 pts) (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/wizard/src/components/JsonUtils.tsx"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"1254f31ed10d4e9aa355a2eec3e852d4f328960b904944635aeb376d47725304"}},{"ruleId":"D2","level":"warning","message":{"text":"TcpStealerTask::handle_stolen_traffic (cognitive 16): TcpStealerTask::handle_stolen_traffic has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (14 pts), match/switch 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/agent/src/steal/task.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"d85caf5a3a061ff08d2f31ff3cd86e4ce8f865edbcf714acd521a8d3e4d278b3"}},{"ruleId":"D2","level":"warning","message":{"text":"ConnInfo::connection_string (cognitive 16): ConnInfo::connection_string has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), match/switch 4 (5 pts), boolean chains 2 (nesting depth added 5). 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":"mirrord/cli/src/internal_proxy/db_portforwards.rs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"a95e3d1beb02990d5b71c1ad22ba3de970de74b82c5aaab78b3f970677e6cdbd"}},{"ruleId":"D2","level":"warning","message":{"text":"mirrord::ui::server::buffer_session_events (cognitive 16): mirrord::ui::server::buffer_session_events has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), match/switch 1 (4 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/cli/src/ui/server.rs"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"d51e988f9fa8201323716c7d7e517f2200690d2c484599f8514c3e62f5d50253"}},{"ruleId":"D2","level":"warning","message":{"text":"ResolvedTarget::assert_valid_mirrord_target (cognitive 16): ResolvedTarget::assert_valid_mirrord_target has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (15 pts), match/switch 1 (nesting depth added 8). 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":"mirrord/kube/src/resolved.rs"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f5a5a7eef9a61a8ff96d13e733bcf3a7e57da25b79245240d013a6be3539e11"}},{"ruleId":"D2","level":"warning","message":{"text":"ShardedMap::for_each (cognitive 16): ShardedMap::for_each has cognitive complexity 16 (threshold 15). Drivers by points: loops 4 (11 pts), match/switch 1 (3 pts), if/else 1 (2 pts) (nesting depth added 10). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/layer-win/src/managed/sharded_map.rs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a1a2de8147f07ee4c873b60d5da5b56e628aa48906d095a683ce9645191aedf"}},{"ruleId":"D2","level":"warning","message":{"text":"PreviewEnvsScreen::handle_event (cognitive 16): PreviewEnvsScreen::handle_event has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (8 pts), match/switch 5 (8 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/tui/src/screens/preview_envs.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7d1d6b27294f6b5989d51f411300dabdfa0db0ea286eb21b4676104e41c8df4"}},{"ruleId":"D2","level":"warning","message":{"text":"mirrord_tui::screens::databases::connection_source_section (cognitive 16): mirrord_tui::screens::databases::connection_source_section has cognitive complexity 16 (threshold 15). Drivers by points: loops 5 (12 pts), if/else 1 (3 pts), match/switch 1 (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/tui/src/screens/databases.rs"},"region":{"startLine":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"3536fe7354ba846bdeee4b4d1a811b7258bf931b1e0abe24061feac1e643a8bb"}},{"ruleId":"D2","level":"warning","message":{"text":"mirrord_tui::screens::databases::migrations_spec_section (cognitive 16): mirrord_tui::screens::databases::migrations_spec_section has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 2 (4 pts), match/switch 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/tui/src/screens/databases.rs"},"region":{"startLine":908}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1fe854c60bdbc1378fcf146ecec4b12169ad58740e2a91d6016f36980bc6ae4"}},{"ruleId":"D2","level":"warning","message":{"text":"UpConfig::collect_analytics (cognitive 16): UpConfig::collect_analytics has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (11 pts), match/switch 2 (4 pts), loops 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/up/src/config.rs"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"f22417c891583b9460f51beb169c142fa1adb64b1987501bfed627ca01f83832"}},{"ruleId":"D2","level":"warning","message":{"text":"EventBuffer.absorb (cognitive 16): EventBuffer.absorb has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (7 pts), ternaries 2 (6 pts), boolean chains 2, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/eventBuffer.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e6d8706138636b92ebddaa2a6a4cd8702db71959c7b72560fe4db58fd7a7681"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: OperatorApi: ClassTooLong \u2014 1635 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), 40 methods, 6 blocks, lines 246-2732. The bar is 400 significant lines; this is 1235 over it, 4.09\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":"mirrord/operator/src/client.rs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"111d4b9c88b26fe064895109876be7c4fbf284ced65ba22262d4ffef57a89bc6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/client.rs: FileTooLong \u2014 1807 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 90% of them inside a single declaration: OperatorApi (6 blocks, 246-2732). The bar is 500 significant lines; this is 1307 over it, 3.61\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/operator/src/client.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7af21a15079a6dad2ced49d425ac167ec3aaab728151295f5ce8e4afb3c5e90e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: client/database_branches.rs: FileTooLong \u2014 1797 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 1297 over it, 3.59\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/operator/src/client/database_branches.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"00ad6756b349befc060ad17093247db7d138065b8ec438edaaec40eeed11a7b1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: App.App: FunctionTooLong \u2014 App runs 353 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 253 over it, 3.53\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/App.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a889c798a2713b282bb919e005d1eea5bb115a30cf52e50a900e88af0ba0a23"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OperatorApi.prepare_branch_dbs: MethodTooLong \u2014 prepare_branch_dbs runs 343 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 243 over it, 3.43\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":"mirrord/operator/src/client.rs"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"05a2e879ebee2362079849858d1ced52ccc22ddf2f4ebecdd08a6d5e4aa96715"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: mirrord::preview::preview_start: FunctionTooLong \u2014 mirrord::preview::preview_start runs 312 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 212 over it, 3.12\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":"mirrord/cli/src/preview.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"30caa436cbc5355533b1af4834d6bce90b1d0abd5b574c3016f693485727f627"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: mirrord_layer::file::hooks::enable_file_hooks: FunctionTooLong \u2014 mirrord_layer::file::hooks::enable_file_hooks runs 302 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 202 over it, 3.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/layer/src/file/hooks.rs"},"region":{"startLine":1592}}}],"partialFingerprints":{"codehealthFindingId/v1":"990e65cf8c9c1783cc6bdaed5274345ce02794d3f81e342eadaf3564340675f1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: socket/mod.rs: FileTooLong \u2014 1505 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 1005 over it, 3.01\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/layer-win/src/hooks/socket/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7873dc61b712f7f9b7abe9ee1e6a04301028da7e1a6145d8a8ea23b764447e09"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: file/hooks.rs: FileTooLong \u2014 1296 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 78 free functions. The bar is 500 significant lines; this is 796 over it, 2.59\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/layer/src/file/hooks.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a1b1e4fa9e5efc928760703a8ffdd2d08ef63dcc426715d73d7f1420b04944f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SessionSidebar.SessionSidebar: FunctionTooLong \u2014 SessionSidebar runs 258 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 158 over it, 2.58\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/SessionSidebar.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"d726088caf754e85677e8a93f9f401fddc277b82587bcebe4db1b29bc96654d1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LayerConfig.verify: MethodTooLong \u2014 verify runs 244 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 144 over it, 2.44\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/config/src/lib.rs"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"f287e488f27bb85c03829eea7ad72c89269c12366614dcd08ee604ae580be9f4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: mirrord_layer_win::hooks::socket::initialize_hooks: FunctionTooLong \u2014 mirrord_layer_win::hooks::socket::initialize_hooks runs 228 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 128 over it, 2.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/layer-win/src/hooks/socket/mod.rs"},"region":{"startLine":2025}}}],"partialFingerprints":{"codehealthFindingId/v1":"92368025b5cf85c999b68d70d7b3ff6a0e7be5a5a45bc6d931c7905a6be3ba09"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ChaosRuleForm.ChaosRuleForm: FunctionTooLong \u2014 ChaosRuleForm runs 223 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 123 over it, 2.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/chaos/ChaosRuleForm.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"76f8c6f04b6d7345fc72185e0fdc04a5c3a21a9fc56e1d744754b501a42bc94b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/config.rs: FileTooLong \u2014 1014 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 514 over it, 2.03\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/cli/src/config.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"820bdf5c857f9c81cf6cd47d4303a5e23d2b3eb450fae416c918fa1f33aac6c7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FilesProxy.file_request: MethodTooLong \u2014 file_request runs 199 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 99 over it, 1.99\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":"mirrord/intproxy/src/proxies/files.rs"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf3ab96f5294418572e37b72b0f33ccd1405de373651af789fe4fbcc50bac404"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: EventStream.EventStream: FunctionTooLong \u2014 EventStream runs 199 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 99 over it, 1.99\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/EventStream.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"33ac4531d51c640efcaa1855b7b75227e4ff1bc1809f7e2db725e3f94cde8834"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/entrypoint.rs: FileTooLong \u2014 917 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 417 over it, 1.83\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/agent/src/entrypoint.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c6c2a79e94bfa3785c53ae6735406829b5cd9f80ae6ddbde3bef90d769ef514"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: mirrord_layer_win::hooks::files::ops::query_info::info: FunctionTooLong \u2014 mirrord_layer_win::hooks::files::ops::query_info::info runs 182 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 82 over it, 1.82\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":"mirrord/layer-win/src/hooks/files/ops/query_info.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"b91fb26ebf0ab6277a77ba3018b136dbab807afb4b336cec32c7d2e1cd1fe764"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ui/server.rs: FileTooLong \u2014 897 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 39 free functions. The bar is 500 significant lines; this is 397 over it, 1.79\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/cli/src/ui/server.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9abb29dc6618d18bb8840fba8ae7cc3d3bbb2b897bffaa7d18462976165fc2dd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/preview.rs: FileTooLong \u2014 896 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 396 over it, 1.79\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/cli/src/preview.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c28aa8bc370329102bae665a19776115ae54c69a91edce6214f54f63b3af8715"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FilesProxy.file_response: MethodTooLong \u2014 file_response runs 178 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 78 over it, 1.78\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":"mirrord/intproxy/src/proxies/files.rs"},"region":{"startLine":900}}}],"partialFingerprints":{"codehealthFindingId/v1":"90f61fe2562c55a3cf6bfc2a7e861c9819962a204bc468bdd678591c66c64218"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Wizard.Wizard: FunctionTooLong \u2014 Wizard runs 175 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 75 over it, 1.75\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/wizard/src/components/Wizard.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf2bf6b75aac16d3cc637309834cb2633548a3e439924471740316aa60e1d58c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SessionDetail.SessionDetail: FunctionTooLong \u2014 SessionDetail runs 173 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 73 over it, 1.73\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/SessionDetail.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d22454d3628bfb068341bc5958221ba17bcb5154f97f0efc1afb3f9aa020f5b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StatusCommandHandler.handle: MethodTooLong \u2014 handle runs 171 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 71 over it, 1.71\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":"mirrord/cli/src/operator/status.rs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf2781b322dad0fafae0ebd0dbbea848df868ca365e7d1075b464381cde833cd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: socket/ops.rs: FileTooLong \u2014 836 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 336 over it, 1.67\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/layer/src/socket/ops.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e11324a95ee33ca8efbf232b4e94502a61df03864110c9e68a92e5c7b1852689"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: feature/database_branches.rs: FileTooLong \u2014 822 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 322 over it, 1.64\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/config/src/feature/database_branches.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"245fb23d7e427714ea266464460e87f66b59399f1d6dc4f81794d413395c5bb8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: mirrord::main: FunctionTooLong \u2014 mirrord::main runs 162 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 62 over it, 1.62\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":"mirrord/cli/src/main.rs"},"region":{"startLine":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae7c0feb24880861ff45432b6ff4e8001253713f70b11c856d33075338fc22e1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: db_branching/branch_database.rs: FileTooLong \u2014 806 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 306 over it, 1.61\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/operator/src/crd/db_branching/branch_database.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"589100fa5a587e5db94d6816a9b028d78aecc1357fafd58de6cfe31de786392f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: mirrord_layer::socket::hooks::enable_socket_hooks: FunctionTooLong \u2014 mirrord_layer::socket::hooks::enable_socket_hooks runs 161 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 61 over it, 1.61\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":"mirrord/layer/src/socket/hooks.rs"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"568f76f94dce143cb34135d7cfbef7311839d0b06e9799afb398c07bb7c37db2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: proxies/files.rs: FileTooLong \u2014 794 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 67% of them inside a single declaration: FilesProxy (4 blocks, 438-1258). The bar is 500 significant lines; this is 294 over it, 1.59\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/intproxy/src/proxies/files.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"07c259c773715517eaf8afaaf9925fb51abc2d18ad7ad440441b79bec69d3f46"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useChaosRules.useChaosRules: FunctionTooLong \u2014 useChaosRules runs 155 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 55 over it, 1.55\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/hooks/useChaosRules.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d737e8080ba05c6682f18ee075779457f169545eb2149724cf49dae6b63730c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FileManager: ClassTooLong \u2014 612 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), 37 methods, 3 blocks, lines 99-1026. The bar is 400 significant lines; this is 212 over it, 1.53\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":"mirrord/agent/src/file.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"02ae3568ad84877f39369e0bf1e462ae465685fbd350d421ab5def9b0df141db"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: UnifiedBranchParams: ClassTooLong \u2014 610 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 13 methods, 2 blocks, lines 1784-2503. The bar is 400 significant lines; this is 210 over it, 1.53\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":"mirrord/operator/src/client/database_branches.rs"},"region":{"startLine":1784}}}],"partialFingerprints":{"codehealthFindingId/v1":"8384c9cbfdc570ce34525e15ef7a16c9b10d97f13b3f84bef981ea95271342b6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/main.rs: FileTooLong \u2014 755 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 255 over it, 1.51\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/cli/src/main.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d638f6da96994ac537d39fc079c56f61b919727a3e9fb9a4a0b7e717e1fcf6bd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: preview_envs/view.rs: FileTooLong \u2014 744 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 244 over it, 1.49\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/tui/src/screens/preview_envs/view.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dc22cbb37f0c8779e276bb94de4530cda98e29a85fccef2b5be6b1d2934ea4d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SubscribeEventsTable.SubscribeEventsTable: FunctionTooLong \u2014 SubscribeEventsTable runs 148 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 48 over it, 1.48\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/SubscribeEventsTable.tsx"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"c363c46f3a82020270494ea27cc09ad7bd2420d26c8966291fe433cbdb62478d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PreviewDiagnostics.PreviewDiagnostics: FunctionTooLong \u2014 PreviewDiagnostics runs 147 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 47 over it, 1.47\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/PreviewDiagnostics.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aabcdb1a81e9b01f43099e81914a16aac058e67e9e8e40029eff7050b9a1096"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screens/databases.rs: FileTooLong \u2014 732 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 232 over it, 1.46\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/tui/src/screens/databases.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfdd5206c64cbc423be62c43a516ddc068023e74efa4c037590356fd9d02151e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: mirrord::preview::preview_status: FunctionTooLong \u2014 mirrord::preview::preview_status runs 146 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 46 over it, 1.46\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":"mirrord/cli/src/preview.rs"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b7f5a228b826eb073ebcf1892573afba2b9e4847a3bdbcb5fe4c8912b521788"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/port_forward.rs: FileTooLong \u2014 728 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 228 over it, 1.46\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/cli/src/port_forward.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a69c29529cf7dee138452161be2f45e3c1ab909af2dc877ad84f704f44495a36"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: mirrord::external_proxy::proxy: FunctionTooLong \u2014 mirrord::external_proxy::proxy runs 143 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 43 over it, 1.43\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":"mirrord/cli/src/external_proxy.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e1aac7659d1bbd1f38781e17b677f9b53088ca4971534fea389d4e3d01bf04c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: UnifiedDatabaseBranchParams.new: MethodTooLong \u2014 new runs 143 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 43 over it, 1.43\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":"mirrord/operator/src/client/database_branches.rs"},"region":{"startLine":1394}}}],"partialFingerprints":{"codehealthFindingId/v1":"f047241f734facfe3eb632d0922458d42dccf9c1bae0b4edbce7ebf55a7a741d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TrafficTunnels.handle_event: MethodTooLong \u2014 handle_event runs 143 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 43 over it, 1.43\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":"mirrord/protocol-api/src/client/tunnels.rs"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad8cb0ce7d554f8998e79f7e8e2dd88f14d6e6e0903aaec3573ac4d39ae5685f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: targets/form.rs: FileTooLong \u2014 713 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 213 over it, 1.43\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/tui/src/screens/targets/form.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ef95bedfd9095e493a1f771b41352dc4cc1f18a28085cf8653f311e94a46407"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: mirrord::connection::try_connect_using_operator: FunctionTooLong \u2014 mirrord::connection::try_connect_using_operator runs 142 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 42 over it, 1.42\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/cli/src/connection.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"132f6798fddea4ca4dcb77f099e3f24a23a0514bb8318f3f71d9e8e98e6d852d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: IncomingProxy: ClassTooLong \u2014 565 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 8 methods, 3 blocks, lines 184-1034. The bar is 400 significant lines; this is 165 over it, 1.41\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":"mirrord/intproxy/src/proxies/incoming.rs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"4470f968183e08a9a135d514256fc31a1481e6c9e0785fd95e710d05ee838165"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PreviewEnvsScreen.handle_event: MethodTooLong \u2014 handle_event runs 141 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 41 over it, 1.41\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":"mirrord/tui/src/screens/preview_envs.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"49ef04108269fe35aea9c06700d560fd2609517b103f4a24e3d1e1626d6c3907"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: mirrord_layer_win::hooks::files::initialize_hooks: FunctionTooLong \u2014 mirrord_layer_win::hooks::files::initialize_hooks runs 139 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 39 over it, 1.39\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/layer-win/src/hooks/files/mod.rs"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d5a6e370274dbea89dee1e163e395f9cec9f1c8c6cdf3612e24a06c4e8bf69c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: mirrord_agent::entrypoint::start_agent: FunctionTooLong \u2014 mirrord_agent::entrypoint::start_agent runs 138 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 38 over it, 1.38\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":"mirrord/agent/src/entrypoint.rs"},"region":{"startLine":955}}}],"partialFingerprints":{"codehealthFindingId/v1":"891178bbada809ccf01a1b7ef6154e1cb14ef8611cb7575d0dd097220eb479d3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: proxies/incoming.rs: FileTooLong \u2014 686 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 82% of them inside a single declaration: IncomingProxy (3 blocks, 184-1034). The bar is 500 significant lines; this is 186 over it, 1.37\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/intproxy/src/proxies/incoming.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cdad45e7f025d823c70d941f474d370a85a12ab47681ef33190b9d02b2b51f8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: ConnectParams: TooManyFields \u2014 41 stored fields beside 1 method. The bar is 30 stored fields; this is 11 over it, 1.37\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/operator/src/client/connect_params.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"e705dccdd4e567c922b7a58bbc0b337fc0996600735bb12d9c3842904a270ad0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/error.rs: FileTooLong \u2014 682 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 75% of them inside a single declaration: CliError (4 blocks, 254-980). The bar is 500 significant lines; this is 182 over it, 1.36\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/cli/src/error.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"417aae84d80db87d3e02f9d00a8f1d15adf15a19b6a7d644f878d74e271f7de3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/file.rs: FileTooLong \u2014 672 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 91% of them inside a single declaration: FileManager (3 blocks, 99-1026). The bar is 500 significant lines; this is 172 over it, 1.34\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/agent/src/file.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb0bcfeaf216b0251a608e5a66f7451a0805c00b3b9c6bf171659ec9d53e3610"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: OperatorApi: TooManyMethods \u2014 40 methods. The bar is 30 methods; this is 10 over it, 1.33\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":"mirrord/operator/src/client.rs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"452f9aeea3c524c1722c594e0e93b3a1a254a215d2e8f1f778ee604c28f71937"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ResolvedTarget: ClassTooLong \u2014 533 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), 16 methods, 4 blocks, lines 43-856. The bar is 400 significant lines; this is 133 over it, 1.33\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":"mirrord/kube/src/resolved.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9407b26838e28a3c49b2a3109a8a672b8dc8a6f582b91705a83e36c0082811d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FilesProxy: ClassTooLong \u2014 531 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 10 methods, 4 blocks, lines 438-1258. The bar is 400 significant lines; this is 131 over it, 1.33\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":"mirrord/intproxy/src/proxies/files.rs"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae42dac57b485369724b1918ecec40511786c40af5edeac829fddbf67461c245"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 661 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 76% of them inside a single declaration: IntProxy (2 blocks, 129-992). The bar is 500 significant lines; this is 161 over it, 1.32\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/intproxy/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b7ba3def7c24d943ce99e18fe0b1dc680021489ebeb5c9802aab323d8785b95"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: OperatorSessionDetail.OperatorSessionDetail: FunctionTooLong \u2014 OperatorSessionDetail runs 132 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 32 over it, 1.32\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/OperatorSessionDetail.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"e156454b1a19860eaec5d91076c8e7e9fbf64310b7df900f99c43be3a5c85037"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: mirrord::internal_proxy::proxy: FunctionTooLong \u2014 mirrord::internal_proxy::proxy runs 131 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 31 over it, 1.31\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/cli/src/internal_proxy.rs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"85ded868493da81aedc02b156bd054c03c535a24c9c9cc48fb5cdf8182ab1dc8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PortForwarder.handle_msg_from_agent: MethodTooLong \u2014 handle_msg_from_agent runs 130 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 30 over it, 1.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/cli/src/port_forward.rs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"082f13ed1040223b012b0a1f54b4d107885549b9b33de54a1222c040bac1d657"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/crd.rs: FileTooLong \u2014 645 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 145 over it, 1.29\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/operator/src/crd.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"24d1a03f1a0d24b05676370fe1e725475c7e91e4cb2fe9e615c363e3c1f84211"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 639 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 77% of them inside a single declaration: LayerConfig (3 blocks, 330-1415). The bar is 500 significant lines; this is 139 over it, 1.28\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/config/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1ce91be91e59e65e0af292a013ec14c32c742722ebece9320bf3fbe264dba2b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CliError: ClassTooLong \u2014 510 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 4 blocks, lines 254-980. The bar is 400 significant lines; this is 110 over it, 1.28\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":"mirrord/cli/src/error.rs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfc7f073bca58d87c143eacb984c9b970362d586191651c5c14409356b18451d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: mirrord::db_branches::destroy_command: FunctionTooLong \u2014 mirrord::db_branches::destroy_command runs 127 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 27 over it, 1.27\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":"mirrord/cli/src/db_branches.rs"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba50cff195bcaa221cd61d6d15fc8af62229e57c97e06f16a5e9d106c527b953"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: IntProxy: ClassTooLong \u2014 501 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), 10 methods, 2 blocks, lines 129-992. The bar is 400 significant lines; this is 101 over it, 1.25\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":"mirrord/intproxy/src/lib.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"542c02f1cde6ea626f8b3c6bbe920b98aef525a5bd958f605b9f6cf2f96c7073"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FileManager: TooManyMethods \u2014 37 methods. The bar is 30 methods; this is 7 over it, 1.23\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":"mirrord/agent/src/file.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"8085228b14d1e1b17dcee5bc798fe93ed2f545bee41797b46efc151c85e3bf1c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LayerConfig: ClassTooLong \u2014 492 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), 8 methods, 3 blocks, lines 330-1415. The bar is 400 significant lines; this is 92 over it, 1.23\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":"mirrord/config/src/lib.rs"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"02bdb03296eb0f25d96003c06f1bc5c05f25095d77c5f8f77fb0bd9d02dc19e5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: mirrord_tui::screens::queues::details_lines: FunctionTooLong \u2014 mirrord_tui::screens::queues::details_lines runs 123 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 23 over it, 1.23\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":"mirrord/tui/src/screens/queues.rs"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d800ab00e2fe9fabd1b12a8bd9894de51a571549e5a7e17e06371b1b046a739"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OperatorApi.prepare_session: MethodTooLong \u2014 prepare_session runs 122 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/operator/src/client.rs"},"region":{"startLine":1519}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea998cc954715f14532d61771711ac620de2dfcbb5350e5ac9e2f349ba28f1be"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: mirrord_layer_win::hooks::files::ops::open::handle: FunctionTooLong \u2014 mirrord_layer_win::hooks::files::ops::open::handle runs 121 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 21 over it, 1.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/layer-win/src/hooks/files/ops/open.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"28f81e11d25bfddc703f1dc2bd8c9e0b3158abf3e04572733edac69107d42f32"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: socket/hooks.rs: FileTooLong \u2014 590 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 32 free functions. The bar is 500 significant lines; this is 90 over it, 1.18\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/layer/src/socket/hooks.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbc288535ac74e9354a3c97241e994df1600d67a1884cbdab76febccb3afa8bf"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OutgoingProxy.run: MethodTooLong \u2014 run runs 118 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 18 over it, 1.18\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":"mirrord/intproxy/src/proxies/outgoing.rs"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"45c48a4e583ff33a9834821ed6ab3bbd13015ae265017307f43b092b9243699d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: OutgoingProxy: ClassTooLong \u2014 469 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), 26 methods, 3 blocks, lines 214-951. The bar is 400 significant lines; this is 69 over it, 1.17\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":"mirrord/intproxy/src/proxies/outgoing.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"410814a0aac724931f2a2fdbad9c637095b29b841d39ccac47968528b0c2c6fb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: xtask::main: FunctionTooLong \u2014 xtask::main runs 117 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 17 over it, 1.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"xtask/src/main.rs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"428526d24dab31ab479cd144727493f42f31da9d989221b55145d91270bdab03"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ResolvedTarget.assert_valid_mirrord_target: MethodTooLong \u2014 assert_valid_mirrord_target runs 116 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 16 over it, 1.16\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":"mirrord/kube/src/resolved.rs"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3cc943cf982fe519e5b6b9ed2c601e123d892667431e1989d7c0966fd9e82c5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FileManager.handle_message: MethodTooLong \u2014 handle_message runs 115 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/agent/src/file.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4b8e28ec843d6a9db08bc5737c717425ac2e5c61f668fdc9694e86e20a8398b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: BreakPopover.BreakPopover: FunctionTooLong \u2014 BreakPopover runs 115 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/chaos/BreakPopover.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"56e4c9f9fc8222294ee580b1e1b8a00da7724c725f95d23a9fb84d6fec90af86"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/config.rs: FileTooLong \u2014 574 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 74 over it, 1.15\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/up/src/config.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8dee28f0e8849bbd7d6f4a2d9e88fe731cd8fde89819413f3b7ccdf869bd8c9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/resolved.rs: FileTooLong \u2014 570 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 94% of them inside a single declaration: ResolvedTarget (4 blocks, 43-856). The bar is 500 significant lines; this is 70 over it, 1.14\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/kube/src/resolved.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"57e224831db5874343fbd1a55f96c2a74379a8a7e63a78a55b5ef86dc2fb59c8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screens/queues.rs: FileTooLong \u2014 570 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 70 over it, 1.14\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/tui/src/screens/queues.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c497044edf5bed995498db2e919639d0d4634650ae02b9e56e361d850af34202"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: mirrord::internal_proxy::db_portforwards::resolve_port_mappings: FunctionTooLong \u2014 mirrord::internal_proxy::db_portforwards::resolve_port_mappings runs 114 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 14 over it, 1.14\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":"mirrord/cli/src/internal_proxy/db_portforwards.rs"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb80ff14ee78d2c6c54e626643ec027ae8914914226b786a2077b1c15360c3c5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: mirrord_layer_win::hooks::socket::bind_detour_impl: FunctionTooLong \u2014 mirrord_layer_win::hooks::socket::bind_detour_impl runs 114 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 14 over it, 1.14\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":"mirrord/layer-win/src/hooks/socket/mod.rs"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"d20aea091a60e31b8eb598f890d834f5e2fa614d9e768efb74025553fb466f80"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: proxies/outgoing.rs: FileTooLong \u2014 568 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 83% of them inside a single declaration: OutgoingProxy (3 blocks, 214-951). The bar is 500 significant lines; this is 68 over it, 1.14\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/intproxy/src/proxies/outgoing.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4474496f32cd0d9e6c67e1ac059a1b4def394a07fd80e3b3a0a4f46e564f5e41"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MirrordExecution.spawn_agent_and_intproxy: MethodTooLong \u2014 spawn_agent_and_intproxy runs 113 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 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/cli/src/execution.rs"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae3cf11bb429d823467ba450f6fad7d81eeb48877becbf4710a58715ecfe179d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: IncomingProxy.handle_chunked_request: MethodTooLong \u2014 handle_chunked_request runs 113 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 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/intproxy/src/proxies/incoming.rs"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"45b66171149407150f2a223b4cf806f6bedcbacdc6d6a611dccd2a38e023338d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: mirrord_layer_win::hooks::socket::connectex_detour: FunctionTooLong \u2014 mirrord_layer_win::hooks::socket::connectex_detour runs 113 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 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/layer-win/src/hooks/socket/mod.rs"},"region":{"startLine":1034}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e71a5bf1952c00fe0fcb554fceb66739d18a159712aa9e6a5e3abefc690296f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TargetsScreen: ClassTooLong \u2014 444 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), 12 methods, 3 blocks, lines 97-786. The bar is 400 significant lines; this is 44 over it, 1.11\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":"mirrord/tui/src/screens/targets.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"677662a417f911292adeec45cda8f5573878ea29e8ae365f7ce007bc08d64f32"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 555 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 55 over it, 1.11\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/layer/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf9e4fc4ca2ae54e60efda581ef178d1775f7e4909870431887a745920e5586a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TcpStealerApi.handle_client_message: MethodTooLong \u2014 handle_client_message runs 111 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 11 over it, 1.11\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":"mirrord/agent/src/steal/api.rs"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"0554dd223b480f27da35d3584a1d3422aa0603601581fa315b40c57bf3480ba0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: mirrord::ui::chaos_command: FunctionTooLong \u2014 mirrord::ui::chaos_command runs 111 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 11 over it, 1.11\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":"mirrord/cli/src/ui.rs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"861186762967e251613eaba64ff23302a5bae4ea8c6e2481cb690a94a73d9347"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MirrordExecution: ClassTooLong \u2014 442 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), 9 methods, 2 blocks, lines 94-884. The bar is 400 significant lines; this is 42 over it, 1.11\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":"mirrord/cli/src/execution.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa8119363d556a754d96e4fa97713a9a400af07a767c3817e239256a308e305e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/execution.rs: FileTooLong \u2014 552 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 80% of them inside a single declaration: MirrordExecution (2 blocks, 94-884). The bar is 500 significant lines; this is 52 over it, 1.10\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/cli/src/execution.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaa55ec59dbf5d8b5ddffd3300ca83e8c07696c253c12c2ac9921aa29cafeddb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DebuggerType.get_ports: MethodTooLong \u2014 get_ports runs 110 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/layer-lib/src/debugger_ports.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"079b7481441db2d12598174ef1e502b8b1340d14c570d8d643e60f313ee93efd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AppHeader.AppHeader: FunctionTooLong \u2014 AppHeader runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/AppHeader.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cafa645f25be6fb35730623719fcb15d51af4613a742a42263d8a3accdc200c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: steal/api.rs: FileTooLong \u2014 539 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 75% of them inside a single declaration: TcpStealerApi (3 blocks, 54-669). The bar is 500 significant lines; this is 39 over it, 1.08\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/agent/src/steal/api.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"342754a1620e5f0d2fccd2db0b1581e09c922a6c07222509894f0ea33c8e9767"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/JsonUtils.tsx: FileTooLong \u2014 534 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 34 over it, 1.07\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/wizard/src/components/JsonUtils.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"701dd5af5872248499f5a1f5502e4b0072a3481175c000d57f704e376f4378a5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: file/ops.rs: FileTooLong \u2014 533 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 37 free functions. The bar is 500 significant lines; this is 33 over it, 1.07\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/layer/src/file/ops.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"56094c675d46e24cf6b526e502ae5cb48c01a4494673c5d2d001c1cefeb646fe"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/tcp.rs: FileTooLong \u2014 528 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 28 over it, 1.06\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/protocol/src/tcp.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"580a55919538619d64eefa1fef7995198b38083f4cf1274bf9e29109dc952bc6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: mirrord_layer_win::hooks::socket::wsa_send_to_detour: FunctionTooLong \u2014 mirrord_layer_win::hooks::socket::wsa_send_to_detour runs 105 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 5 over it, 1.05\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":"mirrord/layer-win/src/hooks/socket/mod.rs"},"region":{"startLine":1290}}}],"partialFingerprints":{"codehealthFindingId/v1":"353db79f80f2fb68155c95b7621a2ca6154dafd9197586720012f5b4336a613a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SettingsForm.draw: MethodTooLong \u2014 draw runs 105 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 5 over it, 1.05\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":"mirrord/tui/src/screens/targets/form.rs"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e36fb165aae12f0a5ccb404c988c87ff8e6f7618c13d01dc2d8da4bc5f5165a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Metrics.new: MethodTooLong \u2014 new runs 104 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/agent/src/metrics.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"e04b8d70eba8cab21b0abf2bce4f54905f9431d7751150d9864ceb291b838f4a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RuntimeData.from_pod: MethodTooLong \u2014 from_pod runs 104 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/kube/src/api/runtime.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"f606189fce2fa0a24d57d05785442aadefa04ab50c6e0663deed525ad1ecae91"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: crd/preview.rs: FileTooLong \u2014 518 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 18 over it, 1.04\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/operator/src/crd/preview.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b8b1e5bbe15bde4dfb1e59bbbc773f009a35e2738ded13bae48e578d8522f90"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: JoinBar.JoinBar: FunctionTooLong \u2014 JoinBar runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/JoinBar.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"11998503e6d6431b08202655827942bd94dde595e5bcca01dbbbe65e044a8a11"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: IntProxy.handle_agent_message: MethodTooLong \u2014 handle_agent_message runs 102 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 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/intproxy/src/lib.rs"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"e08943e7f549dd6f13021570812d40156470601de619d1ddb766086721e960d4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OperatorApi.should_copy_target: MethodTooLong \u2014 should_copy_target runs 102 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 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/operator/src/client.rs"},"region":{"startLine":1996}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c9fb7d1db040a8c7dc6a29b18619d9952cd39d08eaa5827e8312bf92b7f6784"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TcpStealerApi: ClassTooLong \u2014 404 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), 8 methods, 3 blocks, lines 54-669. The bar is 400 significant lines; this is 4 over it, 1.01\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":"mirrord/agent/src/steal/api.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"80e5ac0e963e9e8f0c4602802d9ceebcde6db81f53c4cee3831c1e8d4033065b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MirrordExecution.start_internal: MethodTooLong \u2014 start_internal runs 101 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/cli/src/execution.rs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"579d86b459664fc622df1b1fad550800299d0af5710b1e38e5103628c8dfdbeb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screens/targets.rs: FileTooLong \u2014 501 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 89% of them inside a single declaration: TargetsScreen (3 blocks, 97-786). The bar is 500 significant lines; this is 1 over it, 1.00\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/tui/src/screens/targets.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c19ff4c50e2aa0992cf84aad8a47ded14ca128ea29732b1e6a24adf91c8e00d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 35 shared lines): mirrord/operator/src/client/database_branches.rs:167-214 | mirrord/operator/src/client/database_branches.rs:329-376 | mirrord/operator/src/client/database_branches.rs:492-539 \u2014 These 3 members are variants of one another: a block of 35 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 3 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 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/operator/src/client/database_branches.rs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cca6e9ae4984b77b254f27481caebce5e1ce93b80fdb4f40ed228228806c581"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (60 shared lines): mirrord/operator/src/client.rs:1530-1681 | mirrord/operator/src/client.rs:1837-1956 \u2014 These two members are variants of one another: 60 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":"mirrord/operator/src/client.rs"},"region":{"startLine":1530}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a13e78bafd651c0d7f8e1d15560bc83b955d862b289c4d6833bd5a6df563db7"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (44 shared lines): mirrord/cli/src/execution.rs:458-572 | mirrord/cli/src/execution.rs:612-776 \u2014 These two members are variants of one another: 44 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/cli/src/execution.rs"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"426e3b81e7c326871cda79aeada267b66edf67a871c0e9d68f49ee6f61c382f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (43 shared lines): mirrord/cli/src/ci.rs:369-452 | mirrord/cli/src/ci.rs:466-575 \u2014 These two members are variants of one another: 43 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/cli/src/ci.rs"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6a345bbf1a47808e6b57a46c113d793697f7a75352ed34047070c96f1dbdc48"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (27 shared lines): mirrord/kube/src/api/kubernetes/rollout/workload_ref.rs:46-96 | mirrord/kube/src/api/kubernetes/rollout/workload_ref.rs:108-162 \u2014 These two members are variants of one another: 27 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":"mirrord/kube/src/api/kubernetes/rollout/workload_ref.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"715c47f4acffea189f8d5954091ecabdaabd3611c5e8364be8a705ba1c600139"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): mirrord/kube/src/api/kubernetes/seeker.rs:273-305 | mirrord/kube/src/api/kubernetes/seeker.rs:322-352 \u2014 These two members are one piece of code written twice and then edited apart: 29 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":"mirrord/kube/src/api/kubernetes/seeker.rs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"05195b50ec5135c4a590cec28ce6d4b37d4a8184e477a11dd07d9627518ea5b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (10 members, 50\u002B identical tokens): mirrord/operator/src/client/database_branches.rs:1806-1851 | mirrord/operator/src/client/database_branches.rs:1861-1902 | mirrord/operator/src/client/database_branches.rs:1912-1953 | mirrord/operator/src/client/database_branches.rs:1962-2002 | mirrord/operator/src/client/database_branches.rs:2012-2053 | mirrord/operator/src/client/database_branches.rs:2063-2102 | mirrord/operator/src/client/database_branches.rs:2112-2151 | mirrord/operator/src/client/database_branches.rs:2160-2199 | mirrord/operator/src/client/database_branches.rs:2209-2248 | mirrord/operator/src/client/database_branches.rs:2257-2305 \u2014 These 10 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 10 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 10 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/operator/src/client/database_branches.rs"},"region":{"startLine":1806}}}],"partialFingerprints":{"codehealthFindingId/v1":"019d36db1fe5530929ee94223fa0f851f67165718ad65e15463683b9e4d0131b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): mirrord/operator/src/client.rs:705-1205 | mirrord/operator/src/client/database_branches.rs:62-156 | mirrord/operator/src/client/database_branches.rs:225-319 | mirrord/operator/src/client/database_branches.rs:387-481 | mirrord/operator/src/client/database_branches.rs:1051-1179 \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":"mirrord/operator/src/client.rs"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"7de6f6ef69891b013f772d4c405b72173fea73dad9d64fc28eb383d6a94c2fc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): mirrord/operator/src/client/database_branches.rs:62-156 | mirrord/operator/src/client/database_branches.rs:225-319 | mirrord/operator/src/client/database_branches.rs:387-481 | mirrord/operator/src/client/database_branches.rs:1051-1179 | mirrord/operator/src/client/database_branches.rs:1296-1357 \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":"mirrord/operator/src/client/database_branches.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4228e8dca88456176ed5339fc0aa98b32e93c4bd881c43dab3bd2b16b3c2250"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): mirrord/cli/src/db_branches.rs:75-103 | mirrord/cli/src/db_branches.rs:113-135 | mirrord/cli/src/db_branches.rs:145-167 | mirrord/cli/src/db_branches.rs:177-199 \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":"mirrord/cli/src/db_branches.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"96b14c8eacfaf88c26545da8d5ed960725ccd2022270a776b956d61459cc2149"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): mirrord/protocol-api/src/client/simple_request.rs:84-106 | mirrord/protocol-api/src/client/simple_request.rs:116-140 | mirrord/protocol-api/src/client/simple_request.rs:150-180 | mirrord/protocol-api/src/client/simple_request.rs:190-221 \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":"mirrord/protocol-api/src/client/simple_request.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c7ca1c92e3b6b8f6a314c716afacc7a1b1f9f80303271962725049cdabc3a97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (49 lines \u00D7 2): mirrord/tui/src/screens/databases.rs:386-434 | mirrord/tui/src/screens/queues.rs:393-441 \u2014 before extracting anything, compare \u0060mirrord/tui/src/screens/databases.rs\u0060 and \u0060mirrord/tui/src/screens/queues.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 246 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":"mirrord/tui/src/screens/databases.rs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"56af596fec627837ae88ad6ad6b380af94ed88fb1e9051d66d79895435d8c291"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): mirrord/operator/src/client.rs:1569-1604 | mirrord/operator/src/client.rs:1892-1927 \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":"mirrord/operator/src/client.rs"},"region":{"startLine":1569}}}],"partialFingerprints":{"codehealthFindingId/v1":"26ff1577db94351111fca651defe714b51decdc581566fa74844255a67c910b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): mirrord/cli/src/port_forward.rs:1049-1082 | mirrord/layer-lib/src/setup.rs:331-364 \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":"mirrord/cli/src/port_forward.rs"},"region":{"startLine":1049}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fa2e17c35db0a8db6e2fd8cf8547d753bfc1be00724b70bfa3d91fb6caca131"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30\u201331 lines \u00D7 2): mirrord/tui/src/screens/databases.rs:246-275 | mirrord/tui/src/screens/queues.rs:259-289 \u2014 before extracting anything, compare \u0060mirrord/tui/src/screens/databases.rs\u0060 and \u0060mirrord/tui/src/screens/queues.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 246 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":"mirrord/tui/src/screens/databases.rs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"85a14fe3d37c7db31c89f24d1ba1c01dbc927929dd1b87a14845be5513452928"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201329 lines \u00D7 2): mirrord/cli/src/preview.rs:608-636 | mirrord/cli/src/preview.rs:830-856 \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":"mirrord/cli/src/preview.rs"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"635db4d261ebfa6bb5a4e6ef1afa5e49f6c4e5a78916a5a5c5c0e9d833b86d63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201328 lines \u00D7 2): mirrord/layer/src/socket/ops.rs:1050-1076 | mirrord/layer/src/socket/ops.rs:1142-1169 \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":"mirrord/layer/src/socket/ops.rs"},"region":{"startLine":1050}}}],"partialFingerprints":{"codehealthFindingId/v1":"cda22fb6aadc54428a6132869073c8403c453b1ac12eb13e91e0628fe2f40bce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201327 lines \u00D7 2): mirrord/cli/src/preview.rs:866-892 | mirrord/cli/src/preview.rs:991-1015 \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":"mirrord/cli/src/preview.rs"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"d079eb72d85c095cd7e3edb8004811e9c4ac49fdee823772e7611bfc7483f89e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): mirrord/cli/src/ci.rs:399-423 | mirrord/cli/src/ci.rs:514-538 \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":"mirrord/cli/src/ci.rs"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4dc7f292e54c25e5472fc624393fa02ac09de3ecc37e095e4f313bcc13f4098"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): mirrord/tui/src/screens/databases.rs:198-222 | mirrord/tui/src/screens/queues.rs:203-227 \u2014 before extracting anything, compare \u0060mirrord/tui/src/screens/databases.rs\u0060 and \u0060mirrord/tui/src/screens/queues.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 246 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":"mirrord/tui/src/screens/databases.rs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"d334112e484bd78d369ab7a8eab518130746e5d2e6ef6180a3dd7ea1a0838126"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201322 lines \u00D7 2): mirrord/layer/src/socket/ops.rs:1086-1107 | mirrord/layer/src/socket/ops.rs:1185-1204 \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":"mirrord/layer/src/socket/ops.rs"},"region":{"startLine":1086}}}],"partialFingerprints":{"codehealthFindingId/v1":"f001bd46080290ce7d87b3babae4261b94572163ee57bce2d11fd1ee89f9c4cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): mirrord/operator/src/client/database_branches.rs:94-113 | mirrord/operator/src/client/database_branches.rs:257-276 | mirrord/operator/src/client/database_branches.rs:419-438 \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":"mirrord/operator/src/client/database_branches.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"bde979b110e7fa759ea42f9bf8b2ced82924477ec1dcfe13141a95254e337113"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 4): mirrord/operator/src/client/database_branches.rs:1833-1851 | mirrord/operator/src/client/database_branches.rs:1935-1953 | mirrord/operator/src/client/database_branches.rs:2035-2053 | mirrord/operator/src/client/database_branches.rs:2084-2102 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/operator/src/client/database_branches.rs"},"region":{"startLine":1833}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a23fc3ae324d5e2a40d33e7b1756563cdd06f9ef997ec28366503db0913878c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201319 lines \u00D7 3): mirrord/operator/src/client/database_branches.rs:2345-2363 | mirrord/operator/src/client/database_branches.rs:2414-2429 | mirrord/operator/src/client/database_branches.rs:2470-2485 \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":"mirrord/operator/src/client/database_branches.rs"},"region":{"startLine":2345}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4a235c221eb5a2bfe996f87eff4ffe5034fa17f6582b3efd5074564a3bbcd29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): mirrord/cli/src/execution.rs:463-481 | mirrord/cli/src/execution.rs:613-630 \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":"mirrord/cli/src/execution.rs"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aefbc108d92e823e1e5fa481193c1e60c37888a333157218fb4a2142dde2226"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): mirrord/layer-lib/src/socket/ops.rs:631-649 | mirrord/layer/src/socket/ops.rs:967-985 \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":"mirrord/layer-lib/src/socket/ops.rs"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"55a4dd88ab778641f065367503b3d18e6f255be7cde60e4aad05dea94ee1f86c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): mirrord/tui/src/screens/databases.rs:505-523 | mirrord/tui/src/screens/queues.rs:512-530 \u2014 before extracting anything, compare \u0060mirrord/tui/src/screens/databases.rs\u0060 and \u0060mirrord/tui/src/screens/queues.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 246 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":"mirrord/tui/src/screens/databases.rs"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"988f6d184a4c3fa6d76237ecb9795d34a4ef49b7641cdeded6ec7b851ddebc06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4): mirrord/cli/src/db_branches.rs:86-103 | mirrord/cli/src/db_branches.rs:118-135 | mirrord/cli/src/db_branches.rs:150-167 | mirrord/cli/src/db_branches.rs:182-199 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/cli/src/db_branches.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"dde701f0536d8d95bb0377d1a8632c8d7d2e3f0ef519b5e475121a6afecc8396"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): mirrord/cli/src/config.rs:1685-1702 | mirrord/cli/src/config.rs:1711-1727 \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":"mirrord/cli/src/config.rs"},"region":{"startLine":1685}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d0faacd73a27c96aca5589988ab908f0130c4a96456546a857db9d5a3123669"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): mirrord/cli/src/execution.rs:536-553 | mirrord/cli/src/execution.rs:738-755 \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":"mirrord/cli/src/execution.rs"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c20573d93ce3ac2ebbfe548514baf21b2fbe053da5f6c794014169ff94f5501"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): mirrord/layer/src/file/hooks.rs:954-971 | mirrord/layer/src/file/hooks.rs:979-996 \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":"mirrord/layer/src/file/hooks.rs"},"region":{"startLine":954}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d5997f83441c18f235a14f3a60fa5fb64fa037566b56f865443eb754951f5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): mirrord/intproxy/src/proxies/files.rs:362-378 | mirrord/protocol-api/src/file_ext.rs:209-225 \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":"mirrord/intproxy/src/proxies/files.rs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"a47b4ae71a81ec9ce606a1a1f278220e6f3957244099c57dfc28ae771dbd7268"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): xtask/src/main.rs:182-198 | xtask/src/main.rs:216-232 \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":"xtask/src/main.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"76be6b3a510b4bf03834ea07f41bd5b33160b58e3b413f3bc054316f70863d8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): mirrord/layer/macro/src/lib.rs:72-88 | mirrord/layer/macro/src/lib.rs:167-183 \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":"mirrord/layer/macro/src/lib.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c7ee88f01f8ead90a8882d316f78c69982f84f67b076b25080edc82c69c53ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): mirrord/analytics/src/lib.rs:363-378 | mirrord/analytics/src/lib.rs:428-443 \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":"mirrord/analytics/src/lib.rs"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"75f578262e0d4fad37c9a7ad0863dd5c64050d792d1db597a6fff2f77ecfb3a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): mirrord/cli/src/session.rs:515-530 | mirrord/tui/src/screens/terminal/sessions.rs:226-241 \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":"mirrord/cli/src/session.rs"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9cc89c87fa093d61458de3178a14539c48a02906dcb1eb2f8a3282895d50d99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): mirrord/intproxy/src/proxies/incoming/http_gateway.rs:268-283 | mirrord/intproxy/src/proxies/incoming/http_gateway.rs:298-313 \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":"mirrord/intproxy/src/proxies/incoming/http_gateway.rs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6072a4f4a8d8416db59a91ab131172c2f8715122a0dbfb5bd16a8e811007f86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): mirrord/intproxy/src/proxies/incoming.rs:666-681 | mirrord/intproxy/src/proxies/incoming.rs:684-699 \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":"mirrord/intproxy/src/proxies/incoming.rs"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"24f537b7ee1d0cd96815bef4521f8e87c5fcc3f6c4878f90c87cbe74b776cdfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): mirrord/tui/src/screens/databases.rs:77-92 | mirrord/tui/src/screens/queues.rs:76-91 \u2014 before extracting anything, compare \u0060mirrord/tui/src/screens/databases.rs\u0060 and \u0060mirrord/tui/src/screens/queues.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 246 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":"mirrord/tui/src/screens/databases.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"01978b065ace2512ee871f87dd9fd2c63533e7da52707443d9612212dd4759c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): mirrord/layer/macro/src/lib.rs:55-70 | mirrord/layer/macro/src/lib.rs:141-156 \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":"mirrord/layer/macro/src/lib.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb97dbacd1dc30ce0617d182a3379ad76380ada6b55f0f01fb325ecacd148f42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): mirrord/operator/src/client/database_branches.rs:78-92 | mirrord/operator/src/client/database_branches.rs:241-255 | mirrord/operator/src/client/database_branches.rs:403-417 \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":"mirrord/operator/src/client/database_branches.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"763f5e9bdb1d95cc7733dd97f782c68bae174a30168164d8db87a7254eda829b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): mirrord/kube/src/resolved.rs:425-439 | mirrord/kube/src/resolved.rs:491-505 \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":"mirrord/kube/src/resolved.rs"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4101766122fd17c0f590f96282703b6713676d8ff7325b04122e9b0645d6743"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): mirrord/layer/src/socket/hooks.rs:235-249 | mirrord/layer/src/socket/hooks.rs:260-274 \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":"mirrord/layer/src/socket/hooks.rs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"14916f41d3eb00bf4b2250de5b69b3ca815ac5313d10568eb0b199b06dc410c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): mirrord/operator/src/client/database_branches.rs:1156-1169 | mirrord/operator/src/client/database_branches.rs:1333-1347 \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":"mirrord/operator/src/client/database_branches.rs"},"region":{"startLine":1156}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d5209f5cd6a440f11a2caec9950b62250bf8711a83b88eef19ed7bc78192897"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): xtask/src/tasks/layer.rs:221-235 | xtask/src/tasks/layer.rs:265-279 \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":"xtask/src/tasks/layer.rs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"568c338d5d0479461282ff6cced6b24bc07e568baccc19648baeeded76d6fe00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): mirrord/layer/macro/src/lib.rs:40-54 | mirrord/layer/macro/src/lib.rs:126-139 \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":"mirrord/layer/macro/src/lib.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"995876623fa6b3286988e6e9226df6d87925fac2c807fd3e2b6b09b8d178d410"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 4): mirrord/operator/src/client/database_branches.rs:132-145 | mirrord/operator/src/client/database_branches.rs:295-308 | mirrord/operator/src/client/database_branches.rs:457-470 | mirrord/operator/src/client/database_branches.rs:1152-1164 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/operator/src/client/database_branches.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a1be39f19fd2da56e5d8d3bc2c0dc4b878b77afdf283a51b7499488a6823a8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): mirrord/cli/src/db_branches.rs:502-514 | mirrord/cli/src/db_branches.rs:573-586 \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":"mirrord/cli/src/db_branches.rs"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee3a4e37438b3e5e852c3df37aa1ea573160599d77a67a3c23508ae0b5675a32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): mirrord/layer-go/src/linux_aarch64.rs:87-100 | mirrord/layer-go/src/linux_aarch64.rs:131-144 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/layer-go/src/linux_aarch64.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"be113828d7d22bebcc2bc978d4900e74b1ec96d49465ec3ecb951d07756acceb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): mirrord/operator/src/client/database_branches.rs:1989-2002 | mirrord/operator/src/client/database_branches.rs:2434-2447 \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":"mirrord/operator/src/client/database_branches.rs"},"region":{"startLine":1989}}}],"partialFingerprints":{"codehealthFindingId/v1":"fff9b2b9dd20e6a2551a4ba0b9ded1087f8b6bbf49be7af0dba15f94feca6daa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): mirrord/sip/src/lib.rs:258-271 | mirrord/sip/src/lib.rs:280-293 \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":"mirrord/sip/src/lib.rs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"d190dd71b0e7a149ec19fb4ece80db15845b81d9779ad571fdab34e440fa4f4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): mirrord/tui/src/screens/databases.rs:61-74 | mirrord/tui/src/screens/queues.rs:52-65 \u2014 before extracting anything, compare \u0060mirrord/tui/src/screens/databases.rs\u0060 and \u0060mirrord/tui/src/screens/queues.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 246 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":"mirrord/tui/src/screens/databases.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"9209bb473ee77998a3ae6c83cc8b800286f0c46a40ed61e185d4d836d27de499"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): mirrord/tui/src/screens/databases.rs:230-243 | mirrord/tui/src/screens/queues.rs:235-247 \u2014 before extracting anything, compare \u0060mirrord/tui/src/screens/databases.rs\u0060 and \u0060mirrord/tui/src/screens/queues.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 246 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":"mirrord/tui/src/screens/databases.rs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"decce6cf2568c187417a8ccf6b4bfc9e05dfab2da4dbc7f81bd92ee4eaa6fb9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): xtask/src/tasks/cli.rs:108-121 | xtask/src/tasks/cli.rs:158-171 \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":"xtask/src/tasks/cli.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"7557a7d1a6b1400055cb618f9c8d595024b81fcb0f8717b58c0447fe119213ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 5): mirrord/operator/src/client/database_branches.rs:117-129 | mirrord/operator/src/client/database_branches.rs:280-292 | mirrord/operator/src/client/database_branches.rs:442-454 | mirrord/operator/src/client/database_branches.rs:1137-1149 | mirrord/operator/src/client/database_branches.rs:1313-1325 \u2014 all 5 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":"mirrord/operator/src/client/database_branches.rs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2d98d0a7a26a43ef76204e29f48f7a80e6bd71439a3acbdaff1ba67e519252d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 4): mirrord/operator/src/client/database_branches.rs:102-114 | mirrord/operator/src/client/database_branches.rs:265-277 | mirrord/operator/src/client/database_branches.rs:427-439 | mirrord/operator/src/client/database_branches.rs:1123-1134 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/operator/src/client/database_branches.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"8abe4441279d92d8e5abfb15395708b0f429f3ba7b7bfc5f000d1069ef35d578"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): mirrord/agent/src/outgoing/router.rs:152-164 | mirrord/agent/src/outgoing/router.rs:185-197 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/agent/src/outgoing/router.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"aac642c96555f2d6382a68ba07eb72d03ba7ec2c0134aabed53e7ce17f13ed29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): mirrord/agent/src/outgoing.rs:113-125 | mirrord/agent/src/outgoing.rs:135-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":"mirrord/agent/src/outgoing.rs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c4a73095ed0f315ff34889009afd74db1c2da042eea8ce4c6c988819d1277d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): mirrord/agent/src/steal/api.rs:547-559 | mirrord/agent/src/steal/api.rs:574-586 \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":"mirrord/agent/src/steal/api.rs"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e2712603484be45920c481ba36db1cabae25b6c47bad7de4b2d3068ce0ff040"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): mirrord/config/src/feature/fs/mode.rs:95-107 | mirrord/config/src/feature/fs/mode.rs:115-126 \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":"mirrord/config/src/feature/fs/mode.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4f3200b9e5a6683fc5aaa9b43e3505beedf153ceedf3128e5633235a3d1e167"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): mirrord/intproxy/src/failover_strategy.rs:227-238 | mirrord/intproxy/src/lib.rs:505-517 \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":"mirrord/intproxy/src/failover_strategy.rs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a57c966f0014e028c626ff24c2eef6936c9fd3e50346a7b8df2f3e05d5528c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): mirrord/layer/src/socket/ops.rs:774-786 | mirrord/layer/src/socket/ops.rs:892-904 \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":"mirrord/layer/src/socket/ops.rs"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"77dbe0061c54390797f657c2360e1c2f5a77730dca32c8bccdf3113109d9c298"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): mirrord/operator/src/client.rs:1531-1543 | mirrord/operator/src/client.rs:1847-1859 \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":"mirrord/operator/src/client.rs"},"region":{"startLine":1531}}}],"partialFingerprints":{"codehealthFindingId/v1":"6365f572b7eca9a8045fd9757d7a24626ff7a4bfe1be76c5eaf022eede307ab9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): mirrord/protocol-io/src/lib.rs:128-140 | mirrord/protocol-io/src/lib.rs:151-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/protocol-io/src/lib.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"83a77b8d2d08196c1e1ac3d2bb8a19881dae0a463fb90acc95629e5c183f5b71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): mirrord/tui/src/screens/databases.rs:130-142 | mirrord/tui/src/screens/queues.rs:125-137 \u2014 before extracting anything, compare \u0060mirrord/tui/src/screens/databases.rs\u0060 and \u0060mirrord/tui/src/screens/queues.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 246 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":"mirrord/tui/src/screens/databases.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"4975a821a6c44037b64c76007fb25f278b5ffe8116bc11ec7bde433f66f6b4e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): mirrord/tui/src/screens/databases.rs:319-331 | mirrord/tui/src/screens/queues.rs:294-306 \u2014 before extracting anything, compare \u0060mirrord/tui/src/screens/databases.rs\u0060 and \u0060mirrord/tui/src/screens/queues.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 246 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":"mirrord/tui/src/screens/databases.rs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb08c193c0a708924ebcf4db48c3b380fbba8d318f0a981c4294db5c5044c751"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): mirrord/tui/src/screens/databases.rs:921-933 | mirrord/tui/src/screens/databases.rs:945-957 \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":"mirrord/tui/src/screens/databases.rs"},"region":{"startLine":921}}}],"partialFingerprints":{"codehealthFindingId/v1":"7367e67b839e66632298d414d89773dd17f66551db57b228014853e2d7e5f01d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 5): mirrord/operator/src/client/database_branches.rs:136-146 | mirrord/operator/src/client/database_branches.rs:299-309 | mirrord/operator/src/client/database_branches.rs:461-471 | mirrord/operator/src/client/database_branches.rs:1155-1165 | mirrord/operator/src/client/database_branches.rs:1332-1343 \u2014 all 5 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":"mirrord/operator/src/client/database_branches.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b1fc55c3c50a44226ebda5fc5104c0712bf5dc71fcf4cce7e791cd0099b4a87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): mirrord/cli/src/data/global_config.rs:259-270 | mirrord/cli/src/data/global_config.rs:299-308 \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":"mirrord/cli/src/data/global_config.rs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"88330364e2d4053ef8d627a913ff973fc9b2cc30a39a0603a0d1addf7199e392"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): mirrord/kube/src/api/kubernetes/seeker.rs:278-289 | mirrord/kube/src/api/kubernetes/seeker.rs:326-337 \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":"mirrord/kube/src/api/kubernetes/seeker.rs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"eae83398d3f69616ad4263a258ace178c91147b298592038bbd060a629d50fc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): mirrord/layer/src/file/open_dirs.rs:96-107 | mirrord/layer/src/file/open_dirs.rs:128-139 \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":"mirrord/layer/src/file/open_dirs.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"29d1dcff713c008811029c488b9d2493a178341935ebbdf6d1bb81bf45074361"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): mirrord/layer/src/file/hooks.rs:704-715 | mirrord/layer/src/file/hooks.rs:734-745 \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":"mirrord/layer/src/file/hooks.rs"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"6610d203166b0e93aae29ec391e763ae5bea859bbc8df7da3ec9a88c6f63db80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): mirrord/layer-win/src/hooks/socket/mod.rs:274-285 | mirrord/layer-win/src/hooks/socket/mod.rs:298-309 \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":"mirrord/layer-win/src/hooks/socket/mod.rs"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"c756b8affbbdd104a052158525f2603af7a68df30f12a666610c8e66c8f0785a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): mirrord/tui/src/screens/databases.rs:356-367 | mirrord/tui/src/screens/queues.rs:363-374 \u2014 before extracting anything, compare \u0060mirrord/tui/src/screens/databases.rs\u0060 and \u0060mirrord/tui/src/screens/queues.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 246 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":"mirrord/tui/src/screens/databases.rs"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8418865a685e20ef15402d3b83e1eacdda17d40a7a2108df886dc68450a26e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): mirrord/agent/src/util/io/timeout.rs:51-61 | mirrord/agent/src/util/io/timeout.rs:73-83 | mirrord/agent/src/util/io/timeout.rs:88-98 \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":"mirrord/agent/src/util/io/timeout.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"79e31c2999e3316b9c6df39082391bf9adc0b19e62bfabacda15213d46d780be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): mirrord/operator/src/client/database_branches.rs:168-178 | mirrord/operator/src/client/database_branches.rs:330-340 | mirrord/operator/src/client/database_branches.rs:493-503 \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":"mirrord/operator/src/client/database_branches.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbe229893564f02e7288330b65b82748c8174655c722d3defb70140243fca926"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): mirrord/agent/src/incoming/connection/http.rs:214-224 | mirrord/agent/src/incoming/connection/http.rs:450-460 \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":"mirrord/agent/src/incoming/connection/http.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"37539285a2734ea114c6b03caa9a2185fc9a0cc3cde7d7ed191378c9fb048c1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): mirrord/agent/src/outgoing/seqpacket.rs:186-196 | mirrord/agent/src/outgoing/udp.rs:158-168 \u2014 before extracting anything, compare \u0060mirrord/agent/src/outgoing/seqpacket.rs\u0060 and \u0060mirrord/agent/src/outgoing/udp.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 35 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":"mirrord/agent/src/outgoing/seqpacket.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a25ab2fdc9afee45a187ab1d702f0623797db1e485cfeaa4f522d068ab907aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): mirrord/agent/src/outgoing/seqpacket.rs:199-209 | mirrord/agent/src/outgoing/udp.rs:171-181 \u2014 before extracting anything, compare \u0060mirrord/agent/src/outgoing/seqpacket.rs\u0060 and \u0060mirrord/agent/src/outgoing/udp.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 35 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":"mirrord/agent/src/outgoing/seqpacket.rs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"290f094b385e6dec687e0f245661b8df1fcb0cf38f57676a3dfbadb1b523a42d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): mirrord/auth/src/credentials.rs:360-370 | mirrord/auth/src/credentials.rs:390-400 \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":"mirrord/auth/src/credentials.rs"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e561b6cd148af63cadd101c4341edd32a0d1e695fd42c57c4b22d96cc299cfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): mirrord/intproxy/src/failover_strategy.rs:215-224 | mirrord/intproxy/src/lib.rs:469-479 \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":"mirrord/intproxy/src/failover_strategy.rs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"1453ceffdf511c40e8edb637c6596ddd59219b87ab403351deb83bd373339fea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): mirrord/operator/src/client.rs:1549-1559 | mirrord/operator/src/client.rs:1871-1887 \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":"mirrord/operator/src/client.rs"},"region":{"startLine":1549}}}],"partialFingerprints":{"codehealthFindingId/v1":"361a48a66bd0c18b9a8afe0fa7c31fa52a251d7a9925268f6ebb859bcfdc4825"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): mirrord/operator/src/client.rs:2280-2290 | mirrord/operator/src/client.rs:2318-2328 \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":"mirrord/operator/src/client.rs"},"region":{"startLine":2280}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ff1ce613472068f548ec55705f39381053128fb1fdb6ce096b1a8427a0c3310"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): mirrord/protocol-api/src/client/retrying.rs:154-164 | mirrord/protocol-api/src/client/retrying.rs:180-190 \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":"mirrord/protocol-api/src/client/retrying.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8c88c4e8b890f0888daeda9c7756c19c52e9e915db90b929152a8294030133d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): mirrord/tui/src/screens/databases.rs:339-349 | mirrord/tui/src/screens/queues.rs:314-324 \u2014 before extracting anything, compare \u0060mirrord/tui/src/screens/databases.rs\u0060 and \u0060mirrord/tui/src/screens/queues.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 246 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":"mirrord/tui/src/screens/databases.rs"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"d28ad5019e86697ef2a84a0b7d5eef3ca41d999ba3e351af5239b5c05185257f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): mirrord/tui/src/screens/targets/browser.rs:545-555 | mirrord/tui/src/screens/targets/plan.rs:179-189 \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":"mirrord/tui/src/screens/targets/browser.rs"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"b42da425e6089b6bce84956755eeaf86c9a652e18a6f763b0ae954e5ef25ac6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 4): mirrord/operator/src/client.rs:1161-1168 | mirrord/operator/src/client.rs:1171-1178 | mirrord/operator/src/client.rs:1179-1187 | mirrord/operator/src/client/database_branches.rs:1123-1132 \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":"mirrord/operator/src/client.rs"},"region":{"startLine":1161}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef2185c85f4efb83a24984ec61c0867d49392808e221849b59cbb4fc4914bf2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): mirrord/cli/src/ci.rs:440-449 | mirrord/cli/src/ci.rs:563-572 \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":"mirrord/cli/src/ci.rs"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"345c137e4c7f045cec38a1bea2c6c2c9539f4d98aa75afcd47b704743fcfaa24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): mirrord/cli/src/config.rs:574-583 | mirrord/cli/src/config.rs:1462-1471 \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":"mirrord/cli/src/config.rs"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ea1de39f97915cdc5c2368b3c29d4868dfb0adc40b6be48a8834d89310d1b5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): mirrord/cli/src/local_redis.rs:197-206 | mirrord/cli/src/local_redis.rs:245-254 \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":"mirrord/cli/src/local_redis.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"f59c9cc744b2da9b3aba50518cab7baf5cd64a30928998452b8901dbcee92233"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): mirrord/cli/src/port_forward.rs:375-384 | mirrord/cli/src/port_forward.rs:706-715 \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":"mirrord/cli/src/port_forward.rs"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"92da69c6ad951eac2644fdec930a56b3bd9f87850e2ad6bd0686253b1491cc99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): mirrord/cli/src/external_proxy.rs:101-110 | mirrord/cli/src/main.rs:847-854 \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":"mirrord/cli/src/external_proxy.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"a60c49ef24d0f44e8730c3ec8c2d5eaadb3f6bb0fbd2d2f9be524350846ba0ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): mirrord/kube/src/api/kubernetes/rollout/workload_ref.rs:47-56 | mirrord/kube/src/api/kubernetes/rollout/workload_ref.rs:109-118 \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":"mirrord/kube/src/api/kubernetes/rollout/workload_ref.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f129131f4ab3586bee9f4a31982494a4d48f91101fff299cd8d1d51b1d10dfd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): mirrord/layer/src/file/open_dirs.rs:245-254 | mirrord/layer/src/file/open_dirs.rs:283-292 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/layer/src/file/open_dirs.rs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9cccd0ef206a64d0ee0ee22970b018a5f0d329494884f7738355d9642615da0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): mirrord/layer/src/file/ops.rs:426-435 | mirrord/layer/src/file/ops.rs:452-461 \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":"mirrord/layer/src/file/ops.rs"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1321e6268de80f50d96a5bdc6f413cb9d77ccde5408adb961aecaaba0fb7968"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): mirrord/layer/src/file/hooks.rs:649-658 | mirrord/layer/src/file/hooks.rs:676-685 \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":"mirrord/layer/src/file/hooks.rs"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a0deff6f48e368d082033b1de717e1590ac87ef2eaa56db42f042022e6ca206"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): mirrord/layer-win/src/hooks/files/ops/read.rs:229-238 | mirrord/layer-win/src/hooks/files/ops/set_info.rs:74-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/layer-win/src/hooks/files/ops/read.rs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"5af4f327f489dd9aab4a96971f9da5fef161f660fecf84a874ddbc5ed577c84a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): mirrord/tui/src/screens/databases.rs:1082-1091 | mirrord/tui/src/screens/terminal/panel.rs:129-138 \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":"mirrord/tui/src/screens/databases.rs"},"region":{"startLine":1082}}}],"partialFingerprints":{"codehealthFindingId/v1":"b64017c9add27b718981fb03ca5b997c182eba649f7865fa4dbc4aeff6eb06cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): mirrord/tui/src/screens/preview_envs/view.rs:655-664 | mirrord/tui/src/screens/preview_envs/view.rs:690-697 \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":"mirrord/tui/src/screens/preview_envs/view.rs"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed6b825419f445bf072a0dbe4bead042f51a975280dc8a3ef6b2814164e5e4ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): mirrord/tui/src/screens/targets/browser.rs:484-493 | mirrord/tui/src/screens/targets/plan.rs:135-144 \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":"mirrord/tui/src/screens/targets/browser.rs"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"508d921451731be84d159a86452d404d7075228585ff13a7bc399d0b18a67916"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): mirrord/utils-win/src/modules.rs:365-374 | mirrord/utils-win/src/modules.rs:388-397 \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":"mirrord/utils-win/src/modules.rs"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"db83d34927993bb290116c316455a47821cdf0a2baa10dc4cec1899820640a53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 9): mirrord/operator/src/client/database_branches.rs:1813-1821 | mirrord/operator/src/client/database_branches.rs:1866-1874 | mirrord/operator/src/client/database_branches.rs:1917-1925 | mirrord/operator/src/client/database_branches.rs:1966-1974 | mirrord/operator/src/client/database_branches.rs:2017-2025 | mirrord/operator/src/client/database_branches.rs:2067-2075 | mirrord/operator/src/client/database_branches.rs:2116-2124 | mirrord/operator/src/client/database_branches.rs:2164-2172 | mirrord/operator/src/client/database_branches.rs:2269-2277 \u2014 all 9 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":"mirrord/operator/src/client/database_branches.rs"},"region":{"startLine":1813}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebd22c89a1b20b7af70cd752098ec393ccd6583b26430ffd304b40fe949f0d23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 6): mirrord/operator/src/client/database_branches.rs:1965-1972 | mirrord/operator/src/client/database_branches.rs:2066-2073 | mirrord/operator/src/client/database_branches.rs:2115-2122 | mirrord/operator/src/client/database_branches.rs:2163-2170 | mirrord/operator/src/client/database_branches.rs:2212-2219 | mirrord/operator/src/client/database_branches.rs:2267-2275 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/operator/src/client/database_branches.rs"},"region":{"startLine":1965}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c15497167ab6d5366eff949f4e6a759a1871c61657f104eb82fa7c3a443c427"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): mirrord/operator/src/client/database_branches.rs:201-209 | mirrord/operator/src/client/database_branches.rs:363-371 | mirrord/operator/src/client/database_branches.rs:526-534 \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":"mirrord/operator/src/client/database_branches.rs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"c98414255780540a7d4c920013d12212fdda4c8959872f3a1d5633864c6f48bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): mirrord/agent/src/http/sender.rs:53-61 | mirrord/intproxy/src/proxies/incoming/http.rs:337-347 \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":"mirrord/agent/src/http/sender.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ff39789a43edee05f468370b70e48cd32c91869adceb5505f5e85e14496ee32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): mirrord/agent/src/steal/api.rs:536-544 | mirrord/agent/src/steal/api.rs:562-570 | mirrord/agent/src/steal/api.rs:589-598 \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":"mirrord/agent/src/steal/api.rs"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1797cc91b050f4e407f29e1d2d2518f5607d155d143ac7606aefaff60aef325"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): mirrord/cli/src/config.rs:829-837 | mirrord/cli/src/config.rs:900-908 \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":"mirrord/cli/src/config.rs"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b9d2f8796cab75bb5035bfc6f58a7da24d91e3ddce741db9a7605debc89d581"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): mirrord/cli/src/external_proxy.rs:106-114 | mirrord/cli/src/internal_proxy.rs:349-356 \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":"mirrord/cli/src/external_proxy.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3b796e0c5fae3743f395c7b0797703bdaa957d7f96f6514deff48d025579c83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 2): mirrord/cli/src/ui/server/v2.rs:466-474 | mirrord/cli/src/ui/server/v2.rs:583-589 \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":"mirrord/cli/src/ui/server/v2.rs"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"af7f7e820ab17d897dd1fe2c357e604b914ca43e88650b1751627777818410d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): mirrord/config/src/feature/database_branches/s3.rs:118-126 | mirrord/config/src/feature/database_branches/turbopuffer.rs:209-217 \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":"mirrord/config/src/feature/database_branches/s3.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"13b69c2702bd329bfc98402f54bbfe0dbcd245b64fb6bfc0eb5cb2d2ac8e23ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): mirrord/kube/src/api/kubernetes/rollout/workload_ref.rs:59-66 | mirrord/kube/src/api/kubernetes/rollout/workload_ref.rs:121-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/kube/src/api/kubernetes/rollout/workload_ref.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7a4d161e45b4b71542933c2f61c970e195268ddab719b435b00f7f04d182d97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): mirrord/kube/src/api/kubernetes/rollout/workload_ref.rs:83-91 | mirrord/kube/src/api/kubernetes/rollout/workload_ref.rs:149-157 \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":"mirrord/kube/src/api/kubernetes/rollout/workload_ref.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fa57772d7e65b7908267a9e42c7ce9947dd412467ce12181c103364143fd40b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): mirrord/layer/macro/src/lib.rs:31-39 | mirrord/layer/macro/src/lib.rs:117-125 \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":"mirrord/layer/macro/src/lib.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"654180aa4888cc7e1fbda9f93dcabae2b1e06e98007b64d0f17b5c4259fbcfef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): mirrord/cli/src/ci.rs:429-436 | mirrord/cli/src/ci.rs:549-556 \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":"mirrord/cli/src/ci.rs"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"76bf6b4b1eb2764ecc208376448dab928d4e3b81d4117d4e93a1daaa0c65e266"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): mirrord/cli/src/execution.rs:527-534 | mirrord/cli/src/execution.rs:717-724 \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":"mirrord/cli/src/execution.rs"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3b31fbf014fc2fc03b19a1186ed1e346d1f5578962a01147e65a4fe7fb52204"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): mirrord/layer-win/src/hooks/files/ops/query_info.rs:111-118 | mirrord/layer-win/src/hooks/files/ops/query_info.rs:234-241 \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":"mirrord/layer-win/src/hooks/files/ops/query_info.rs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"99727dec9d3b3bb380bed9af566f362fbb25a656193b229135018e7941c522df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): mirrord/tui/src/screens/databases.rs:378-385 | mirrord/tui/src/screens/queues.rs:385-392 \u2014 before extracting anything, compare \u0060mirrord/tui/src/screens/databases.rs\u0060 and \u0060mirrord/tui/src/screens/queues.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 246 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":"mirrord/tui/src/screens/databases.rs"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbc1f7c51e53a84e12e49420137c754e8d3b025677a90dff0473701e9e038114"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): mirrord/tui/src/screens/preview_envs/view.rs:879-886 | mirrord/tui/src/screens/preview_envs/view.rs:970-977 \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":"mirrord/tui/src/screens/preview_envs/view.rs"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"965996c13427f226c9c6dc8e9c8231cbb5e1c56faedd12baf2fc051e1b1ec459"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): mirrord/layer-win/src/hooks/socket/mod.rs:252-258 | mirrord/layer-win/src/hooks/socket/mod.rs:276-282 | mirrord/layer-win/src/hooks/socket/mod.rs:300-306 \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":"mirrord/layer-win/src/hooks/socket/mod.rs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"4280a5e16f8b55bd1c0d853b5cd0ed828e11355a26b20722baee7d8dba3dd4be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): mirrord/agent/src/file.rs:368-374 | mirrord/agent/src/file.rs:396-402 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/agent/src/file.rs"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"af45f9d0d3c93853e8fc371e7ec151af3f1fc8eca7946052230b466c3853200a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): mirrord/cli/src/ci.rs:99-105 | mirrord/cli/src/operator/session.rs:43-49 \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":"mirrord/cli/src/ci.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ebb6b975cf59b1be155d1d66becf330b063a08ebeacf0c56ed61c21ad4514b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): mirrord/cli/src/config.rs:721-727 | mirrord/cli/src/config.rs:1558-1564 \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":"mirrord/cli/src/config.rs"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"937fedb7f48ea7c5efa98de8c89d31240ccc5b403b720155cbfe9cba2c7c9d02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): mirrord/cli/src/db_branches.rs:362-368 | mirrord/cli/src/db_branches.rs:470-476 \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":"mirrord/cli/src/db_branches.rs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"51e36393f83c58447ae6dda29d1f1844caec410081c23deecddae06bdcd72b78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): mirrord/operator/src/crd/db_branching/mysql.rs:87-93 | mirrord/operator/src/crd/db_branching/pg.rs:92-98 \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":"mirrord/operator/src/crd/db_branching/mysql.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9a6f8353b16e845cc42e9a8615539e1df2b8c8e4f0be97b05a1ef7388d99ff4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): mirrord/operator/src/crd/db_branching/mysql.rs:95-101 | mirrord/operator/src/crd/db_branching/pg.rs:100-106 \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":"mirrord/operator/src/crd/db_branching/mysql.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"2040f01d77a7afa5c02bb3b21bea2c20bb2d009b1f84321cadad54dbc009d665"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): mirrord/protocol-api/src/client/outgoing.rs:227-233 | mirrord/protocol-api/src/client/outgoing.rs:265-271 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/protocol-api/src/client/outgoing.rs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e0e0f3e612eb19e5df519a0b680a45f13066f76c68e6ab9cfce85131ff1a15d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): mirrord/protocol-api/src/client/simple_request.rs:126-132 | mirrord/protocol-api/src/client/simple_request.rs:166-172 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/protocol-api/src/client/simple_request.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa8efbdf3ed208cf598452074dc36fad6b9bb3d278949afaf75a9f37e1e60c50"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): mirrord/tui/src/screens/databases.rs:99-105 | mirrord/tui/src/screens/queues.rs:98-104 \u2014 before extracting anything, compare \u0060mirrord/tui/src/screens/databases.rs\u0060 and \u0060mirrord/tui/src/screens/queues.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 246 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":"mirrord/tui/src/screens/databases.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3a7b56ac5c7e308226edc0276d48e5247f053f9e9d2a910fa974b3dc93db57f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): mirrord/kube/src/error.rs:154-159 | mirrord/kube/src/error.rs:176-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":"mirrord/kube/src/error.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"b49c6143f0d355b9cbc0a1ad7bb273633378b6383c668740a683aeb0257e9b98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): mirrord/layer/src/file/ops.rs:470-475 | mirrord/layer/src/file/ops.rs:484-489 \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":"mirrord/layer/src/file/ops.rs"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"3016efad44ce3feb81bbf3937033f88d004e352719138753efc87c3e87602929"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): mirrord/layer/src/file/hooks.rs:1443-1448 | mirrord/layer/src/file/hooks.rs:1475-1480 \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":"mirrord/layer/src/file/hooks.rs"},"region":{"startLine":1443}}}],"partialFingerprints":{"codehealthFindingId/v1":"0104e855f05f9826d0f3e27a99ee22c2a23724ca23a9a6c76b001e3ffed42c17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): mirrord/layer-win/src/hooks/socket/mod.rs:794-799 | mirrord/layer/src/socket/ops.rs:687-692 \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":"mirrord/layer-win/src/hooks/socket/mod.rs"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c5de7a1ed7b1e75a1a89adeb6f8f20c73302b5c146704e404556c6293885fea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): mirrord/protocol-api/src/client/simple_request.rs:119-124 | mirrord/protocol-api/src/client/simple_request.rs:159-164 \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":"mirrord/protocol-api/src/client/simple_request.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"649492dd0dcebd6208bff863316752c0867691d9e0943f1460f441658d84709f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): mirrord/tui/src/screens/queues.rs:143-148 | mirrord/tui/src/screens/queues.rs:248-253 \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":"mirrord/tui/src/screens/queues.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"812960108e0226cba04185380e8952ff6368b5c8207b951667c9e28baceae74a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): mirrord/kube/src/resolved.rs:438-442 | mirrord/kube/src/resolved.rs:504-508 | mirrord/kube/src/resolved.rs:562-566 | mirrord/kube/src/resolved.rs:611-615 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/kube/src/resolved.rs"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"15c4db32e8bc17eedbebbd95f509c32570e18ee0f892d8487e8480bd56409109"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): mirrord/protocol-api/src/client/simple_request.rs:85-89 | mirrord/protocol-api/src/client/simple_request.rs:117-121 | mirrord/protocol-api/src/client/simple_request.rs:157-161 | mirrord/protocol-api/src/client/simple_request.rs:195-199 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/protocol-api/src/client/simple_request.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"8816f226d0cad28c60ec1b7d89f89c96fb2a5fdfdddcdb17a635447573ed552b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): mirrord/config/src/feature/split_queues.rs:655-662 | mirrord/tui/src/screens/targets/model.rs:315-319 \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":"mirrord/config/src/feature/split_queues.rs"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"32a79978ab6093d13b340278f79c308e75a68efc8fdf5a1b39209995ab73839f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): mirrord/layer/src/go.rs:128-132 | mirrord/layer/src/go.rs:202-206 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/layer/src/go.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"550e5efea6fd48260965a5aad5f1346658574b9264cc531145927ee9cd19afc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): mirrord/agent/iptables/src/mesh/exclusion.rs:44-49 | mirrord/agent/iptables/src/output.rs:93-98 | mirrord/agent/iptables/src/prerouting.rs:44-49 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/agent/iptables/src/mesh/exclusion.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d2538d99540da6c116c83cbffe961ca63a3314a1a39d042375ce664ff3fca40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): mirrord/agent/iptables/src/mesh/istio.rs:196-205 | mirrord/agent/iptables/src/standard.rs:60-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/agent/iptables/src/mesh/istio.rs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"947f8b46e3183ff6d24cff1ffaa38aa5ab9fd655f45d7c2c477327c67d479ebc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): mirrord/agent/iptables/src/mesh.rs:104-110 | mirrord/agent/iptables/src/standard.rs:52-58 \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":"mirrord/agent/iptables/src/mesh.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd364fe111c4bcb416f6f003bc6b25e5368247ff2e4e8650e1f1d354e87a5240"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): mirrord/agent/src/incoming/connection/copy_bidirectional.rs:116-123 | mirrord/agent/src/incoming/connection/http_task.rs:357-364 \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":"mirrord/agent/src/incoming/connection/copy_bidirectional.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"3656052cecafe23d3765870efd681470055c509773fdbdbe77fd5a1ad8320f38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): mirrord/agent/src/outgoing/seqpacket.rs:177-183 | mirrord/agent/src/outgoing/udp.rs:149-155 \u2014 before extracting anything, compare \u0060mirrord/agent/src/outgoing/seqpacket.rs\u0060 and \u0060mirrord/agent/src/outgoing/udp.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 35 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":"mirrord/agent/src/outgoing/seqpacket.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"40947a32661dbccdf2fdde780d74b9ef3919c809e7aa0e8fc619a8e00dc82e8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): mirrord/agent/src/outgoing/seqpacket.rs:225-230 | mirrord/agent/src/outgoing/udp.rs:197-202 \u2014 before extracting anything, compare \u0060mirrord/agent/src/outgoing/seqpacket.rs\u0060 and \u0060mirrord/agent/src/outgoing/udp.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 35 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":"mirrord/agent/src/outgoing/seqpacket.rs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"314b06cfae622a0b8cb682b7bb7d4232918c383fc9e4842c8e98eede691b8b44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): mirrord/layer-go/src/linux_aarch64.rs:25-37 | mirrord/layer-go/src/linux_x64.rs:680-692 \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":"mirrord/layer-go/src/linux_aarch64.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"09e35b32ee85b35c6f5df405eb6696661a9ad72219e65d5b2bcdd8cd4386b9fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): mirrord/tui/src/screens/databases.rs:555-560 | mirrord/tui/src/screens/queues.rs:562-567 \u2014 before extracting anything, compare \u0060mirrord/tui/src/screens/databases.rs\u0060 and \u0060mirrord/tui/src/screens/queues.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 246 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":"mirrord/tui/src/screens/databases.rs"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"137a5a9ead67da53c932d344af5c3decdc4b7c8706d8159d9aac6b421dfa09e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): mirrord/tui/src/screens/databases.rs:668-675 | mirrord/tui/src/screens/queues.rs:706-713 \u2014 before extracting anything, compare \u0060mirrord/tui/src/screens/databases.rs\u0060 and \u0060mirrord/tui/src/screens/queues.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 246 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":"mirrord/tui/src/screens/databases.rs"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"4019c8322d6d37c26104d29600843ae3a589570b5fa23c689c4f61190ae0c25b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): mirrord/agent/src/incoming/mirror_handle.rs:85-90 | mirrord/agent/src/incoming/steal_handle.rs:87-92 \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":"mirrord/agent/src/incoming/mirror_handle.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"406a90f29e91b1cc982055c3632070e89c33c39158d10dd0709b809b8c5f89e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): mirrord/intproxy/src/proxies/outgoing/interceptor/read_queue.rs:134-138 | mirrord/intproxy/src/proxies/outgoing/interceptor/write_queue.rs:151-155 \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":"mirrord/intproxy/src/proxies/outgoing/interceptor/read_queue.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"400e720c23adeb0b9b8980e88137dbf9d495151605928191c0f39c807ae77d78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): mirrord/layer-lib/src/mutex.rs:11-16 | mirrord/sip/src/codesign.rs:146-151 \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":"mirrord/layer-lib/src/mutex.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3b98cb148d4e090ce83b82f4c1415b15bb1b0ad56b231a84abef1aba6273b06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): mirrord/operator/src/crd.rs:1238-1246 | mirrord/operator/src/crd/rabbitmq.rs:86-94 \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":"mirrord/operator/src/crd.rs"},"region":{"startLine":1238}}}],"partialFingerprints":{"codehealthFindingId/v1":"be7667c8178320590f35a50edd541c04ae18f81cb4aa2bec820b5b17f3d6d9f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): mirrord/operator/src/crd.rs:1251-1263 | mirrord/operator/src/crd/rabbitmq.rs:99-111 \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":"mirrord/operator/src/crd.rs"},"region":{"startLine":1251}}}],"partialFingerprints":{"codehealthFindingId/v1":"23da83691280f2f8e969d8f010d6bc87f57a577771ec50e808f6013fa7d52efe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): mirrord/operator/src/client/database_branches.rs:181-195 | mirrord/operator/src/client/database_branches.rs:343-357 | mirrord/operator/src/client/database_branches.rs:506-520 \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":"mirrord/operator/src/client/database_branches.rs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a80bdfc53ae44f85671ca3eb0b2ac5912fb3783be2c0f0238e5fa5c8c93a56a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): mirrord/intproxy/src/proxies/incoming/http_gateway.rs:113-123 | mirrord/intproxy/src/proxies/incoming/http_gateway.rs:142-154 \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":"mirrord/intproxy/src/proxies/incoming/http_gateway.rs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"d72dc1f937eca5f5917d6b9f218bfe600bba65221975775aa3354ff2486e3416"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): mirrord/cli/src/config.rs:1541-1549 | mirrord/cli/src/config.rs:1685-1694 | mirrord/cli/src/config.rs:1711-1719 \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":"mirrord/cli/src/config.rs"},"region":{"startLine":1541}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5550d4a30cdea3cdd8f8bbf409f97e2c00490ca86a2dfab5e386c1804405511"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): mirrord/operator/src/client/database_branches.rs:64-72 | mirrord/operator/src/client/database_branches.rs:227-235 | mirrord/operator/src/client/database_branches.rs:389-397 \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":"mirrord/operator/src/client/database_branches.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"26e8c87868eb62cf8acaa062f0971098f0c0689f1e037031239a58a95f149e32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): mirrord/agent/src/incoming/task.rs:420-428 | mirrord/agent/src/incoming/task.rs:453-461 \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":"mirrord/agent/src/incoming/task.rs"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8d58a5c6ebbc8f9f0764141c7f202a1a3e3a769f6fa3a9fc7ba9d06a2fe2845"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): mirrord/cli/src/config.rs:506-514 | mirrord/cli/src/config.rs:568-576 \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":"mirrord/cli/src/config.rs"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"ead72c6c3ec02d1dfdbffd50362a66fec5230e9383cd336243a03ff3a35d7394"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): mirrord/cli/src/config.rs:734-741 | mirrord/cli/src/config.rs:1571-1577 \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":"mirrord/cli/src/config.rs"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"86eec17d8f3c41ba6adb885980ee5699103ad7a32ea1c54d31a8b7ac89aa32cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): mirrord/tui/src/screens/preview_envs/view.rs:536-543 | mirrord/tui/src/screens/preview_envs/view.rs:563-570 | mirrord/tui/src/screens/preview_envs/view.rs:649-656 \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":"mirrord/tui/src/screens/preview_envs/view.rs"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ccedf78ee524b0058db37fc44cc04e3a1176eed6234e8ea8f018cda1248dd13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): mirrord/tui/src/screens/queues.rs:826-833 | mirrord/tui/src/screens/queues.rs:886-893 \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":"mirrord/tui/src/screens/queues.rs"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"983dd4c8e1de76e517f1306ec0c6565c182a0bdf9486bba1a8ec8c10c475e99e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): mirrord/operator/src/client/database_branches.rs:2407-2413 | mirrord/operator/src/client/database_branches.rs:2463-2469 \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":"mirrord/operator/src/client/database_branches.rs"},"region":{"startLine":2407}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d7e4553ca6ebef84e244cc4e2e26d10809262521d1fc27812fe3cbdcb9c16d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): xtask/src/tasks/cli.rs:96-102 | xtask/src/tasks/layer.rs:209-215 \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":"xtask/src/tasks/cli.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b794a02430111eb8f5d21aa77bcaa06dd55a850282fd153e2f6cedd45a8744d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): mirrord/cli/src/config.rs:728-733 | mirrord/cli/src/config.rs:1565-1569 \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":"mirrord/cli/src/config.rs"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"62c95950cd445b6eb4cd4e0843964d52e9989eb381fa29642edca04a9c21d5b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): mirrord/kube/src/resolved.rs:438-442 | mirrord/kube/src/resolved.rs:504-508 | mirrord/kube/src/resolved.rs:562-566 | mirrord/kube/src/resolved.rs:611-615 | mirrord/kube/src/resolved.rs:633-637 \u2014 all 5 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":"mirrord/kube/src/resolved.rs"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9db5de0f21983d8ee853c2fbed14876d2bdd11c1902d48c8b78065722a675d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): mirrord/cli/src/config.rs:517-521 | mirrord/cli/src/config.rs:726-730 | mirrord/cli/src/config.rs:1563-1567 \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":"mirrord/cli/src/config.rs"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e86fb241950c0864b6c655610ed39992128d840dca050596304b8ab9bc33a3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): mirrord/cli/src/container/sidecar.rs:329-333 | mirrord/cli/src/ui/daemon.rs:333-337 \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":"mirrord/cli/src/container/sidecar.rs"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"36f0f1af33356e56e88375b2d56aad8f24de90c9d60173e1ab86e32d5e20840a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): mirrord/cli/src/execution.rs:804-809 | mirrord/layer/src/lib.rs:502-507 \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":"mirrord/cli/src/execution.rs"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7679df64130de5b271f051538f5a1a2f7094c09dff1eb7c6ac10cdd9f4d3a79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): mirrord/layer/src/file/hooks.rs:1384-1389 | mirrord/layer/src/file/hooks.rs:1412-1417 \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":"mirrord/layer/src/file/hooks.rs"},"region":{"startLine":1384}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b200a14531269bbc8c4f25ad3cac31b6822f8d4144c578b5772f2a8083ab371"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): test-utils/src/lib.rs:432-439 | test-utils/src/lib.rs:449-456 \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":"test-utils/src/lib.rs"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"205c6265bc8dce852cc94cf4c21de37c3eab3024bd453253c3d042ead50816a3"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: mirrord-jaq: mirrord-jaq: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f13d0ee6eedb9e481c09be4febf1cfea2bb1e20a3d5732c538415b9a21ee2838"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: mirrord-nightly-polyfill: mirrord-nightly-polyfill: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 3 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d11e3b8aff6d5a5520353373a05383e31bee2246e862300909413e6dfddf33c1"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: mirrord-session-monitor-protocol: mirrord-session-monitor-protocol: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 4 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"de8581c4a500db9c79fd5d421eba262cdb8770b01e5c94bd836c168f37fc100e"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: mirrord-sessions-manager-protocol: mirrord-sessions-manager-protocol: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5e3f40dd68146dafc458f2522b3b54aa8e1f9aca2e3b69837ad222363324eff8"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: mirrord-sip: mirrord-sip: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 3 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3448d52013184de7052de21ae195fbbd1df055da9a2764bb5e813de9adc452af"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: mirrord-protocol: mirrord-protocol: abstractness 0.01, instability 0.07, distance 0.92 \u2014 zone of pain \u2014 concrete and depended on by 13 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"eefa0e54d21b0cb8c93de07a1d57fdd866d45e1ccd76a1ee0be7d822f45b8e74"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: mirrord-progress: mirrord-progress: abstractness 0.11, instability 0.00, distance 0.89 \u2014 zone of pain \u2014 concrete and depended on by 6 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"389d73c37ad5ea632fa4202d07a5eca94a08bdfd329ef08987c36b2b15bf53a7"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: mirrord-agent-env: mirrord-agent-env: abstractness 0.22, instability 0.00, distance 0.78 \u2014 zone of pain \u2014 concrete and depended on by 3 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"48176b1e1da81bfcc08b8198eebde8a757c6cd4af04984f78c687f2a7cc83f0e"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: mirrord-analytics: mirrord-analytics: abstractness 0.22, instability 0.00, distance 0.78 \u2014 zone of pain \u2014 concrete and depended on by 6 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"882b7118a6c9b9f9276115a3583e24c9790044c16d24cedfddbb9748205b2d05"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: mirrord-intproxy-protocol: mirrord-intproxy-protocol: abstractness 0.10, instability 0.14, distance 0.76 \u2014 zone of pain \u2014 concrete and depended on by 6 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"11e2c4bd0fa7451578b4e70ec5f2380e3c7b356d2bb3a693ccf4fec7561ff91e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: IncomingIoWrapper (LCOM4 5): IncomingIoWrapper\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":"mirrord/agent/src/incoming/connection.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fb79039ba7437a8b532a9bff6fb12d00fedd01eabd47a387b8199a026f93aca"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SeqpacketSink (LCOM4 4): SeqpacketSink\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/agent/src/outgoing/seqpacket.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"7469a195ef081b6d2a36ecadfd446b73f93d9a9ddaa6f95cfda8bb19d4433866"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: UdpSink (LCOM4 4): UdpSink\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/agent/src/outgoing/udp.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c4f82a16e56973c3956bc971ddad385a68ea9c2c10f6f83a3d70b12ce94a8a2"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: UnboundedBufferedSink (LCOM4 4): UnboundedBufferedSink\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/agent/src/util/io/buffered.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"42b7ac938456a7de6931a8deacbee72eb7a866f4843fdebef29e30e0b5612b36"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AsyncEncoder (LCOM4 4): AsyncEncoder\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/intproxy/protocol/src/codec/codec_async.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ace7e631d94ac015545f82a0f2a6da292890348b97a088a11ff4a5ed938ed9d"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: JsonProgress (LCOM4 4): JsonProgress\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/progress/src/implementations.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"9534f713f149b473fed43cec2abb1d34c284a8075253d29ec765b449775e17c8"}},{"ruleId":"D8","level":"warning","message":{"text":"Coverage not measured \u2014 JavaScript/TypeScript suite: Coverage NOT MEASURED: the JavaScript/TypeScript half could not be measured \u2014 packages/monitor/ runs vitest but declares no coverage provider, so the suite can run and still produce no lcov \u2014 add \u0060@vitest/coverage-v8\u0060 (or \u0060@vitest/coverage-istanbul\u0060) as a devDependency. Coverage is excluded from the score rather than counted as a near-zero. The named suite step is one the repository\u0027s maintainers can perform; once it passes, the real number is measured on the next scan. Alternatively, commit the lcov/Cobertura report your CI produces and it is read without a re-run."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"62e63e619c28f057e129f2997c965d32a457366a9ce18ca019ffb6bdfba85c99"}},{"ruleId":"D13","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":"86f40aab0f23b8bf304fd1747c4216c91dca706737bbf6345ba3d8d48718c0c6"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: mirrord/operator/src/client.rs: mirrord/operator/src/client.rs changed 50 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 49 in OperatorApi::prepare_branch_dbs at line 701. 2 of those changes were fix/bug commits, and the other 48 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 01:59:33 \u002B00:00\u0027 --until=\u00272026-09-30 01:59:33 \u002B00:00\u0027 --full-history --no-merges -- mirrord/operator/src/client.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":"mirrord/operator/src/client.rs"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"d377f41af0b3df365db2f098a410fbe43e3880c297d20bf9bab04a594a4902ba"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: mirrord/operator/src/crd.rs: mirrord/operator/src/crd.rs changed 46 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 53 in NewOperatorFeature::fmt at line 833. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 01:59:33 \u002B00:00\u0027 --until=\u00272026-09-30 01:59:33 \u002B00:00\u0027 --full-history --no-merges -- mirrord/operator/src/crd.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":"mirrord/operator/src/crd.rs"},"region":{"startLine":833}}}],"partialFingerprints":{"codehealthFindingId/v1":"70e91df2f8caa5e3d98896e7d6ca8a66dfd0a0a715704c0f6d418b939533f859"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: mirrord/cli/src/main.rs: mirrord/cli/src/main.rs changed 36 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in mirrord::main at line 1027. 4 of those changes were fix/bug commits, and the other 32 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 01:59:33 \u002B00:00\u0027 --until=\u00272026-09-30 01:59:33 \u002B00:00\u0027 --full-history --no-merges -- mirrord/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":"mirrord/cli/src/main.rs"},"region":{"startLine":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8a54fc7a7fee70cf78573269c71308a02d2b221589e53a47184ecc1575b57ff"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: mirrord/config/src/lib.rs: mirrord/config/src/lib.rs changed 26 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 53 in LayerConfig::verify at line 848. 2 of those changes were fix/bug commits, and the other 24 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 01:59:33 \u002B00:00\u0027 --until=\u00272026-09-30 01:59:33 \u002B00:00\u0027 --full-history --no-merges -- mirrord/config/src/lib.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/config/src/lib.rs"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d64c7714ce8ad7d1823d2c00e5349b985f4c5c02ff997a66f1fa0af4c39c94d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: mirrord/config/src/feature/database_branches.rs: mirrord/config/src/feature/database_branches.rs changed 30 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in DatabaseBranchConfig::copy_mode at line 609. 4 of those changes were fix/bug commits, and the other 26 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 01:59:33 \u002B00:00\u0027 --until=\u00272026-09-30 01:59:33 \u002B00:00\u0027 --full-history --no-merges -- mirrord/config/src/feature/database_branches.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":"mirrord/config/src/feature/database_branches.rs"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"515644819aa470b11d351c4a854b2f127b9eb8d38418d040be59d1b93f0e7c9c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: mirrord/cli/src/preview.rs: mirrord/cli/src/preview.rs changed 28 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in mirrord::preview::preview_start at line 106. 2 of those changes were fix/bug commits, and the other 26 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 01:59:33 \u002B00:00\u0027 --until=\u00272026-09-30 01:59:33 \u002B00:00\u0027 --full-history --no-merges -- mirrord/cli/src/preview.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":"mirrord/cli/src/preview.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e1c7e6e4f818efeef02b4f75f79c4668d12202a0b3fdc2b2da4ae0219e3235"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: mirrord/cli/src/error.rs: mirrord/cli/src/error.rs changed 29 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in CliError::from at line 870. 2 of those changes were fix/bug commits, and the other 27 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 01:59:33 \u002B00:00\u0027 --until=\u00272026-09-30 01:59:33 \u002B00:00\u0027 --full-history --no-merges -- mirrord/cli/src/error.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":"mirrord/cli/src/error.rs"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a0391255c0b531e0d659831a7b084dcac66981266595fa8b0305a31e1b0103b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/monitor/src/App.tsx: packages/monitor/src/App.tsx changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 54 in App.App at line 55. 2 of those changes were fix/bug commits, and the other 13 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 01:59:33 \u002B00:00\u0027 --until=\u00272026-09-30 01:59:33 \u002B00:00\u0027 --full-history --no-merges -- packages/monitor/src/App.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/App.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"a98dedc8c91f12a616286648c102f03aebf203cc60941c6dfb9c1fb5eba07d3a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: mirrord/operator/src/client/database_branches.rs: mirrord/operator/src/client/database_branches.rs changed 26 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in UnifiedDatabaseBranchParams::new at line 1394. 2 of those changes were fix/bug commits, and the other 24 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 01:59:33 \u002B00:00\u0027 --until=\u00272026-09-30 01:59:33 \u002B00:00\u0027 --full-history --no-merges -- mirrord/operator/src/client/database_branches.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":"mirrord/operator/src/client/database_branches.rs"},"region":{"startLine":1394}}}],"partialFingerprints":{"codehealthFindingId/v1":"a403964ce390bcb3f9a8ef8d6f167e415b6257e8b72e545fa19a31b735cd1240"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: mirrord/cli/src/internal_proxy/db_portforwards.rs: mirrord/cli/src/internal_proxy/db_portforwards.rs changed 21 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in mirrord::internal_proxy::db_portforwards::extract_portforward_configs at line 278. 3 of those changes were fix/bug commits, and the other 18 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 01:59:33 \u002B00:00\u0027 --until=\u00272026-09-30 01:59:33 \u002B00:00\u0027 --full-history --no-merges -- mirrord/cli/src/internal_proxy/db_portforwards.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":"mirrord/cli/src/internal_proxy/db_portforwards.rs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3edd83e2102ceb02835d569762a9777fabc087ad8cc661549511eca5a707694"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: mirrord/cli/src/connection.rs: mirrord/cli/src/connection.rs changed 20 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in mirrord::connection::try_connect_using_operator at line 75. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 01:59:33 \u002B00:00\u0027 --until=\u00272026-09-30 01:59:33 \u002B00:00\u0027 --full-history --no-merges -- mirrord/cli/src/connection.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":"mirrord/cli/src/connection.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"7653fdb9ba50fad03ebca6b183bc687ec4db067c6e602564dd1ae149bbbb3e24"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: mirrord/cli/src/ui.rs: mirrord/cli/src/ui.rs changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in mirrord::ui::chaos_command at line 268. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 01:59:33 \u002B00:00\u0027 --until=\u00272026-09-30 01:59:33 \u002B00:00\u0027 --full-history --no-merges -- mirrord/cli/src/ui.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":"mirrord/cli/src/ui.rs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f411795fa81ae2f827135bed027d3838ffb88c05b2cbacb538f95c88ba2cfd7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: mirrord/operator/src/crd/db_branching/branch_database.rs: mirrord/operator/src/crd/db_branching/branch_database.rs changed 21 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in BranchDatabaseSpec::validate_extra_params at line 780. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 01:59:33 \u002B00:00\u0027 --until=\u00272026-09-30 01:59:33 \u002B00:00\u0027 --full-history --no-merges -- mirrord/operator/src/crd/db_branching/branch_database.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":"mirrord/operator/src/crd/db_branching/branch_database.rs"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"d09bf00725ed9ea08d9c13abeaeb6d9f639940991f33c13e6525e3f8326a07c9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: mirrord/intproxy/src/proxies/outgoing.rs: mirrord/intproxy/src/proxies/outgoing.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in OutgoingProxy::run at line 785. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 01:59:33 \u002B00:00\u0027 --until=\u00272026-09-30 01:59:33 \u002B00:00\u0027 --full-history --no-merges -- mirrord/intproxy/src/proxies/outgoing.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":"mirrord/intproxy/src/proxies/outgoing.rs"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"4851e3b41d37da53d536710811a1995e6a8bf1404e4013004927c66561e71a07"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: mirrord/config/src/target.rs: mirrord/config/src/target.rs changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in TargetConfig::collect_analytics at line 702. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 01:59:33 \u002B00:00\u0027 --until=\u00272026-09-30 01:59:33 \u002B00:00\u0027 --full-history --no-merges -- mirrord/config/src/target.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":"mirrord/config/src/target.rs"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"21235bd491cdcd9b71b59c78a8a8ae1a9aa5f03cb492643d0c29c25f292415d1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/monitor/src/components/EventStream.tsx: packages/monitor/src/components/EventStream.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in EventStream.EventStream at line 58. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 01:59:33 \u002B00:00\u0027 --until=\u00272026-09-30 01:59:33 \u002B00:00\u0027 --full-history --no-merges -- packages/monitor/src/components/EventStream.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/EventStream.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"045bd48a6db8c153a864d3ec61900b1907d5220e57f4c5947d49c53afd27c9a3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: mirrord/up/src/process.rs: mirrord/up/src/process.rs changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in mirrord_up::process::supervise_with_second_signal at line 343. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 01:59:33 \u002B00:00\u0027 --until=\u00272026-09-30 01:59:33 \u002B00:00\u0027 --full-history --no-merges -- mirrord/up/src/process.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":"mirrord/up/src/process.rs"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"9745186f227af2b87913cf2283a0b9ff71c1130e8b193f44fa3c085b10b3d477"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/wizard/src/components/steps/TargetTab.tsx: packages/wizard/src/components/steps/TargetTab.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 47 in TargetTab.TargetTab at line 52. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 01:59:33 \u002B00:00\u0027 --until=\u00272026-09-30 01:59:33 \u002B00:00\u0027 --full-history --no-merges -- packages/wizard/src/components/steps/TargetTab.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/wizard/src/components/steps/TargetTab.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d9bf2e8ea75bc68a9c02bf07cdffbc4085a09f33f28e340920317980aee7ef4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: mirrord/layer-lib/src/debugger_ports.rs: mirrord/layer-lib/src/debugger_ports.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in DebuggerType::get_ports at line 155. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 01:59:33 \u002B00:00\u0027 --until=\u00272026-09-30 01:59:33 \u002B00:00\u0027 --full-history --no-merges -- mirrord/layer-lib/src/debugger_ports.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":"mirrord/layer-lib/src/debugger_ports.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcf371442867c655d4f2baab721d51dc0f837f6c01cd85acd0d5e11149dbdf06"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/wizard/src/components/JsonUtils.tsx: packages/wizard/src/components/JsonUtils.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in JsonUtils.readCurrentFilters at line 325. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 01:59:33 \u002B00:00\u0027 --until=\u00272026-09-30 01:59:33 \u002B00:00\u0027 --full-history --no-merges -- packages/wizard/src/components/JsonUtils.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/wizard/src/components/JsonUtils.tsx"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf612a9eb2ad66a16032e53b76da289d0db6b18af726a62392103b15ed4e296d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/monitor/src/components/SessionSidebar.tsx: packages/monitor/src/components/SessionSidebar.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in SessionSidebar.SessionSidebar 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 01:59:33 \u002B00:00\u0027 --until=\u00272026-09-30 01:59:33 \u002B00:00\u0027 --full-history --no-merges -- packages/monitor/src/components/SessionSidebar.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/SessionSidebar.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"d46e4f43b6531fe2c314d0ab24ea85ea2083327b9b311b128cf2ccfcfa9f05be"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/monitor/src/components/SessionDetail.tsx: packages/monitor/src/components/SessionDetail.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in SessionDetail.SessionDetail at line 35. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 01:59:33 \u002B00:00\u0027 --until=\u00272026-09-30 01:59:33 \u002B00:00\u0027 --full-history --no-merges -- packages/monitor/src/components/SessionDetail.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/SessionDetail.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"f00206e97aee4091c084ea84fb40ed719fa11210cec69c320bec54241433c3e0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: mirrord/agent/src/entrypoint.rs: mirrord/agent/src/entrypoint.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in ClientConnectionHandler::handle_client_message at line 638. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 01:59:33 \u002B00:00\u0027 --until=\u00272026-09-30 01:59:33 \u002B00:00\u0027 --full-history --no-merges -- mirrord/agent/src/entrypoint.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":"mirrord/agent/src/entrypoint.rs"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"e11c91d5245ca33349a21da1129b316a69712983163bf75f892d69b2d97cb4e3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/monitor/src/hooks/useChaosRules.ts: packages/monitor/src/hooks/useChaosRules.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in useChaosRules.useChaosRules at line 102. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 01:59:33 \u002B00:00\u0027 --until=\u00272026-09-30 01:59:33 \u002B00:00\u0027 --full-history --no-merges -- packages/monitor/src/hooks/useChaosRules.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/hooks/useChaosRules.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"83c4713273cb5d3d5d64d01678f18866e266b28154336556906066e25251e7ac"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: mirrord/intproxy/src/proxies/files.rs: mirrord/intproxy/src/proxies/files.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in FilesProxy::file_response at line 900. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 01:59:33 \u002B00:00\u0027 --until=\u00272026-09-30 01:59:33 \u002B00:00\u0027 --full-history --no-merges -- mirrord/intproxy/src/proxies/files.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":"mirrord/intproxy/src/proxies/files.rs"},"region":{"startLine":900}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f606bdc721979e049b9a0ad43404e3583da29a7e8d535507d7bdfd2ced3653c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/monitor/src/components/OperatorSessionDetail.tsx: packages/monitor/src/components/OperatorSessionDetail.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in OperatorSessionDetail.OperatorSessionDetail at line 74. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 01:59:33 \u002B00:00\u0027 --until=\u00272026-09-30 01:59:33 \u002B00:00\u0027 --full-history --no-merges -- packages/monitor/src/components/OperatorSessionDetail.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/OperatorSessionDetail.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c9f38a4b0fa8929cfb4ce326d016724dd4bf189b09edc7114598048a207b3ca"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: mirrord/config/src/feature/database_branches/generic.rs: mirrord/config/src/feature/database_branches/generic.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in GenericBranchConfig::verify at line 264. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 01:59:33 \u002B00:00\u0027 --until=\u00272026-09-30 01:59:33 \u002B00:00\u0027 --full-history --no-merges -- mirrord/config/src/feature/database_branches/generic.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":"mirrord/config/src/feature/database_branches/generic.rs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0c5a2fe7cf89a5684111a58ae3251be172a9d40e87506d2485ef11fedba84d3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/wizard/src/components/Wizard.tsx: packages/wizard/src/components/Wizard.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in Wizard.Wizard at line 50. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 01:59:33 \u002B00:00\u0027 --until=\u00272026-09-30 01:59:33 \u002B00:00\u0027 --full-history --no-merges -- packages/wizard/src/components/Wizard.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/wizard/src/components/Wizard.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a091de0463d7679410cad9d93d57ed4882df69ca731bb851ecf42a33c538ad"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: xtask/src/main.rs: xtask/src/main.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in xtask::main at line 176. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 01:59:33 \u002B00:00\u0027 --until=\u00272026-09-30 01:59:33 \u002B00:00\u0027 --full-history --no-merges -- xtask/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":"xtask/src/main.rs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"cff25c237cc89f8deb8f42b76ea49283325d779974670e147cb5786c2447a564"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: mirrord/cli/src/external_proxy.rs: mirrord/cli/src/external_proxy.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in mirrord::external_proxy::proxy at line 69. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 01:59:33 \u002B00:00\u0027 --until=\u00272026-09-30 01:59:33 \u002B00:00\u0027 --full-history --no-merges -- mirrord/cli/src/external_proxy.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":"mirrord/cli/src/external_proxy.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c13ba3eb18cf5982e016dac38476292dffcdc1db75abf63224c208e98be6c38"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: mirrord/layer/src/go.rs: mirrord/layer/src/go.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in mirrord_layer::go::c_abi_syscall6_handler at line 40. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 01:59:33 \u002B00:00\u0027 --until=\u00272026-09-30 01:59:33 \u002B00:00\u0027 --full-history --no-merges -- mirrord/layer/src/go.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":"mirrord/layer/src/go.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"f80061fa0cd52ade43e3e66077c951f5c1d689ad1669e8354be9bbc183f735fd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: mirrord/layer-win/src/hooks/socket/mod.rs: mirrord/layer-win/src/hooks/socket/mod.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in mirrord_layer_win::hooks::socket::bind_detour_impl at line 326. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 01:59:33 \u002B00:00\u0027 --until=\u00272026-09-30 01:59:33 \u002B00:00\u0027 --full-history --no-merges -- mirrord/layer-win/src/hooks/socket/mod.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/layer-win/src/hooks/socket/mod.rs"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"70b907ad56a7fadda1935a7aa125deffb44ecce7c9e1abe15881db0695c81994"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: mirrord/intproxy/src/failover_strategy.rs: mirrord/intproxy/src/failover_strategy.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in FailoverStrategy::run_with_termination at line 181. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 01:59:33 \u002B00:00\u0027 --until=\u00272026-09-30 01:59:33 \u002B00:00\u0027 --full-history --no-merges -- mirrord/intproxy/src/failover_strategy.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":"mirrord/intproxy/src/failover_strategy.rs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4daa9c041a6af23199b75412070414ad601d1ea8e6bf061ecaa46dd4f92d00e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/monitor/src/components/events/EventRow.tsx: packages/monitor/src/components/events/EventRow.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in EventRow.EventRow at line 22. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 01:59:33 \u002B00:00\u0027 --until=\u00272026-09-30 01:59:33 \u002B00:00\u0027 --full-history --no-merges -- packages/monitor/src/components/events/EventRow.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/events/EventRow.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"84eab62a218ac7c068361d151c3509fa6b1b3691ec6a1fa63ee0a04ce9ac1834"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: mirrord/cli/src/queue_splitting.rs: mirrord/cli/src/queue_splitting.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in mirrord::queue_splitting::suggest_queue_splitting at line 60. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 01:59:33 \u002B00:00\u0027 --until=\u00272026-09-30 01:59:33 \u002B00:00\u0027 --full-history --no-merges -- mirrord/cli/src/queue_splitting.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":"mirrord/cli/src/queue_splitting.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"b30c9348e318ec667a0932ef62c5e94a75788930c846fe72b496316e8fd14f87"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/wizard/src/components/steps/NetworkTab.tsx: packages/wizard/src/components/steps/NetworkTab.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in NetworkTab.NetworkTab at line 149. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 01:59:33 \u002B00:00\u0027 --until=\u00272026-09-30 01:59:33 \u002B00:00\u0027 --full-history --no-merges -- packages/wizard/src/components/steps/NetworkTab.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/wizard/src/components/steps/NetworkTab.tsx"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"746a64c09750db42319049f6275b664eff938cae3c39cd6ef5d142bfc2923aea"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: mirrord/cli/src/pitm.rs: mirrord/cli/src/pitm.rs changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is mirrord::pitm::run_as_java_launcher at line 91), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(cli): give pitm a per-build layer path\u201D; \u201Cfix(layer): kill the injected child on Windows via a job object\u201D; \u201CFix broken windows tests (#4422)\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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 01:59:33 \u002B00:00\u0027 --until=\u00272026-09-30 01:59:33 \u002B00:00\u0027 --full-history --no-merges -- mirrord/cli/src/pitm.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":"mirrord/cli/src/pitm.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"31054c0f19f6a35a52692454a80c131f0212142f32682210eaa9149632d2ffa6"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 13 significant file(s) lose their only recent owner: mirrord/utils-win/src/diagnostics/report.rs, mirrord/utils-win/src/diagnostics/monitor/server.rs, mirrord/utils-win/src/diagnostics/dialog.rs, mirrord/utils-win/src/diagnostics/crash.rs, mirrord/utils-win/src/modules.rs, mirrord/utils-win/src/diagnostics/monitor.rs, mirrord/layer-win/src/diagnostics.rs, mirrord/utils-win/src/diagnostics/dialog/theme.rs (\u002B5 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"12a4c1042287df090baccd9df7deb21438ab7f88f2e07ef6dbc8b16cfbb69ffb"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 9 significant file(s) lose their only recent owner: mirrord/layer-win/src/hooks/files/ops/read.rs, mirrord/layer-win/src/hooks/files/ops/query_info.rs, mirrord/layer-win/src/hooks/files/ops/set_info.rs, mirrord/layer-win/src/hooks/files/ops/open.rs, mirrord/layer-win/src/hooks/files/ops/stubs.rs, mirrord/layer-win/src/managed/registry.rs, mirrord/layer-win/src/iocp/mod.rs, mirrord/layer-win/src/hooks/files/ops/close.rs (\u002B1 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e794106987cfdf67a493552662792feb6cf9c2cfac0a048795fd72d95b3c44dc"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #3: If anonymized user #3 becomes unavailable, 9 significant file(s) lose their only recent owner: mirrord/intproxy/src/proxies/incoming/http.rs, mirrord/agent/iptables/src/mesh/istio.rs, mirrord/cli/src/extract.rs, mirrord/agent/iptables/src/mesh/exclusion.rs, mirrord/agent/iptables/src/output.rs, mirrord/layer/src/turbo.rs, mirrord/session-monitor-client/src/request_builder.rs, mirrord/agent/iptables/src/standard.rs (\u002B1 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7d0960a8d32b7c87091b0f47b373ce4289d56d275ce2934b84484dd1d1b130bc"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #4: If anonymized user #4 becomes unavailable, 6 significant file(s) lose their only recent owner: mirrord/protocol-api/src/client/simple_request.rs, mirrord/agent/src/util/io/throttle.rs, mirrord/intproxy/protocol/src/codec/codec_async.rs, mirrord/sip/src/bundle.rs, mirrord/console/src/async_logger.rs, mirrord/intproxy/protocol/src/macros.rs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1c6346b0c1e25f06326727eaf4c7a744a47504589fb960b7db3e15c74e49adca"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #5: If anonymized user #5 becomes unavailable, 5 significant file(s) lose their only recent owner: packages/monitor/src/components/SettingsDialog.tsx, packages/monitor/src/components/EmptySessionState.tsx, packages/monitor/src/components/events/EventRow.tsx, packages/wizard/src/components/Homepage.tsx, packages/monitor/src/components/events/eventConfig.ts. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"2fa66690742aa3bbd0752bd995d02f317da50cf830fb69ca5112fddf696afeec"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #6: If anonymized user #6 becomes unavailable, 4 significant file(s) lose their only recent owner: mirrord/agent/src/http/share_link.rs, mirrord/cli/src/preview/multicluster.rs, mirrord/tls-util/src/error.rs, mirrord/tls-util/src/read_pem.rs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"32d192d56dc4e702f596918e79ca29204340faf68ebae9388e67a529a39dc5a1"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 5 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (52 single-owned of 506 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated and example/demo trees and test files identified by path convention, largest first; 506 of the 728 production source files in this repository met that bar). They are anonymized user #7 (2 file(s)), anonymized user #8 (1 file(s)), anonymized user #9 (1 file(s)), anonymized user #10 (1 file(s)), anonymized user #11 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"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":"mirrord/agent/env/src/envs.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6f0c405a9b9ee816e650889a1bf8d617eb34f93aa3f0445bc65855b11542db1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: need to do it for UDP as well to avoid ICMP unreachable. \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":"mirrord/agent/src/vpn.rs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9840b5c6a867bb052736fb83c6a7e0b2f33e381e858b20e73d372641e0260c8"}},{"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":"mirrord/agent/src/reverse_dns.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"303951599da70b0cdbb2892b0b6485d5d1a6dae6816d4be05d81a8f217df27ec"}},{"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":"mirrord/agent/src/dns.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"46fb49eb16c7101f8b561b142b1b6caab927199264a224135c30d477390572b8"}},{"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":"mirrord/intproxy/src/lib.rs"},"region":{"startLine":1091}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcc216c82d38413b89fed1ef344fff19455f2e8e3dca1e38eaa87496867c65fe"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: maybe not agent error on this? \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":"mirrord/agent/src/file.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f88d0b689bed689be19721b2c7c0ea24734480cdd813fa00c82bd82f579f443"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(alex): clanker says that what we\u0027re doing here is not really equivalent to \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":"mirrord/agent/src/file.rs"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"40997f1ff213fb2db855c357c2bb7ab4f4761f6e4b5459d776842faaa2b84f1f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: nginx doesn\u0027t play nice when we do this, it only returns a string that goes like \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":"mirrord/agent/src/env.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc70b45a4ec00e61b606dbaa4aa32c9bf8421a9759d152d0366003aaf86a2543"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Audit that the environment access only happens in single-threaded code. \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":"mirrord/cli/src/util.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0fd840d5b533cf3f826cd393e01479607375b91989b497215bc64833d0d4798"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Audit that the environment access only happens in single-threaded code. \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":"mirrord/layer-lib/src/debugger_ports.rs"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"05fe30d44ca391e1147752130abef25e3179dcef7ef582af48e2bced10404605"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Audit that the environment access only happens in single-threaded code. \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":"mirrord/layer-lib/src/debugger_ports.rs"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a9928705e68442a4ac6f5fb7d7a13fc50abc6f5105457a07e11ba1f58d2665c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Audit that the environment access only happens in single-threaded code. \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":"mirrord/layer-lib/src/debugger_ports.rs"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"311203823837d8f4f68d3ead5e786cea57b1152cbcecb424b76930288e4a9373"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Audit that the environment access only happens in single-threaded code. \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":"mirrord/layer/src/lib.rs"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cda1f1069cbfc08203086c56f9a0968a6f93b16b7c4e2ed739b14966cf2cec6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Audit that the environment access only happens in single-threaded code. \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":"mirrord/layer/src/lib.rs"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dc68e659be61f04dbc00692dd648ec6ade6c7d3b367a8e5fcca88d02a05f48e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Audit that the environment access only happens in single-threaded code. \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":"mirrord/layer/src/lib.rs"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dc7f7895a1a6b74d758d07f09c3be587a926ac287f72e2801a0f34065a7ac16"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // HACK ideally this would be handled by protocol-api \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/cli/src/prefetch.rs"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"d08743e723b968e45cd857122cbf0e7e7819f41569c050efb1c3be070672039c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(alex) [high] 2023-05-18: This links to \u0060FsConfig\u0060, not \u0060FsUserConfig\u0060 as I thought \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":"mirrord/config/src/feature.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb3db5359ee483e4f79edcb32c6ca1a20040593700abb8cadac6cadb72418f88"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(alex): We could turn this derive macro (\u0060MirrordConfig\u0060) into an attribute version, which \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":"mirrord/config/src/feature/fs/advanced.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd71e5fe83e902932fc4528a9ff7e447d3ccd1dcbfe8890271478e5d45397432"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: \u0060after\u0060 is ignored, the error is always delivered immediately. Restore the \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":"mirrord/intproxy/src/proxies/outgoing/chaos.rs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"d86d4ac1df4d58dce1fc3c97d7671f18f11003899ff93337aad75b66146847f0"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: The correct implementation of connect latency relies on layer \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":"mirrord/intproxy/src/proxies/outgoing/chaos.rs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c441dce2ee8d08d4b951427cd31e062fc34248ac74c9c6770bc2a9046548996"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //! TODO: this helper isn\u0027t really session-monitor-specific \u2014 it builds a generic \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":"mirrord/intproxy/src/session_monitor/win_security.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"92772b0dd700c5c733eea0703226a5338f7d9983cb5d35e3fe40984c39eef26b"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: kept for compatibility, but ignored by intproxy. See \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":"mirrord/intproxy/src/session_monitor/chaos/rules.rs"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c0daa7f13e0737efc97e54db6df3a73b4bfacbda1fe68f201533fbe7f95e7c"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: kept for compatibility, but ignored by intproxy. See \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":"mirrord/intproxy/src/session_monitor/chaos/rules.rs"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac1aa7dd6d3023ec8ac46b10bf5156f7ead7447f4593b43aa6ec2ae9e1660d49"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO remove after some time. \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":"mirrord/kube/src/api/container/util.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"057ed2b0b1907627a926953426b8932c5c16d13c5a0869beaa02e59cc39c2b4d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(alex): We could treat \u0060sockfd\u0060 as being the same as \u0060\u0026self\u0060 for socket ops, we currently \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":"mirrord/layer-lib/src/socket.rs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"a32dd1b20dff59148d9d9eb59a81d102e1e5c9dc09fdbda547a49c538b5bcf59"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: We don\u0027t really need a lock, we just need a type that: \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":"mirrord/layer-lib/src/proxy_connection.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"f74d531c48c1e9298783b23f9fb6d6e9017441594a873fa2ea09c6ccf5715021"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add more error kinds, next time we break protocol compatibility. \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":"mirrord/layer-lib/src/error.rs"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e8b0fbc6c24e82d2ad6801dec7f41c5742076adb2e17bab196fccc8065f5511"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u0060node\u0060 searches for this file in multiple directories, bypassing some of our \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":"mirrord/layer-lib/src/file/unix/read_local_by_default.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"f320cb96788cd17858a35465f10a20f25c5429434cfbed2ea9ddaf523057ef0c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: according to the man page, service could also be a service name, it doesn\u0027t have to \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":"mirrord/layer-lib/src/socket/dns/windows.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"198cd03c724daa45614b1b02acf69eee5b8a5067017143ef1494b3b7f20393b1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: according to the man page, service could also be a service name, it doesn\u0027t have to \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":"mirrord/layer-lib/src/socket/dns/unix.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"2587defb8c2988e17c6434c2a1c958a9b3cb88166e084412832dca21507badf9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(alex): Don\u0027t just reuse whatever the user passed to us. \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":"mirrord/layer-lib/src/socket/dns/unix.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"06be1180a90e5c64350c89c3b2ee26cdde50142ffc04f9360a64747bb090ef50"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(alex): Add a wait time here, we can end up in the \u0022Close request success\u0022 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":"mirrord/layer-tests/src/intproxy.rs"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"a146105943652b2e1e09531ce28834b22a897b4cf3f5df17d3f5e2d0894816d5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add a test for when DNS lookup is unsuccessful, to make sure the layer returns a valid \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":"mirrord/layer-tests/tests/outgoing.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"017acf00d49d98c4c9dbf90368e81a6e718fcfe2412467a5203211add30aab39"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO(alex): When we fully implement proper UDP handling, this test will fail with some missing \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":"mirrord/layer-tests/tests/issue1776.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1475f3b151c3a268d8dc37969b901e1dfb454b6819c6586236151b5e021f52d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO(alex): When we fully implement proper UDP handling, this test will fail with some missing \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":"mirrord/layer-tests/tests/issue1458.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"d36f9baa9b4a4350a30486e2d93e5d46f7ef4fe453b928d76d5474ea92f63911"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(gabriela): edit when supported! \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":"mirrord/layer-win/src/hooks/files/ops/open.rs"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bcf25f0911a87c92ba60b565ce723ae9d745758c8050f41560c0199c2294c84"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(gabriela): update when write mode supported. \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":"mirrord/layer-win/src/hooks/files/ops/open.rs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"68ad91c1aa9bc1d8d6bc6d3357b9b4be394e530ddd41923061ac0f2a84790349"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: When this is annotated with \u0060hook_guard_fn\u0060, then the outgoing sockets never call it (we \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":"mirrord/layer/src/lib.rs"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0237b71f8d8f2800a371c2353cd4efae50e830828ecd347518f83b955df7330"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: do we also need to hook posix_spawnp? \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":"mirrord/layer/src/exec_utils.rs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1d34a5e24f49b5e0d9d8ee85267838a5608286146e5d92b170382d68b3b20fc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(gabriela): rewrite this using \u0060FileFilter::check\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":"mirrord/layer/src/file/ops.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee0aa793c3fbd18583e270b19fa4fe5ea36fbf33d9728d7ad196d7071779e19c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Need a way to say \u0022open a directory\u0022, right now \u0060is_dir\u0060 always returns false. \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":"mirrord/layer/src/file/ops.rs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d56b3254c55e7f943832ae63ff293fe987813c4aa13958b6cb397528879b831"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: possibly create a different error rather than the almost correct \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":"mirrord/layer/src/socket/ops.rs"},"region":{"startLine":1310}}}],"partialFingerprints":{"codehealthFindingId/v1":"105df7bd0e7d5c4fd491c4829de05ce3963e6e259c13a441f20c52e0b2cff446"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO(alex): We are ignoring the control message header [\u0060libc::cmsghdr\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":"mirrord/layer/src/socket/hooks.rs"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e55d08f00e1bb1d5a27e074e85d5177195376ac97ea6930775fc3fc89d2ffc6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO(alex): We are ignoring the control message header [\u0060libc::cmsghdr\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":"mirrord/layer/src/socket/hooks.rs"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4e5a4b0df6271b8179b8f45b3cda81a55b7f995a2c12a345c32987920cff796"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(alex): We are ignoring the control message header \u0060libc::cmsghdr\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":"mirrord/layer/src/socket/hooks.rs"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"13dfb7177068bf972c1bb361cc93f2eed74050b282395d11830f717925a2d620"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(alex): We are ignoring the control message header \u0060libc::cmsghdr\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":"mirrord/layer/src/socket/hooks.rs"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"8596a9ae082d833ea361bf6717ea511cce8ca55e32c4adfad4971c0ceebb1bc0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: We\u0027re not handling \u0060custom_flags\u0060 here, if we ever need to do so, add them here (it\u0027s an OS \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":"mirrord/protocol/src/file.rs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"10f7836ac3ae9dc7556634eb9ca59c1c12f9a5f807e20a0eebe0d0822a338a63"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Should probably live in a separate place (same reasoning as \u0060AddrInfoHint\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":"mirrord/protocol/src/file.rs"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"8552b63f7cab520b2a65794b91d8818b5357c7889047fdab1127c55d930dac0e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO(alex): We need a windows equivalent for this at some point. \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":"mirrord/protocol/src/error.rs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"426df44e0910098072e7903eacd26439326beb201f75c08455789858391552dd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Change output to be with hash of the contents, so that old versions of changed \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":"mirrord/sip/src/lib.rs"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"c797bf883c4648f020689f1048d03f90d1bfaf42d804f92f63d7ead9d0f1a131"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement \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":"mirrord/tui/src/local_sessions.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d60a89ec0b733104dd7b0a5c4dff5bf721df4259c0479cbd266e1132d96fc6e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Filter list by local-only \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":"mirrord/tui/src/screens/sessions.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"8170b601067f50d17722b43fde088702399cbd9adf4ff0c828d54b9c54c77732"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(areg) downgrade to a debug_assert once the feature stabilizes. \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":"mirrord/up/src/process.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a880802cf818dc8fbde69e1140a5d4a3d701de47116bfb1c807fe6f6d1272f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: change outgoing TCP tests to use the same setup as in the outgoing UDP test so that \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":"tests/src/traffic.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"c14f7671115ac1e7cd8e22b2a8dc1fa734b6d4a053dc8bbd9b6b6d9f04872fde"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no contributor guidance: The root README has no guidance for contributors. Add a Contributing section covering PR/merge process, code of conduct, and any required tools."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"620f29787918fa3406ae55cb63eefa1b50410845435c4e47bda852816aaea084"}},{"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."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d2bea044ff79d7d275f5a91a6e2f548586178eaf480274c33960ad020c854631"}},{"ruleId":"D22","level":"warning","message":{"text":"Redundant methods with nearly identical names and likely identical functionality (mutating vs immutable builder pattern). The distinction is unclear from signatures alone and suggests a copy-paste error or incomplete refactoring.: Remove \u0060override_env_mut\u0060 if \u0060override_env\u0060 already handles mutation, or rename to clearly distinguish intent (e.g., \u0060override_env_immutable\u0060 vs \u0060override_env_in_place\u0060). (signatures: ConfigContext.override_env(key: K, value: V): Self | ConfigContext.override_env_mut(key: K, value: V))"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"465d1d75adabd4e0ecebac56c697c8cecc41493633994236ad2039246ec32669"}},{"ruleId":"D22","level":"warning","message":{"text":"Ambiguous naming for cleanup operations. It is unclear if \u0060cleanup_verified\u0060 performs a stricter check, returns different error types, or is simply a redundant alias.: Rename \u0060cleanup_verified\u0060 to \u0060cleanup_and_verify\u0060 or \u0060cleanup_strict\u0060 to clarify the additional behavior, or remove if it is identical to \u0060cleanup\u0060. (signatures: SafeIpTables.cleanup(): IPTablesResult | SafeIpTables.cleanup_verified(): IPTablesResult)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c11d63aac95867aaf4d4e3a9ccd5e79dfe5c9d4d5217883abbd9d45b4d81bab9"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 4 of 43 project(s) overshoot their size bounds, lowering Project Cohesion to 8.1/10. The most over is \u0060mirrord/config\u0060 (18922 LoC, 162 public types across 8 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":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c1e44af381e0b321b26336fbe6fe212ecf58048d0af24642e76354606052e817"},"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"}}]},{"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":"fb76719392595d390421f664ec2965c366fb9f97a297ec58027bf6439d885baf"},"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"}}]},{"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":"80a061ff133f80f98cbee6e1505baf62e809cc70a792c6b0d12a21ead174d274"},"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"}}]},{"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":"fb17b69ec1007f3eb89be001fe1db8b9ff56d158ec30d9013887449d05d1f7a9"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"073893b3bc0fa510ec095a3c0a89beb31b9d7123b5c4647efdf01bc8a2b59345"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"96fd9c229bf41db5f5532d8ca53722806751a485a7332f1c91786aeddc14ab1e"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"aaf127e2c1b9ed8074d3ab2d2342f97734d66a5bb36d39b4c67eb2406bf8b022"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"923e32f96db17ecbcc78fb970b7972b0c5ea08bb60a82a9c9da9c30285066dc2"},"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"}}]},{"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":"6959d72820cf63acf77a1183dd26b52e5b29893f33a1fa47f6eb76f0a9c8aa67"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6517439216b446a90a652a0deaeb9efd700bb9839a0ef668121d5ab19c5dd202"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"af77db48640aff719e4bc61f9ab5d9e84ac86bdd7bc59177b1872a5ec8df2759"},"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"}}]},{"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":"3fdc5f48bd318114a5c4d1700d6862a5c536af7f1d6bbc02ce19ffaf794c2233"},"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"}}]},{"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":"e8571340324deec660b8154b4a621919d008e0d9282b4c2ad5bebc09403c691a"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ce50eeed4bc0f1943c76f24ac7819208d0d65fc4ce5b4ed5d22a8a5b9a2f8441"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ee1ec4570c3cc167ed3289d16e942ce7489dc1fb54fc3900a4619c3251967648"},"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"}}]},{"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":"b4ff628f128608eedbbcec2de05b1174f1f61be0d39afc58c069d0027b2a80d7"},"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"}}]},{"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":"226d56cc23f26ce6c12667a6da43dc1c43825bc39ee3cd6d6dd966f7a336d42b"},"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"}}]},{"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":"554d4486b24a23a035444ca881ae3322334c6a585b0798161c4ee3a373b764a2"},"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"}}]},{"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":"68004048582d8e9866799681291da3648993d0f90a6818d7c3c5a25e3320eaa0"},"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"}}]},{"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":"18e9dc97cd792df3ed8e747ff9f4bd6daae2c987a02e7fe4cb9ee91a0f8ba616"},"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"}}]},{"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":"7e41d66d8706d8061c4d426994addbf658358615663bd818ac578fbe92d9695c"},"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"}}]},{"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":"527ad9cd6891ff5818bed3363325f9eee6f1ef45ae08d191b5e77bb561d8ef11"},"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"}}]},{"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":"cb99cf388242019e5898245ec0f89e7f8728f2ae61613096f0b2ed3108035ed8"},"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"}}]},{"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":"603729f32ddb63dc52a7fba259d7f4d915896827a66072801987c4a48afa6d02"},"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"}}]},{"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":"cb9578eb80eb74f0624a56ae5837c9d402fdeabb03cfeaa130a650b7b497b4de"},"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"}}]},{"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":"cd393365ee6271b101303fb47eab6b98694fa5e66c99ec89a7490be6204f86e8"},"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"}}]},{"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":"f90c9c806b1e8d04d7db0ff5accda1daad20765b8ef3d912c267cc464b9365e7"},"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"}}]},{"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":"0f7057d872472e5050ca54c7a51b24227b114ce681e72edcf6d1140929e5b886"},"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"}}]},{"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":"ff81619f0bbb77b156f9c949b131d38c691c2b7662e686d9ecad3f8b9152270d"},"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"}}]},{"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":"859e05b80e444c064368f490fa82aaeb4d5c1262ff380fc0712497105812060b"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3d51a2abea882de2f8747f0bef1b357a668031a1fa14ca5e651b86b7153943a8"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7e9cf4c16247246cf566e994b333e7d77329ad2ab2f777c9386c1dee898717da"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"66f3f5a654eae45572c1aa5aad4c4b0c4728babb41d0d7a372d2ec506df59b9f"},"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"}}]},{"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":"4b11211cb55bee4cffc5b7db336162f03ca0b278aaaf487e6bdc661012eaedb9"},"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"}}]},{"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":"7c0b82de91f489c1178ceca4c359702f1ba85d5c716ab53cc31799be161826e8"},"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"}}]},{"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":"5d8a90bf24e1cfe93e4949b87bb220179aeee842b6b82c80e054438f2662bd18"},"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"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7cf8a78c4a993aecafcb4fe2b18ecb6ff3aced137586a07de2812771fcf18756"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1498825690ee691422757d83c6c8726aaf69040fa62a3b6b71a03075f0880320"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"85f99189d964cdde824a816d83f2290af0a3f7efe42feb1d6495743a90e33e22"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"c60ddfa9ff4321aee1b89dfac95d9c978236ee4622a6c2eb51d2a9dfd910ec4c"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"de06d9a0645f654411392c2ded383e7a29a4c59f050ef0b398e4f3168333cd7e"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"264c9452c465584f5e451349c1b4e003262781d3f6d024062159a12171fd34b7"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6e73274327a59fde3d7525c32eb900b994ffa4778e21ba83ba71c18747bd32c8"},"properties":{"dependency":{"package":"vitest","version":"2.1.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"production","file":"packages/wizard/src/test/setup.ts","line":2}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"df21b8127d24aeed9579f3ce44f2f84d2d4f9ae41d6b03d4309b75c4781747cc"},"properties":{"dependency":{"package":"brace-expansion","version":"1.1.15","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6fde06abe7dac0b6bc6951df4e58a3dd77b634a2402a8ce8ec6bcc39669c05de"},"properties":{"dependency":{"package":"brace-expansion","version":"5.0.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ce9bbfea95fe015374ae86e03b9373fd15c82feee84c4ee070b765207d8d9476"},"properties":{"dependency":{"package":"browserslist","version":"4.28.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0c52b68cea64ff90995d6bb86ac479484651e1b8ee674bb820363a96ee394cae"},"properties":{"dependency":{"package":"vite","version":"5.4.21","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"test-or-tooling","file":"packages/ui/vite.config.ts","line":1}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7bbcf727c11f3451b90e0c4181659fec15555399ba4dd1a967c87b3704c5ad8b"},"properties":{"dependency":{"package":"postcss","version":"8.5.15","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"test-or-tooling","file":"packages/ui/package.json"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ac07f6d7edfd49261e66a0ecf670dc83aeb27f637d0eaec58b89ac41744f7835"},"properties":{"dependency":{"package":"rsa","version":"0.9.10","advisory":"RUSTSEC-2023-0071","aliases":["[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cd08558613b1501123823d3d37fc3f1efb021ff78777c7e19d8a90d57f722e0c"},"properties":{"dependency":{"package":"difference","version":"2.0.0","advisory":"RUSTSEC-2020-0095","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":"b5524f25221308ec94b7206b58afaa59996104c20abaa242285d451f5344e44b"},"properties":{"dependency":{"package":"rustls-pemfile","version":"2.2.0","advisory":"RUSTSEC-2025-0134","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":"4975822701b3b96654c82dada9bad969e348a6adefa52cd3bba1b6cfd71c3bb7"},"properties":{"dependency":{"package":"bincode","version":"2.0.1","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":"9fa903053a3f312606416859cb67a9d184205be1a801337492ae8f642ebf9203"},"properties":{"dependency":{"package":"qs","version":"6.15.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a57df3b407d25511b0cd0ce61324c152e866fa43b47b6316414d07a18b8454a6"},"properties":{"dependency":{"package":"dompurify","version":"3.4.10","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"10e7ebf2bc6f092b587e1c5c6554560a1e358ae0c03c4a8acfc1fe5df51e8d09"},"properties":{"dependency":{"package":"@vitest/mocker","version":"2.1.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6fb79007bff808f0f9ed82f4d428b3c45193863658dcd9768c0fea9c35128c01"},"properties":{"dependency":{"package":"fflate","version":"0.4.8","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"16bc49aac72eafef4ac9a880a9755121d0367a6bdf3e48689c49c4d9d8c09a58"},"properties":{"dependency":{"package":"baseline-browser-mapping","version":"2.10.37","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8ff4501a0b6eb84bb92385b6433ad1c9d658a3cd9dbc3a993388fb9e366aa074"},"properties":{"dependency":{"package":"esbuild","version":"0.21.5","advisory":"[GHSA redacted]","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7ddbaf099bc937d503bb4f377c7294decf05b8f82a7f86e2267c1dc8fe41bdd2"},"properties":{"dependency":{"package":"body-parser","version":"2.2.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b62287709922913d226bd77c2a03ec204fb8d5ebbeb4f3b992c6ad1d83283ea3"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"12c06733d0bc0cb8277b20e0c364e811462437c070223629a870774a6505d32a"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a03510e4cbee6d3c9b846e445876711be63a9281bb01f9d668f698d1efcded0d"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5e735ccdb525bef44677456b6b0a58281e09b9110eda59883c77782a892f4971"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"310580e25771175321238e41ea58d3832d0e4aa3217a4710c524dfbaa3665fac"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ce3c385d51b1015c79ab9fcee2a1f204ebbc0684c980fa57fa3e4c75952fe538"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3197f195ea108d11d1a413bc81414086c831428c9b041efcf30a58578be05c9f"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a8dea3d0385d7ff3c12282e37bd642b4f172d3b3a5ec444c7825b8d668ded3cc"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d28261d7aa48defe219cfe7153866192d2dbfb9b37fabab9f495fc614a3da728"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a4cd714ee471be11a59f9bc44725ed7a4045b698eab2e29616cf8a0ca04fa3d3"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1a9758dec8982619f31776135a0e90b9988c1978a57361475fc7ac2a35ce3938"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dfcc4f7898503c8710ab7f51cf555b2d09b66c1f401650e8a88828e5b29f24ee"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b9cf6e1206b54aafff84f156436380916c4071c9227adf137253e298a3fb622d"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9d7590d4bb987299e1cca02540b78375e517c7a78b2c2908428c9d97a6dd8c7e"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a21b7007b344939e2e84c054b4314da887543806dd32a44b6ebd01d2d8c4fd25"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"985af92311ac86faab41c6f20a948b154aec9d796c0d39cdf7e6267e3167c612"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b42bc49ed925774d89bb8f4e11e35711c3c745eff62aedeeb1b18229fe4371b1"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"df25bbe2c6bf290aafb5dd0c115a862ad1d37e6ef2fc05ef49138a3ae2752d29"},"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"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0960669539fd31f5f04e0f0f39c38512dda979097fb45e66974fb6160c15c503"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6d317f5ed05ab7e9b14e4e5c56ac760074415902143b5fdcac8c64508cc46f7e"},"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"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"397e872b9fb4d8d7caf1f966a0059ab5f7a05b79c3261c1ba24d0d186810bf31"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4a4d5a1f63b22fc3cdc6b99da0c23b78f9f3b519073ea366d970e9fef8a1e8d7"},"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"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb29eed1fce6a88b2e5ff20401a14f6d62ea19dd8817377bd55060d731249a33"},"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"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cdabd422ba2fe6f9939bc7c58f7eaa427e91b728352ec38d4260a8dd1c347449"},"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"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"08a7e9649fd653498405afa1025660e1f31c0be5faf22b6f275c7482dfd9bd02"},"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"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5bc527ccbdb2af9b4a273aa9c768841b1db0feaec403e9bc91cf984d9ab7910f"},"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"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2f3b903a11f3c0879638e256d1fde5f7f6021db0892a7428690d17f4b19057b6"},"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"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8b002e1d3252c1c7c389602deb14fdb8a343c9cf8ce568d0900165a433dee155"}},{"ruleId":"D31","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":"3adeb5ca433f8377e0513466abe226661632e2c7a65ab03d48b79033987746ab"}},{"ruleId":"D31","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":"3b1568673c97a5ce9b1ec5a08dba083d705b7ca92047378b6f33333438b27491"},"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"}}]},{"ruleId":"D31","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":"c765e3a073ebf724df40dab1e785ed2171c29c55251db4dbd1ab4687cc6eba49"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","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":"c790f76cf70ef3b7e11b2b2e046aa998549442297137ee1873617b41f8d8e165"}},{"ruleId":"D31","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":"a0253cdb433485d93f1259fe935cad7c5df0486a99bae72ae65dbbacb158f6f3"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 1 of 506 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 and example/demo trees and test files identified by path convention, largest first; 506 of the 728 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: medschool/src/types.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":"D35","level":"warning","message":{"text":"Change coupling: execution.rs \u2194 vpn.rs: \u0060mirrord/cli/src/execution.rs\u0060 and \u0060mirrord/cli/src/vpn.rs\u0060 change together 60% of the time (9 of the 15 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency 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 \u0060a2e077fe\u0060 Remove progress; \u0060d843ac52\u0060 Address review; \u006033555613\u0060 Expose the current git branch to config templating \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/cli/src/execution.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"103fa5ac433bcd4d22a847dc85e5b1a9bdaf67438cc45646e59508279baa6e12"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: diagnose.rs \u2194 execution.rs: \u0060mirrord/cli/src/diagnose.rs\u0060 and \u0060mirrord/cli/src/execution.rs\u0060 change together 60% of the time (9 of the 15 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency 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 \u0060a2e077fe\u0060 Remove progress; \u0060a14444db\u0060 refactor stuff to work with the new api; \u0060ac5eb656\u0060 wip \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/cli/src/diagnose.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7d98039ecc60531e6adeaee6321adf0df85fc77aaed4369035a005a36abbad2"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: db_portforwards.rs \u2194 branch_database.rs: \u0060mirrord/cli/src/internal_proxy/db_portforwards.rs\u0060 and \u0060mirrord/operator/src/crd/db_branching/branch_database.rs\u0060 change together 58% of the time (15 of the 26 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 15 shared commits counted here, the most recent 3 are \u0060c07e07aa\u0060 Add turbopuffer namespace branching; \u0060478e89c4\u0060 S3 branching config; \u006018b47ceb\u0060 asm \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/cli/src/internal_proxy/db_portforwards.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaefba27c4eca3a0e521c4bf036704ff67afdc486d0716422a2371e88c5273e7"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ephemeral.rs \u2194 job.rs: \u0060mirrord/kube/src/api/container/ephemeral.rs\u0060 and \u0060mirrord/kube/src/api/container/job.rs\u0060 change together 55% of the time (12 of the 22 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 12 shared commits counted here, the most recent 3 are \u006029c3bfbe\u0060 fix(366): fail fast on image misses (#4157); \u0060a73fddea\u0060 Move agent container arguments from \u0060command\u0060 to \u0060args\u0060 (#4143); \u006047c0d590\u0060 Improve mirrord progress (interactive auth, message buffer) (#3470) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/kube/src/api/container/ephemeral.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e2884ceb126c311dd11857205e8262e7c40745f2e414b706315203de48bc47d"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: connection.rs \u2194 session.rs: \u0060mirrord/cli/src/connection.rs\u0060 and \u0060mirrord/cli/src/operator/session.rs\u0060 change together 55% of the time (6 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) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u00604e3509f5\u0060 Retries kube requests with a tower \u0060Policy\u0060. (#3564); \u006047c0d590\u0060 Improve mirrord progress (interactive auth, message buffer) (#3470); \u006050156f8d\u0060 Always run discovery when fetching operator fails (#2570) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/cli/src/connection.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26ca7e2faa56edea56914bd2720987cc70234ede898481045187d7243cd403b4"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ops.rs \u2194 go.rs: \u0060mirrord/layer/src/file/ops.rs\u0060 and \u0060mirrord/layer/src/go.rs\u0060 change together 53% of the time (8 of the 15 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u0060ef4f9bc5\u0060 Strip instrument and tracing in fn that Go hooks call into (#4423) (at that commit the file was still \u0060mirrord/layer/src/go/mod.rs\u0060); \u00606b49b015\u0060 Add hook for \u0060rename\u0060. (#3504) (at that commit the file was still \u0060mirrord/layer/src/go/mod.rs\u0060); \u00604c559358\u0060 Remove unnecessary deps from mirrord-layer (#3104) (at that commit the file was still \u0060mirrord/layer/src/go/mod.rs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/layer/src/file/ops.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aae23eaac17b855aad04d04dd8fff115bcec69e14ec919faec0abf2353c6317d"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: internal_proxy.rs \u2194 internal_proxy.rs: \u0060mirrord/cli/src/internal_proxy.rs\u0060 and \u0060mirrord/config/src/internal_proxy.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 \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u006029a6db58\u0060 Make intproxy ping interval configurable (#4338); \u006032b6c144\u0060 Add periodic dump of connected processes for diagnostic purposes (#3506); \u0060826e8846\u0060 Patch the Duplicate Analytics (#2639) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/cli/src/internal_proxy.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"64c7161728fa66f70cc7d845c2f1e9473534ca11d3dbb0555a53910ba7300211"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"}},{"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"}},{"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":"d068c977b62d9a977df1bb6f53e8b00b586c3abee955f91d715f92b8e019d624"}},{"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":"01617c8618e3c4e3878dbf35ba9ff053ccec9d7cd1ea559a8db623472c13a49c"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/ContextNamespacePicker.tsx"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c65878b7a6df3bc158d035fb20a14675ab9307455e017019b74d2107f3284c8"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSearchInput\u003E field component without a label: This UI-library field component is named only by a placeholder \u2014 a placeholder is not a label (it vanishes as soon as the user types, and many assistive technologies ignore it). Give it a real name whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/SessionSidebar.tsx"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"105ee176f8c0d262ddaa2579b3766a044b8e7f51a1bbcf92ce3ef7950af08966"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id / name, and nothing it renders carries one either. The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/SubscribeEventsTable.tsx"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"785aa47c86a8c346234c2340bf476e577a47148434427a9ce17ce707ff082336"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/chaos/ChaosRuleForm.tsx"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6cafd1f793fd69e981ceaaf1fbee3cf566a244d2c6024f625959371d8970149"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextarea\u003E field component without a label: This UI-library field component is named only by a placeholder \u2014 a placeholder is not a label (it vanishes as soon as the user types, and many assistive technologies ignore it). Give it a real name whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/chaos/RequestChaosTypeDialog.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc82d331695e8d2f5ad1edc87bff8e296d8bd5f6f02aca2e05b54411d3c3e2e"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/events/EventSearchBar.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"24a3d9e82aa8511f6eaa7451cba3082f088c0ed50feedc6cec8ba965b0758a28"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/wizard/src/components/Wizard.tsx"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"41bfea2b7692f7fc9fd90811fa30584382f7a73ecdcc951eb31c0aac19c9be30"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id / name, and nothing it renders carries one either. The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/wizard/src/components/steps/AddNewFilter.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"b53d4dcbb149f73742267a87043142ee9a460f7a199532e37a67539831c07cf6"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/wizard/src/components/steps/LearningSteps.tsx"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"909780290b9be4a3f6d15dc10a6082a037f0acdc2726c7d6e1f24876cfcc3a83"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CRadioGroup\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id / name, and nothing it renders carries one either. The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/wizard/src/components/steps/NetworkTab.tsx"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"44246b30f240c60715244b3fd7e0cf344e09b41816ffba4633c36899f5043226"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component is named only by a placeholder \u2014 a placeholder is not a label (it vanishes as soon as the user types, and many assistive technologies ignore it). Give it a real name whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/wizard/src/components/steps/TargetTab.tsx"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"77a8949d4a38d6b0d68d39706395ef227833cc19213c47a4972cf4abab0cb13b"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component is named only by a placeholder \u2014 a placeholder is not a label (it vanishes as soon as the user types, and many assistive technologies ignore it). Give it a real name whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/wizard/src/components/steps/TargetTab.tsx"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"d76095f1fb9a2fa1297678d29b52d7cd291df1416e7ada5cef5ecd9a0f66960b"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/agent/src/http/session_ended.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4e0cc862ffc6a91a7fc3de3a57297e6c99426cf72def6dd63557218392d77e2"}},{"ruleId":"AC7","level":"warning","message":{"text":"Accessibility enforcement below the top rung: No accessibility enforcement found \u2014 no a11y linter (eslint-plugin-jsx-a11y) and no axe/pa11y/Lighthouse in tests or CI. Start with the linter to catch issues at author time. What was searched, so you can tell an absence from a miss: the 60 markup file(s) this pass actually assessed, the linter configuration checked in beside them, and this repository\u0027s test and CI files \u2014 matched by name against the accessibility checkers this dimension carries. An audit run outside the repository, a hosted scanner, or a check whose name is not one of those, is not seen here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d46019b86eff5ddad9db289e6802ac158899e980df54c34f67722442787ead62"}},{"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":"P10","level":"note","message":{"text":"Large public API surface: 874/1157 types (76%) declared in the published library are public. For a library, every public type is a stability contract \u2014 keep implementation types off the surface and expose only the intended API."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ed2ba843444ae377c17142f58f714e281e4bd3f183ab100ee1fbef389875d3e6"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 28/31 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060mirrord/layer-tests\u0060, \u0060packages/wizard\u0060, \u0060xtask\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P4","level":"note","message":{"text":"No rollback/health safety: Deployment automation exists and the service already exposes health probe endpoints (healthz/livez/readyz or a container healthcheck), but no manifest in this repository wires them into readiness/liveness probes, a rolling-update strategy, lifecycle hooks or a migration job \u2014 a bad release is harder to detect and reverse. If that wiring lives in a separate ops/Helm repository, document the pointer here so release safety is evidenced."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"db6bab8a28a2145f47e5a4e6683cda39d2ba0296c723238e8057da979ae1c706"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060reqwest::Client::new(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout. 3 of the 6 files that make outbound calls are unbounded; the first 3 are listed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/analytics/src/lib.rs"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"11abd1867f9916f2cd1506726e19c08742c79d75b429189fc9d90dc2ec97276a"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060reqwest::Client::builder(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/sessions-manager/client/src/control_plane.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"a37d329f13bf216af22157d23321b871a46ef4cccc4be7a8d9e8256db7403521"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060reqwest::blocking::get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"xtask/src/tasks/sip_binaries.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"648cc2b013e477f2cd53b0dc2f1a05a55b13b2a6bee612cd45ab3d172010763f"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060spawn\u0060 is async and calls block_on \u2014 a blocking call inside async code stalls the executor thread, and every task scheduled on it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/agent/src/task.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"8091418e07206fe7cae732a85d38cab7fcaa0101278faa9e2c8f74e305a1c2c2"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060start\u0060 is async and calls block_on \u2014 a blocking call inside async code stalls the executor thread, and every task scheduled on it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/cli/src/local_redis.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e9b59f81f628780fbec116fbc482290d2df25513ead559dd3f55d885c23cd00"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 3 sibling directories (5 clone groups): 5 duplicated blocks under packages/ have copies in at least two of the sibling directories monitor, ui, wizard \u2014 0 of them are reported below, and 5 are counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 5 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 5 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module \u2014 a common library every sibling imports \u2014 rather than 5 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/eslint.config.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c1309d0e1515217592e2e936c306e1bd3ba4df1a00dbf342ec5e61a088cdfa9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 3 locations): packages/wizard/src/components/JsonUtils.tsx:432 \u00B7 packages/wizard/src/components/JsonUtils.tsx:621 \u00B7 packages/wizard/src/components/JsonUtils.tsx:709 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/wizard/src/components/JsonUtils.tsx"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc5a6d47224150f78006894baf3fa30ba5f45f86073a0524bfb2d5fe0fab2ead"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): packages/wizard/src/components/steps/TargetTab.tsx:339 \u00B7 packages/wizard/src/components/steps/TargetTab.tsx:450 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/wizard/src/components/steps/TargetTab.tsx"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cb27605cf6eb72b88d3c1c073ae071b5591f83e4b407301ce6bbf75108511d2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (18 matched lines \u00D7 2 locations): packages/monitor/src/components/ContextNamespacePicker.tsx:40 \u00B7 packages/monitor/src/components/ContextNamespacePicker.tsx:129 \u2014 the two spans are one implementation copied and then locally edited \u2014 95 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/ContextNamespacePicker.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"14f858393a5a087e2045740a4dc0c117b4cf826505cf4b59aa8b89a2ea88e2fa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): packages/wizard/src/components/steps/TargetTab.tsx:386 \u00B7 packages/wizard/src/components/steps/TargetTab.tsx:488 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/wizard/src/components/steps/TargetTab.tsx"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec62a9231902582cd233b854b2ee28ad795e336dfea6131bfd85e97ebdf28799"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): packages/wizard/src/components/JsonUtils.tsx:649 \u00B7 packages/wizard/src/components/JsonUtils.tsx:737 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/wizard/src/components/JsonUtils.tsx"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"658185fd86b58e1b3de674d695841022deb2a9f48aec7eb8e2c1986deccb467d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): packages/monitor/src/components/AppHeader.tsx:61 \u00B7 packages/monitor/src/components/ContextNamespacePicker.tsx:237 \u2014 the two spans are one implementation copied and then locally edited \u2014 97 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/AppHeader.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"f051a17c15fa2824bc509bd14bc9aacfc42d3c4b0c066260cac0dbda7442aca9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): packages/monitor/src/components/FunnelHero.tsx:95 \u00B7 packages/monitor/src/components/SessionSidebar.tsx:525 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/FunnelHero.tsx"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ac7d61ee71f734ee5b8d9c35871fc4872852e1f350153a049dc258d53f3dadb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/wizard/src/components/JsonUtils.tsx:566 \u00B7 packages/wizard/src/components/JsonUtils.tsx:588 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/wizard/src/components/JsonUtils.tsx"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"7db10826902e88dff18b779295adee0da9fb6680aaf42a90e3b71ef9bc4f7a11"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/wizard/src/components/steps/ConfigTabs.tsx:128 \u00B7 packages/wizard/src/components/steps/TargetTab.tsx:236 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/wizard/src/components/steps/ConfigTabs.tsx"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3c91b38e162998176f04285ef957ec9aff262aab5d8280d71ed9dd88992a9d0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/monitor/src/api.ts:171 \u00B7 packages/monitor/src/api.ts:190 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/api.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"80bd05694eca17ad40444fc6740a1bd4ce9cbb731a706e36ffe5bfa389eec672"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/monitor/src/components/EmptySessionState.tsx:59 \u00B7 packages/monitor/src/components/EmptySessionState.tsx:74 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/EmptySessionState.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"713e76b5fc4d6e3ad96f04ba5572218ede3fc59a07d1b5868fe9109e09a5c84a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4 locations): packages/wizard/src/components/JsonUtils.tsx:76 \u00B7 packages/wizard/src/components/JsonUtils.tsx:457 \u00B7 packages/wizard/src/components/JsonUtils.tsx:646 \u00B7 packages/wizard/src/components/JsonUtils.tsx:734 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/wizard/src/components/JsonUtils.tsx"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"f332f103a26353fc87e2b576ce6de3f09eec3836bd15c5028025596151a077e7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/monitor/src/hooks/useChaosRules.ts:237 \u00B7 packages/monitor/src/hooks/useChaosRules.ts:280 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/hooks/useChaosRules.ts"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7af4ca0d57f4656fea2fb4ef7e6645a8e72cadfed30ed7b7f1918ff4a66bf49"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/wizard/src/components/JsonUtils.tsx:58 \u00B7 packages/wizard/src/components/JsonUtils.tsx:280 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/wizard/src/components/JsonUtils.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b48059d00dcd173d21243173226e65d2463b6de002c915035003ce965f6be6c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): packages/wizard/src/components/steps/LearningSteps.tsx:58 \u00B7 packages/wizard/src/components/steps/LearningSteps.tsx:70 \u00B7 packages/wizard/src/components/steps/LearningSteps.tsx:82 \u2014 all 3 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/wizard/src/components/steps/LearningSteps.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1a408e755590fe50974ac2a20119a7e17bae8165b5146c6ccee6b14d1c25aa0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/monitor/src/components/ConnectOperatorModal.tsx:161 \u00B7 packages/monitor/src/components/ConnectOperatorModal.tsx:227 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/ConnectOperatorModal.tsx"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"5930634035abc1f05a4e2f9e13360ac04390e23aa54e1cfe3e8c40f7e24c5690"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/monitor/src/components/chaos/BreakPopover.tsx:113 \u00B7 packages/monitor/src/components/chaos/BreakPopover.tsx:125 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/chaos/BreakPopover.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eff4b255d8319a262deb069e20e2b6a923a68ec1bb3a24df96b943de79595b6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/wizard/src/components/JsonUtils.tsx:409 \u00B7 packages/wizard/src/components/JsonUtils.tsx:602 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/wizard/src/components/JsonUtils.tsx"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"047eb50142d5d3607ac505a23cdb5fbc5c98deba430ed7fcc7284513677027de"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/wizard/src/components/steps/TargetTab.tsx:319 \u00B7 packages/wizard/src/components/steps/TargetTab.tsx:437 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/wizard/src/components/steps/TargetTab.tsx"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"71f3083b5d28f27c36b3caeef08ee6aa6652d95c27071565836a56ed567b6ad9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/monitor/src/api.ts:270 \u00B7 packages/monitor/src/api.ts:285 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/api.ts"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f01eb1efc657c4186ca0b1e6f31ebd4510dadf3ba952f92032d032d31d4b7c5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4 locations): packages/monitor/src/components/chaos/ChaosRuleForm.tsx:208 \u00B7 packages/monitor/src/components/chaos/ChaosRuleForm.tsx:217 \u00B7 packages/monitor/src/components/chaos/ChaosRuleForm.tsx:226 \u00B7 packages/monitor/src/components/chaos/ChaosRuleForm.tsx:266 \u2014 all 4 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/chaos/ChaosRuleForm.tsx"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"e92382f77980e499ec7eae193ebc114cd09b6873d7c3b121c5f1529cd1e4c6da"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/wizard/src/components/JsonUtils.tsx:363 \u00B7 packages/wizard/src/components/JsonUtils.tsx:383 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/wizard/src/components/JsonUtils.tsx"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe9624d21187941305fa4ef9e1c759dbcca80afacf3e857c513e23bab44837e9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/monitor/src/components/OperatorSessionDetail.tsx:42 \u00B7 packages/monitor/src/utils.ts:102 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/OperatorSessionDetail.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"594aaa4035054f3af132434cb39b864f1ed3a638923a276698eec29acb52d988"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): packages/wizard/src/components/JsonUtils.tsx:334 \u00B7 packages/wizard/src/components/JsonUtils.tsx:567 \u00B7 packages/wizard/src/components/JsonUtils.tsx:589 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/wizard/src/components/JsonUtils.tsx"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"394dc81040c009d4f300cb2046634d508ad42639db6f30dbb6b8ef95be9e8a18"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/monitor/src/components/chaos/ChaosRuleForm.tsx:230 \u00B7 packages/monitor/src/components/chaos/ChaosRuleForm.tsx:270 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/chaos/ChaosRuleForm.tsx"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"72f6f5420b0d5f1f28e29bd8bb629713cb828dc9b36c2fc87b66f6004aaf7577"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/monitor/src/hooks/useChaosRules.ts:222 \u00B7 packages/monitor/src/hooks/useChaosRules.ts:246 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/hooks/useChaosRules.ts"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"deec56abc858e23ecbfb11e609500beafd2123e32a71e408a30f337b5f5ff5ff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TargetTab (cyclomatic 30, cognitive 28): TargetTab has cyclomatic complexity 30 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/wizard/src/components/steps/TargetTab.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"bffa1fd2cd2e7ea26d6ee9b85832ade1ef08342043fe7b02c05d717eceab264a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SessionSidebar (cyclomatic 23, cognitive 22): SessionSidebar has cyclomatic complexity 23 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/SessionSidebar.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"42c6c3ee2882879792b291cb5aeb98a7ff116b4b971eeac3547568a2849f0517"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateConfigFilter (cyclomatic 22, cognitive 23): updateConfigFilter has cyclomatic complexity 22 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/wizard/src/components/JsonUtils.tsx"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cc03b4092ce8bf31fafb077359eafc918d618bf63135fc4436a2e511a96e450"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PreviewDiagnostics (cyclomatic 20, cognitive 20): PreviewDiagnostics has cyclomatic complexity 20 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/PreviewDiagnostics.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a3caa5d4797c6520316b0abeeb40e33f9c2f5091daaf65e779bc4c2eb58baa2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function OperatorSessionDetail (cyclomatic 19, cognitive 18): OperatorSessionDetail has cyclomatic complexity 19 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/OperatorSessionDetail.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"912bb4f2ed5042e751f7c72ffcf54fdcbcff78c5a64b27bf0bc4af82260e188f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Wizard (cyclomatic 19, cognitive 16): Wizard has cyclomatic complexity 19 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/wizard/src/components/Wizard.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"46c6273972a47f92dd74f67260ef53447f8d1d8b61115e4b15d711f1b289a940"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 14): (anonymous) has cyclomatic complexity 17 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/wizard/src/components/JsonUtils.tsx"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"60211837a34ed9fd4a5bc9652e1847bf2fcb4d41d024170b2ec051eff4cac369"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateConfigPorts (cyclomatic 17, cognitive 14): updateConfigPorts has cyclomatic complexity 17 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/wizard/src/components/JsonUtils.tsx"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a0e14701369a3c6420ce6d60c848889d33f43949bd4ad53dd397dc07847ae8d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function EventRow (cyclomatic 16, cognitive 14): EventRow has cyclomatic complexity 16 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/events/EventRow.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a8fb4008e8ee790cce4df13b550047d6d4f8b2c612a2374aa5e99d08e4e0d70"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function EventStream (cyclomatic 15, cognitive 11): EventStream has cyclomatic complexity 15 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/EventStream.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b1da564dddf3bbd01eb627ad83c6a9fadc1f4626ccd6647bd55d3195fc8de5d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function NetworkTab (cyclomatic 14, cognitive 13): NetworkTab has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/wizard/src/components/steps/NetworkTab.tsx"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"76c2f385233fdaa620dac064d71a5099bd9c23b465988417ed8756c7f0e084bd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateConfigPortMapping (cyclomatic 14, cognitive 12): updateConfigPortMapping has cyclomatic complexity 14 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/wizard/src/components/JsonUtils.tsx"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"7150cae8b0a1509dfa3576c933b46e45b5a7e140f6968f61ea9626ae83be2929"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function NamespaceCombobox (cyclomatic 14, cognitive 11): NamespaceCombobox has cyclomatic complexity 14 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/ContextNamespacePicker.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"f663a03b82ba40b4572f6bcff4983fc591c456cbcb60ad63c4b3ab09028efc16"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/wizard/src/components/JsonUtils.tsx"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b08cc2a710cd74609ac0cca6662973088423025e01b9f0024ee7b2830c39b63"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function timeout (cyclomatic 11, cognitive 11): timeout has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/App.tsx"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1111477861d1fbe3085b01abf91323a9ded2bb437b1a911789a608e27ef8d00"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Widget (cyclomatic 11, cognitive 10): Widget has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/Widget.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"f73bfb6523d264661fc22741f772c608a7b74ac336787b2db0e4f516dc2ab8a3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function App (cyclomatic 11, cognitive 9): App has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/App.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"d89ce85a4761e42a094fb920a07e9f3721e9b8dd8107256a6bf6d77a6f2f573a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function describe (cyclomatic 11, cognitive 8): describe has cyclomatic complexity 11 and cognitive complexity 8; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/subscribeEvents.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bd9f34e6f34283b539e8c5fdf32cefd557d1b5c6c0d523850fb5af9f39c37d0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseEvent (cyclomatic 11, cognitive 4): parseEvent has cyclomatic complexity 11 and cognitive complexity 4; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/events/parseEvent.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"767488c5818476b817251aeda758cc9d06214cd3ab73b70bb5b38bd4a2883a8a"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/SessionSidebar.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccc17b1cba53b15a92642d46e3366243c7be93e81602af12afb86f4d12a17efd"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/App.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba123152b7e77716fbb228e616669d617771c502681d7b1de0c97b8251bc4c56"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/ContextNamespacePicker.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c888fd45a2d0f74252d14b1ea21b83910cef8ddd4dc0022e598c14b63cc364cc"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/hooks/useChaosRules.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfbf2aebc08c1a25d497a670659f474edc661f849686a3eafd29f054fe9377b5"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/SubscribeEventsTable.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1c59b6eb8b56e2c1f34ff899a9cbae457c4376fdace0d1b08ecd721a4bcceb7"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/ConnectOperatorModal.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e869642f11e21d2f4201ffa8c3e80b733044d2b8505f7019267b8094302955d"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/chaos/ChaosRuleForm.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f074d24be3427b3b8a0f8ed3cd95b983014a57ace1d60c6e63fd71b427995e41"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/SessionDetail.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3433fb91bebd846cf32eaec1777a0749ee665e9c0a486947aaa82f3daaa1d65d"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/types.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"efb47701a59fbab5b97d16a3ea2aebb88c6baf3a1e94c34849e3d643c9f96a01"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/OperatorSessionDetail.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"94a52ef6998dd0bf5b9cf49866b145d1ad2ed1436f9455ddb3dfe2105d6c8b99"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/OperatorList.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8098747eff781156a9818b3c123535b089093fe742bc4804ce27c526bf4bff51"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/PreviewDiagnostics.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"24e9d23ed7976c180c1cf09417dec9ad0727c37afc0dfaf61cfc7d2b0cfe9899"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/ui/src/App.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ccc88cf1c61d584bb3116a644d58f33c99457e0a400295f3961a07831b9000b"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/chaos/ChaosPane.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fa28f126fe67109fb4ac6a63173878a789a7bde4d0e6451be7aa42602d1592d"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/eventsStore.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3e0b7c30d11eb4c602813c55e2a66139b87552e241e08e892efc95451a8acb0"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/AppHeader.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8268db37bff4807b06987f1be56248137a6b19ff250dc89892ffe149cc6dfe9"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/wizard/mock-server.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d29ff49ab8d11d7b544c9b47188b7efd14ca992c5f8cd2b77b584f1f6afff2f9"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/extensionBridge.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5766c895a690db8712b3e637249cd913caafeb5d3c254d082c897d3326e8d2a"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/JoinBar.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c05d3d1f486c3e6bc1ff80979c82479080be104777d2609579e67a3ff5c2fe39"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/chaos/ChaosRuleCard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbb204048fd3911070c77f671f9eaf684a24a067f2a50e0f90e55d4c1d6fed16"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/FunnelHero.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ee142732008b589fb9a41efd105ffcfd998f44220f949804fba84a614e327b7"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/SidePane.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"97a87dde33de014c76a618f129ac00bfc3b55e1bbd68adcc49195f2ccdfd7267"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/ResizableSplit.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf6699031a7d59af3739330bd874c11f083ee4efde97ce320d2e80ef7f8b65ca"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/SettingsDialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"da793c72ef5cf4abca77a589d3915d1348a6c039d6d2cf296af8b6ff2874184b"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/SessionRow.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"86832bc1327bbedce4ef417092c8a3df0a33c5610a2e6ffa1a1ca3f83000d178"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/SessionCard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"47d33afb2e46370f3fe5c44109a82d342141df1d73dff748305ed849f6ac002c"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/EmptySessionState.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f101defdea43af6bd194e7d14200e248194bed060dc92363b57a685b8503dd9"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/events.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d2159c0b1b428b38bcfa7568798fa88acedaa504f9c6deafd57441e5501f3fa"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/chaos/RequestChaosTypeDialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"67f6d8c2f15de005fe2251386bdc7d828c579c2fcd8d110527be40f857c450a3"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ea33ffa01328cfc3a9f05ec91cde5318b1c63e90ccce0a40c431b8bbacf67b4"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/SessionHeader.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b087c405dc0dbac014578cbf528c42ee411f02af0b1adc94fd5a5fd35eb335e"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/Widget.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c250253002de4604ad5ab973d667669d13ae31cd41ecb8d8ea123114dc37a0e"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/JsonHighlight.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfbc1cf9e28798b884a2a1a9775b9e2e06207f1ae68db120095373bbe3c62d6e"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/contextStore.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a320cdb0b5ee314b6d8306cd2358b0c2d86bcad4530f96f824a0d0b6998ae1"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/extensionConfigure.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"382192b2f04adbbdfd470b51ebed00f505b43af33116955f1c5daea9c3b481e5"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/Avatar.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dc9492877073d440a93015f9efa56a7498b5764c7719526a13ab22b02e3a42e"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/ErrorBoundary.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfafbb67a66d197da8c70bf92d208088584645e0f1cfac17c0176a5b1ae2f8f7"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/ui/src/ErrorBoundary.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3ca2432c1500bc752a5dd6aa31841a1fdc15e40a2c28fcfff9ae04762c888e8"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/monitor/src/components/CopyButton.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"710d74fdfc3b7b12958bd847918c5eb317b8e3b1caf8221bdee5968b389bb848"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/ui/src/main.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"884c87ccaa87acbe71a2a5f9d440633f831b4f2b046486fd8735cb24050f816e"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~158 LoC): no import path from any entry point (9 application, 12 tooling, 34 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/wizard/mock-server.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffc8621060361379817a2cfe7da29a97db2b321b98d36b736634fdb937ee53a3"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027express\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a91fd3c1707d0307009054ae3a3ad0dcaca97bc6b8d0e90051b737ab44cefdd2"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027portfinder\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"46b5c46ebfbfffea0893682ade9c04b90171660ed8ea26acfca32b0c34156348"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@eslint/js\u0027: Declared in packages/monitor/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4a8e2bde32c020cc36bca097752e4963f147b2eec0e363471016e61958cbb0a7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060status.code == 404 \u0026\u0026 status.reason.contains(\u0022parse\u0022)\u0060 appears character-identically in 2 files \u2014 mirrord/cli/src/operator/session.rs, mirrord/cli/src/session.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":"mirrord/cli/src/operator/session.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8b525ac06b14b7f0a523510b1a95dc7bebe9cf70b4809e64257a9b3a9652623"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060prompt_outdated_version\u0060 turns every \u0060Err\u0060 into \u0060true\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":"mirrord/cli/src/main.rs"},"region":{"startLine":1267}}}],"partialFingerprints":{"codehealthFindingId/v1":"678b88539d1ba0386ba17884f9148f9c98c8d6b4b8c320d394e56d7db94b2fc3"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060utm_medium\u0060 turns every \u0060Err\u0060 into \u0060\u0022plugin\u0022.to_owned()\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":"mirrord/progress/src/lib.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"08c26f3c1a6ecf38388989f97e72099f4efc943d82be6ab70e492835f64be929"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060session_endpoints\u0060 turns every \u0060Err\u0060 into \u0060Vec::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/session-monitor-client/src/lib.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4d77b9b45183d7c021ca01532f9b342ca44790afc709149abfba10ad6880788"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060complete_path\u0060 turns every \u0060Err\u0060 into \u0060Vec::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/tui/src/screens/targets/suggest.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5c96aec4c1c4dbedee75782401b40c98903d465b064a7fc5f74b964b9a7e564"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060lingering_sessions\u0060 turns every \u0060Err\u0060 into \u0060Vec::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mirrord/tui/src/screens/targets/launch.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"85199df9c5736bdc2b78d0e2c99f6c4e20727155019c92dcdd0f20b2c4a5ba53"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060uptime\u0060 turns every \u0060Err\u0060 into \u0060\u0022unknown\u0022.to_owned()\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":"mirrord/tui/src/screens/terminal/panel.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7cd7ecc3b6e3f775ce26526f4e43f191e928adac185abb78ae080d0af8b262a"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-1104","guid":"4c918cb5-b2a6-6c55-9963-a44ee464305e","name":"CWE-1104","shortDescription":{"text":"CWE-1104"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.html"},{"id":"CWE-125","guid":"98717707-96bf-ca5b-9568-8d1d257574c1","name":"CWE-125","shortDescription":{"text":"CWE-125"},"helpUri":"https://cwe.mitre.org/data/definitions/125.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-250","guid":"52ee12e8-390a-7351-b1e6-388afa694e54","name":"CWE-250","shortDescription":{"text":"CWE-250"},"helpUri":"https://cwe.mitre.org/data/definitions/250.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"CWE-353","shortDescription":{"text":"CWE-353"},"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":"CWE-506","shortDescription":{"text":"CWE-506"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"CWE-522","shortDescription":{"text":"CWE-522"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Command Injection","shortDescription":{"text":"Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"OS Command Injection","shortDescription":{"text":"OS Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Cross-site Scripting (XSS)","shortDescription":{"text":"Cross-site Scripting (XSS)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"CWE-829","shortDescription":{"text":"CWE-829"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"SQL Injection","shortDescription":{"text":"SQL Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Code Injection","shortDescription":{"text":"Code Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":100,"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."]}]}