{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"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":"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":"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":"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":"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":"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":"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":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"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":"P5","name":"DR \u0026 Backup","shortDescription":{"text":"DR \u0026 Backup"},"helpUri":"https://codehealth.canine.dev/dimensions/P5"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"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":"R5","name":"Dependency Freshness","shortDescription":{"text":"Dependency Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/R5"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"find.FindPage (cyclomatic 99): find.FindPage has cyclomatic complexity 99 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 82 belong to 29 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":"src/renderer/pages/find.tsx"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"273badccc3176f895dd951559448c24133ab3f0a9c3c6623f762b2711ef1adef"}},{"ruleId":"D1","level":"warning","message":{"text":"Node.Node (cyclomatic 54): Node.Node has cyclomatic complexity 54 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 23 belong to 6 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":"src/renderer/components/Tree/Node.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"7889097c60f62e59a11e929a557e2d6ec9ee7a4a17ccc2db98c9a1949ce6fc99"}},{"ruleId":"D1","level":"warning","message":{"text":"index.RightPanel (cyclomatic 52): index.RightPanel has cyclomatic complexity 52 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 28 belong to 12 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":"src/renderer/components/RightPanel/index.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"d222be222d2be676546f596540de4012b3e3ad435b54c4730f952e7b13779a5a"}},{"ruleId":"D1","level":"warning","message":{"text":"index.List (cyclomatic 44): index.List has cyclomatic complexity 44 (threshold 15). Most of this is not in the body itself: 3 of the 44 points are its own statements and the rest belongs to 14 function literals inside it that branch (lines 127, 89, 186, \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":"src/renderer/components/List/index.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d0d8961a5e8b0d0804923e7d4a78c54bc7d265e1abb3c4db0b5dbdd3e18b04b"}},{"ruleId":"D1","level":"warning","message":{"text":"switchhosts::run (cyclomatic 43): switchhosts::run has cyclomatic complexity 43 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/lib.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"912c4009aaeeeb2edbca3fce71ea4c5f71daad646cf816ca527f181aa87fdfbe"}},{"ruleId":"D1","level":"warning","message":{"text":"EditHostsInfo.EditHostsInfo (cyclomatic 36): EditHostsInfo.EditHostsInfo has cyclomatic complexity 36 (threshold 15). Most of this is not in the body itself: 8 of the 36 points are its own statements and the rest belongs to 16 function literals inside it that branch (lines 48, 114, 157, \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":"src/renderer/components/EditHostsInfo.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3b60c2349863e66c81dbae30ad6d669f1ed8d26d977d24f80146f94f8a64583"}},{"ruleId":"D1","level":"warning","message":{"text":"notify.getFriendlyUpdateErrorMessage (cyclomatic 34): notify.getFriendlyUpdateErrorMessage has cyclomatic complexity 34 (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":"src/renderer/core/notify.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a2b9cf4951e93eeb20aa085ebcf2b4eb2f81e98fab0b6f3b87dcc2578e8ba9b"}},{"ruleId":"D1","level":"warning","message":{"text":"General.General (cyclomatic 33): General.General has cyclomatic complexity 33 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 13 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":"src/renderer/components/Pref/General.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc900e71a2cfac606a35b384b7073485094fb39e90078dae635c03ffef388ff2"}},{"ruleId":"D1","level":"warning","message":{"text":"HostsEditor.HostsEditor (cyclomatic 32): HostsEditor.HostsEditor has cyclomatic complexity 32 (threshold 15). Most of this is not in the body itself: 3 of the 32 points are its own statements and the rest belongs to 15 function literals inside it that branch (lines 190, 91, 109, \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":"src/renderer/components/Editor/HostsEditor.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"638b5b718e9a4e8134ba5a6023fd9de9f3a0dd9f59f218071d4b93359b2002dc"}},{"ruleId":"D1","level":"warning","message":{"text":"switchhosts::storage::tree_format::legacy_node_to_v5 (cyclomatic 31): switchhosts::storage::tree_format::legacy_node_to_v5 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":"src-tauri/src/storage/tree_format.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"54b2140d0215f5e7a4f65c59cda4c9e133b40c41a800dd7c4d573fc0c9c69b22"}},{"ruleId":"D1","level":"warning","message":{"text":"ListItem.ListItem (cyclomatic 26): ListItem.ListItem has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 8 of the 26 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 96, 116, 61, \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":"src/renderer/components/List/ListItem.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6d3bbd915d7926f0fa9fd32acbc81d61c08a5157a2fbb614686d7a5de31f1b8"}},{"ruleId":"D1","level":"warning","message":{"text":"index.PreferencePanel (cyclomatic 26): index.PreferencePanel has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 7 of the 26 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 76, 60, 118, \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":"src/renderer/components/Pref/index.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef85312c7d9062c6f3f5b314e1146d4f898571fdd9b157750344bd6fe95762fc"}},{"ruleId":"D1","level":"warning","message":{"text":"switchhosts::storage::tree_format::v5_node_to_legacy (cyclomatic 24): switchhosts::storage::tree_format::v5_node_to_legacy has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/storage/tree_format.rs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc64b58c51c52bb5cf2bfdee0a07b63a4b872256707d0a2061047ab732412b11"}},{"ruleId":"D1","level":"warning","message":{"text":"index.MainPage (cyclomatic 22): index.MainPage has cyclomatic complexity 22 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 11 belong to 5 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":"src/renderer/pages/index.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a5a12943b370a0681c9f6cbbd996b51604681cfa24042388a817d1328d77583"}},{"ruleId":"D1","level":"warning","message":{"text":"UpdateDialog.UpdateDialog (cyclomatic 20): UpdateDialog.UpdateDialog has cyclomatic complexity 20 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 5 belong to 3 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":"src/renderer/components/UpdateDialog.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dc44154ce1fc3d8bee0fcfe7663ece80ace136cdd0e3fce522c55d995fe1a9f"}},{"ruleId":"D1","level":"warning","message":{"text":"Tree.Tree (cyclomatic 19): Tree.Tree has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 2 of the 19 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 117, 77, 61, \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":"src/renderer/components/Tree/Tree.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"69cade71218cf0807e30ac361e5e283f2fed253f466b7728ef77b04f0a3db89d"}},{"ruleId":"D1","level":"warning","message":{"text":"index.TopBar (cyclomatic 16): index.TopBar has cyclomatic complexity 16 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 3 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":"src/renderer/components/TopBar/index.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"618d9abc657a4b69ad65d56f571d762e18fe736580426633091452b843fe6713"}},{"ruleId":"D2","level":"warning","message":{"text":"find.FindPage (cognitive 101): find.FindPage has cognitive complexity 101 (threshold 15). Drivers by points: if/else 49 (57 pts), boolean chains 25, ternaries 10 (14 pts), error handling 3, loops 2 (nesting depth added 12). Of this number, 17 points are the body\u0027s own statements and 84 belong to 29 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/renderer/pages/find.tsx"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c3aa9cbe4288d63a26a8c606d21b091d7e485d9a05063cbb588474521dececc"}},{"ruleId":"D2","level":"warning","message":{"text":"index.RightPanel (cognitive 61): index.RightPanel has cognitive complexity 61 (threshold 15). Drivers by points: if/else 19 (21 pts), ternaries 13 (21 pts), boolean chains 18, error handling 1 (nesting depth added 10). Of this number, 27 points are the body\u0027s own statements and 34 belong to 12 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"src/renderer/components/RightPanel/index.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cb821b171bf9b6cf6974272ff88c24940d8ddff517c3151357895c4a20b9fb1"}},{"ruleId":"D2","level":"warning","message":{"text":"index.List (cognitive 58): index.List has cognitive complexity 58 (threshold 15). Drivers by points: if/else 27 (34 pts), boolean chains 10, ternaries 6 (9 pts), error handling 2 (3 pts), loops 2 (nesting depth added 11). Most of this is not in the body itself: 2 of the 58 points are its own statements and the rest belongs to 14 function literals inside it that branch (lines 89, 127, 186, \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":"src/renderer/components/List/index.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ad4f8d04405c24451c97ec8b073f1d70d0e96e4b2860fad8136b0f59990a213"}},{"ruleId":"D2","level":"warning","message":{"text":"Node.Node (cognitive 52): Node.Node has cognitive complexity 52 (threshold 15). Drivers by points: if/else 20 (24 pts), boolean chains 18, ternaries 9 (10 pts) (nesting depth added 5). Of this number, 25 points are the body\u0027s own statements and 27 belong to 6 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"src/renderer/components/Tree/Node.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"37ae7dcf4498eb950cb9ba9778c84a1b816c2e6e4dc2ac5b75c4312dc0688e26"}},{"ruleId":"D2","level":"warning","message":{"text":"switchhosts::run (cognitive 50): switchhosts::run has cognitive complexity 50 (threshold 15). Drivers by points: if/else 26 (42 pts), match/switch 4 (5 pts), boolean chains 3 (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":"src-tauri/src/lib.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bf8bb4d6ae20124aea8c87d540ed7cb8b66b003e44610f81b0e1f7cbf878829"}},{"ruleId":"D2","level":"warning","message":{"text":"switchhosts::storage::tree_format::legacy_node_to_v5 (cognitive 42): switchhosts::storage::tree_format::legacy_node_to_v5 has cognitive complexity 42 (threshold 15). Drivers by points: if/else 20 (32 pts), loops 2 (4 pts), match/switch 2 (4 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":"src-tauri/src/storage/tree_format.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"4659cde88ec5fc2b4194bb7717c7b78ec0c69a9080019038b6ade42fa6d9c384"}},{"ruleId":"D2","level":"warning","message":{"text":"EditHostsInfo.EditHostsInfo (cognitive 41): EditHostsInfo.EditHostsInfo has cognitive complexity 41 (threshold 15). Drivers by points: boolean chains 18, if/else 11 (17 pts), ternaries 6 (nesting depth added 6). Most of this is not in the body itself: 7 of the 41 points are its own statements and the rest belongs to 16 function literals inside it that branch (lines 48, 114, 106, \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":"src/renderer/components/EditHostsInfo.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"d71a5fee9f533816944ee1c1bbaea68d715364bb128b7a87b1c9be1981849d66"}},{"ruleId":"D2","level":"warning","message":{"text":"switchhosts::storage::tree_format::v5_node_to_legacy (cognitive 40): switchhosts::storage::tree_format::v5_node_to_legacy has cognitive complexity 40 (threshold 15). Drivers by points: if/else 22 (37 pts), loops 1 (2 pts), match/switch 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/storage/tree_format.rs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"2205ae13dde03cb75f9d3747d2f0b879e4fcc6243f854158ed387e2c56a67441"}},{"ruleId":"D2","level":"warning","message":{"text":"index.PreferencePanel (cognitive 38): index.PreferencePanel has cognitive complexity 38 (threshold 15). Drivers by points: ternaries 9 (15 pts), if/else 8 (13 pts), error handling 6 (8 pts), boolean chains 2 (nesting depth added 13). Most of this is not in the body itself: 9 of the 38 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 76, 60, 141, \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":"src/renderer/components/Pref/index.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"691385a45854c68ee57c5fec38661ee09c3949542ecd1a08a63f48a7f93ee96d"}},{"ruleId":"D2","level":"warning","message":{"text":"General.General (cognitive 34): General.General has cognitive complexity 34 (threshold 15). Drivers by points: ternaries 12 (20 pts), boolean chains 9, error handling 2, if/else 2, match/switch 1 (nesting depth added 8). Of this number, 22 points are the body\u0027s own statements and 12 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":"src/renderer/components/Pref/General.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"82cd3e135fec162e5fa41843a299402682da14a5178c81fde55ea255ef3e7bca"}},{"ruleId":"D2","level":"warning","message":{"text":"hostsFn.setOnStateOfItem (cognitive 32): hostsFn.setOnStateOfItem has cognitive complexity 32 (threshold 15). Drivers by points: if/else 13 (30 pts), boolean chains 2 (nesting depth added 17). Of this number, 16 points are the body\u0027s own statements and 16 belong to 2 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/common/hostsFn.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"1400cf1ef331c166fab6014954386e5232ba97e6c12e56e51df6f357e7177e2e"}},{"ruleId":"D2","level":"warning","message":{"text":"HostsEditor.HostsEditor (cognitive 31): HostsEditor.HostsEditor has cognitive complexity 31 (threshold 15). Drivers by points: if/else 23, boolean chains 7, ternaries 1. Most of this is not in the body itself: 2 of the 31 points are its own statements and the rest belongs to 15 function literals inside it that branch (lines 190, 91, 109, \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":"src/renderer/components/Editor/HostsEditor.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca3fb96977962cd25f0dde5a724e206ebfc08ba6b45fd9757087efddee6197a"}},{"ruleId":"D2","level":"warning","message":{"text":"sort-lang.sortContentGroup (cognitive 30): sort-lang.sortContentGroup has cognitive complexity 30 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 3 (7 pts), boolean chains 6 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/sort-lang.mjs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c5aa47f9474f35ce920c216eeaf5b815a2d25fffe4874910eb8064f2e4345a7"}},{"ruleId":"D2","level":"warning","message":{"text":"ListItem.ListItem (cognitive 23): ListItem.ListItem has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11, boolean chains 7, ternaries 5. Most of this is not in the body itself: 7 of the 23 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 96, 61, 73, \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":"src/renderer/components/List/ListItem.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d2c9568246ac050f28e23875db07b49027d4ed227b88329aa23bb85bc157146"}},{"ruleId":"D2","level":"warning","message":{"text":"Tree.Tree (cognitive 23): Tree.Tree has cognitive complexity 23 (threshold 15). Drivers by points: if/else 16 (20 pts), boolean chains 3 (nesting depth added 4). Most of this is not in the body itself: 1 of the 23 points is its own statement and the rest belongs to 5 function literals inside it that branch (lines 117, 77, 61, \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":"src/renderer/components/Tree/Tree.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"787bcf8f5a2d884f46e63e2f36bbaad30e21b69600032f977adce32de8113857"}},{"ruleId":"D2","level":"warning","message":{"text":"switchhosts::commands::apply_side_effects (cognitive 22): switchhosts::commands::apply_side_effects has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (21 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands.rs"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"b55bd267898a017f48a23c8717b5858b3f755d705caf036741fd04f59ee68ce0"}},{"ruleId":"D2","level":"warning","message":{"text":"hosts_cm.buildDecorations (cognitive 20): hosts_cm.buildDecorations has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (17 pts), loops 2 (3 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/renderer/components/Editor/hosts_cm.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa28b87441648f3cd9ccaadba1ae04cd05dc3d4c0e1b680fe369f23652293d82"}},{"ruleId":"D2","level":"warning","message":{"text":"switchhosts::import_export::convert_v3_node (cognitive 19): switchhosts::import_export::convert_v3_node has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 2 (5 pts), match/switch 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/import_export.rs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"86eb738d9f83b764563a428df313fd6da5613e74f45e529a5ab4c067e5ee0834"}},{"ruleId":"D2","level":"warning","message":{"text":"UpdateDialog.UpdateDialog (cognitive 19): UpdateDialog.UpdateDialog has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 7, ternaries 7, if/else 3, error handling 2. Of this number, 14 points are the body\u0027s own statements and 5 belong to 3 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":"src/renderer/components/UpdateDialog.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"015d4ce42df60b6a77b318289fbeafd56747b494ea9e80a9a10f1dac93ce5fa5"}},{"ruleId":"D2","level":"warning","message":{"text":"index.MainPage (cognitive 19): index.MainPage has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7, ternaries 6 (7 pts), boolean chains 4, error handling 1 (nesting depth added 1). Most of this is not in the body itself: 9 of the 19 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 50, 150, 108, \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":"src/renderer/pages/index.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd4f7f88d3732281c81861f2736838ca7aa57940825308a8eaee04824eaf2c68"}},{"ruleId":"D2","level":"warning","message":{"text":"switchhosts::hosts_apply::aggregate::remove_duplicate_records_pass (cognitive 17): switchhosts::hosts_apply::aggregate::remove_duplicate_records_pass has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 2 (3 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":"src-tauri/src/hosts_apply/aggregate.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e4188c72f464509f1ae449df2aa334f86ea4ed509ba3fef5c276d917214206f"}},{"ruleId":"D2","level":"warning","message":{"text":"switchhosts::hosts_apply::elevation::elevate_copy (cognitive 17): switchhosts::hosts_apply::elevation::elevate_copy has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (16 pts), match/switch 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/hosts_apply/elevation.rs"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"9438e09985f844b070fa4980fabdcc7b6635ecaa37680b99be0df43377b99790"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfigMenu.ConfigMenu (cognitive 17): ConfigMenu.ConfigMenu has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (11 pts), error handling 4 (5 pts), ternaries 1 (nesting depth added 2). Most of this is not in the body itself: 1 of the 17 points is its own statement and the rest belongs to 3 function literals inside it that branch (lines 137, 171, 87). 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":"src/renderer/components/TopBar/ConfigMenu.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5cf344a1289d931ae55ec6929d71a158bfb8e35286de7603f8ad3666df4b227"}},{"ruleId":"D2","level":"warning","message":{"text":"switchhosts::commands::apply_hosts_selection (cognitive 16): switchhosts::commands::apply_hosts_selection has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), match/switch 3 (4 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":"src-tauri/src/commands.rs"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"98e752130a30c9c114ca3cc6748be6f69aed47c3484e47b3b2bd326c436b60c8"}},{"ruleId":"D2","level":"warning","message":{"text":"fn.selectTo (cognitive 16): fn.selectTo has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 3, loops 1 (nesting depth added 2). Of this number, 11 points are the body\u0027s own statements and 5 belong to 2 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"src/renderer/components/Tree/fn.ts"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"7996438fb478480e4b0b346d85c57125baf078c8e4a4cb83b0c4b92eaee78377"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: find.FindPage: FunctionTooLong \u2014 FindPage runs 691 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 591 over it, 6.91\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":"src/renderer/pages/find.tsx"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c7bf2abb5569ad4ce74b7e2f141814232862a1ac0426b2678a8612690e9ebac"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MenuLabels.for_locale: MethodTooLong \u2014 for_locale runs 299 significant 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 199 over it, 2.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":"src-tauri/src/i18n.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"48147cdb033645a31625820773cbec8613352cec78d2009b35226b84fd7f9ecc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.RightPanel: FunctionTooLong \u2014 RightPanel runs 240 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 140 over it, 2.40\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":"src/renderer/components/RightPanel/index.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"85999cafc4960199ed60248ca1badd5de90b5e6f680fe357c777876f0af374c9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: switchhosts::run: FunctionTooLong \u2014 switchhosts::run runs 238 significant 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 138 over it, 2.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":"src-tauri/src/lib.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a4c11e4e0811f1e3d96d55cc4531ce91a1a715d3343a40bde8028902760345a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/commands.rs: FileTooLong \u2014 1158 significant 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 82 free functions. The bar is 500 significant lines; this is 658 over it, 2.32\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":"src-tauri/src/commands.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"54fc318084f01ff9b841ea84aa7af8917c061e0ba51abd292156725ba27a02e3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: EditHostsInfo.EditHostsInfo: FunctionTooLong \u2014 EditHostsInfo runs 228 significant lines (blank, comment-only and punctuation-only lines excluded) 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":"src/renderer/components/EditHostsInfo.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6c546feb7b18a0430f114ddb882d16e1a4d6c39f718803ea24db51cab9f5027"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: General.General: FunctionTooLong \u2014 General runs 225 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 125 over it, 2.25\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/renderer/components/Pref/General.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec738572f8830c753457e073cdc8d2a23307d37f7f00092167a1111a9a616bb1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.List: FunctionTooLong \u2014 List runs 205 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 105 over it, 2.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":"src/renderer/components/List/index.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b7a25ba05c95d5c49acb28a607627329533f0cfa558cad7a72139f3bbf216a8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: HostsEditor.HostsEditor: FunctionTooLong \u2014 HostsEditor runs 182 significant lines (blank, comment-only and punctuation-only lines excluded) 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":"src/renderer/components/Editor/HostsEditor.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"e99a44dd57c316e9051aa139280a2b6ac1afe811a94189cd59eaf0ee9d8ab4f4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/find.tsx: FileTooLong \u2014 865 significant lines (blank, comment-only and punctuation-only lines excluded), about 80% of them inside a single declaration: FindPage (243-1171). The bar is 500 significant lines; this is 365 over it, 1.73\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":"src/renderer/pages/find.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"15062f85b79d11275750ac8c7eb0eade6c3e96398fdc538398cab57322958c6d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.clampPanel: FunctionTooLong \u2014 clampPanel runs 171 significant lines (blank, comment-only and punctuation-only lines excluded) 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":"src/renderer/pages/index.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"44602f22b98a3d9051bb2ecbc3a5e61e5d77510354af7b81f0ec8d29e6bf12a9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.TopBar: FunctionTooLong \u2014 TopBar runs 169 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 69 over it, 1.69\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/renderer/components/TopBar/index.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e29b37fe7c48ef087b5e3930ad280b953bb81476e691298edc38f0acee7b99"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.MainPage: FunctionTooLong \u2014 MainPage runs 169 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 69 over it, 1.69\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/renderer/pages/index.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"57832195cab9f659faa44404102a35ac334a372ccf5d1d9aa7e9b71da52c705c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Node.Node: FunctionTooLong \u2014 Node runs 167 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 67 over it, 1.67\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/renderer/components/Tree/Node.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"4205721b03fdbf74099c43865a398036672bbd79be29f26ae9a1bcf7ac582034"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.PreferencePanel: FunctionTooLong \u2014 PreferencePanel runs 165 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 65 over it, 1.65\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/renderer/components/Pref/index.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"da2b43365636b24540ca18a35fd851d6a70962b2a286ff7a0046adbb52416795"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Advanced.Advanced: FunctionTooLong \u2014 Advanced runs 164 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 64 over it, 1.64\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":"src/renderer/components/Pref/Advanced.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"be36dd74b6a90bce1dcf81bfa5576cf277b9f63c77e5bede1635865c3ab1d293"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ConfigMenu.ConfigMenu: FunctionTooLong \u2014 ConfigMenu runs 154 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 54 over it, 1.54\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/renderer/components/TopBar/ConfigMenu.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"a21981bd9b6d824e53aa4cbe1538c914467b8af0d7c9a0fab3fe5cbd380a57c8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lifecycle.rs: FileTooLong \u2014 609 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 45 free functions. The bar is 500 significant lines; this is 109 over it, 1.22\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/lifecycle.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8aa3eb747c8cf73972ce6ce6e1904fb6717217537d0115523a99f377015ba52"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: History.Loading: FunctionTooLong \u2014 Loading runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) 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":"src/renderer/components/History.tsx"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2fb4f927156b3575ba4270aa392e288965c1724adcd7d7f41e8322de1dd4a76"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ListItem.ListItem: FunctionTooLong \u2014 ListItem runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) 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":"src/renderer/components/List/ListItem.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"478360943bc960b4fe5340d5678bd1f267d77874b8bce6f914be3e64d25b92c9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: UpdateDialog.UpdateDialog: FunctionTooLong \u2014 UpdateDialog runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/renderer/components/UpdateDialog.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd819a0afbb9397cca3438583fa499731cba77159d2faac98f71074099081bc7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Transfer.Transfer: FunctionTooLong \u2014 Transfer 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":"src/renderer/components/Transfer.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9447f9b231e753937c4f2e9a092ae8d281f3b3cad6e8bb9592b027e0ad7bfd2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: AppConfig: TooManyFields \u2014 32 stored fields beside 6 methods. The bar is 30 stored fields; this is 2 over it, 1.07\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":"src-tauri/src/storage/config.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"15d9c439bfbf28f1594b05faabf609d078b7ca180e0c854151b9c84710982e88"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: MenuLabels: TooManyFields \u2014 32 stored fields beside 1 method. The bar is 30 stored fields; this is 2 over it, 1.07\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":"src-tauri/src/i18n.rs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"219a94b1af5f5719013fa4d1041ca45db63e066acf220bab5956fdad53fd3fab"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: History.History: FunctionTooLong \u2014 History runs 104 significant lines (blank, comment-only and punctuation-only lines excluded) 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":"src/renderer/components/History.tsx"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"48ca8b8be41151af46dd579571f9f61f27b6354b167c49b05a375e24e5563467"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Tree.Tree: FunctionTooLong \u2014 Tree 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":"src/renderer/components/Tree/Tree.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dbd0308433692d922bd443b908b5ae53707c08d4462b156bce464f96c0f5a87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src-tauri/src/http_api.rs:228-239 | src-tauri/src/refresh.rs:337-348 \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":"src-tauri/src/http_api.rs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"35e94705754f79906693f92030ab6a0a9536d3ed71f484a84decf898535b4575"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src-tauri/src/hosts_apply/cmd_runner.rs:181-189 | src-tauri/src/hosts_apply/history.rs:81-89 \u2014 before extracting anything, compare \u0060src-tauri/src/hosts_apply/cmd_runner.rs\u0060 and \u0060src-tauri/src/hosts_apply/history.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 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":"src-tauri/src/hosts_apply/cmd_runner.rs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"9651bb380cac391e1753070a5424e1af51c7731cea62ea8a56678b3302e13684"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src-tauri/src/commands.rs:1315-1322 | src-tauri/src/commands.rs:1340-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":"src-tauri/src/commands.rs"},"region":{"startLine":1315}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5bcabc81dbded507838c56762d8d6c3fa3f2e7ed62978d7b0d4c3bcbc178097"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src-tauri/src/find.rs:706-712 | src-tauri/src/lifecycle.rs:373-379 \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":"src-tauri/src/find.rs"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b1b35465a45282ea95e0328b69ef4debdc92ce7073a509f446c1b2bd6bf8dc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src-tauri/src/commands.rs:779-785 | src-tauri/src/commands.rs:791-797 \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":"src-tauri/src/commands.rs"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"1edd90cfd7bf773a73c307431ba4ee57887413e1caf52265af9df50326083f3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src-tauri/src/find.rs:719-723 | src-tauri/src/lifecycle.rs:386-390 \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":"src-tauri/src/find.rs"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"62201938896bcc78e5464c0d024e8b98c9f02b7856f6c7ae245416ace2ec3158"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src-tauri/src/storage/tree_format.rs:130-134 | src-tauri/src/storage/tree_format.rs:279-283 \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":"src-tauri/src/storage/tree_format.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"9070241edec2f5945eecd140efb636bfc4442b1dc17fd19c2ef99cb328e7a881"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src-tauri/src/hosts_apply/cmd_runner.rs:144-162 | src-tauri/src/hosts_apply/history.rs:37-58 \u2014 before extracting anything, compare \u0060src-tauri/src/hosts_apply/cmd_runner.rs\u0060 and \u0060src-tauri/src/hosts_apply/history.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 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":"src-tauri/src/hosts_apply/cmd_runner.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d8f2e054c1b444ccd4a1ffe967bf51d0fae8eba37e2e50956055ef4ca252a67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): src-tauri/src/find.rs:592-596 | src-tauri/src/hosts_apply/cmd_runner.rs:164-168 | src-tauri/src/hosts_apply/history.rs:60-64 | src-tauri/src/import_export.rs:366-370 \u2014 before extracting anything, compare \u0060src-tauri/src/hosts_apply/cmd_runner.rs\u0060 and \u0060src-tauri/src/hosts_apply/history.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 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":"src-tauri/src/find.rs"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bf7de69f1e821f05bd3220eb3654417b78136bf5415881364e3212212f2cae7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): src-tauri/src/lifecycle.rs:464-469 | src-tauri/src/migration/archiver.rs:145-150 | src-tauri/src/tray.rs:92-97 \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":"src-tauri/src/lifecycle.rs"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dfba6cf60198ba7375964cc95b4d5ffb541ec165436ad67056a72bed4fa31fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src-tauri/src/lifecycle.rs:636-644 | src-tauri/src/lifecycle.rs:969-979 \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":"src-tauri/src/lifecycle.rs"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f4455ee479b1937be171db80296cd11a3f3853ce931d66d26ff3cb31e68a3a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): src-tauri/src/lifecycle.rs:637-644 | src-tauri/src/lifecycle.rs:951-958 | src-tauri/src/lifecycle.rs:970-979 \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":"src-tauri/src/lifecycle.rs"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b6b2d2e3ca7cdac53d168f064c4a372ffb3168ada5a5b21b2131c6b0cc578c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src-tauri/src/import_export.rs:200-207 | src-tauri/src/import_export.rs:208-215 \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":"src-tauri/src/import_export.rs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4f06bf8c2aab24d55e725b473193f11c5083bee68b4439e0a6b8ed896b53dcb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src-tauri/src/hosts_apply/cmd_runner.rs:112-119 | src-tauri/src/hosts_apply/cmd_runner.rs:126-133 \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":"src-tauri/src/hosts_apply/cmd_runner.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"6552118163e47a2495690730909e8995214b51fbe1d2e999f1d6582756b0ed29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src-tauri/src/hosts_apply/elevation.rs:404-410 | src-tauri/src/hosts_apply/elevation.rs:419-425 \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":"src-tauri/src/hosts_apply/elevation.rs"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2c9328fe6869ac6159a7e154c3269f1c01ec1adeff20d2b35c4bf19172887b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src-tauri/src/commands.rs:953-958 | src-tauri/src/commands.rs:984-989 \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":"src-tauri/src/commands.rs"},"region":{"startLine":953}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7cb31d9566b87ab1fb02f466de7e31dd930bfe853baa84b4410e4e2733262e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src-tauri/src/migration/archiver.rs:110-114 | src-tauri/src/storage/fs_copy.rs:70-74 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/migration/archiver.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ca40f264135e157b74bdaa31de2628de7d2a4bea8090235624095fddb08bb9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src-tauri/src/storage/data_dir_pointer.rs:220-224 | src-tauri/src/storage/entries.rs:80-84 \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":"src-tauri/src/storage/data_dir_pointer.rs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"86fe3574da98bd00740f2d3ce78cb4da39810e5452dc74b1c31b898e00f2e1ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src-tauri/src/commands.rs:169-173 | src-tauri/src/commands.rs:189-193 \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":"src-tauri/src/commands.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c49a0312c39d681fdbd168524a4823076710bc990e95269c93d2837121c12d1"}},{"ruleId":"D8","level":"warning","message":{"text":"Coverage not measured \u2014 JavaScript/TypeScript suite: Coverage NOT MEASURED: the JavaScript/TypeScript half could not be measured \u2014 the repository root runs vitest but declares no coverage provider, so the suite can run and still produce no lcov \u2014 add \u0060@vitest/coverage-v8\u0060 (or \u0060@vitest/coverage-istanbul\u0060) as a devDependency. Coverage is excluded from the score rather than counted as a near-zero. The named suite step is one the repository\u0027s maintainers can perform; once it passes, the real number is measured on the next scan. Alternatively, commit the lcov/Cobertura report your CI produces and it is read without a re-run."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"62e63e619c28f057e129f2997c965d32a457366a9ce18ca019ffb6bdfba85c99"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/renderer/components/Tree/Tree.tsx: src/renderer/components/Tree/Tree.tsx changed 2 times in last 90 days, max cyclomatic complexity 19 in Tree.Tree at line 36. 2 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 10:44:29 \u002B08:00\u0027 --until=\u00272026-09-10 10:44:29 \u002B08:00\u0027 --full-history --no-merges -- src/renderer/components/Tree/Tree.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":"src/renderer/components/Tree/Tree.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"7abbb86e72aade378db3b06eb2a38ecfc37f3e2e9bbebd9ea08c9fbf15dd3377"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no project overview: The opening paragraph under the WARP sponsorship banner gives no indication of what SwitchHosts does or what it is; only a link to the homepage appears in the visible portion. State what SwitchHosts is (an App for managing hosts file) and its purpose above the sponsor links."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"66dbf18d06aa983c06246108610908ba99aae6784280b3aacd1a6655733d71be"}},{"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":"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":"613343d1b752f35745826fe8d15b453cf20383607c0f92f58d6658c1e8f77558"},"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":"8109dce38defa2356a4dadc0d0de54d2a3068d55e0fa05a6643a42adc1a4628c"},"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":"6beb1dbf722dfdeac8e49068fd6c16b05da43c9488627b3c5c02adaf3651ab03"},"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":"13735402bf5116752fa8f92046ad9de39f0eed0d12fa799c37ca7280a85c3742"},"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":"f1b966c70d2e5f6ab697ac6d268d54938c60e802d8ea58ea6ff9cb7e10a35f70"},"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":"5be03ab325ce0dd57044d4e411f1428508ecf7870bea56774afff406be2e7ce3"},"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":"a70a3ada3bae9a9b4937c8dadf6051d91e207198f3aa5e67fbe9037a6335a0ee"},"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":"0ad1a22149ef40c5fdfa70c13d3dfacc87e20b8be939dcb2f114d027ab10dc5f"},"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":"57d94ecf1e4e1b67a0a20e1126764020d74cc51d3a14b0d8b3faf921de4f9ffd"},"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":"44ab766b9ceba5acce5376a793dc45d0e9351e0c81f44332d9165adcfe2ec20a"},"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":"dcaaa33c1cdd8121557e1f3c247aba138b46f5a51137ec028fd88eacf4a6eed9"},"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":"566dfd169c1a6b80729879bebe0b25c4ef054237f1e86e8f3b426af700005301"},"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":"75369c09bb288495c1ec96550eb2aa9585bb73f2d0abcdd876376a94900b52cc"},"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":"d5d14d01959f8bc74cfb47cedb20165c1651927e69ca7f14db02f6d54f0db1ae"},"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":"3697f1522e19a638b7ef88b7aaf49350d5b9b08b7c831fcbc85b3c68f84dd986"},"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":"fb74a59e718a61b51c6a15dfe35f20d46ecd5a38b36668578b2ddda21b37671f"},"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":"8f49035fd421c7e4f8710c196e0860be3fdb3bfc2172a0ac216ab01d07c7c08e"},"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":"e28424fedc360265a4515c4fa929e6bf297e08d2621025a4f057e7095c665354"},"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":"2ae8ee2e3c52420af4a422afeadc14067e536ca41d2bb4d223fd0d0af981e878"},"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":"344b614542957bd85d3913b7f5a3be314c189d40f2ed01a87663497578e6baba"},"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":"d62b5105e9e422cd2b0ff7ce88b0c74212d6959f8740dbd276d72ce67057592f"},"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":"2cc074ca03002738cd3cc9ccc9f8b9a681176496735869b425d81b66d83a485b"},"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":"e42ba3d84e3bde183a4fd2d72f5ca0c075fc1af571a674fa31b9ba3cb933813c"},"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":"02721915754e4537dade433e8cb07437d130abb31a9f5b59de037a77f3594da2"},"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":"5199b40473c2e6049b809781f3fbbdb6c92d1f89ad0ccdca0473657732f0567a"},"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":"bb09b1305160c02ecb0571b1c0ec4ebef7c0dc723f6181413d1cc4f02da79f53"},"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":"b4b10f2ac003430c6e4aee676022dbfca0791c59b219b226de29b3f674f8d81d"},"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":"57d02223fef0e6164aee8103cc898fdea928c72f0144d261d1936e2ee451f1a9"},"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":"18f6f6ccb34df649441d8158299faa830dee34d809c7109a2bfbbd6e7b3833ed"},"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":"3643ff687baaf09e4fa86f24721b381bb8ec583e4fb1bc9174a893ca376bdfb1"},"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":"2cda12ade2ec2710b7dca5e054f0e71d75819267a9850f73b253c183b256cf29"},"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":"8e6974ceea212973696716cf84dccb440bed20e78ab3271ac22feea25d05ee50"},"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":"7864b3f3a14621278c81e3e820e91663bb643439838adf65f66d6a71965b6449"},"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":"24bcc8189b69961073a2a81a26475bc0ac4b4627119c2067a001ba82a978dc0a"},"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":"fc1bcb37bb7b1dd3b06efdfa137890d8c521a056ed8f0623e52ca785b8a5bac8"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"a480367025272469acdc05c0efeea27e564b6d640cec55746a2ab403b6da8691"}},{"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":"0230707977ef3cb16171aaf84582740a8a2b166fe235f0c0ce7c3d3c8b5a010e"}},{"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":"3a449081d1361349444539d82b9e2924a1cf0768d2cad54b07494d086b714e79"}},{"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":"714ed351af71a3520ae739001b7a8cdee327d0fd0f7f84732c3c692bf4f677b0"}},{"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":"569c2f035842becb9ea9cb57ad1f7635d5d041c83bd2460920e6e284e05f727d"}},{"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":"e780dbfd22a09fe81e062c4169c62087872f0be0ea02ed0b69ce8775599c8190"}},{"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":"a70cc7c05c1bfe85d82c6cea50e2042ace91f9f86ff15d52a2226afd97fcc872"}},{"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":"cd292ed29a65e7832b1abc00d7065c1a4fdb702a1ce25bc153284d6700fad200"}},{"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":"4d39934267c2fbd3fc2275a8006d960d4bb32b5000c400684f71fc264475ece7"}},{"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":"aa92114692fa14a8856610f437bb4e3185c169f30a6c12b83b2e7887a75fed16"}},{"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":"95d011b57d1e3acb9049abc1cb9c149ef21609277992fa8ac28493d28f2c6847"}},{"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":"178a00c6c350113153d2347e49d088d7521918be733d1e48af0c286948b18f0f"}},{"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":"2c483a4a238364a3de471572bed9d40ec0f29eda22e451e9795e6e514df1b4a2"}},{"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":"09268fa64b4b651a07a938d4049303ea65f00f13fd20fbc3891fbbccf9a59fee"}},{"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":"cf06661008305752bba5e57d5f848334135a19486d482275609c827f861a52d0"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: hostsFn.ts \u2194 index.tsx: \u0060src/common/hostsFn.ts\u0060 (context common) and \u0060src/renderer/components/List/index.tsx\u0060 (context renderer) sit in DIFFERENT parts of the tree yet change together 56% of the time (10 of the 18 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 10 shared commits counted here, the most recent 3 are \u0060d84ffece\u0060 refactor: prefer-const auto-fixes from eslint --fix; \u00605be6c961\u0060 \u591A\u9009\u6587\u4EF6\u5939\u5F00\u5173\u63A7\u5236\u5B50\u9879\u76EE; \u0060618b6365\u0060 The list tree can be multi-selected. \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/common/hostsFn.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"52382c72177a4cf3802bccfa755e3eeec679d6b6ed38deb39a4b53a5fd93cd12"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: Trashcan.tsx \u2192 EditHostsInfo.tsx, ListItem.tsx, index.tsx: \u0060src/renderer/components/LeftPanel/Trashcan.tsx\u0060 changes together with 3 other files \u2014 \u0060src/renderer/components/EditHostsInfo.tsx\u0060, \u0060src/renderer/components/List/ListItem.tsx\u0060, \u0060src/renderer/components/List/index.tsx\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/renderer/components/LeftPanel/Trashcan.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"821cee4b0dc62a401818a5811df253ecd64675a0ee7cc3de8c83e29bbaf2ae6a"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ListItem.tsx \u2194 Node.tsx: \u0060src/renderer/components/List/ListItem.tsx\u0060 and \u0060src/renderer/components/Tree/Node.tsx\u0060 change together 50% of the time (7 of the 14 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 7 shared commits counted here, the most recent 3 are \u0060c49d1cb9\u0060 Fix folder expand icon behavior; \u0060d84ffece\u0060 refactor: prefer-const auto-fixes from eslint --fix; \u0060618b6365\u0060 The list tree can be multi-selected. \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/renderer/components/List/ListItem.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"33c15400d4646909e84c88fd92e7813428b32b27c6aa0864b0ee0acf97727ff9"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: index.tsx \u2194 Tree.tsx: \u0060src/renderer/components/List/index.tsx\u0060 and \u0060src/renderer/components/Tree/Tree.tsx\u0060 change together 50% of the time (7 of the 14 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 7 shared commits counted here, the most recent 3 are \u0060d84ffece\u0060 refactor: prefer-const auto-fixes from eslint --fix; \u0060618b6365\u0060 The list tree can be multi-selected.; \u006080259ba5\u0060 add trashcan. (at that commit the files were still \u0060v4.0/src/renderer/components/LeftPanel/List.tsx\u0060 and \u0060v4.0/src/renderer/components/Tree/Tree.tsx\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/renderer/components/List/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a904e2dddb979e615141cb01ee29afa001ec401e11b0d40e33c3d45a2c81a9b8"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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":"d657599f6f99da1927d3377533dfc0888b34c4d84aa7d5579841fd72d0e39bce"}},{"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":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"}},{"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":"src/renderer/components/Pref/Commands.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1b150ddb2bcd935dad228ae1dcb39262a7f74a74f991c7dfba93e48af3c1084"}},{"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 \u2014 and neither does anything it renders \u2014 so it likely renders an unlabelled control. 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":"src/renderer/components/Pref/General.tsx"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1a7bd49baa4bfa99e2986688dd8a95ca8620c745da273bdc9c4916385e25a48"}},{"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 \u2014 and neither does anything it renders \u2014 so it likely renders an unlabelled control. 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":"src/renderer/components/Pref/Proxy.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"43baed4a9ed0a7f8fcf4768acc2b696acf3f52e9129e4a4088a38618a010fa39"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextInput\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":"src/renderer/components/TopBar/ImportFromUrl.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc9eb6ccda4402952d3cbfd85876046e073fad170a7de1413a9a5da4d18cbdf8"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextInput\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":"src/renderer/pages/find.tsx"},"region":{"startLine":983}}}],"partialFingerprints":{"codehealthFindingId/v1":"b43adfcd884816af2bd9984031a0f6a04e1284551e045e44a506482dfc62674d"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextInput\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":"src/renderer/pages/find.tsx"},"region":{"startLine":997}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9ecc64a59e364b7482098cc3373eac986902f63dbfdf5f2a43dba65be812761"}},{"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. This document\u0027s body is only the mount point \u003Cdiv id=\u0022root\u0022\u003E, so there is no content here to wrap \u2014 render the \u003Cmain\u003E from the component mounted into it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/renderer/index.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"c006f846c0cd3ada76a94c50c2276ca7911da6637dc6f9fb135de601ed2ced11"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/renderer/components/LeftPanel/SystemHostsItem.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6a3fca083338c3f0f850e2cd906f3cfb7fbae3ebd66dd6b5a5bde42206f922b"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/renderer/components/List/ListItem.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"020637fb68c541107ce69dd96218069778e5ac5738b9ef05eeea86efa8003344"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/renderer/components/List/ListItem.tsx"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad41b5a8c9de4c08506cb3f76d82ef94f665ace2b4db362b9e58b25a2042423c"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/renderer/components/Tree/Node.tsx"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"f70e7902c4bed5ebbe06461b037fa17c36300e2984ca8f3a7ca6b456d4c4c200"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/renderer/components/Tree/Node.tsx"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf711051b8eff4716f3a4941d9f048624228998a9d54ba85e702bc12547c7888"}},{"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 48 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":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add cargo-audit / cargo-deny (or clippy) (or \u0060semgrep --config=auto\u0060, which runs on any language) as a CI step. What was searched, so you can tell an absence from a miss: the 44430 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): src/renderer/components/Transfer.tsx:95 \u00B7 src/renderer/components/Transfer.tsx: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":"src/renderer/components/Transfer.tsx"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f6b4f90873f1e275ca9443d5622f9002be938a8a3f8c53a5f92bafa3b3dea7b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): src/renderer/components/Pref/DataDirRecoveryModal.tsx:36 \u00B7 src/renderer/components/Pref/DataDirRecoveryModal.tsx:55 \u2014 the two spans are one implementation copied and then locally edited \u2014 58 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/renderer/components/Pref/DataDirRecoveryModal.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4f9f79521ecbb1d5943cdd4bb636682345e20174726afc3118e95c77ff84001"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/common/tree.ts:21 \u00B7 src/renderer/components/Tree/fn.ts:11 \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":"src/common/tree.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"947e63c039cc61dabb872128a01b1069816f91138c6c9b1477eb6b84a08a631e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): src/renderer/components/LeftPanel/Trashcan.tsx:96 \u00B7 src/renderer/components/LeftPanel/TrashcanItem.tsx:103 \u00B7 src/renderer/components/RightPanel/index.tsx:316 \u2014 the 3 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. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/renderer/components/LeftPanel/Trashcan.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"1771a72e8fa553335143791ab4f27a3d3502b5fd931ecc67311099a7a4d61b73"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): src/renderer/components/LeftPanel/TrashcanItem.tsx:33 \u00B7 src/renderer/components/LeftPanel/TrashcanItem.tsx:52 \u00B7 src/renderer/components/RightPanel/index.tsx:120 \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":"src/renderer/components/LeftPanel/TrashcanItem.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"67fdddb1863a683027885eb1754e9cb610e99f8e8164000ad74dcc508c22a037"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/renderer/components/SetWriteMode.tsx:71 \u00B7 src/renderer/components/TopBar/ImportFromUrl.tsx:98 \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":"src/renderer/components/SetWriteMode.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"56c018fc71c4de2c9eccdf870fad3f6a00307a955044f86d2cf26bd687dc59f5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/renderer/components/TopBar/index.tsx:91 \u00B7 src/renderer/components/TopBar/index.tsx:178 \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":"src/renderer/components/TopBar/index.tsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"2705f1c12b54e89125f8c7089d9c771a3a593cda1d16ea32064a56ddd693c561"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/renderer/pages/find.tsx:771 \u00B7 src/renderer/pages/find.tsx:832 \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":"src/renderer/pages/find.tsx"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e438565030445ad7e671ba5cbeecf2abf154a6b7538cfc6c499f4c8e21f0d4c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): src/renderer/pages/index.tsx:77 \u00B7 src/renderer/pages/tray.tsx:22 \u2014 the two spans are one implementation copied and then locally edited \u2014 70 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/renderer/pages/index.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"dae8e02468a68b3f1b4aa2ae304c8ecfa3d0a831954a3bf97c7222abc6e0849f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/renderer/components/Pref/Proxy.tsx:58 \u00B7 src/renderer/components/Pref/Proxy.tsx:74 \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":"src/renderer/components/Pref/Proxy.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"525a74e656a4fb369e526a897f7f008c1416ae1fce47ae161252e7a5e43c6ca5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): src/renderer/components/EditHostsInfo.tsx:156 \u00B7 src/renderer/components/List/ListItem.tsx:115 \u2014 the two spans are one implementation copied and then locally edited \u2014 61 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/renderer/components/EditHostsInfo.tsx"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"8feed841ac1bff279ed75210e06eb65f3b9989ddbfa583e3463159b0da53a424"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5 locations): src/renderer/components/LeftPanel/Trashcan.tsx:51 \u00B7 src/renderer/components/LeftPanel/TrashcanItem.tsx:40 \u00B7 src/renderer/components/LeftPanel/TrashcanItem.tsx:59 \u00B7 src/renderer/components/RightPanel/index.tsx:107 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 3 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":"src/renderer/components/LeftPanel/Trashcan.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9722436638f872fc4515b0ca98772141879767fc3b031934465edc043f472d6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/renderer/components/Pref/General.tsx:194 \u00B7 src/renderer/components/Pref/General.tsx:206 \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":"src/renderer/components/Pref/General.tsx"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa20bc00402690697a3da6ac0c930c9aeb7c8c08c3baf2ae8e69da5e4cd35531"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/renderer/components/RightPanel/index.tsx:94 \u00B7 src/renderer/components/RightPanel/index.tsx:115 \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":"src/renderer/components/RightPanel/index.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"609b218f6e48dec56b5e30a121afa5dbeaddd59b287c63a50324a17f2ba11e96"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/renderer/components/Pref/General.tsx:175 \u00B7 src/renderer/components/Pref/General.tsx:219 \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":"src/renderer/components/Pref/General.tsx"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"742f9c27d7fa1f908e18df73b599b985d91ab3656d8bd748ce227abf30ef163b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): src/renderer/components/Pref/Advanced.tsx:127 \u00B7 src/renderer/components/Pref/Advanced.tsx:137 \u00B7 src/renderer/components/Pref/Advanced.tsx:147 \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":"src/renderer/components/Pref/Advanced.tsx"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e712c71be02c34afa5cccea18b826390677753b246b14d9520b3f7f34415836"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/renderer/components/Editor/HostsEditor.tsx:91 \u00B7 src/renderer/components/Editor/HostsEditor.tsx:109 \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":"src/renderer/components/Editor/HostsEditor.tsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"c575ef5263ba1b65381c403b25d4187518091d1ebaccb75a2954a9e277006075"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/renderer/pages/find.tsx:876 \u00B7 src/renderer/pages/find.tsx:899 \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":"src/renderer/pages/find.tsx"},"region":{"startLine":876}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab24bf3e6145b9b68fff6182aac1d23671644715f14c7d4c24d425ff3b1578fd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/renderer/components/Editor/HostsEditor.tsx:304 \u00B7 src/renderer/components/HostsViewer.tsx:55 \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":"src/renderer/components/Editor/HostsEditor.tsx"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"f15ab40c73d02efec5f446adcc7ffc9712b028795e41d29d01bd6cd7f2549c69"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/renderer/components/Pref/Advanced.tsx:58 \u00B7 src/renderer/pages/find.tsx:245 \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":"src/renderer/components/Pref/Advanced.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"f686de60d67b7e90461e1b2b68130060bab21570f3b9f8cf08a3c97012ffcb11"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): src/renderer/components/Pref/index.tsx:203 \u00B7 src/renderer/components/Pref/index.tsx:210 \u00B7 src/renderer/components/Pref/index.tsx:217 \u00B7 src/renderer/components/Pref/index.tsx:224 \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":"src/renderer/components/Pref/index.tsx"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fbfcede9c0b920f03651e6a14ae4bec94b97c0a0939f83d34430ff069075fae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/renderer/components/Pref/Advanced.tsx:190 \u00B7 src/renderer/components/Pref/Advanced.tsx:200 \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":"src/renderer/components/Pref/Advanced.tsx"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e0605885ecbe1293110b14f92aabbab5cedee7b25ddbb3ed52a2665b59652d9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/renderer/components/Pref/Advanced.tsx:201 \u00B7 src/renderer/components/Pref/Advanced.tsx:207 \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":"src/renderer/components/Pref/Advanced.tsx"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b3c93c3c34c47daa35038a530d2c0b5e980858a1f559c3b6fc521dc53135b62"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function invoke (cyclomatic 63, cognitive 47): invoke has cyclomatic complexity 63 and cognitive complexity 47; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive 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":"e2e/support/tauri-mock.js"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc80adfe08ef9846df99198eb9213d9df9e020d4bf52089c2641bde62384a2ff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getFriendlyUpdateErrorMessage (cyclomatic 34, cognitive 13): getFriendlyUpdateErrorMessage has cyclomatic complexity 34 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":"src/renderer/core/notify.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"13946dbad57238d31433f3d73d19d40ec6bfb39acbda862b97dceebd9a8e2f66"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Node (cyclomatic 31, cognitive 25): Node has cyclomatic complexity 31 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive 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":"src/renderer/components/Tree/Node.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"863c179e91d079126e6a1ca41223c741d418c217e0c13b474214b0712e59412a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RightPanel (cyclomatic 24, cognitive 23): RightPanel has cyclomatic complexity 24 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 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":"src/renderer/components/RightPanel/index.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b67292606412949fb56ca69c9d7efa700f649f6f0f95744dd1bdf87f0b386c0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function General (cyclomatic 20, cognitive 16): General has cyclomatic complexity 20 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":"src/renderer/components/Pref/General.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c10cfdbf1599211726664cdcae5bcdf900a5b855ef58fe90244009c0518dc0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function FindPage (cyclomatic 17, cognitive 14): FindPage 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":"src/renderer/pages/find.tsx"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"f135e9a04499a226934c8af9e51d2b7fcc2e5cd7f7228af71e278518a620b723"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onDragOver (cyclomatic 16, cognitive 18): onDragOver has cyclomatic complexity 16 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/renderer/components/Tree/Node.tsx"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c39474771b0951e23a0761526e6ae0d9f3a0748e318b5c188320f73d4af07db"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sortContentGroup (cyclomatic 15, cognitive 28): sortContentGroup has cyclomatic complexity 15 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/sort-lang.mjs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7e1fa7e95772dd98ef4106e48b2c29193dd93aa1b787f7a6ff6e318a99bf0b9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function UpdateDialog (cyclomatic 15, cognitive 14): UpdateDialog has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/renderer/components/UpdateDialog.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"486463b50da9aa15876d73b0cd56a2cd50aa1750b96baee79d63482e71b675fc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function replaceOne (cyclomatic 14, cognitive 16): replaceOne has cyclomatic complexity 14 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/renderer/pages/find.tsx"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"b05b70dd7f01e85163b4a574e9ac3c30d456e8d9a74cd946083399d343c0bed6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function replaceAll (cyclomatic 14, cognitive 15): replaceAll has cyclomatic complexity 14 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/renderer/pages/find.tsx"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"e83233ffc5a5f7d9e80d38efffbbed4a3e11c1445198ef926659f3f7fadaf2aa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TopBar (cyclomatic 13, cognitive 11): TopBar has cyclomatic complexity 13 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/renderer/components/TopBar/index.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d25e6a6a4b642b67b446e3869f0ce8aff695906b8cdb22b1521b766e41a6978"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isEqual (cyclomatic 11, cognitive 17): isEqual has cyclomatic complexity 11 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/renderer/components/Tree/Node.tsx"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6a8e23dc9d8015d1dc167343763a1ca79472e30b28fffa89c78c89994ec36eb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 16): (anonymous) has cyclomatic complexity 11 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/common/hostsFn.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"90d96791a0fab70dfde6f3286f5eb08dbeba313238274e99315ed613a3aab6c6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyChangedRemoteHostsToSystem (cyclomatic 11, cognitive 13): applyChangedRemoteHostsToSystem has cyclomatic complexity 11 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/renderer/components/List/index.tsx"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"bef745dc46de49cf85c1ac779b3ad9b6038de2923f04c5b37c8c2c7019b95a76"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findObjectRange (cyclomatic 11, cognitive 11): findObjectRange 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":"scripts/sort-lang.mjs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f1407e2e417442f6aad23966ba72aabccc881d2dc5ad28d1506997adfa87d5e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MainPage (cyclomatic 11, cognitive 10): MainPage 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":"src/renderer/pages/index.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"c798e44f0dd9dcca9b508a9b6026a59b8d57c95e0c03eb68a13a28912f0c5688"}},{"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":"src/renderer/components/EditHostsInfo.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"86ae3d4eb6db49d458fa208e7f6331d6ca06775da2755b83dd4ac07aa71a8c58"}},{"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":"src/renderer/components/RightPanel/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"374e559ed336aac1f84e18d74fdca6e7c874cecc9d5b4ea1f6d519b6100fe78f"}},{"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":"src/renderer/components/Editor/HostsEditor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"025aba087d563e9ab77b92563dc241f6c10c3cbe2cbe7169a7e95e6f74a71e1c"}},{"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":"src/renderer/components/Pref/General.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c5085803c5cc238a45011f22076220046da069bba11687b82d172271a639a56"}},{"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":"src/renderer/pages/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"979fd1187dba43c1c7cae6f34527a6472ab5e4dac0e878e63997e988a856ae1d"}},{"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":"src/renderer/components/History.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f6b0e6cfbb8115676ab9fde33bbf348cec7aabc4105fd3f0fc2957bcad49117"}},{"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":"src/renderer/components/Pref/Advanced.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f89be61a34f56dac237e2b4e25a4daaa658704e414d77e693d70be4b83faa57"}},{"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":"src/renderer/components/TopBar/ConfigMenu.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"adbc67b28edb9728a73a494ffe20fd7047f9bd00281185f486ff77dcc444203b"}},{"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":"src/renderer/components/Pref/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9500011e205b2d1afd23a8263370fcbc92df304863a6a324d57fa9e6e184d409"}},{"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":"scripts/sort-lang.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b39601e76149382a8b48fbe4d58d4d1e0196d6f88137ef7471345a2f23effcb"}},{"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":"src/renderer/components/TopBar/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a8fed946cdc455e96eed45bd6bd74d3fa0625d26352443e711c363edd09c0e1"}},{"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":"src/renderer/components/UpdateDialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f15e77e7dbf0ab22e297213b2ae81ebfc39fd1100b26667ded344f9e6f65ec7c"}},{"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":"src/renderer/components/Transfer.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bbd9dba3f79cc940efa25eb0bff187cca27e4498c476ec89f4b1d3c9be2db43"}},{"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":"src/renderer/components/Editor/hosts_cm.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4abb1fb084d7a22844d027a11beb30b73210fad8eea6deaff63117483c67e8d4"}},{"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":"src/renderer/components/Pref/DataDirRecoveryModal.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"463b918e9f449e03f97580f3c108ce5348ef4b75c01eb3d80a700b391c728f91"}},{"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":"src/renderer/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0962472c30d92f5186065203a0bfd255e7b21b3562e88587e5f74a4642a60a5a"}},{"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":"src/renderer/components/TopBar/ImportFromUrl.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"19f49585b061b57c5cfe4b07a48a70617733cbe2dd8881d33310a2b5ae845d85"}},{"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":"src/renderer/components/LeftPanel/TrashcanItem.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8434e746615ac645c5a8a844f48ce5b4d99793a1dc9fb66d489426524430c30d"}},{"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":"src/renderer/components/LeftPanel/Trashcan.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b2446d0435e9893807fac1d3aa567b3d32b2039c29fd7cac3f60c0015210376"}},{"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":"src/renderer/components/Pref/CommandsHistory.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b50dd029a3e11dcd270d0b1ba39613f8bd7fc37e75aace261d3eb75fdc688ff"}},{"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":"src/renderer/components/LeftSidebar/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff7a48b0b7e19749fcc2ba5528f5c3b135530f958cc7c9e2ae23e019749bd034"}},{"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":"src/renderer/components/Pref/Proxy.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12ed36c88a5df577dec63fcf098bbb6f3bbe9a8cb0109d5794bdad03df4ff3ec"}},{"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":"scripts/bundle-universal-helper.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8854b2087489c99063da64653b0638d3f8860e1e1f3fd1bda16d81a6b4ec42fa"}},{"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":"src/renderer/components/ResizeHandle/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f5022b0f9e769519b24f24d0e4849ccbf5f0134c00185cf5705b21f3e3fff19"}},{"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":"src/renderer/components/RightPanel/SystemHostsPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c44b103bb4f40ea4dc00e38f2191a6bfd7dc459065bc9a4fef03cb07e66cc79"}},{"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":"src/renderer/components/SetWriteMode.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"01b66f393d555e314d9952e4dce1c9a91e7ee9819e235832df2d16b798f7d572"}},{"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":"scripts/sync-tauri-version.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"77dea1e3ba28f304c30fa3a01990a1b335b69c87fd8328a8a3f78c2dae24f993"}},{"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":"src/renderer/components/SideDrawer.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4b17e95059bab581ef10d25294c5aaffe440eab7e95b6beb4b0ed76133a8a9c"}},{"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":"src/renderer/components/Pref/ChangeDataDirModal.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e73e4db504a6997e557bc7e3f316a21fd1b318b3389c33e270ed49af9051988"}},{"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":"src/renderer/pages/tray.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76db7ecfe17cc507ce011c6bafdc0c70fc39b2b53422dbc151c925626357592e"}},{"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":"src/renderer/components/HostsViewer.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ce68afafd01b4ef4cc99472b12c62a115f5cde32ba9191a870cb3c47a558ca9"}},{"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":"src/renderer/components/Pref/Commands.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8787c544323d660db8f3333e5a0e94f262d757281e116bfaf58fd9fc3786719c"}},{"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":"src/renderer/components/LeftPanel/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7d2138351bc5de33e262a421b225032789c54301b6799275d5a55d35b61cd29"}},{"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":"src/renderer/components/ConfirmModal.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bedc065bdf9ef6807b890f768a1f9d449f82a8c562d473ab22371183857b7671"}},{"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":"src/common/acknowledgements.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"29a713cdc319bfeb4997559c0b96de46ccc3b98c57b626a07dcb3cfc39a374b8"}},{"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":"src/renderer/components/About/AboutContent.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef834830d91ce2f5f16044379d0039e76c5b54cda106abd5bc52125d293a1f6d"}},{"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":"src/renderer/components/StatusBar.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"92c44792ddf1852d625dd183dff5940c6ee256cc41ca41a6d4d7acfadae0fb5d"}},{"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":"src/renderer/components/BrowserLink.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b45d62ae72adf56bb712ef643734f73065420262aba6988978205bc82939dc65"}},{"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":"src/renderer/components/LeftPanel/SystemHostsItem.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f80230b59be863f5ba3ed7683c4dec11a08e18902df62cb47cae861905e5905e"}},{"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":"src/renderer/components/About/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b516fa5177acf77da9b24f767de1fe3dec0a049cc0f21c55d9d673809d5ba04"}},{"ruleId":"R5","level":"warning","message":{"text":"Dependency Freshness: 34 outdated package(s); JS/npm CVEs scored in D30"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7de98450603a813bc7a991bc6e60f440c1deac6f9c9bfd4d0da057afed869bcf"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~32 LoC): no import path from any entry point (17 application, 11 tooling, 25 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":"src/renderer/components/LeftPanel/SystemHostsItem.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7d60815b9c6e677bb0339a5ea8e58a8a485aa8588eddcd1d2c0f49f12f2166f"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~25 LoC): no import path from any entry point (17 application, 11 tooling, 25 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":"src/renderer/components/Lang.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fa921941b6e2924ff402b3194fee0fac0036d378f1b4820539bac0c3a42b4ca"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~11 LoC): no import path from any entry point (17 application, 11 tooling, 25 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":"src/renderer/utils/css-var.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7971fb364c450f0df86da69d49dc05208b67dc6ff2cba6103e525a1930778e5"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~6 LoC): no import path from any entry point (17 application, 11 tooling, 25 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":"src/common/utils/wait.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f9d106aacde1d72675a008ecd1a4b3b6455112ddfd5ef3cde8337530b1021ec"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027downloadUrl\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/common/constants.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"e49f624f8fd2659ed43e8e3ee1361a55c5e474e740a4536f3abbc6bc97d80dd2"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027cleanHostsList\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/common/hostsFn.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ef39b6c5c29f77d2dff2620209ab9084e489a56ec3f5ceee5b63b6421bff722"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027updateOneItem\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/common/hostsFn.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"164002c831a82fa38d7b12d2026ee8335c9afd36ebddcfd0cf78a5abcfefc3b6"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getNodeById\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/common/tree.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"09b65676e6dc4a47f2fe136264f5c67239d033d68a4365a37e3578b255ecabfc"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027isParent\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/renderer/components/Tree/fn.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a9efb30ba47d3350065c7111d0eb718cdc085c6729437c48fd4e36b2bed8926"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027isHalfWidthAtom\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/renderer/stores/i18n.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"70b222ff68f4fbc068ba7e550b7ed2ca726e7ae25534af2e16b1dbcfc20ee51b"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027tslib\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":"d8a3d0faa47fd18b071ac2ea263bb7395790d201b593acc4743b98814298e27d"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-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-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":55,"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."]}]}