{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D18","name":"Solution Shape","shortDescription":{"text":"Solution Shape"},"helpUri":"https://codehealth.canine.dev/dimensions/D18"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"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":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX5","name":"Architecture \u0026 structure","shortDescription":{"text":"Architecture \u0026 structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AX5"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"terminal-input.TerminalInput.handleKeyDown (cyclomatic 46): terminal-input.TerminalInput.handleKeyDown has cyclomatic complexity 46 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"console/WebView2/wwwroot/terminal-input.js"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"9464649de1a1282786222712aba3cacd670bf88c0663e99276c1ae0eb27ee482"}},{"ruleId":"D1","level":"warning","message":{"text":"LocalShellInterface.CmdFile (cyclomatic 43): LocalShellInterface.CmdFile has cyclomatic complexity 43 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table. This is NOT this file\u0027s highest cyclomatic complexity: LocalShellInterface.WriteInput (cyclomatic 63) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SShClient/LocalShellInterface.vb"},"region":{"startLine":1206}}}],"partialFingerprints":{"codehealthFindingId/v1":"20f847e89595d1ef25482bb63e16fc7483153289f837c04e04ed97d4f2ba53b8"}},{"ruleId":"D1","level":"warning","message":{"text":"ConsoleControl.richTextBoxConsole_KeyDown (cyclomatic 42): ConsoleControl.richTextBoxConsole_KeyDown has cyclomatic complexity 42 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"console/WinForm/ConsoleControl.vb"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bb3f82a6d8abcabbaa16b61dc2d12431d1ff79843aa84628927461a9d887872"}},{"ruleId":"D1","level":"warning","message":{"text":"ansi-parser.AnsiParser.dispatchCsi (cyclomatic 33): ansi-parser.AnsiParser.dispatchCsi has cyclomatic complexity 33 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"console/WebView2/wwwroot/ansi-parser.js"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"7932851104f65ff1f2f58abfed90717847f45671dfa927e7fc1550c1780840fe"}},{"ruleId":"D1","level":"warning","message":{"text":"ansi-parser.AnsiParser.applySgr (cyclomatic 30): ansi-parser.AnsiParser.applySgr has cyclomatic complexity 30 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"console/WebView2/wwwroot/ansi-parser.js"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"44494de79a8587e603af4f57d811a0e1e71d1f9857dc50cde078979871a809ea"}},{"ruleId":"D1","level":"warning","message":{"text":"ansi-parser.AnsiParser.handleEscape (cyclomatic 23): ansi-parser.AnsiParser.handleEscape has cyclomatic complexity 23 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"console/WebView2/wwwroot/ansi-parser.js"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"2006a85599bb19e7e68cd772809bb1409efcfa7c526c7568fea4584b902675f8"}},{"ruleId":"D1","level":"warning","message":{"text":"LocalShellInterface.CmdCut (cyclomatic 22): LocalShellInterface.CmdCut has cyclomatic complexity 22 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table. This is NOT this file\u0027s highest cyclomatic complexity: LocalShellInterface.WriteInput (cyclomatic 63) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SShClient/LocalShellInterface.vb"},"region":{"startLine":1379}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b56278f7e34cb0068bab7b54d8f460eb68670f30bd1d33a8734314d40d35f4c"}},{"ruleId":"D1","level":"warning","message":{"text":"TerminalMessage.Parse (cyclomatic 20): TerminalMessage.Parse has cyclomatic complexity 20 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"console/WebView2/TerminalMessage.vb"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"80dc4d1ec09906a8c48556b057ec0d1a14be0ddf30f76bc3ab9421059569f7a1"}},{"ruleId":"D1","level":"warning","message":{"text":"TerminalControl.RenderToRichTextBox (cyclomatic 20): TerminalControl.RenderToRichTextBox has cyclomatic complexity 20 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"console/WinForm/TerminalControl.vb"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"d58402a058146d8a7841f25ae8e6365b4fb25799abf60eec5a1159e98a870100"}},{"ruleId":"D1","level":"warning","message":{"text":"LocalShellInterface.CmdGrep (cyclomatic 19): LocalShellInterface.CmdGrep has cyclomatic complexity 19 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table. This is NOT this file\u0027s highest cyclomatic complexity: LocalShellInterface.WriteInput (cyclomatic 63) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SShClient/LocalShellInterface.vb"},"region":{"startLine":999}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e2753d227bff23b048186f264e1042a93e5e2841da04bdea0a71ba843818556"}},{"ruleId":"D1","level":"warning","message":{"text":"LocalShellInterface.CmdWc (cyclomatic 18): LocalShellInterface.CmdWc has cyclomatic complexity 18 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table. This is NOT this file\u0027s highest cyclomatic complexity: LocalShellInterface.WriteInput (cyclomatic 63) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SShClient/LocalShellInterface.vb"},"region":{"startLine":1086}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b435621906695a0cb3a0da5366933e0d4c78fccb25262410135df8800d7b87b"}},{"ruleId":"D1","level":"warning","message":{"text":"LocalShellInterface.CmdCal (cyclomatic 17): LocalShellInterface.CmdCal has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table. This is NOT this file\u0027s highest cyclomatic complexity: LocalShellInterface.WriteInput (cyclomatic 63) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SShClient/LocalShellInterface.vb"},"region":{"startLine":2181}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f19dfbb95930c860c9d639d95cc3f1ecf374225ca99b93372790c041302012c"}},{"ruleId":"D1","level":"warning","message":{"text":"terminal-renderer.TerminalRenderer.wrapRun (cyclomatic 17): terminal-renderer.TerminalRenderer.wrapRun has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"console/WebView2/wwwroot/terminal-renderer.js"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"175adbe2b80e9c6ea7a6d8449802463ac7ef564b24da34e7182bf92fc18fd12e"}},{"ruleId":"D1","level":"warning","message":{"text":"LocalShellInterface.CmdUname (cyclomatic 16): LocalShellInterface.CmdUname has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table. This is NOT this file\u0027s highest cyclomatic complexity: LocalShellInterface.WriteInput (cyclomatic 63) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SShClient/LocalShellInterface.vb"},"region":{"startLine":1675}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae317387dfe1ed00d57da3066c3d43174530aaa3245495b94a407c6d3fd6bf72"}},{"ruleId":"D1","level":"warning","message":{"text":"LocalShellInterface.HandleSsh (cyclomatic 16): LocalShellInterface.HandleSsh has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table. This is NOT this file\u0027s highest cyclomatic complexity: LocalShellInterface.WriteInput (cyclomatic 63) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SShClient/LocalShellInterface.vb"},"region":{"startLine":2234}}}],"partialFingerprints":{"codehealthFindingId/v1":"b73385350db69cc16a731e60bda7802339c8c9e9bbe4302a0f0a571ad6d793b3"}},{"ruleId":"D2","level":"warning","message":{"text":"handleKeyDown (cognitive 64): handleKeyDown has cognitive complexity 64 (threshold 15). Drivers by points: if/else 31 (41 pts), boolean chains 12, ternaries 4 (11 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"console/WebView2/wwwroot/terminal-input.js"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"5587d23d908a2c2d915bdaf7bf9a1731571b359894f22d02ef949a8c6a013710"}},{"ruleId":"D2","level":"warning","message":{"text":"ConsoleControl.richTextBoxConsole_KeyDown (cognitive 51): ConsoleControl.richTextBoxConsole_KeyDown has cognitive complexity 51 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"console/WinForm/ConsoleControl.vb"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d88a515f060d3f70003e8ee41d0c3a4ab43bcaf5283ff1a52f3f8665542ac79"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalShellInterface.CmdFile (cognitive 37): LocalShellInterface.CmdFile has cognitive complexity 37 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SShClient/LocalShellInterface.vb"},"region":{"startLine":1206}}}],"partialFingerprints":{"codehealthFindingId/v1":"aed533869125f7d1a427613afc6e26aad65df4d8c7b7e85b5aeb84df1d4155d1"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalShellInterface.CmdCut (cognitive 36): LocalShellInterface.CmdCut has cognitive complexity 36 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SShClient/LocalShellInterface.vb"},"region":{"startLine":1379}}}],"partialFingerprints":{"codehealthFindingId/v1":"223aec224b11378529ac2c8ce16ca24c618a91605063008f74069b936fe6951a"}},{"ruleId":"D2","level":"warning","message":{"text":"ansi-parser.AnsiParser.applySgr (cognitive 30): ansi-parser.AnsiParser.applySgr has cognitive complexity 30 (threshold 15). Drivers by points: if/else 23 (24 pts), boolean chains 5, loops 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"console/WebView2/wwwroot/ansi-parser.js"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"bef908a05c4d00cd43f9ae607ef629402d63b0ba6d9de899d497a12c332c20f8"}},{"ruleId":"D2","level":"warning","message":{"text":"TerminalControl.RenderToRichTextBox (cognitive 28): TerminalControl.RenderToRichTextBox has cognitive complexity 28 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"console/WinForm/TerminalControl.vb"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"bff8642e6e9c8d86c810b91579f912c09ae16165038072a638ce9475ba5ba72b"}},{"ruleId":"D2","level":"warning","message":{"text":"TerminalBuffer.EraseInDisplay (cognitive 26): TerminalBuffer.EraseInDisplay has cognitive complexity 26 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"console/WinForm/TerminalBuffer.vb"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d04c03283083216fd5f70dfef707973fe20a3d5b93df915db2a69a36b7a7ff8"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalShellInterface.CmdGrep (cognitive 25): LocalShellInterface.CmdGrep has cognitive complexity 25 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SShClient/LocalShellInterface.vb"},"region":{"startLine":999}}}],"partialFingerprints":{"codehealthFindingId/v1":"79db8bf0ec79b6848039071ef634180545d1f4e8c645d478181401abbc11ea9d"}},{"ruleId":"D2","level":"warning","message":{"text":"terminal-renderer.TerminalRenderer.wrapRun (cognitive 25): terminal-renderer.TerminalRenderer.wrapRun has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (22 pts), boolean chains 3 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"console/WebView2/wwwroot/terminal-renderer.js"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"89981609c978336834dcd8e473db8441e1bc6228c996db747e4b226295dfe38a"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalShellInterface.CmdWc (cognitive 23): LocalShellInterface.CmdWc has cognitive complexity 23 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SShClient/LocalShellInterface.vb"},"region":{"startLine":1086}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bbd7825bb6628a85b52d568f1434e9213a83229c054343d5d04ee416f35ab19"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalShellInterface.HandleSsh (cognitive 23): LocalShellInterface.HandleSsh has cognitive complexity 23 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SShClient/LocalShellInterface.vb"},"region":{"startLine":2234}}}],"partialFingerprints":{"codehealthFindingId/v1":"001775c15f35b92e5838140dec0f325a382233b93ed1d8d201ed108fb24f266c"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalShellInterface.CmdLs (cognitive 22): LocalShellInterface.CmdLs has cognitive complexity 22 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SShClient/LocalShellInterface.vb"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"3543b0b647db8c77277ac0e96e8f0a1287e361705f4620754048e810f97c06ee"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalShellInterface.CmdCp (cognitive 22): LocalShellInterface.CmdCp has cognitive complexity 22 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SShClient/LocalShellInterface.vb"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a5d6b1a95122eda5c16558c5fb5ce9276ccd3cff99fcc10a033fd30dcac9c8a"}},{"ruleId":"D2","level":"warning","message":{"text":"TerminalBuffer.ProcessAnsi (cognitive 21): TerminalBuffer.ProcessAnsi has cognitive complexity 21 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"console/WinForm/TerminalBuffer.vb"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"693dcd3445b43d19466897b3f8acae877c267239f98858babaeca544cd0317fe"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalShellInterface.ParseTokens (cognitive 21): LocalShellInterface.ParseTokens has cognitive complexity 21 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SShClient/LocalShellInterface.vb"},"region":{"startLine":2325}}}],"partialFingerprints":{"codehealthFindingId/v1":"adfd87ff2629426754ff4b15ba422d5272bb4def68f44bfcae24bf40b6f6fd0e"}},{"ruleId":"D2","level":"warning","message":{"text":"AnsiEscapeRenderer.ParseAndApply (cognitive 20): AnsiEscapeRenderer.ParseAndApply has cognitive complexity 20 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"console/AnsiEscapeRenderer.vb"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ef9eb59594c4d39cd79e3c28ddc211dda235343c868f83d62030ac493633b0f"}},{"ruleId":"D2","level":"warning","message":{"text":"AnsiEscapeRenderer.ApplyExtendedColor (cognitive 20): AnsiEscapeRenderer.ApplyExtendedColor has cognitive complexity 20 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"console/AnsiEscapeRenderer.vb"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbc24a2a516b66c68563a30139c7edbd381be6dfb36bdc9503a01dd499be53b8"}},{"ruleId":"D2","level":"warning","message":{"text":"TerminalMessage.Parse (cognitive 19): TerminalMessage.Parse has cognitive complexity 19 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"console/WebView2/TerminalMessage.vb"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccb3ff7980f357d263d2da6568bc025f91a0596584a5dbda1b1a9a0f6967f745"}},{"ruleId":"D2","level":"warning","message":{"text":"ansi-parser.findIncompleteTail (cognitive 18): ansi-parser.findIncompleteTail has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 2, loops 1 (2 pts), ternaries 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"console/WebView2/wwwroot/ansi-parser.js"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"caaaedf70032df2ceb3998ed664a3455d15f93d60d1aaf935a6c8de7685f1624"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalShellInterface.CmdFind (cognitive 17): LocalShellInterface.CmdFind has cognitive complexity 17 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SShClient/LocalShellInterface.vb"},"region":{"startLine":1142}}}],"partialFingerprints":{"codehealthFindingId/v1":"df9f092b658437aaaaf840f44b85e5f918a191c6f7cbf1c7283df6e40d04f2cd"}},{"ruleId":"D2","level":"warning","message":{"text":"SshProcessInterface.ReadLoop (cognitive 17): SshProcessInterface.ReadLoop has cognitive complexity 17 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SShClient/SshProcessInterface.vb"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"213d05b34772e0e064bcbce3f9261f28951d0104c105fde476140fd7048f34c7"}},{"ruleId":"D2","level":"warning","message":{"text":"ansi-parser.AnsiParser.handleEscape (cognitive 17): ansi-parser.AnsiParser.handleEscape has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 2, loops 1 (2 pts), ternaries 1 (2 pts), match/switch 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"console/WebView2/wwwroot/ansi-parser.js"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"edb86152f7732181e8baeaacaf014a13c53c0e0ca7586bd2388da174ec5885ce"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalShellInterface.CmdLn (cognitive 16): LocalShellInterface.CmdLn has cognitive complexity 16 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SShClient/LocalShellInterface.vb"},"region":{"startLine":1254}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d19723575f099c1b117818667ca9e7cdafd809eb561db65c84fb5a4878e8402"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalShellInterface.CmdPs (cognitive 16): LocalShellInterface.CmdPs has cognitive complexity 16 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SShClient/LocalShellInterface.vb"},"region":{"startLine":1766}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc2939e45f55d8a8347fe59b0e46dc4634dc3530f9bb31420e0669d533642265"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: SShClient/LocalShellInterface.vb: FileTooLong \u2014 1912 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1412 over it, 3.82\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":"SShClient/LocalShellInterface.vb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c7489ec9e8439fa4061323cb2b7ef0ef375d6e8b6a9a9268b91c56d638ab1a2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LocalShellInterface: TooManyMethods \u2014 1907 significant lines (blank, comment-only and punctuation-only lines excluded), 78 methods. The bar is 30 methods; this is 48 over it, 2.60\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SShClient/LocalShellInterface.vb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"adcf448b356c9f6f19db222a44c84b63050d893d9a3c3618e99bfdb0c0f7233d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WebViewConsole: TooManyMethods \u2014 560 significant lines (blank, comment-only and punctuation-only lines excluded), 45 methods. The bar is 30 methods; this is 15 over it, 1.50\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"console/WebView2/WebViewConsole.vb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf952c4b97ce251a8c5c0b9772efc5dadde9ec6225d6573a8a03447d183999d6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LocalShellInterface.WriteInput: MethodTooLong \u2014 WriteInput runs 136 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 36 over it, 1.36\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SShClient/LocalShellInterface.vb"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bd273f5e8d26f6881549eb6e28812f5ca6365dc8e07ff1a326fefbb89cc9bae"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: WebView2/WebViewConsole.vb: FileTooLong \u2014 565 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 65 over it, 1.13\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":"console/WebView2/WebViewConsole.vb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6a8f45b687fda06795e7272bb63455242af372033479ce90fa15f1815e4fa23"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ConsoleControl: ClassTooLong \u2014 414 significant lines (blank, comment-only and punctuation-only lines excluded), 26 methods. The bar is 400 significant lines; this is 14 over it, 1.04\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"console/WinForm/ConsoleControl.vb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6d2a7de6e82987222a4865aae9bf20b2d883170cd06679f9eaaeaeb6b980602"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): console/WebView2/WebViewConsole.vb:909-923 | console/WebView2/WebViewConsole.vb:937-949 | console/WinForm/ConsoleControl.vb:756-775 | console/WinForm/ConsoleControl.vb:784-801 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"console/WebView2/WebViewConsole.vb"},"region":{"startLine":909}}}],"partialFingerprints":{"codehealthFindingId/v1":"07d5c0bfcfee735bd46f173a41210353c0942bb50717585c534bb68f22c12be6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): SShClient/LocalShellInterface.vb:911-949 | SShClient/LocalShellInterface.vb:953-996 \u2014 These two members are one piece of code written twice and then edited apart: 39 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SShClient/LocalShellInterface.vb"},"region":{"startLine":911}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cf8f2ede1107f910c4675522d891ae4a0a07417cdcf3ec64d079d6ddd52330c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): SShClient/LocalShellInterface.vb:1925-1939 | SShClient/LocalShellInterface.vb:1950-1964 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SShClient/LocalShellInterface.vb"},"region":{"startLine":1925}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1100b743abe891705605a9fa81163cad38e30c090b43b188932471396b3ae88"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): console/Win32/AbstractProcessInterface.vb:220-232 | console/Win32/AbstractProcessInterface.vb:254-266 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"console/Win32/AbstractProcessInterface.vb"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f5504a22f8ef8c25c8ed15bd131a877d7e43911bbfe4516f459d3b2b42c7fad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): SShClient/SshProcessInterface.vb:269-281 | SShClient/SshProcessInterface.vb:291-301 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SShClient/SshProcessInterface.vb"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"11372d002f502a6925a97d4c772188f3af3aaa846f92019637176a910a2dd6eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): console/WebView2/WebViewConsole.vb:964-970 | console/WinForm/ConsoleControl.vb:330-337 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"console/WebView2/WebViewConsole.vb"},"region":{"startLine":964}}}],"partialFingerprints":{"codehealthFindingId/v1":"152e93bc3bd410714d5c656c83bf52d83a70ce26aa20d9a7fd50dff5123fbce3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): console/WebView2/WebViewConsole.vb:417-418 | console/WinForm/ConsoleControl.vb:377-382 \u2014 These two members are one piece of code written twice and then edited apart: 2 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"console/WebView2/WebViewConsole.vb"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8f22936d569c069d8183181e84c9924302b03e006a22f5275427b8ccfe007b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): SShClient/LocalShellInterface.vb:1729-1737 | SShClient/LocalShellInterface.vb:1901-1909 \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":"SShClient/LocalShellInterface.vb"},"region":{"startLine":1729}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fe697cf71510db184ac2d3297e804d813963b97ab5e9d51081d1b9e4e8a6d54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): console/WebView2/WebViewConsole.vb:938-947 | console/WinForm/ConsoleControl.vb:785-793 \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":"console/WebView2/WebViewConsole.vb"},"region":{"startLine":938}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6650a3ad4b2ac14ae90d8d4b3922eb0ea6e4205771e737586139d1f416befc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): console/WinForm/ConsoleControl.vb:760-766 | console/WinForm/ConsoleControl.vb:788-794 \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":"console/WinForm/ConsoleControl.vb"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e51475334edb6e1999a29c05630d29f86a4b0c71444b7b573341ca2d8c83f57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): console/WebView2/WebViewConsole.vb:914-919 | console/WebView2/WebViewConsole.vb:942-947 \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":"console/WebView2/WebViewConsole.vb"},"region":{"startLine":914}}}],"partialFingerprints":{"codehealthFindingId/v1":"054443ffbec88f16bc5484b9d288c8edcc98eb376343af460e28cf7a4fa5a845"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): console/WebView2/WebViewConsole.vb:909-915 | console/WinForm/ConsoleControl.vb:756-761 \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":"console/WebView2/WebViewConsole.vb"},"region":{"startLine":909}}}],"partialFingerprints":{"codehealthFindingId/v1":"2569e337059b000a74a5de3f8de6317ef3742204313583face6960096abb96bd"}},{"ruleId":"D8","level":"warning","message":{"text":"Coverage not measured \u2014 test suite did not build: Coverage NOT MEASURED: this repository did not build in our analyzer environment (a C#/MSBuild compiler error), so no coverage could be collected. It is excluded from the score rather than counted as a near-zero defect. We did not read WHERE the failing diagnostic is, so this does not claim the fault is in your test code \u2014 a repository written for an older SDK band can compile for you and not for us. Run \u0060dotnet build\u0060 on this commit; if it succeeds, the gap is ours. Committing the Cobertura/OpenCover/lcov report your CI already produces also lets us measure real coverage without building anything."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"62e63e619c28f057e129f2997c965d32a457366a9ce18ca019ffb6bdfba85c99"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: console/WinForm/ConsoleControl.vb: console/WinForm/ConsoleControl.vb changed 20 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 42 in ConsoleControl.richTextBoxConsole_KeyDown at line 390. 5 of those changes were fix/bug commits, and the other 15 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-18..2026-10-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-18 04:03:14 \u002B08:00\u0027 --until=\u00272026-10-16 04:03:14 \u002B08:00\u0027 --full-history --no-merges -- console/WinForm/ConsoleControl.vb\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":"console/WinForm/ConsoleControl.vb"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"15824f2747ffa1d0845ad598e9348aa5a9c8be1867b8e2ccdc9879c9c66e49c3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: SShClient/LocalShellInterface.vb: SShClient/LocalShellInterface.vb changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in LocalShellInterface.CmdCut at line 1379. 3 of those changes were fix/bug commits, and the other 3 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-18..2026-10-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-18 04:03:14 \u002B08:00\u0027 --until=\u00272026-10-16 04:03:14 \u002B08:00\u0027 --full-history --no-merges -- SShClient/LocalShellInterface.vb\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":"SShClient/LocalShellInterface.vb"},"region":{"startLine":1379}}}],"partialFingerprints":{"codehealthFindingId/v1":"4314bb681f862abc151ea9f057bb93ebfa01baa592f839d28949b7178090b5a5"}},{"ruleId":"D16","level":"note","message":{"text":"Small-team knowledge concentration: 14 file(s) are concentrated to one author \u2014 the ambient state with 2 active author(s), not 14 separate risks. The signal becomes meaningful as ownership spreads; no per-file action implied now."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8aa75b6daa18f1b578387fa04036c50b3163d47f957c8f5601bf083ed4489b0c"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SShClient/LocalShellInterface.vb"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3e6bac3fbe1c40d416c206c473a00e10edf5c22f2e8014edff2a0e5f5bdb350"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SShClient/LocalShellInterface.vb"},"region":{"startLine":1197}}}],"partialFingerprints":{"codehealthFindingId/v1":"0caa97fbcbf4c5df9d7535121c6e6f0a8cbbb7399212614eb7ef411baa02d749"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SShClient/LocalShellInterface.vb"},"region":{"startLine":1782}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce5b3099f7bfb1a89ad402e2b7c89b2fce1556fb19b5653ebdf801d3c7f2ce11"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SShClient/LocalShellInterface.vb"},"region":{"startLine":1786}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9ec544b2b272286d8400bc50a1a1879047c02731465f5eaa9acaa0247d01eba"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SShClient/LocalShellInterface.vb"},"region":{"startLine":1789}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec356c83269bd950dab237eb26ea6649a273465796fc70dee46e48b9a6c67928"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SShClient/LocalShellInterface.vb"},"region":{"startLine":1848}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6f184e87ef9d20037b869bbd9c8b8fe4ae1d2f5a82e52fece476f979b3ced25"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SShClient/LocalShellInterface.vb"},"region":{"startLine":1880}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea95792d015579f1feb54dccec3522e6fa10aee4e5c53d877c4e4e078c750f23"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SShClient/SshProcessInterface.vb"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd0e05fdb3561bc2ba60381841242960e489b04d154b432e16df0f296c601f5"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SShClient/SshProcessInterface.vb"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bac3e15ceb6cd2d480baee27ec519c8f71ad7218f39dfe6bb5ba963039e97f6"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SShClient/SshProcessInterface.vb"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6338a20ed0fbcfc0ffd345e3d4e8c9fca7dfabf42bc2ac11957a99bbfd1c3e4"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bash/lsd/FileSystemScanner.vb"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"5db57511a125a71644642a214de853e1f36bcd9890b8124deb3fbebc96295b4c"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bash/lsd/LsRenderer.vb"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"57d13d3acc0a524b516f06514b2f7fed6820cf6f56417c7a7e8ae3f5e4e92ab1"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"console/WebView2/WebViewConsole.vb"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"086cbbf811a1ae2fb2398f2f44abd6c1a2aa0831c5cf45d46b29c66a1de20b10"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"console/WebView2/WebViewConsole.vb"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"2745215edcd07302814f556f056f9821b37dc4c5470098a2adf904629cc325ee"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"console/WebView2/WebViewConsole.vb"},"region":{"startLine":1046}}}],"partialFingerprints":{"codehealthFindingId/v1":"a43f27bc5941ca20844133207c1290f53359bb0a9a1188ac1e4c717d91fcfffa"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"console/Win32/ProcessInterface.vb"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"886c4d78112c9f3e1528d318b780eb150eb9887f2505adb4325f2e08e6128c1a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: \u0027 TODO: dispose managed state (managed objects) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060\u0027 REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"console/Win32/AbstractProcessInterface.vb"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"59691ce5e40b56c5a7339d5704b454b6661e2d8dc8c4d93ba8dc582a658f8d64"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: \u0027 TODO: free unmanaged resources (unmanaged objects) and override finalizer \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060\u0027 REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"console/Win32/AbstractProcessInterface.vb"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4c655ee00ddfd98f9190e615aaeeeb8b7964564a94c24ac60bd690b2060757b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: \u0027 TODO: set large fields to null \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060\u0027 REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"console/Win32/AbstractProcessInterface.vb"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc56f41b2606806ae41cff4c4e0732a1bcc6d3e672bb984fc08c2ec613d16e38"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: \u0027 \u0027 TODO: override finalizer only if \u0027Dispose(disposing As Boolean)\u0027 has code to free unmanaged resources \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060\u0027 REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"console/Win32/AbstractProcessInterface.vb"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ab4a956053a4d28cc39f20813dddd78ca698b09448b30140c1e42a9c0bfe495"}},{"ruleId":"D17","level":"error","message":{"text":"OnErrorResumeSwallow: On Error Resume Next silently swallows every runtime error until the enclosing method returns \u2014 scope it with a paired \u0060On Error GoTo 0\u0060 and check \u0060Err.Number\u0060, or convert to a \u0060Try\u2026Catch\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"console/Win32/AbstractProcessInterface.vb"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6a4e9d9e79889767c3096bb8a375437d52851e7dbffa11f6117e428dcf394a9"}},{"ruleId":"D18","level":"warning","message":{"text":"Solution references a project that does not exist: \u0060console.sln\u0060 declares 1 project file(s) that are missing from the tree (\u0060Core.vbproj\u0060). A solution-level restore or build fails on a dangling reference, so anyone building the solution rather than an individual project is blocked. Delete the stale entry from the solution, or restore the missing project file."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"console.sln"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9074e1661a6fe74631197f3f2164fa6b54fb0013068c962f9acbf10da6db0c48"}},{"ruleId":"D18","level":"warning","message":{"text":"Solution references 2 projects that do not exist: \u0060bash/bash.slnx\u0060 declares 2 project file(s) that are missing from the tree (\u0060Core.vbproj\u0060, \u0060JSON-netcore5.vbproj\u0060). A solution-level restore or build fails on a dangling reference, so anyone building the solution rather than an individual project is blocked. Delete the stale entry from the solution, or restore the missing project file."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bash/bash.slnx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"79bc214d218bba47a86ffe4700c7533dac38dfd58aab4091e779e2e70dfe31fc"}},{"ruleId":"D18","level":"note","message":{"text":"Thin analysable surface across projects: jq: 2 project(s) carry only a thin slice of real code; \u0060jq\u0060 has 26 significant line(s). The mean analysable-surface weight is 74 %; this project lowers Solution Shape by about 1.2 point(s). Consolidate it or grow it into a substantial, well-scoped assembly."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bash/jq/jq.vbproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"28df0238bfd553010d0e3f968f06b6b6c5353a3be6cb68a394637417e0776f07"}},{"ruleId":"D18","level":"note","message":{"text":"Thin analysable surface across projects: test: 2 project(s) carry only a thin slice of real code; \u0060test\u0060 has 33 significant line(s). The mean analysable-surface weight is 74 %; this project lowers Solution Shape by about 0.85 point(s). Consolidate it or grow it into a substantial, well-scoped assembly."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/test.vbproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b08eaae5c7e81dec2cb64061b9345fa969aa9f05dd14e046b45a1627fa5032"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060SShClient/SShClient.vbproj\u0060 makes this repository a deployable product (line 6)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SShClient/SShClient.vbproj"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"be50d67b9fba64ab0939a54ddbc1c08adee9045c48b2092dc9d6656e8cd6773c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Split user@host.\u0022 repeats the code it sits on: 3 of its 3 words (split, user, host) are already in \u0060Dim parts As String() = userAtHost.Split({\u0022@\u0022c}, StringSplitOptions.None)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SShClient/LocalShellInterface.vb"},"region":{"startLine":2289}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3a710734865fbf16b49609fd380f69ff354bbd2e5b658b9ad189561fd1cbb25"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create the process start info.\u0022 repeats the code it sits on: 4 of its 4 words (create, process, start, info) are already in \u0060StartProcess(New ProcessStartInfo(fileName, arguments) With {.WorkingDirectory = If(workspace, App.CurrentDirectory)})\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"console/Win32/ProcessInterface.vb"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"6391b685b8fbdc18291f0b7b00245a8ae5073bf0b9637ee62906b10b4da73a38"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Fire process exited.\u0022 repeats the code it sits on: 3 of its 3 words (fire, process, exited) are already in \u0060Call FireProcessExitEvent(exitCode)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"console/Win32/ProcessInterface.vb"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3e9f2081684f8c654be1e1b0d7713c255668278efc5c5c21bff59e7e6b5d41a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 6 comments in this file only repeat the code they sit on (lines 315, 318, 336, 447, 450, 488), for example \u0022Write the output, in red\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"console/WinForm/ConsoleControl.vb"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d0e3b714d762821a4dc82cef7125951a79b10da5f3deea68d1d5f544f16c2dd"}},{"ruleId":"M1","level":"note","message":{"text":"Thin README: The root README is 85 words, against a bar of 120. Of the three newcomer-critical sections this check looks for by heading, in the README and in the repository documents it links, it found no a build/run or getting-started section, no a testing section, no an architecture or project-map section. Sections are matched on HEADING text only, so material written under a heading this check does not recognise \u2014 or with no heading at all \u2014 is not seen and this row may understate what the document covers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c88b11295dc6ac6146c259ace6043143959f96dc98628f8c8578b6c5f95b8149"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"P1","level":"warning","message":{"text":"No CI pipeline: No CI workflow found (.github/workflows, azure-pipelines.yml, .gitlab-ci.yml, \u2026) \u2014 changes aren\u0027t gated by an automated build/test."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"44f01af96e50474fba2df84d95ddf4f7e1d34c29c307830b9efc9057daa6b670"}},{"ruleId":"P10","level":"note","message":{"text":"No explicit versioning: No explicit version was found by any of the six routes this check reads: a \u0060\u003CVersion\u003E\u0060 or \u0060\u003CVersionPrefix\u003E\u0060 property; a \u0060GitVersion\u0060 or \u0060MinVer\u0060 reference; the split Arcade spelling (\u0060\u003CMajorVersion\u003E\u0060 AND \u0060\u003CMinorVersion\u003E\u0060 together); a hand-written \u0060[assembly: AssemblyVersion]\u0060 in source, with \u0060bin/\u0060 and \u0060obj/\u0060 excluded so the SDK\u0027s generated AssemblyInfo cannot satisfy it; or a version handed to MSBuild by the pipeline, as \u0060-p:Version=\u0060 / \u0060-p:PackageVersion=\u0060 on a \u0060dotnet build\u0060 or \u0060dotnet pack\u0060 line. Only project files, first-party source and CI files are read, so a version computed somewhere none of those can see is invisible here. A published library needs explicit semantic versioning so consumers can reason about breaking changes."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f25ed74033b9d9b8444441f8dacb71f30e7bc88fc4c32bea7aeaebd4fda20968"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add a Roslyn security analyzer package referenced from the project (the analyzer packages do analyse VB.NET), plus gitleaks for committed secrets \u2014 CodeQL has no VB.NET extractor, so its csharp pack would extract nothing from this tree and then report it clean \u2014 this repository has no CI pipeline yet, so run it locally to clear the existing findings, then make it a step of the first workflow you add so a regression fails the build. What was searched, so you can tell an absence from a miss: the 0 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":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060SShClient/SShClient.vbproj\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SShClient/SShClient.vbproj"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ebb1cdc11f78b68983b9dc2ac6748acbefccd3596c42500943deab94e1fb65"}},{"ruleId":"SC1","level":"warning","message":{"text":"NuGet dependencies are not locked: No packages.lock.json and no central package management \u2014 restores aren\u0027t reproducible or pinned (SSDF PW.4.4). Enable \u003CRestorePackagesWithLockFile\u003Etrue\u003C/RestorePackagesWithLockFile\u003E (commit the lockfile) or adopt Directory.Packages.props. Advisory \u2014 never scored."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0a97b4f69ccac509400ece7eedefb06d3ede0522cd4d8bcb5c068bea719545a6"}}],"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-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-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]}],"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":0,"secretScannerRunsExcluded":0}}}]}