{"$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":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"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":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D22","name":"Internal API Consistency","shortDescription":{"text":"Internal API Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D22"},{"id":"D23","name":"Boundary Type-Coupling","shortDescription":{"text":"Boundary Type-Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D23"},{"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"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"]}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"]}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"]}}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"TableRenderer.Render (cyclomatic 69): TableRenderer.Render has cyclomatic complexity 69 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Spectre.Console/Widgets/Table/TableRenderer.cs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"37aa2c584215c3fcaf3e964170c6455f477d38a3f83e6bb08675753ccaa1b7d4"}},{"ruleId":"D1","level":"warning","message":{"text":"FigletText.SmushChars (cyclomatic 45): FigletText.SmushChars has cyclomatic complexity 45 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Spectre.Console/Widgets/Figlet/FigletText.cs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"581f2da9f0b3a67efe01ec93ce30ea9c2eeee1d6e7f352c7b2784a2324989686"}},{"ruleId":"D1","level":"warning","message":{"text":"ListPromptState.Update (cyclomatic 37): ListPromptState.Update has cyclomatic complexity 37 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Spectre.Console/Prompts/List/ListPromptState.cs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"46182ebc67971363697a9679e2fec80754c97f21984b6c0724a773e8a9c3feb6"}},{"ruleId":"D1","level":"warning","message":{"text":"AnsiMarkupTagParser.Parse (cyclomatic 21): AnsiMarkupTagParser.Parse has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Spectre.Console.Ansi/AnsiMarkupTagParser.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"51e4ddea08c2126573bb9d78cf42ec974e752f52f9d173cbfd0492745762e5df"}},{"ruleId":"D1","level":"warning","message":{"text":"MarkupTokenizer.ReadMarkup (cyclomatic 20): MarkupTokenizer.ReadMarkup has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Spectre.Console.Ansi/AnsiMarkup.cs"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4be83395c71448e9b6203ef9c8aeb430daa802e1302ce429e954e376d2582b4"}},{"ruleId":"D1","level":"warning","message":{"text":"AnsiConsoleExtensions.ReadLine (cyclomatic 19): AnsiConsoleExtensions.ReadLine has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Spectre.Console/Extensions/AnsiConsoleExtensions.Input.cs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c4c273a50aef7142ff492c3a3f8cc2f0b3db1f2381505f2d5e8bc5c0449e107"}},{"ruleId":"D1","level":"warning","message":{"text":"Panel.Render (cyclomatic 19): Panel.Render has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Spectre.Console/Widgets/Panel.cs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3130e435245160124476ba91cc6051e1f09e84771dc6ed103843d4bcdb25658"}},{"ruleId":"D1","level":"warning","message":{"text":"SelectionPrompt.Render (cyclomatic 17): SelectionPrompt.Render 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":"src/Spectre.Console/Prompts/SelectionPrompt.cs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0a4300144e6b06c1c6611e9a669a8fad534d2e3d75aca204606d02cd4bd37bc"}},{"ruleId":"D1","level":"warning","message":{"text":"Segment.SplitLines (cyclomatic 17): Segment.SplitLines 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":"src/Spectre.Console/Rendering/Segment.cs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe43de639dc248bbeb9d240c727c290b6370d7dc6a76bd38c21bbba0feafc791"}},{"ruleId":"D1","level":"warning","message":{"text":"Canvas.RenderUnicode (cyclomatic 16): Canvas.RenderUnicode has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Spectre.Console/Widgets/Canvas.cs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"7918484812e635e8dbe7bded4a3a3e1ba2c9858c09befa84e4ffc9bc59b48753"}},{"ruleId":"D1","level":"warning","message":{"text":"FigletText.Render (cyclomatic 16): FigletText.Render has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Spectre.Console/Widgets/Figlet/FigletText.cs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fd95fac55a9ae0f6b8743a28147ab505f176914e4d2b684ca33c137f9940b71"}},{"ruleId":"D1","level":"warning","message":{"text":"ProgressBar.Render (cyclomatic 16): ProgressBar.Render has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Spectre.Console/Widgets/ProgressBar.cs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"2424fed856044a37e7b06b268c1887e3a272673cb71fe2722d08d1cd992aaa90"}},{"ruleId":"D2","level":"warning","message":{"text":"TableRenderer.Render (cognitive 147): TableRenderer.Render has cognitive complexity 147 (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":"src/Spectre.Console/Widgets/Table/TableRenderer.cs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"26e4f9fe21f10f8f03661e9690da36e9b5d7b271a0c0dd35fe56608731fd438b"}},{"ruleId":"D2","level":"warning","message":{"text":"AnsiMarkupTagParser.Parse (cognitive 58): AnsiMarkupTagParser.Parse has cognitive complexity 58 (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":"src/Spectre.Console.Ansi/AnsiMarkupTagParser.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"815634bd5d1e2cb6fecc789f7015078e65b4f48757ea84f4b99c87c44060959d"}},{"ruleId":"D2","level":"warning","message":{"text":"Segment.SplitLines (cognitive 47): Segment.SplitLines has cognitive complexity 47 (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":"src/Spectre.Console/Rendering/Segment.cs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"916ba85b367d04cd93b64939fe180839cd61c0a49aa1a033822d1630308b51d6"}},{"ruleId":"D2","level":"warning","message":{"text":"AnsiConsoleExtensions.ReadLine (cognitive 41): AnsiConsoleExtensions.ReadLine has cognitive complexity 41 (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":"src/Spectre.Console/Extensions/AnsiConsoleExtensions.Input.cs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"e32eb60ff05659f0e96889764c9ed336f2f39141ad7401ef65eaf0fb1bf6dbf0"}},{"ruleId":"D2","level":"warning","message":{"text":"ListPromptState.Update (cognitive 40): ListPromptState.Update has cognitive complexity 40 (threshold 15). Of this number, 36 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Spectre.Console/Prompts/List/ListPromptState.cs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ac1934e2e0e3e2d53d1554a0d4b2d1489cc8f4225e93116822be85ee17a3b32"}},{"ruleId":"D2","level":"warning","message":{"text":"FigletText.Render (cognitive 36): FigletText.Render 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":"src/Spectre.Console/Widgets/Figlet/FigletText.cs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"71f91c635deddb518d9a9171da816c68e1cf5769588320fa9bbf40d4cfa79245"}},{"ruleId":"D2","level":"warning","message":{"text":"FigletText.SmushChars (cognitive 36): FigletText.SmushChars has cognitive complexity 36 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Spectre.Console/Widgets/Figlet/FigletText.cs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc28fc37302d39f51f37072140d3d7fe640c9166fca254d417f1efbe4f9c2923"}},{"ruleId":"D2","level":"warning","message":{"text":"Tree.Render (cognitive 32): Tree.Render has cognitive complexity 32 (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":"src/Spectre.Console/Widgets/Tree.cs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d7d2ec1db09646c70dae4ccbcf2836b02e045d0da983a4dc5a916bcfe523922"}},{"ruleId":"D2","level":"warning","message":{"text":"Paragraph.SplitLines (cognitive 31): Paragraph.SplitLines has cognitive complexity 31 (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":"src/Spectre.Console/Widgets/Paragraph.cs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc4b8e57295d139d8c191c41e9f29661346f688066341d7530921115a147e90c"}},{"ruleId":"D2","level":"warning","message":{"text":"LiveRenderable.Render (cognitive 29): LiveRenderable.Render has cognitive complexity 29 (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":"src/Spectre.Console/Live/LiveRenderable.cs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"4332aa967fcd00c1d3abf748560c40726e6ff2e97c8240c17560dc23741bc66e"}},{"ruleId":"D2","level":"warning","message":{"text":"TextPrompt.ShowAsync (cognitive 28): TextPrompt.ShowAsync has cognitive complexity 28 (threshold 15). Most of this is not in the body itself: 0 of the 28 points are its own statements and the rest belongs to one function literal inside it that branches (line 129). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Spectre.Console/Prompts/TextPrompt.cs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"998dc8f7f5e835da118effaef0cbb44e55e522fa5ff9b7144c7e0949c82e6664"}},{"ruleId":"D2","level":"warning","message":{"text":"Panel.Render (cognitive 27): Panel.Render has cognitive complexity 27 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Spectre.Console/Widgets/Panel.cs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"2446606eb02b51e51476dd3febdbf58b0140d1fdfcdd64c6ebdecd235d9f0b06"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkupTokenizer.ReadMarkup (cognitive 26): MarkupTokenizer.ReadMarkup has cognitive complexity 26 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Spectre.Console.Ansi/AnsiMarkup.cs"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c817b8bcf63c03839cd362a3f6aa72789e1c00d5241cb7d79f957ed307fcd3a"}},{"ruleId":"D2","level":"warning","message":{"text":"HtmlEncoder.Encode (cognitive 26): HtmlEncoder.Encode 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":"src/Spectre.Console/Internal/Text/Encoding/HtmlEncoder.cs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"c52d38baec6148fd2baa0c3b6444ae735a932b6e6993b320c7cccacfbde8ba18"}},{"ruleId":"D2","level":"warning","message":{"text":"AnsiMarkupHighlighter.Highlight (cognitive 25): AnsiMarkupHighlighter.Highlight 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":"src/Spectre.Console.Ansi/AnsiMarkupHighlighter.cs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ccd8209d3cd75e1c8850873e593b6d6c3c161f3a682dadf0132e5ed10556704"}},{"ruleId":"D2","level":"warning","message":{"text":"TableMeasurer.MeasureColumn (cognitive 25): TableMeasurer.MeasureColumn 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":"src/Spectre.Console/Widgets/Table/TableMeasurer.cs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"074d121fc9d719aa10b55b1ce5932401a97364ca89cc3626dd290a7c541211db"}},{"ruleId":"D2","level":"warning","message":{"text":"CircularBuffer.Insert (cognitive 24): CircularBuffer.Insert has cognitive complexity 24 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Spectre.Console/Internal/CircularBuffer.cs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"22f0c45592c39280bae13eb00ae770b4d99ca4c3b43ac63184cd033c18b6c701"}},{"ruleId":"D2","level":"warning","message":{"text":"SelectionPrompt.Render (cognitive 23): SelectionPrompt.Render has cognitive complexity 23 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Spectre.Console/Prompts/SelectionPrompt.cs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"0527b0534166a5b5c73e6d74d5af02446d0ffd7199516afe9938cb5527e787ef"}},{"ruleId":"D2","level":"warning","message":{"text":"Canvas.RenderUnicode (cognitive 21): Canvas.RenderUnicode has cognitive complexity 21 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Spectre.Console/Widgets/Canvas.cs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"800c094c835e988a06a421a7f27b939515d70141ed4ba832bbb7f8849c71e781"}},{"ruleId":"D2","level":"warning","message":{"text":"ProgressBar.Render (cognitive 21): ProgressBar.Render has cognitive complexity 21 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Spectre.Console/Widgets/ProgressBar.cs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"46e36147f46725248aff920d89849a1c07df66a618c448387980a8772e4bc4d2"}},{"ruleId":"D2","level":"warning","message":{"text":"Ratio.Resolve (cognitive 19): Ratio.Resolve has cognitive complexity 19 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Spectre.Console/Internal/Ratio.cs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b892aa886d95f9ab12d5e54ae756747dd89ae33ce4b0046a1a9afa6eb5a843"}},{"ruleId":"D2","level":"warning","message":{"text":"SegmentLineIterator.MoveNext (cognitive 19): SegmentLineIterator.MoveNext 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":"src/Spectre.Console/Rendering/SegmentLineIterator.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dd06b0fe2949a50546c2ce63222a405793e8d8c55a3006c731a45a4504b0540"}},{"ruleId":"D2","level":"warning","message":{"text":"TextPath.Fit (cognitive 19): TextPath.Fit 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":"src/Spectre.Console/Widgets/TextPath.cs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0c91a527ac3705b35ebf999fa9c5cec2353bace3f8d358bc515768fbe28e08f"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonTokenizer.Tokenize (cognitive 19): JsonTokenizer.Tokenize 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":"src/Extensions/Spectre.Console.Json/JsonTokenizer.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"90de8992a8bc85c7c4a25f7531241a34970d61572b07472efe9dac4923a21a60"}},{"ruleId":"D2","level":"warning","message":{"text":"ColorSystemDetector.Detect (cognitive 18): ColorSystemDetector.Detect has cognitive complexity 18 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Spectre.Console.Ansi/ColorSystemDetector.cs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9d8c1968d32725d603375bf09b7b310acd055cbef526bbbadd0d69927a6cc9d"}},{"ruleId":"D2","level":"warning","message":{"text":"FigletText.GetRows (cognitive 18): FigletText.GetRows has cognitive complexity 18 (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":"src/Spectre.Console/Widgets/Figlet/FigletText.cs"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"942ba840d121beeef66cda049d92db2f59a9b02f28fd4c0099919aeafc49ccb6"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiSelectionPrompt.HandleInput (cognitive 17): MultiSelectionPrompt.HandleInput has cognitive complexity 17 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Spectre.Console/Prompts/MultiSelectionPrompt.cs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b2cea3173584f8908d5fd84765e687153ca6050d185ffc5b7fedeaa411fdefa"}},{"ruleId":"D2","level":"warning","message":{"text":"Align.Render (cognitive 17): Align.Render has cognitive complexity 17 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Spectre.Console/Widgets/Align.cs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f2459c0cedb286c87aec9e95e9591d84d03feb5b5cda2ceccb40ba8c833a806"}},{"ruleId":"D2","level":"warning","message":{"text":"Calendar.Build (cognitive 17): Calendar.Build has cognitive complexity 17 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Spectre.Console/Widgets/Calendar.cs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a239bc20d8654d0bb31130117a4e8ae5d70800fd4eed0fe49ee3e022e11d39d"}},{"ruleId":"D2","level":"warning","message":{"text":"ExceptionInfoResolver.TryGetTupleName (cognitive 17): ExceptionInfoResolver.TryGetTupleName has cognitive complexity 17 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"src/Spectre.Console/Widgets/Exceptions/ExceptionInfoResolver.cs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"77387d3162956dd44437cedbbf33d016dcbc2c486f8b480c526544008f7aa88b"}},{"ruleId":"D2","level":"warning","message":{"text":"TypeNameHelper.ProcessGenericType (cognitive 17): TypeNameHelper.ProcessGenericType has cognitive complexity 17 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Spectre.Console/Widgets/Exceptions/TypeNameHelper.cs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"6942b00307daa44f8f84e7bdcba1297938fecf5f6210a0d10cb783e38f0c65ab"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkdownTableBorder.GetColumnRow (cognitive 16): MarkdownTableBorder.GetColumnRow has cognitive complexity 16 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Spectre.Console/Rendering/Borders/Tables/MarkdownTableBorder.cs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"13dcb5b25379fcafa972f443f8261ecd0234b814b72a75c2cdfdaa9a5993254e"}},{"ruleId":"D2","level":"warning","message":{"text":"ExceptionRenderableBuilder.GetStackFrames (cognitive 16): ExceptionRenderableBuilder.GetStackFrames has cognitive complexity 16 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Spectre.Console/Widgets/Exceptions/ExceptionRenderableBuilder.cs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"998a8e6aedffad61f5b261dd91ecbb335ea63cba432960bdc019c3cd87daff36"}},{"ruleId":"D2","level":"warning","message":{"text":"TypeNameHelper.ProcessType (cognitive 16): TypeNameHelper.ProcessType has cognitive complexity 16 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Spectre.Console/Widgets/Exceptions/TypeNameHelper.cs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4d33f773d35201aec6b242f9718e271aa52680447e8ab3dbe92467f53fbe06b"}},{"ruleId":"D2","level":"warning","message":{"text":"FigletFontParser.Parse (cognitive 16): FigletFontParser.Parse has cognitive complexity 16 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Spectre.Console/Widgets/Figlet/FigletFontParser.cs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f46423d07e1f0b7b456963e63a9245e55bd82516d970f8af248053ab2fa1281"}},{"ruleId":"D2","level":"warning","message":{"text":"TableMeasurer.CollapseWidths (cognitive 16): TableMeasurer.CollapseWidths has cognitive complexity 16 (threshold 15). Of this number, 8 points are the body\u0027s own statements and 8 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Spectre.Console/Widgets/Table/TableMeasurer.cs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fc66a1ca360db97a2cbdea33e7a17d8367965bbc5bdbc99a92e66eef41a481d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AnsiConsole: TooManyMethods \u2014 230 significant lines (blank, comment-only and punctuation-only lines excluded), 81 methods, declared across 11 files: Spectre.Console/AnsiConsole.Write.cs (24), Spectre.Console/AnsiConsole.WriteLine.cs (24), Spectre.Console/AnsiConsole.Markup.cs (10), Spectre.Console/AnsiConsole.Prompt.cs (8), \u002B7 more file(s). The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Spectre.Console/AnsiConsole.Write.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d64c7af384711118ad0f5b18228edc1cfd2ef91b59d1477f6b69bfc590e59db9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AnsiWriter: TooManyMethods \u2014 206 significant lines (blank, comment-only and punctuation-only lines excluded), 54 methods. 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":"src/Spectre.Console.Ansi/AnsiWriter.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aee01dd8a56edbd6e965f89069b4ea4f166b7e601e3d4fecb19332c908bbc77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): src/Spectre.Console.Ansi/DecorationTable.cs:10-42 | src/Spectre.Console/Internal/DecorationTable.cs:10-42 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Spectre.Console.Ansi/DecorationTable.cs:10\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Spectre.Console.Ansi/DecorationTable.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8d9cf19dff6300036e98af95c0fc4b8a8c3e9cae8e86e6aba93ce7443bdbe3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/Spectre.Console/Prompts/MultiSelectionPrompt.cs:255-268 | src/Spectre.Console/Prompts/SelectionPrompt.cs:199-212 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Spectre.Console/Prompts/MultiSelectionPrompt.cs:255\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Spectre.Console/Prompts/MultiSelectionPrompt.cs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c38c7f04700873c471589fd8af8ac5ed936a9f9e50b1031aebe04cd149b11b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/Spectre.Console.Ansi/DecorationTable.cs:52-64 | src/Spectre.Console/Internal/DecorationTable.cs:52-64 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Spectre.Console.Ansi/DecorationTable.cs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"9061ec690158208d8e80963b095a9782cc91d0bcc89f1667cf7da827ee3449e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): src/Spectre.Console/Rendering/Borders/Tables/MinimalDoubleHeadTableBorder.cs:29-39 | src/Spectre.Console/Rendering/Borders/Tables/MinimalHeavyHeadTableBorder.cs:32-42 | src/Spectre.Console/Rendering/Borders/Tables/MinimalTableBorder.cs:29-39 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Spectre.Console/Rendering/Borders/Tables/MinimalDoubleHeadTableBorder.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c52936c42082bbfb0887bc488f98c5bbaa5b1448c7a81acace1b34159d83c2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/Spectre.Console/Rendering/Borders/Tables/Ascii2TableBorder.cs:15-25 | src/Spectre.Console/Rendering/Borders/Tables/AsciiTableBorder.cs:15-25 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Spectre.Console/Rendering/Borders/Tables/Ascii2TableBorder.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd96d77ffcac9cc8a323281b7a70511d4aefe31b01c71f6c8050b2b7231e4b71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/Spectre.Console/Rendering/Borders/Tables/HeavyHeadTableBorder.cs:26-36 | src/Spectre.Console/Rendering/Borders/Tables/SquareTableBorder.cs:23-33 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Spectre.Console/Rendering/Borders/Tables/HeavyHeadTableBorder.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a97e8c9a1c9f3274e34c729afe41e3a6c42bc61ac28009baa67c647ec327724"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/Spectre.Console/Rendering/Borders/Tables/HorizontalTableBorder.cs:16-26 | src/Spectre.Console/Rendering/Borders/Tables/SimpleTableBorder.cs:16-26 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Spectre.Console/Rendering/Borders/Tables/HorizontalTableBorder.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"55130a73c6715a09a716443266de8f864feecfc7cdab2517ba703cbe45689c26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/Spectre.Console/Rendering/Borders/Tables/RoundedTableBorder.cs:19-29 | src/Spectre.Console/Rendering/Borders/Tables/SquareTableBorder.cs:16-26 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Spectre.Console/Rendering/Borders/Tables/RoundedTableBorder.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"551baa34fb62a947866e7e95086b484a9258f8a4c9857c4dc2c192d36724f4ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/Spectre.Console/Rendering/Borders/Tables/SimpleHeavyTableBorder.cs:33-43 | src/Spectre.Console/Rendering/Borders/Tables/SimpleTableBorder.cs:30-40 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Spectre.Console/Rendering/Borders/Tables/SimpleHeavyTableBorder.cs:33\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Spectre.Console/Rendering/Borders/Tables/SimpleHeavyTableBorder.cs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"0965af18004f661cda88b4998d8328c725f6b364b26f27f3ec05d0ccb71cda07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/Spectre.Console.SourceGenerator/Emojis/EmojiModel.cs:254-262 | src/Spectre.Console.SourceGenerator/Emojis/EmojiModel.cs:284-293 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Spectre.Console.SourceGenerator/Emojis/EmojiModel.cs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"aab8244bd6eb9fe0819ccc91f268d1830ec82ca941376c8d5cbe17fbd9d777d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/Spectre.Console/Widgets/Rule.cs:112-120 | src/Spectre.Console/Widgets/Rule.cs:124-132 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Spectre.Console/Widgets/Rule.cs:112\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Spectre.Console/Widgets/Rule.cs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b475135bc5c7d77cad4534ec2b9bbb60faf6cff1dc4b0f1a657943ddf60e29f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/Spectre.Console/Rendering/Borders/Tables/MarkdownTableBorder.cs:59-66 | src/Spectre.Console/TableBorder.cs:47-54 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Spectre.Console/Rendering/Borders/Tables/MarkdownTableBorder.cs:59\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Spectre.Console/Rendering/Borders/Tables/MarkdownTableBorder.cs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"4923a23d7e0f576928094e914e48de762749cfda8cb7469636a000fbcfcee50a"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: Spectre.Console.Ansi(net10.0): Spectre.Console.Ansi(net10.0): abstractness 0.03, instability 0.00, distance 0.97 \u2014 zone of pain \u2014 concrete and depended on by 4 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ca656159971503640471acf3a63b533ecfabbac7bbbc04ea33cb6244661b08cc"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 11 significant file(s) lose their only recent owner: src/Spectre.Console/Widgets/Table/Table.cs, src/Spectre.Console/Widgets/Figlet/FigletText.cs, src/Extensions/Spectre.Console.Json/JsonText.cs, src/Spectre.Console/IHasTableBorder.cs, src/Spectre.Console/Extensions/AnsiConsoleExtensions.Markup.cs, src/Spectre.Console/Widgets/Grid.cs, src/Spectre.Console/Live/Status/Status.cs, src/Spectre.Console/TableBorder.cs (\u002B3 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"aba44746672d9e96e0184b2a09da740b516b4a6659ee110f1d089f6e946f5ac1"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 1 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (13 single-owned of 112 analysed files in total, counted over production source files of roughly 100 lines or more, excluding tests, vendored, generated and example/demo trees, largest first). They are anonymized user #2 (2 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Make this a bit more efficient \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Spectre.Console/Extensions/AnsiConsoleExtensions.Ansi.cs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"305593e4fbcce2680afc71ec9b1584c404d9f83b6670ef2634b312a5180fc073"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: We need to figure out why Segment.SplitLines fails \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Spectre.Console/Internal/Cell.cs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ef780f782cac20e4ad5d03b66c13af8a691b08fae518f56cbf903a77188c1b3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: There are a lot of branches in this method. Look into simplifying it. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Spectre.Console/Internal/CircularBuffer.cs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed186ae84b00ed5dd081777fe7258473ec6a7f1d35ffef4262c79e1d6dadad17"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Move this to Table \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Spectre.Console/Rendering/Segment.cs"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab086068b7c70606c779a6c4dba194fe6973372d0fd1bfbf2b43347baa80dc3a"}},{"ruleId":"D17","level":"warning","message":{"text":"BareSuppressMessage: UnconditionalSuppressMessage \u2014 the suppression records no reason: either it carries no justification argument at all, or one that states nothing a reader can weigh (\u0022OK\u0022, \u0022By design\u0022). A suppression is a decision somebody made, and without the reason the next reader cannot tell a considered exception from an unexamined one, so it is never revisited. Write what makes this site legitimately different \u2014 the invariant that holds, the framework contract that forces the shape \u2014 or remove the suppression and fix what it hides."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Spectre.Console/Widgets/Exceptions/ExceptionInfoResolver.cs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a2da07bd32994732fc5b35ca81e18f37058fc07d950d4440dff126dbadac0b5"}},{"ruleId":"D17","level":"warning","message":{"text":"BareSuppressMessage: UnconditionalSuppressMessage \u2014 the suppression records no reason: either it carries no justification argument at all, or one that states nothing a reader can weigh (\u0022OK\u0022, \u0022By design\u0022). A suppression is a decision somebody made, and without the reason the next reader cannot tell a considered exception from an unexamined one, so it is never revisited. Write what makes this site legitimately different \u2014 the invariant that holds, the framework contract that forces the shape \u2014 or remove the suppression and fix what it hides."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Spectre.Console/Widgets/Exceptions/ExceptionInfoResolver.cs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"d70c28b3a41dc09984b38cb62882d48c01b80efaca9a8a851c93d13f2b0213db"}},{"ruleId":"D17","level":"warning","message":{"text":"BareSuppressMessage: UnconditionalSuppressMessage \u2014 the suppression records no reason: either it carries no justification argument at all, or one that states nothing a reader can weigh (\u0022OK\u0022, \u0022By design\u0022). A suppression is a decision somebody made, and without the reason the next reader cannot tell a considered exception from an unexamined one, so it is never revisited. Write what makes this site legitimately different \u2014 the invariant that holds, the framework contract that forces the shape \u2014 or remove the suppression and fix what it hides."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Spectre.Console/Widgets/Exceptions/ExceptionInfoResolver.cs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a0c5ec9763f13e68eb832d96859905bda733db531bb828a2cc0cf86d1c38816"}},{"ruleId":"D17","level":"warning","message":{"text":"BareSuppressMessage: UnconditionalSuppressMessage \u2014 the suppression records no reason: either it carries no justification argument at all, or one that states nothing a reader can weigh (\u0022OK\u0022, \u0022By design\u0022). A suppression is a decision somebody made, and without the reason the next reader cannot tell a considered exception from an unexamined one, so it is never revisited. Write what makes this site legitimately different \u2014 the invariant that holds, the framework contract that forces the shape \u2014 or remove the suppression and fix what it hides."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Spectre.Console/Widgets/Exceptions/ExceptionInfoResolver.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"74f7673d273ad03742005b52f91e3c72401d52d1e000b2806a10d43da2419232"}},{"ruleId":"D17","level":"warning","message":{"text":"BareSuppressMessage: UnconditionalSuppressMessage \u2014 the suppression records no reason: either it carries no justification argument at all, or one that states nothing a reader can weigh (\u0022OK\u0022, \u0022By design\u0022). A suppression is a decision somebody made, and without the reason the next reader cannot tell a considered exception from an unexamined one, so it is never revisited. Write what makes this site legitimately different \u2014 the invariant that holds, the framework contract that forces the shape \u2014 or remove the suppression and fix what it hides."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Spectre.Console/Widgets/Exceptions/ExceptionRenderableBuilder.cs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"06f34648dc7243cf664000b353e0ddfcc13e999ab32c38ff61fc3046de49bfb4"}},{"ruleId":"D17","level":"warning","message":{"text":"BareSuppressMessage: UnconditionalSuppressMessage \u2014 the suppression records no reason: either it carries no justification argument at all, or one that states nothing a reader can weigh (\u0022OK\u0022, \u0022By design\u0022). A suppression is a decision somebody made, and without the reason the next reader cannot tell a considered exception from an unexamined one, so it is never revisited. Write what makes this site legitimately different \u2014 the invariant that holds, the framework contract that forces the shape \u2014 or remove the suppression and fix what it hides."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Spectre.Console/Widgets/Exceptions/ExceptionRenderableBuilder.cs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ed2cb3874e91695eebfaa525a5f5fcfa83a2941edd8d2b88456d2267381e50e"}},{"ruleId":"D17","level":"warning","message":{"text":"BareSuppressMessage: UnconditionalSuppressMessage \u2014 the suppression records no reason: either it carries no justification argument at all, or one that states nothing a reader can weigh (\u0022OK\u0022, \u0022By design\u0022). A suppression is a decision somebody made, and without the reason the next reader cannot tell a considered exception from an unexamined one, so it is never revisited. Write what makes this site legitimately different \u2014 the invariant that holds, the framework contract that forces the shape \u2014 or remove the suppression and fix what it hides."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Spectre.Console/Widgets/Exceptions/ExceptionRenderableBuilder.cs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"55134c078796b32edd97256678025a230dcfc92d2a3255af9ac4d038a5c00abc"}},{"ruleId":"D17","level":"warning","message":{"text":"BareSuppressMessage: UnconditionalSuppressMessage \u2014 the suppression records no reason: either it carries no justification argument at all, or one that states nothing a reader can weigh (\u0022OK\u0022, \u0022By design\u0022). A suppression is a decision somebody made, and without the reason the next reader cannot tell a considered exception from an unexamined one, so it is never revisited. Write what makes this site legitimately different \u2014 the invariant that holds, the framework contract that forces the shape \u2014 or remove the suppression and fix what it hides."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Spectre.Console/Widgets/Exceptions/ExceptionRenderableBuilder.cs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"80c32f6c7fe9421384ae34658d173baa0c43ea6f6d5782a274895ef62c9f64af"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Need a better name for this? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Spectre.Console/Widgets/Panel.cs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"8107d49b1f0363ba39566163e64b9e9deab0bc1612b83b4346c2d0381993a63e"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: RS1035 \u2014 this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or \u2014 if some occurrences really are legitimate \u2014 narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Spectre.Console.SourceGenerator/Spectre.Console.SourceGenerator.csproj"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"a870f623fb982a111629a2530e4621db048534886fdcdafdb5eb3a104237631a"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: SA1633 \u2014 this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or \u2014 if some occurrences really are legitimate \u2014 narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Directory.Build.props"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"053ca23449917ad98fd679c4f8f99c7b921be14772de25e33219011e56d091de"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: CS8632 \u2014 this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or \u2014 if some occurrences really are legitimate \u2014 narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Directory.Build.props"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"a249c66cf45348172e4b4306ba4e45a29e68cbdf582f115d02071b692e572dad"}},{"ruleId":"D19","level":"warning","message":{"text":"Low XML-doc coverage: Benchmarks(net10.0): Benchmarks(net10.0): 0 % XML-doc coverage (0/18)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Benchmarks/Benchmarks.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4629b6102ab34b19c62f7c272245731435155f81acb38cadde386af5deb633b0"}},{"ruleId":"D19","level":"warning","message":{"text":"Low XML-doc coverage: Spectre.Console.Json(net10.0): Spectre.Console.Json(net10.0): 47 % XML-doc coverage (55/117)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Extensions/Spectre.Console.Json/Spectre.Console.Json.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9313ee470ff9f83332532e6cd750be81db41d2fb36c874c9852f2f298a01f69c"}},{"ruleId":"D23","level":"note","message":{"text":"Bounded contexts not declared: At 47600 LoC spread over 29 projects the codebase is large and multi-module, so explicit bounded contexts are needed. Name this codebase\u0027s bounded contexts (\u22652 module groups, e.g. per subsystem) so cross-boundary type coupling can be assessed. Declare them in \u0060.codehealth/config.yaml\u0060 at the repository root (create it if absent), mapping each context name to the module-path or namespace prefixes that belong to it \u2014 e.g. \u0060architecture:\u0060 \u2192 \u0060contexts:\u0060 \u2192 \u0060Billing: [\u0022src/billing\u0022, \u0022Acme.Billing\u0022]\u0060, \u0060Catalog: [\u0022src/catalog\u0022, \u0022Acme.Catalog\u0022]\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1c7e276c9c682731f01819ed5378b90ca320cde1b583c90920172911598362b3"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 1 of 9 project(s) overshoot their size bounds, lowering Project Cohesion to 7.8/10. The most over is \u0060Spectre.Console(net10.0)\u0060 (22463 LoC, 226 public types across 2 namespaces). Review these for cohesion \u2014 draw the boundary inside the assembly first (group each responsibility into its own namespace/folder and keep the cross-boundary members internal), since splitting a published assembly moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 6 of 112 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 100 lines or more, excluding tests, vendored, generated and example/demo trees, largest first). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 largest first: src/Spectre.Console/Generated/Backport.System.Threading.Lock.SourceGenerator/Backport.System.Threading.Lock.SourceGenerator.Generator/Backport.System.Threading.Lock.SourceGenerator.ThreadAbortableLock.cs, src/Spectre.Console.Ansi/Generated/Backport.System.Threading.Lock.SourceGenerator/Backport.System.Threading.Lock.SourceGenerator.Generator/Backport.System.Threading.Lock.SourceGenerator.ThreadAbortableLock.cs, src/Spectre.Console/Generated/Backport.System.Threading.Lock.SourceGenerator/Backport.System.Threading.Lock.SourceGenerator.Generator/Backport.System.Threading.Lock.SourceGenerator.Lock.cs (and 3 more). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: MultiSelectionPrompt.cs \u2194 SelectionPrompt.cs: \u0060src/Spectre.Console/Prompts/MultiSelectionPrompt.cs\u0060 and \u0060src/Spectre.Console/Prompts/SelectionPrompt.cs\u0060 change together 65% of the time (17 of the 26 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Spectre.Console/Prompts/MultiSelectionPrompt.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b5002e09f950d9e8ed829d1e7b583a335536caad3daef3591c950fc633895f1"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: MultiSelectionPrompt.cs \u2194 SelectionPromptExtensions.cs: \u0060src/Spectre.Console/Prompts/MultiSelectionPrompt.cs\u0060 and \u0060src/Spectre.Console/Prompts/SelectionPromptExtensions.cs\u0060 change together 53% of the time (8 of the 15 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Spectre.Console/Prompts/MultiSelectionPrompt.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e50079c09ee06e0543b4f54f45600d56bcc8b80db351279ee4a4ed70d626edae"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: MultiSelectionPromptExtensions.cs \u2194 SelectionPromptExtensions.cs: \u0060src/Spectre.Console/Prompts/MultiSelectionPromptExtensions.cs\u0060 and \u0060src/Spectre.Console/Prompts/SelectionPromptExtensions.cs\u0060 change together 53% of the time (8 of the 15 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Spectre.Console/Prompts/MultiSelectionPromptExtensions.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4afd2f1b55529c96ff536538afddfdb831d8ea961a9455ac4d1a70bb9679a465"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: MultiSelectionPromptExtensions.cs \u2194 SelectionPrompt.cs: \u0060src/Spectre.Console/Prompts/MultiSelectionPromptExtensions.cs\u0060 and \u0060src/Spectre.Console/Prompts/SelectionPrompt.cs\u0060 change together 50% of the time (8 of the 16 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Spectre.Console/Prompts/MultiSelectionPromptExtensions.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e050df5cdcfd28af6591e69c5922f0a905f2d46c3f1064e7963376981da4579e"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ListPromptState.cs \u2194 SelectionPromptExtensions.cs: \u0060src/Spectre.Console/Prompts/List/ListPromptState.cs\u0060 and \u0060src/Spectre.Console/Prompts/SelectionPromptExtensions.cs\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Spectre.Console/Prompts/List/ListPromptState.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"377f9efca5873a7607b9e31c9c65a5d88739b94a7f7cf37a9f35d4d840122ae4"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0752d0df7434000fcabf1048e2de30a7a1a8b982b3db9a19898c4dec199856b4"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Command Injection","shortDescription":{"text":"Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"OS Command Injection","shortDescription":{"text":"OS Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Cross-site Scripting (XSS)","shortDescription":{"text":"Cross-site Scripting (XSS)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"SQL Injection","shortDescription":{"text":"SQL Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Code Injection","shortDescription":{"text":"Code Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":5,"secretScannerRunsExcluded":0}},"redactionTokens":["A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."]}]}