{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"id":"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":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"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":"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":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"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":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AXB1","name":"Runtime evidence locked \u2014 no reproducible boot","shortDescription":{"text":"Runtime evidence locked \u2014 no reproducible boot"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB1"},{"id":"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":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"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":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"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":"NavBarItemPanel.OnPaint (cyclomatic 25): NavBarItemPanel.OnPaint has cyclomatic complexity 25 (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":"Z80NavBarControl/Z80_Navigation.vb"},"region":{"startLine":845}}}],"partialFingerprints":{"codehealthFindingId/v1":"688b91da2623ee845441ec21bebd5ccb737cd4cee1aef7a8f06e1000951e26cb"}},{"ruleId":"D1","level":"warning","message":{"text":"NavBarItemPanel.OnPaint (cyclomatic 20): NavBarItemPanel.OnPaint 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":"Demo/Z80_NavBar/Z80_Navigation.vb"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"13b1d8be30bd51ffc0661130b54ab9d8d3d6e76e8320f1a1e104b75abbf52bea"}},{"ruleId":"D1","level":"warning","message":{"text":"NavBarItemPanel.OnPaint (cyclomatic 20): NavBarItemPanel.OnPaint 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":"ExampleSettings/CustomControls/Z80_NavBar/Z80_Navigation.vb"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4e7a0276d4ab24512687d5a33d8d73049e2a30438d041156a436960575c0c3a"}},{"ruleId":"D1","level":"warning","message":{"text":"NavBarItemPanel.OnPaint (cyclomatic 20): NavBarItemPanel.OnPaint 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":"DemoCS/Z80_NavBar/Z80_Navigation.cs"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"92b19ecdb75110303d33de1c5544dfe151d2f22d9a49ff8fdbcf691c38825b19"}},{"ruleId":"D2","level":"warning","message":{"text":"NavBarItemPanel.OnPaint (cognitive 83): NavBarItemPanel.OnPaint has cognitive complexity 83 (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":"Z80NavBarControl/Z80_Navigation.vb"},"region":{"startLine":845}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e2f48eba59e6f6541c4ebfa3ec9c28cc8367d01de502b901bcbca3069735095"}},{"ruleId":"D2","level":"warning","message":{"text":"NavBarItemPanel.OnPaint (cognitive 60): NavBarItemPanel.OnPaint has cognitive complexity 60 (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":"Demo/Z80_NavBar/Z80_Navigation.vb"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"c81308bf579c0179796a13781b3951e21388486f444964972f34fda4955e0040"}},{"ruleId":"D2","level":"warning","message":{"text":"NavBarItemPanel.OnPaint (cognitive 60): NavBarItemPanel.OnPaint has cognitive complexity 60 (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":"ExampleSettings/CustomControls/Z80_NavBar/Z80_Navigation.vb"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"476947453bf4b01ed03f063b04214f6644caafa088129810089ba16384766db7"}},{"ruleId":"D2","level":"warning","message":{"text":"NavBarItemPanel.OnPaint (cognitive 60): NavBarItemPanel.OnPaint has cognitive complexity 60 (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":"DemoCS/Z80_NavBar/Z80_Navigation.cs"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"112fddb3e2a8a184caaa84aeb6089e78c93ea7f6a289f0239994a3e3a6743df9"}},{"ruleId":"D2","level":"warning","message":{"text":"Z80_Navigation.AutoExpand (cognitive 30): Z80_Navigation.AutoExpand has cognitive complexity 30 (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":"Demo/Z80_NavBar/Z80_Navigation.vb"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfcd88ba1f714b5e96d1a716361153a522f7641d8db01ab6296a8274d0f9e01c"}},{"ruleId":"D2","level":"warning","message":{"text":"Z80_Navigation.AutoExpand (cognitive 30): Z80_Navigation.AutoExpand has cognitive complexity 30 (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":"ExampleSettings/CustomControls/Z80_NavBar/Z80_Navigation.vb"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"fffa58497b12e335ba11d739e27300f8068d40ed3376567a07e97882613f2af3"}},{"ruleId":"D2","level":"warning","message":{"text":"Z80_Navigation.AutoExpand (cognitive 30): Z80_Navigation.AutoExpand has cognitive complexity 30 (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":"DemoCS/Z80_NavBar/Z80_Navigation.cs"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2aa42c8b04712aba170977f6656044e0a68bef076a89b94f6705d330794659c"}},{"ruleId":"D2","level":"warning","message":{"text":"Z80_Navigation.DrawControlItems (cognitive 30): Z80_Navigation.DrawControlItems has cognitive complexity 30 (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":"Z80NavBarControl/Z80_Navigation.vb"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e44d0fa079b382bebc768dcac1d7b77695eff607c48449a40e4361b36ac6cb0"}},{"ruleId":"D2","level":"warning","message":{"text":"Z80_Navigation.AutoExpand (cognitive 30): Z80_Navigation.AutoExpand has cognitive complexity 30 (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":"Z80NavBarControl/Z80_Navigation.vb"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"efb9c7ece4a93d529ee68c8be6ff9a89cef04f511c36279d41e80ae3fac66403"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsForm.ValidationOK (cognitive 26): SettingsForm.ValidationOK 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":"ExampleSettings/Settings/UserInterface/SettingsForm.vb"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8e2753260db6e8a5a3e53dbfd64ff217f8c69c8d0a91be454f9c59cecd82728"}},{"ruleId":"D2","level":"warning","message":{"text":"Z80_Navigation.OnItemClick (cognitive 25): Z80_Navigation.OnItemClick 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":"Demo/Z80_NavBar/Z80_Navigation.vb"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff8e48ebdd5fbe3067bb546551e0e8c62c5f7e01c573be61e74330d9df056259"}},{"ruleId":"D2","level":"warning","message":{"text":"Z80_Navigation.OnItemClick (cognitive 25): Z80_Navigation.OnItemClick 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":"ExampleSettings/CustomControls/Z80_NavBar/Z80_Navigation.vb"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3df16f1b7ee2044d049aba4238dd976da2c3b9d2904b3e23081caf5908cd763"}},{"ruleId":"D2","level":"warning","message":{"text":"Z80_Navigation.OnItemClick (cognitive 25): Z80_Navigation.OnItemClick 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":"DemoCS/Z80_NavBar/Z80_Navigation.cs"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f6fc20a4cda1a64cae0836be2c40ac0bdc748f72444e558fa5631e31305cb2"}},{"ruleId":"D2","level":"warning","message":{"text":"Z80_Navigation.OnItemClick (cognitive 25): Z80_Navigation.OnItemClick 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":"Z80NavBarControl/Z80_Navigation.vb"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"bff813e16e010fee87ac777d720dc35063a31d16ab5bb276d8ca4b21a1042e78"}},{"ruleId":"D2","level":"warning","message":{"text":"Z80_Navigation.DrawControlItems (cognitive 17): Z80_Navigation.DrawControlItems 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":"Demo/Z80_NavBar/Z80_Navigation.vb"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"f48dd77e3c63e1a2b3bc514dda8234105b89226ad51caa4e4526f02267bfd836"}},{"ruleId":"D2","level":"warning","message":{"text":"Z80_Navigation.DrawControlItems (cognitive 17): Z80_Navigation.DrawControlItems 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":"ExampleSettings/CustomControls/Z80_NavBar/Z80_Navigation.vb"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8e44d95b2bba006d8604af6b30fcaa51357d48554be6fd205039c6a1df82b09"}},{"ruleId":"D2","level":"warning","message":{"text":"Z80_Navigation.DrawControlItems (cognitive 17): Z80_Navigation.DrawControlItems 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":"DemoCS/Z80_NavBar/Z80_Navigation.cs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"049d282384a0500775088661e697f9ade21dddb388ff39f63a9d6dfa775cd8d0"}},{"ruleId":"D2","level":"warning","message":{"text":"Z80_TextBox.OnTextChanged (cognitive 16): Z80_TextBox.OnTextChanged 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":"ExampleSettings/CustomControls/Z80_TextBox.vb"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8587548a881fc5649891dcbe5836dc3ea3fd981c30e8079611e7389a68f7496"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DemoItems.DemoItems(\u2026): MethodTooLong \u2014 DemoItems(\u2026) runs 167 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 67 over it, 1.67\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"DemoControlCS/DemoItems.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8ccd657dd3daea880357515528c0f2ee76c44d62f5ae0931f0ebbdae698bb60"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DemoItems.DemoItems(\u2026): MethodTooLong \u2014 DemoItems(\u2026) runs 154 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 54 over it, 1.54\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"DemoCS/DemoItems.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c6d24b0eb0149931fe8859b65ec8fca586b27c329981bf0ffda3e9c3fa855f3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Z80_Navigation: ClassTooLong \u2014 562 significant lines (blank, comment-only and punctuation-only lines excluded), 25 methods. The bar is 400 significant lines; this is 162 over it, 1.41\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Z80NavBarControl/Z80_Navigation.vb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d80dd453cafe09f248a4b0c852faa0bae2cd8a5f957a7b9c1613758c56bfe9c0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Z80NavBarControl/Z80_Navigation.vb: FileTooLong \u2014 562 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 62 over it, 1.12\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":"Z80NavBarControl/Z80_Navigation.vb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73c207913aa49dcdf84ae26b960725e22c497566e5286aa2d6281dc6aa6fefbc"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Z80_Navigation: ClassTooLong \u2014 448 significant lines (blank, comment-only and punctuation-only lines excluded), 21 methods. The bar is 400 significant lines; this is 48 over it, 1.12\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":"ExampleSettings/CustomControls/Z80_NavBar/Z80_Navigation.vb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"356a657840522a2121f0575308788e3e3f50ab424886fc707c58adf5ce3c694d"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 34 shared lines): Demo/Z80_NavBar/Z80_Navigation.vb:390-431 | ExampleSettings/CustomControls/Z80_NavBar/Z80_Navigation.vb:390-431 | Z80NavBarControl/Z80_Navigation.vb:497-538 \u2014 These 3 members are variants of one another: a block of 34 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 3 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Demo/Z80_NavBar/Z80_Navigation.vb"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"3381d0ced23064a4863c6ec4a1c25b341c6ba04c9e351d58b7bc0a5da7edb1a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Z80NavBarControl/Themes/Definitions/DarkTheme.vb:212-219 | Z80NavBarControl/Themes/Definitions/RoyalTheme.vb:209-216 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Z80NavBarControl/Themes/Definitions/DarkTheme.vb"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"843b929e596d97f624920868319ec9035f44407e5f8eaad2c8ee38b9539d0e21"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (17 members, 50\u002B identical tokens): Demo/Z80_NavBar/Themes/Definitions/BlueTheme.vb:145-151 | Demo/Z80_NavBar/Themes/Definitions/BlueTheme.vb:157-163 | Demo/Z80_NavBar/Themes/Definitions/BlueTheme.vb:169-174 | Demo/Z80_NavBar/Themes/Definitions/DarkTheme.vb:146-152 | Demo/Z80_NavBar/Themes/Definitions/DarkTheme.vb:170-175 | ExampleSettings/CustomControls/Z80_NavBar/Themes/Definitions/BlueTheme.vb:145-151 | ExampleSettings/CustomControls/Z80_NavBar/Themes/Definitions/BlueTheme.vb:157-163 | ExampleSettings/CustomControls/Z80_NavBar/Themes/Definitions/BlueTheme.vb:169-174 | ExampleSettings/CustomControls/Z80_NavBar/Themes/Definitions/DarkTheme.vb:146-152 | ExampleSettings/CustomControls/Z80_NavBar/Themes/Definitions/DarkTheme.vb:170-175 | Z80NavBarControl/Themes/Definitions/BlueTheme.vb:154-160 | Z80NavBarControl/Themes/Definitions/BlueTheme.vb:166-172 | Z80NavBarControl/Themes/Definitions/BlueTheme.vb:178-183 | Z80NavBarControl/Themes/Definitions/DarkTheme.vb:155-161 | Z80NavBarControl/Themes/Definitions/DarkTheme.vb:179-184 | Z80NavBarControl/Themes/Definitions/RoyalTheme.vb:152-158 | Z80NavBarControl/Themes/Definitions/RoyalTheme.vb:176-181 \u2014 These 17 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 17 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 17 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Demo/Z80_NavBar/Themes/Definitions/BlueTheme.vb"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"0524fbe0f4d6a4599293cb630d5c56b72cb3c4fa40ef502117879329ec500652"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (14 members, 50\u002B identical tokens): Demo/Z80_NavBar/Themes/Definitions/BlueTheme.vb:110-116 | Demo/Z80_NavBar/Themes/Definitions/BlueTheme.vb:122-128 | Demo/Z80_NavBar/Themes/Definitions/DarkTheme.vb:110-117 | Demo/Z80_NavBar/Themes/Definitions/DarkTheme.vb:123-129 | ExampleSettings/CustomControls/Z80_NavBar/Themes/Definitions/BlueTheme.vb:110-116 | ExampleSettings/CustomControls/Z80_NavBar/Themes/Definitions/BlueTheme.vb:122-128 | ExampleSettings/CustomControls/Z80_NavBar/Themes/Definitions/DarkTheme.vb:110-117 | ExampleSettings/CustomControls/Z80_NavBar/Themes/Definitions/DarkTheme.vb:123-129 | Z80NavBarControl/Themes/Definitions/BlueTheme.vb:119-125 | Z80NavBarControl/Themes/Definitions/BlueTheme.vb:131-137 | Z80NavBarControl/Themes/Definitions/DarkTheme.vb:119-126 | Z80NavBarControl/Themes/Definitions/DarkTheme.vb:132-138 | Z80NavBarControl/Themes/Definitions/RoyalTheme.vb:116-123 | Z80NavBarControl/Themes/Definitions/RoyalTheme.vb:129-135 \u2014 These 14 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 14 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 14 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Demo/Z80_NavBar/Themes/Definitions/BlueTheme.vb"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eb39ee0afacab454fef55dacdbae0011fc63c051b57bb41f3b73e941e0deac8"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): Demo/Z80_NavBar/Themes/Definitions/BlueTheme.vb:180-185 | Demo/Z80_NavBar/Themes/Definitions/DarkTheme.vb:181-186 | ExampleSettings/CustomControls/Z80_NavBar/Themes/Definitions/BlueTheme.vb:180-185 | ExampleSettings/CustomControls/Z80_NavBar/Themes/Definitions/DarkTheme.vb:181-186 | Z80NavBarControl/Themes/Definitions/BlueTheme.vb:189-194 | Z80NavBarControl/Themes/Definitions/DarkTheme.vb:190-195 | Z80NavBarControl/Themes/Definitions/RoyalTheme.vb:187-192 | Z80NavBarControl/Themes/Definitions/RoyalTheme.vb:198-203 \u2014 These 8 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 8 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 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Demo/Z80_NavBar/Themes/Definitions/BlueTheme.vb"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bee24146636405bb5cc8d1d3e0390ea5ec6244c3a3e66ae52fd6f9c1bcc105c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): Demo/Z80_NavBar/Themes/Definitions/BlueTheme.vb:134-139 | Demo/Z80_NavBar/Themes/Definitions/DarkTheme.vb:135-140 | ExampleSettings/CustomControls/Z80_NavBar/Themes/Definitions/BlueTheme.vb:134-139 | ExampleSettings/CustomControls/Z80_NavBar/Themes/Definitions/DarkTheme.vb:135-140 | Z80NavBarControl/Themes/Definitions/BlueTheme.vb:143-148 | Z80NavBarControl/Themes/Definitions/DarkTheme.vb:144-149 | Z80NavBarControl/Themes/Definitions/RoyalTheme.vb:141-146 \u2014 These 7 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 7 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 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Demo/Z80_NavBar/Themes/Definitions/BlueTheme.vb"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"8337bacdba59d4c8030c55a626488501ad21845d97666cdf22413d2ac6d71485"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): Demo/Z80_NavBar/Themes/Definitions/BlueTheme.vb:191-195 | Demo/Z80_NavBar/Themes/Definitions/DarkTheme.vb:192-197 | ExampleSettings/CustomControls/Z80_NavBar/Themes/Definitions/BlueTheme.vb:191-195 | ExampleSettings/CustomControls/Z80_NavBar/Themes/Definitions/DarkTheme.vb:192-197 | Z80NavBarControl/Themes/Definitions/BlueTheme.vb:200-204 | Z80NavBarControl/Themes/Definitions/DarkTheme.vb:201-206 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Demo/Z80_NavBar/Themes/Definitions/BlueTheme.vb"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b422cf4ea2461530b55af69ad4596d8319680b7bc8edac7a62c6a7135dbaefe"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): Demo/Z80_NavBar/Z80_Navigation.vb:230-249 | Demo/Z80_NavBar/Z80_Navigation.vb:256-295 | ExampleSettings/CustomControls/Z80_NavBar/Z80_Navigation.vb:230-249 | ExampleSettings/CustomControls/Z80_NavBar/Z80_Navigation.vb:256-295 | Z80NavBarControl/Z80_Navigation.vb:304-323 | Z80NavBarControl/Z80_Navigation.vb:331-402 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Demo/Z80_NavBar/Z80_Navigation.vb"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"62316c96153f42cf85938badd8fa8c988c27d39320ca3dd8c5005bd986e3f1bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Demo/Z80_NavBar/Themes/Definitions/DarkTheme.vb:158-164 | ExampleSettings/CustomControls/Z80_NavBar/Themes/Definitions/DarkTheme.vb:158-164 | Z80NavBarControl/Themes/Definitions/DarkTheme.vb:167-173 | Z80NavBarControl/Themes/Definitions/RoyalTheme.vb:164-170 \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":"Demo/Z80_NavBar/Themes/Definitions/DarkTheme.vb"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"18be26fe184f2568b659531cf932446aa57b35a96f5cce911587b8a377f2783a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (60\u201380 lines \u00D7 3): Demo/Z80_NavBar/Z80_Navigation.vb:447-506 | ExampleSettings/CustomControls/Z80_NavBar/Z80_Navigation.vb:447-506 | Z80NavBarControl/Z80_Navigation.vb:554-633 \u2014 before extracting anything, compare \u0060Demo/Z80_NavBar/Z80_Navigation.vb\u0060 and \u0060ExampleSettings/CustomControls/Z80_NavBar/Z80_Navigation.vb\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 392 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Demo/Z80_NavBar/Z80_Navigation.vb"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"cde87bdffb51563c7aa92c945b70538ca11806e79633dae459b6d354f067865c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201357 lines \u00D7 3): Demo/Z80_NavBar/Z80_Navigation.vb:650-706 | ExampleSettings/CustomControls/Z80_NavBar/Z80_Navigation.vb:650-706 | Z80NavBarControl/Z80_Navigation.vb:895-898 \u2014 before extracting anything, compare \u0060Demo/Z80_NavBar/Z80_Navigation.vb\u0060 and \u0060ExampleSettings/CustomControls/Z80_NavBar/Z80_Navigation.vb\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 392 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Demo/Z80_NavBar/Z80_Navigation.vb"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"848da2983dc3d77994dde2806443214f2bb5a6e5ba9a696bc1906db8a4afa4f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 3): Demo/Z80_NavBar/Z80_Navigation.vb:390-423 | ExampleSettings/CustomControls/Z80_NavBar/Z80_Navigation.vb:390-423 | Z80NavBarControl/Z80_Navigation.vb:497-530 \u2014 before extracting anything, compare \u0060Demo/Z80_NavBar/Z80_Navigation.vb\u0060 and \u0060ExampleSettings/CustomControls/Z80_NavBar/Z80_Navigation.vb\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 392 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Demo/Z80_NavBar/Z80_Navigation.vb"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"a54ce2b8754a086848ddbbd4c6415255b275e0f7108ce59e36c9867d1f5a5b5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201330 lines \u00D7 3): Demo/Z80_NavBar/Z80_Navigation.vb:256-285 | ExampleSettings/CustomControls/Z80_NavBar/Z80_Navigation.vb:256-285 | Z80NavBarControl/Z80_Navigation.vb:339-363 \u2014 before extracting anything, compare \u0060Demo/Z80_NavBar/Z80_Navigation.vb\u0060 and \u0060ExampleSettings/CustomControls/Z80_NavBar/Z80_Navigation.vb\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 392 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Demo/Z80_NavBar/Z80_Navigation.vb"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5b189cfac8d04e3ef44ba63c7727aaa831a95255adcdf68075d69fd0c8b16c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 3): Demo/Z80_NavBar/Z80_Navigation.vb:630-656 | ExampleSettings/CustomControls/Z80_NavBar/Z80_Navigation.vb:630-656 | Z80NavBarControl/Z80_Navigation.vb:846-872 \u2014 before extracting anything, compare \u0060Demo/Z80_NavBar/Z80_Navigation.vb\u0060 and \u0060ExampleSettings/CustomControls/Z80_NavBar/Z80_Navigation.vb\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 392 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Z80NavBarControl/Z80_Navigation.vb:873\u0060 calls \u0060If\u0060, \u0060DrawRectangle\u0060, \u0060BorderSolidColor\u0060 and \u0060Demo/Z80_NavBar/Z80_Navigation.vb:657\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Demo/Z80_NavBar/Z80_Navigation.vb"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"090f2128a927253d8576cc14edd1c51bce084f5afa52fcef7a39febf36818208"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): Demo/Z80_NavBar/Z80_Navigation.vb:231-249 | ExampleSettings/CustomControls/Z80_NavBar/Z80_Navigation.vb:231-249 \u2014 before extracting anything, compare \u0060Demo/Z80_NavBar/Z80_Navigation.vb\u0060 and \u0060ExampleSettings/CustomControls/Z80_NavBar/Z80_Navigation.vb\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 392 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Demo/Z80_NavBar/Z80_Navigation.vb"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"f90065a342c89055d26827ecf5e61a662a5a53499b2f6073a80755b059976a77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): Demo/Z80_NavBar/Z80_Navigation.vb:111-126 | ExampleSettings/CustomControls/Z80_NavBar/Z80_Navigation.vb:111-126 | Z80NavBarControl/Z80_Navigation.vb:127-142 \u2014 before extracting anything, compare \u0060Demo/Z80_NavBar/Z80_Navigation.vb\u0060 and \u0060ExampleSettings/CustomControls/Z80_NavBar/Z80_Navigation.vb\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 392 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Demo/Z80_NavBar/Z80_Navigation.vb"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"349aef9f036030252be5cf8d897c1cf8f58368e37611efd637b009411a4f0a16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): DemoCS/Z80_NavBar/Z80_Navigation.cs:260-271 | DemoCS/Z80_NavBar/Z80_Navigation.cs:296-307 \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 \u0060DemoCS/Z80_NavBar/Z80_Navigation.cs:260\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":"DemoCS/Z80_NavBar/Z80_Navigation.cs"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"978696e06df0c4c70b639eecf8e4d39ad0864ae476dcf07decf079d6e1366df4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): Demo/Z80_NavBar/Z80_Navigation.vb:233-243 | Demo/Z80_NavBar/Z80_Navigation.vb:265-275 | ExampleSettings/CustomControls/Z80_NavBar/Z80_Navigation.vb:233-243 | ExampleSettings/CustomControls/Z80_NavBar/Z80_Navigation.vb:265-275 \u2014 before extracting anything, compare \u0060Demo/Z80_NavBar/Z80_Navigation.vb\u0060 and \u0060ExampleSettings/CustomControls/Z80_NavBar/Z80_Navigation.vb\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 392 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Demo/Z80_NavBar/Z80_Navigation.vb"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"41ca39109ec66819c6812b6766b87d367183a13c2ecc76d0d6dc0487407f28e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): Demo/Z80_NavBar/Z80_Navigation.vb:174-186 | ExampleSettings/CustomControls/Z80_NavBar/Z80_Navigation.vb:174-186 | Z80NavBarControl/Z80_Navigation.vb:190-202 \u2014 before extracting anything, compare \u0060Demo/Z80_NavBar/Z80_Navigation.vb\u0060 and \u0060ExampleSettings/CustomControls/Z80_NavBar/Z80_Navigation.vb\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 392 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Demo/Z80_NavBar/Z80_Navigation.vb"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"41a10934dc523fa2ff87a9a33b2488c4eb9d199382ad5d1784bafda59cda4ba6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): Demo/Z80_NavBar/Z80_Navigation.vb:321-333 | ExampleSettings/CustomControls/Z80_NavBar/Z80_Navigation.vb:321-333 | Z80NavBarControl/Z80_Navigation.vb:428-440 \u2014 before extracting anything, compare \u0060Demo/Z80_NavBar/Z80_Navigation.vb\u0060 and \u0060ExampleSettings/CustomControls/Z80_NavBar/Z80_Navigation.vb\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 392 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Demo/Z80_NavBar/Z80_Navigation.vb"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"17925ad0ed158fbdfb2d58b4da46bad46699ac03195035bda5f3d67339fcceb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Z80NavBarControl/Z80_Navigation.vb:307-317 | Z80NavBarControl/Z80_Navigation.vb:347-357 \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":"Z80NavBarControl/Z80_Navigation.vb"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ad258bf7a80dc1c6f21d33b649e74b64bedcdffdc5eb19207e0da344af7ac78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): Demo/Z80_NavBar/Z80_Navigation.vb:515-526 | ExampleSettings/CustomControls/Z80_NavBar/Z80_Navigation.vb:515-526 | Z80NavBarControl/Z80_Navigation.vb:642-653 \u2014 before extracting anything, compare \u0060Demo/Z80_NavBar/Z80_Navigation.vb\u0060 and \u0060ExampleSettings/CustomControls/Z80_NavBar/Z80_Navigation.vb\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 392 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Demo/Z80_NavBar/Z80_Navigation.vb"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bed247f15eb17686c98c2ac4e34c6546edd68a41caec3beb2a6c5157cee0379"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): Demo/Z80_NavBar/Z80_Navigation.vb:667-675 | ExampleSettings/CustomControls/Z80_NavBar/Z80_Navigation.vb:667-675 | Z80NavBarControl/Z80_Navigation.vb:885-893 \u2014 before extracting anything, compare \u0060Demo/Z80_NavBar/Z80_Navigation.vb\u0060 and \u0060ExampleSettings/CustomControls/Z80_NavBar/Z80_Navigation.vb\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 392 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Z80NavBarControl/Z80_Navigation.vb:882\u0060 calls \u0060If\u0060, \u0060DrawRectangle\u0060, \u0060BorderSolidColor\u0060 and \u0060Demo/Z80_NavBar/Z80_Navigation.vb:664\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Demo/Z80_NavBar/Z80_Navigation.vb"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"44c756ce4dfb81bc2a24a9be19701201fddcaa6caf5cdb175be28c32360066a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): DemoCS/Z80_NavBar/Z80_Navigation.cs:719-724 | DemoCS/Z80_NavBar/Z80_Navigation.cs:740-745 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060DemoCS/Z80_NavBar/Z80_Navigation.cs:719\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":"DemoCS/Z80_NavBar/Z80_Navigation.cs"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"e08c9463fc12c371f98a4da9b01de08529b78a0b70156352ca5318ab1d9b1231"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 14): Demo/Z80_NavBar/Themes/Definitions/BlueTheme.vb:110-116 | Demo/Z80_NavBar/Themes/Definitions/BlueTheme.vb:122-128 | Demo/Z80_NavBar/Themes/Definitions/DarkTheme.vb:110-117 | Demo/Z80_NavBar/Themes/Definitions/DarkTheme.vb:123-129 | ExampleSettings/CustomControls/Z80_NavBar/Themes/Definitions/BlueTheme.vb:110-116 | ExampleSettings/CustomControls/Z80_NavBar/Themes/Definitions/BlueTheme.vb:122-128 | ExampleSettings/CustomControls/Z80_NavBar/Themes/Definitions/DarkTheme.vb:110-117 | ExampleSettings/CustomControls/Z80_NavBar/Themes/Definitions/DarkTheme.vb:123-129 | Z80NavBarControl/Themes/Definitions/BlueTheme.vb:119-125 | Z80NavBarControl/Themes/Definitions/BlueTheme.vb:131-137 | Z80NavBarControl/Themes/Definitions/DarkTheme.vb:119-126 | Z80NavBarControl/Themes/Definitions/DarkTheme.vb:132-138 | Z80NavBarControl/Themes/Definitions/RoyalTheme.vb:116-123 | Z80NavBarControl/Themes/Definitions/RoyalTheme.vb:129-135 \u2014 before extracting anything, compare \u0060Demo/Z80_NavBar/Themes/Definitions/BlueTheme.vb\u0060 and \u0060Demo/Z80_NavBar/Themes/Definitions/DarkTheme.vb\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Demo/Z80_NavBar/Themes/Definitions/BlueTheme.vb"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2b5ca678880ef843fea0061e9fd3ae4d61a77efe50df739b8c856be02e8a0d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): Demo/Z80_NavBar/Z80_Navigation.vb:647-652 | Demo/Z80_NavBar/Z80_Navigation.vb:665-670 | ExampleSettings/CustomControls/Z80_NavBar/Z80_Navigation.vb:647-652 | ExampleSettings/CustomControls/Z80_NavBar/Z80_Navigation.vb:665-670 | Z80NavBarControl/Z80_Navigation.vb:863-868 | Z80NavBarControl/Z80_Navigation.vb:883-888 \u2014 before extracting anything, compare \u0060Demo/Z80_NavBar/Z80_Navigation.vb\u0060 and \u0060ExampleSettings/CustomControls/Z80_NavBar/Z80_Navigation.vb\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 392 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Z80NavBarControl/Z80_Navigation.vb:882\u0060 calls \u0060If\u0060, \u0060DrawRectangle\u0060, \u0060BorderSolidColor\u0060 and \u0060Demo/Z80_NavBar/Z80_Navigation.vb:664\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Demo/Z80_NavBar/Z80_Navigation.vb"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"90bcc146cf0e3475ccf2ce9a17a46c76d9c7cedc7c180f7a4493cf73730002d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): Demo/Z80_NavBar/Z80_Navigation.vb:230-236 | ExampleSettings/CustomControls/Z80_NavBar/Z80_Navigation.vb:230-236 | Z80NavBarControl/Z80_Navigation.vb:304-310 \u2014 before extracting anything, compare \u0060Demo/Z80_NavBar/Z80_Navigation.vb\u0060 and \u0060ExampleSettings/CustomControls/Z80_NavBar/Z80_Navigation.vb\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 392 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Demo/Z80_NavBar/Z80_Navigation.vb"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c6270db43af3f47ec07a7455f74a72a2b79eff1352e481dabc27b4e71b53fcd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): Demo/Z80_NavBar/Themes/Definitions/DarkTheme.vb:158-164 | ExampleSettings/CustomControls/Z80_NavBar/Themes/Definitions/DarkTheme.vb:158-164 | Z80NavBarControl/Themes/Definitions/DarkTheme.vb:167-173 | Z80NavBarControl/Themes/Definitions/RoyalTheme.vb:164-170 \u2014 before extracting anything, compare \u0060Demo/Z80_NavBar/Themes/Definitions/DarkTheme.vb\u0060 and \u0060ExampleSettings/CustomControls/Z80_NavBar/Themes/Definitions/DarkTheme.vb\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Demo/Z80_NavBar/Themes/Definitions/DarkTheme.vb"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a38a9a70a3bbb0729dffa88f492671ba6f1c9fca351684d81578b7e94f1abb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): Demo/Z80_NavBar/Z80_Navigation.vb:683-689 | ExampleSettings/CustomControls/Z80_NavBar/Z80_Navigation.vb:683-689 | Z80NavBarControl/Z80_Navigation.vb:902-908 \u2014 before extracting anything, compare \u0060Demo/Z80_NavBar/Z80_Navigation.vb\u0060 and \u0060ExampleSettings/CustomControls/Z80_NavBar/Z80_Navigation.vb\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 392 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Z80NavBarControl/Z80_Navigation.vb:910\u0060 calls \u0060If\u0060, \u0060DrawRectangle\u0060, \u0060BorderSolidColor\u0060 and \u0060Demo/Z80_NavBar/Z80_Navigation.vb:690\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Demo/Z80_NavBar/Z80_Navigation.vb"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"86b3d7a1bef8e73c8d4b1bd35bff0b4e927117550919137fcb24a3c77d0163e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 8): Demo/Z80_NavBar/Themes/Definitions/BlueTheme.vb:180-185 | Demo/Z80_NavBar/Themes/Definitions/DarkTheme.vb:181-186 | ExampleSettings/CustomControls/Z80_NavBar/Themes/Definitions/BlueTheme.vb:180-185 | ExampleSettings/CustomControls/Z80_NavBar/Themes/Definitions/DarkTheme.vb:181-186 | Z80NavBarControl/Themes/Definitions/BlueTheme.vb:189-194 | Z80NavBarControl/Themes/Definitions/DarkTheme.vb:190-195 | Z80NavBarControl/Themes/Definitions/RoyalTheme.vb:187-192 | Z80NavBarControl/Themes/Definitions/RoyalTheme.vb:198-203 \u2014 before extracting anything, compare \u0060Demo/Z80_NavBar/Themes/Definitions/BlueTheme.vb\u0060 and \u0060Demo/Z80_NavBar/Themes/Definitions/DarkTheme.vb\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Demo/Z80_NavBar/Themes/Definitions/BlueTheme.vb"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"49711ff9a529f47941e9997e6f7962a9a9fa3b9062155d104ae5451e9aef94dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 7): Demo/Z80_NavBar/Themes/Definitions/BlueTheme.vb:134-139 | Demo/Z80_NavBar/Themes/Definitions/DarkTheme.vb:135-140 | ExampleSettings/CustomControls/Z80_NavBar/Themes/Definitions/BlueTheme.vb:134-139 | ExampleSettings/CustomControls/Z80_NavBar/Themes/Definitions/DarkTheme.vb:135-140 | Z80NavBarControl/Themes/Definitions/BlueTheme.vb:143-148 | Z80NavBarControl/Themes/Definitions/DarkTheme.vb:144-149 | Z80NavBarControl/Themes/Definitions/RoyalTheme.vb:141-146 \u2014 before extracting anything, compare \u0060Demo/Z80_NavBar/Themes/Definitions/BlueTheme.vb\u0060 and \u0060Demo/Z80_NavBar/Themes/Definitions/DarkTheme.vb\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Demo/Z80_NavBar/Themes/Definitions/BlueTheme.vb"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b003697bc012d2c353fad64bee537597b844e07d25485d484081a05d7af1da8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): Demo/Z80_NavBar/Themes/Definitions/BlueTheme.vb:169-174 | Demo/Z80_NavBar/Themes/Definitions/DarkTheme.vb:170-175 | ExampleSettings/CustomControls/Z80_NavBar/Themes/Definitions/BlueTheme.vb:169-174 | ExampleSettings/CustomControls/Z80_NavBar/Themes/Definitions/DarkTheme.vb:170-175 | Z80NavBarControl/Themes/Definitions/BlueTheme.vb:178-183 | Z80NavBarControl/Themes/Definitions/DarkTheme.vb:179-184 \u2014 before extracting anything, compare \u0060Demo/Z80_NavBar/Themes/Definitions/BlueTheme.vb\u0060 and \u0060Demo/Z80_NavBar/Themes/Definitions/DarkTheme.vb\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Demo/Z80_NavBar/Themes/Definitions/BlueTheme.vb"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"e69486f9220446b6dcfaa1db7918fc6b33691dfb9121f3f5a965e379826084fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 17): Demo/Z80_NavBar/Themes/Definitions/BlueTheme.vb:146-151 | Demo/Z80_NavBar/Themes/Definitions/BlueTheme.vb:158-163 | Demo/Z80_NavBar/Themes/Definitions/BlueTheme.vb:169-174 | Demo/Z80_NavBar/Themes/Definitions/DarkTheme.vb:148-152 | Demo/Z80_NavBar/Themes/Definitions/DarkTheme.vb:170-175 | ExampleSettings/CustomControls/Z80_NavBar/Themes/Definitions/BlueTheme.vb:146-151 | ExampleSettings/CustomControls/Z80_NavBar/Themes/Definitions/BlueTheme.vb:158-163 | ExampleSettings/CustomControls/Z80_NavBar/Themes/Definitions/BlueTheme.vb:169-174 | ExampleSettings/CustomControls/Z80_NavBar/Themes/Definitions/DarkTheme.vb:148-152 | ExampleSettings/CustomControls/Z80_NavBar/Themes/Definitions/DarkTheme.vb:170-175 | Z80NavBarControl/Themes/Definitions/BlueTheme.vb:155-160 | Z80NavBarControl/Themes/Definitions/BlueTheme.vb:167-172 | Z80NavBarControl/Themes/Definitions/BlueTheme.vb:178-183 | Z80NavBarControl/Themes/Definitions/DarkTheme.vb:157-161 | Z80NavBarControl/Themes/Definitions/DarkTheme.vb:179-184 | Z80NavBarControl/Themes/Definitions/RoyalTheme.vb:154-158 | Z80NavBarControl/Themes/Definitions/RoyalTheme.vb:177-181 \u2014 before extracting anything, compare \u0060Demo/Z80_NavBar/Themes/Definitions/BlueTheme.vb\u0060 and \u0060Demo/Z80_NavBar/Themes/Definitions/DarkTheme.vb\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Demo/Z80_NavBar/Themes/Definitions/BlueTheme.vb:146\u0060 calls \u0060Add\u0060, \u0060SolidBrush\u0060 and \u0060Demo/Z80_NavBar/Themes/Definitions/BlueTheme.vb:169\u0060 does not \u2014 after which the two agree again for 5 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Demo/Z80_NavBar/Themes/Definitions/BlueTheme.vb"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f134bda4fcfce7f89ce4e682de16fd51bdb8a680bacbaf07d8701223a7a03c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): Demo/Z80_NavBar/Themes/Definitions/BlueTheme.vb:191-195 | Demo/Z80_NavBar/Themes/Definitions/DarkTheme.vb:192-197 | ExampleSettings/CustomControls/Z80_NavBar/Themes/Definitions/BlueTheme.vb:191-195 | ExampleSettings/CustomControls/Z80_NavBar/Themes/Definitions/DarkTheme.vb:192-197 | Z80NavBarControl/Themes/Definitions/BlueTheme.vb:200-204 | Z80NavBarControl/Themes/Definitions/DarkTheme.vb:201-206 \u2014 before extracting anything, compare \u0060Demo/Z80_NavBar/Themes/Definitions/BlueTheme.vb\u0060 and \u0060Demo/Z80_NavBar/Themes/Definitions/DarkTheme.vb\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Demo/Z80_NavBar/Themes/Definitions/BlueTheme.vb"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"c252dbbdda5a22789c34f7349e0c5af52c2ed172b23dedf62346dcb6e61b73fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): Demo/Z80_NavBar/Z80_Navigation.vb:281-287 | ExampleSettings/CustomControls/Z80_NavBar/Z80_Navigation.vb:281-287 | Z80NavBarControl/Z80_Navigation.vb:384-388 \u2014 before extracting anything, compare \u0060Demo/Z80_NavBar/Z80_Navigation.vb\u0060 and \u0060ExampleSettings/CustomControls/Z80_NavBar/Z80_Navigation.vb\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 392 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Demo/Z80_NavBar/Z80_Navigation.vb"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"44ed794044e6e7fc0f4e2a70652aee326d2ac044e30cf5a933b9338158c5f819"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Z80NavBarControl/Themes/Definitions/DarkTheme.vb:212-216 | Z80NavBarControl/Themes/Definitions/RoyalTheme.vb:209-213 \u2014 before extracting anything, compare \u0060Z80NavBarControl/Themes/Definitions/DarkTheme.vb\u0060 and \u0060Z80NavBarControl/Themes/Definitions/RoyalTheme.vb\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Z80NavBarControl/Themes/Definitions/DarkTheme.vb"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2f8c00acf311ed444d2d55d8338a5a765c6738b28f3211ce1e44d4a69bdf9ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): DemoCS/FrmMain.cs:9-29 | DemoControlCS/FrmMain.cs:16-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"DemoCS/FrmMain.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"c44e1fbce3def97c01b2a97e6ca49892e9370f1c85090b6387d425b9bafb2b08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Demo/Z80_NavBar/Z80_Navigation.vb:60-71 | ExampleSettings/CustomControls/Z80_NavBar/Z80_Navigation.vb:60-71 \u2014 before extracting anything, compare \u0060Demo/Z80_NavBar/Z80_Navigation.vb\u0060 and \u0060ExampleSettings/CustomControls/Z80_NavBar/Z80_Navigation.vb\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 392 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Demo/Z80_NavBar/Z80_Navigation.vb"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfb189a3c50bd617814f81eb9a873a4fae13b37f6a433ebe5dc3ff5e5f8666e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): Demo/Z80_NavBar/Z80_Navigation.vb:135-145 | ExampleSettings/CustomControls/Z80_NavBar/Z80_Navigation.vb:135-145 | Z80NavBarControl/Z80_Navigation.vb:151-161 \u2014 before extracting anything, compare \u0060Demo/Z80_NavBar/Z80_Navigation.vb\u0060 and \u0060ExampleSettings/CustomControls/Z80_NavBar/Z80_Navigation.vb\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 392 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Demo/Z80_NavBar/Z80_Navigation.vb"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"26e556cd6ba57c2537f03baa294a127dbde8bf2d237f011e11ddec20de31ec50"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): Demo/Z80_NavBar/Z80_Navigation.vb:154-165 | ExampleSettings/CustomControls/Z80_NavBar/Z80_Navigation.vb:154-165 | Z80NavBarControl/Z80_Navigation.vb:170-181 \u2014 before extracting anything, compare \u0060Demo/Z80_NavBar/Z80_Navigation.vb\u0060 and \u0060ExampleSettings/CustomControls/Z80_NavBar/Z80_Navigation.vb\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 392 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Demo/Z80_NavBar/Z80_Navigation.vb"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"fca7f9396575191fc7216d7d45f9cd0b13eca15890c4574835fadf34bb333487"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): Demo/Z80_NavBar/Z80_Navigation.vb:201-209 | ExampleSettings/CustomControls/Z80_NavBar/Z80_Navigation.vb:201-209 | Z80NavBarControl/Z80_Navigation.vb:217-225 \u2014 before extracting anything, compare \u0060Demo/Z80_NavBar/Z80_Navigation.vb\u0060 and \u0060ExampleSettings/CustomControls/Z80_NavBar/Z80_Navigation.vb\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 392 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Demo/Z80_NavBar/Z80_Navigation.vb"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"abd4ea2bab4cacb22be0541cc54656398fcca352a4042dfb4bd7ff1f6004b47f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): DemoCS/FrmDemo1.cs:11-15 | DemoControlCS/FrmDemo1.cs:18-22 \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":"DemoCS/FrmDemo1.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"323ceeeca536052fa3200b554af5b9652199d86c7b7cbb573c6a30f76c05f312"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): DemoCS/FrmDemo1.cs:25-32 | DemoControlCS/FrmDemo1.cs:32-39 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"DemoCS/FrmDemo1.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"7793e2b931e7fb98856ca21933d8906fcadb7e1a6ca127510506945c0f7e113d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): DemoCS/FrmDemo2.cs:11-15 | DemoControlCS/FrmDemo2.cs:18-22 \u2014 \u0060DemoCS/FrmDemo2.cs\u0060 and \u0060DemoControlCS/FrmDemo2.cs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 2 separate duplicated blocks between them, totalling at least 10 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"DemoCS/FrmDemo2.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"e54418a58e7ac1dd36703451098da4b6adcbf3e909e43ae54eccda45ff70bc47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): DemoCS/FrmDemo2.cs:24-28 | DemoControlCS/FrmDemo2.cs:31-35 \u2014 \u0060DemoCS/FrmDemo2.cs\u0060 and \u0060DemoControlCS/FrmDemo2.cs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 2 separate duplicated blocks between them, totalling at least 10 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"DemoCS/FrmDemo2.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e28ceadad3c03a5b908d6cf4e5cbb8cb30b2146c04da9c2e67342d39d1f5f37"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: BlueTheme (LCOM4 8): BlueTheme\u0027s methods fall into 8 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 8 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Demo/Z80_NavBar/Themes/Definitions/BlueTheme.vb"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"35f100c51efcb4a0c2014bab19a91947a29caa13c1efa4bc2bb9bcd9657e806a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DarkTheme (LCOM4 8): DarkTheme\u0027s methods fall into 8 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 8 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Demo/Z80_NavBar/Themes/Definitions/DarkTheme.vb"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa04eda918f2b04eaba5d03661d12b42f520de61de5627e776811c22931adc1b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: BlueTheme (LCOM4 8): BlueTheme\u0027s methods fall into 8 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 8 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ExampleSettings/CustomControls/Z80_NavBar/Themes/Definitions/BlueTheme.vb"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d686e5018fe1db9dc3a6274593f6966ef9acc3e7a37e857837202cc6bca046d"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DarkTheme (LCOM4 8): DarkTheme\u0027s methods fall into 8 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 8 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ExampleSettings/CustomControls/Z80_NavBar/Themes/Definitions/DarkTheme.vb"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8f0f498c4f34323e72516a143e7311cd58ce16bded9057344b0ae98daa01f1e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: BlueTheme (LCOM4 8): BlueTheme\u0027s methods fall into 8 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 8 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Z80NavBarControl/Themes/Definitions/BlueTheme.vb"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"d17fc4d178015d2f76152dc82e93691a1dcf74131075e7709c7945ebe4af8f61"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DarkTheme (LCOM4 8): DarkTheme\u0027s methods fall into 8 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 8 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Z80NavBarControl/Themes/Definitions/DarkTheme.vb"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd7575d9fb91b864ef4c94c0048f5d5ac394c00153ab5d1014402912ffd4169a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: RoyalTheme (LCOM4 8): RoyalTheme\u0027s methods fall into 8 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 8 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Z80NavBarControl/Themes/Definitions/RoyalTheme.vb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c33aeb10c6611f708fa67bdf7b5a7f8c8fc1c88bd83cd47fefaf93d38765b6"}},{"ruleId":"D8","level":"error","message":{"text":"No automated tests: No automated tests \u2014 no test code was found in this repository. Untested code is the largest single risk to changing it safely. Start with the code you change most often: add a suite in a framework a runner can collect (xUnit, NUnit or MSTest), and run it in CI so the gap cannot reopen."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3132564c6310e5d01a231f252a02d5d2f5a542c0a8fa29a14c89693f1e3df871"}},{"ruleId":"D9","level":"note","message":{"text":"No tests found: No test suite could be collected \u2014 no discoverable tests to count. If this repository does test, wiring the suite to a framework a runner can collect (xUnit, NUnit or MSTest) is what makes it countable here; a pipeline step that invokes a runner is not evidence on its own, because a runner over an empty suite passes. Tests written as plain executables or shell/PowerShell harnesses are not collectible this way and are not scored here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c9bf64cbb5a4ae13d6bcd01fa3bc8d2879d860c73bc67f176ee3c2cecb8adce3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Z80NavBarControl/Z80_Navigation.vb: Z80NavBarControl/Z80_Navigation.vb changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in NavBarItemPanel.OnPaint at line 845. 1 of those changes was a fix/bug commit, and the other 6 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2017-04-18..2017-07-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272017-04-18 20:23:45 \u002B02:00\u0027 --until=\u00272017-07-17 20:23:45 \u002B02:00\u0027 --full-history --no-merges -- Z80NavBarControl/Z80_Navigation.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":"Z80NavBarControl/Z80_Navigation.vb"},"region":{"startLine":845}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fd0def60cd2fa76a6e5d252d708a4db32e01ea2fb2caa886d243cf8e930c98f"}},{"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":"ExampleSettings/Helpers/XMLSerialization.vb"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"83cc70569c16609e5fadbfac3e0f5b96a5513792626e0d601272146c5c3c916f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: \u0027TODO: Decrypt password \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":"ExampleSettings/Settings/Models/SQLServerPrm.vb"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"588f22c28f1a9d1ef33451cf8d1118cc598bda4c4c4476b1b215c428589f4e5d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: \u0027TODO: Encrypt password \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":"ExampleSettings/Settings/Models/SQLServerPrm.vb"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c158c51a1e4c869d3693eed94317e9f0bb79999f00141e7449a2fda324de9f3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: \u0027TODO: implement Comm test \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":"ExampleSettings/Settings/UserInterface/Hardware/UC_Scale.vb"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"a92954097c6a57e9a83e09b8356902b0487ca314775d022d8db9fde8e7ca13e8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: \u0027TODO: implement Database connection test \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":"ExampleSettings/Settings/UserInterface/UC_DataBase.vb"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"d38baa94444b78054ccb699527b54b9992339421080a117aa39687affde03ab1"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no installation or build instructions: There are no installation/build or setup instructions in the document. Add an Install section covering NuGet package, target frameworks, and any prerequisites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fa6bfcd5c6ae231d1b8ee99bced50b832d1f61cde9da6cbb533467b879a57db"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no usage examples: The README describes how to add the control via the toolbox but gives no runnable code example or usage instructions. Add a Usage section showing the minimal C# code to drag the control onto a form and initialize it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1355eb4e127a4bc9236772ce1c46f09510aa9286e7a06d1e47f308229df19049"}},{"ruleId":"D19","level":"warning","message":{"text":"Low XML-doc coverage: DemoCS: DemoCS: 45 % XML-doc coverage (35/78)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"DemoCS/DemoCS.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f33cfc0440c2ec2178789709a4770aa27cb19d6a8b154f30f4afb10b7c32d753"}},{"ruleId":"D19","level":"warning","message":{"text":"Low XML-doc coverage: DemoControlCS: DemoControlCS: 0 % XML-doc coverage (0/17)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"DemoControlCS/DemoControlCS.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a78a425d2b628b1c5e3eeca925f9eb039a7cc206f29c11126f444954db030ab"}},{"ruleId":"D21","level":"note","message":{"text":"Inconsistent spelling of the suffix \u0027DEPTH\u0027 in constant names. The background color constants use \u0027NO_DEPHT\u0027 (missing \u0027H\u0027), while the brush constants correctly use \u0027NO_DEPTH\u0027.: Standardize to \u0027NO_DEPTH\u0027 across all constants. (symbols: Field: private Color Z80NavBar.Themes.BlueTheme.DEFAULT_BACKGROUND_COLOR_NO_DEPHT, Field: private Color Z80NavBar.Themes.DarkTheme.DEFAULT_BACKGROUND_COLOR_NO_DEPHT, Field: private SolidBrush Z80NavBar.Themes.BlueTheme.DEFAULT_BRUSH_FONT_ITEM_SELECTED_NO_DEPTH, Field: private SolidBrush Z80NavBar.Themes.BlueTheme.DEFAULT_BRUSH_FONT_ITEM_NOT_SELECTED_NO_DEPTH, Field: private SolidBrush Z80NavBar.Themes.DarkTheme.DEFAULT_BRUSH_FONT_ITEM_SELECTED_NO_DEPTH, Field: private SolidBrush Z80NavBar.Themes.DarkTheme.DEFAULT_BRUSH_FONT_HOVER_NO_DEPTH)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ecca0f5367eb14153f5c8db7dd8296ef1d0215669022118f56e46ab312cf91df"}},{"ruleId":"D21","level":"note","message":{"text":"Inconsistent spelling of the word \u0027Background\u0027. The property name uses \u0027Backgroud\u0027 (missing \u0027n\u0027).: Rename to \u0027ItemDisableBackgroundColor\u0027. (symbols: Property: public Color Z80NavBar.Themes.ITheme.ItemDisableBackgroudColor, Property: public Color Z80NavBar.Themes.DarkTheme.ItemDisableBackgroudColor, Property: public Color Z80NavBar.Themes.BlueTheme.ItemDisableBackgroudColor)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"86e62bf3fd5c791159013315bb559071bccbbad34e7de8a6ac56c2eb8e2dbedb"}},{"ruleId":"D21","level":"note","message":{"text":"Inconsistent pluralization style for collection fields. \u0027Childs\u0027 uses an incorrect plural form (should be \u0027Children\u0027) and lacks the underscore prefix used by other internal list fields like \u0027_parentID_List\u0027.: Rename to \u0027Children\u0027 or \u0027_children\u0027 to follow standard C# conventions and internal naming patterns. (symbols: Field: public List\u003CNavBarItem\u003E Z80NavBar.NavBarItem.Childs, Field: private List\u003Cint\u003E DemoCS.Z80_NavBar.Z80_Navigation._parentID_List)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b2abe5d57a14b87d708bba7441d71082ded597fda3c0a9be16ec47e5c81e1538"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"DemoCS/Z80_NavBar/Z80_Navigation.cs"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"9819e2397c19e4ec2f28323fff4fd0344e84275ea75b37a664277033a648a8f8"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"M3","level":"note","message":{"text":"No src/ separation: Production code isn\u0027t grouped under a src/ folder \u2014 it\u0027s spread across several top-level directories, so there\u0027s no one place that says \u0027this is the product\u0027."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"fdf7f5b24e313364d10170a5c2542959902fe0d26ed70edef3eaa10ec5bcdb1d"}},{"ruleId":"M3","level":"note","message":{"text":"Inconsistent root namespaces: Only 1/5 projects share a common root namespace \u2014 the code\u0027s module identity is inconsistent."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c8031c9fb77ad97c2e4a8ddb29978f4bf30140d481913bd7fde8b5adbbb83ede"}},{"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":"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":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060f\u0060 is a \u0060FrmDemo1\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 15). Every use of it in \u0060BtnDemo1_Click\u0060 reads a member through it \u2014 it is never returned, never stored, never handed to anything else, and never disposed \u2014 so this method both creates the value and is the last thing that can release it, and does not. Nothing announces the leak: the object holds its resource until finalization if its type has a finalizer, and until the process ends if it does not, so the cost accumulates once per CALL rather than showing up as a failure. Declare it with \u0060using\u0060 (\u0060using var f = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"DemoCS/FrmMain.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3a72deb53d9dc657976692b23be30d020c6d93ca70c24d358c5d496f2b4e1ef"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060f\u0060 is a \u0060FrmDemo2\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 21). Every use of it in \u0060BtnDemo2_Click\u0060 reads a member through it \u2014 it is never returned, never stored, never handed to anything else, and never disposed \u2014 so this method both creates the value and is the last thing that can release it, and does not. Nothing announces the leak: the object holds its resource until finalization if its type has a finalizer, and until the process ends if it does not, so the cost accumulates once per CALL rather than showing up as a failure. Declare it with \u0060using\u0060 (\u0060using var f = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"DemoCS/FrmMain.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a3452f0f318dc0e883acdd6c6c737905be3849d599f6e709dd688337d5b697d"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060f\u0060 is a \u0060FrmDemo3\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 27). Every use of it in \u0060BtnDemo3_Click\u0060 reads a member through it \u2014 it is never returned, never stored, never handed to anything else, and never disposed \u2014 so this method both creates the value and is the last thing that can release it, and does not. Nothing announces the leak: the object holds its resource until finalization if its type has a finalizer, and until the process ends if it does not, so the cost accumulates once per CALL rather than showing up as a failure. Declare it with \u0060using\u0060 (\u0060using var f = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"DemoCS/FrmMain.cs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"2616077e203139c96f773ffe109fe1883ccae0cfc9004d62b1700ba2b7d9fd1d"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060f\u0060 is a \u0060FrmDemo1\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 22). Every use of it in \u0060BtnDemo1_Click\u0060 reads a member through it \u2014 it is never returned, never stored, never handed to anything else, and never disposed \u2014 so this method both creates the value and is the last thing that can release it, and does not. Nothing announces the leak: the object holds its resource until finalization if its type has a finalizer, and until the process ends if it does not, so the cost accumulates once per CALL rather than showing up as a failure. Declare it with \u0060using\u0060 (\u0060using var f = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"DemoControlCS/FrmMain.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dd3e2fd43b1ceb4e8d04790cd4d6747da0a167b523e76f1d93168f43c5e19e6"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060f\u0060 is a \u0060FrmDemo2\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 28). Every use of it in \u0060BtnDemo2_Click\u0060 reads a member through it \u2014 it is never returned, never stored, never handed to anything else, and never disposed \u2014 so this method both creates the value and is the last thing that can release it, and does not. Nothing announces the leak: the object holds its resource until finalization if its type has a finalizer, and until the process ends if it does not, so the cost accumulates once per CALL rather than showing up as a failure. Declare it with \u0060using\u0060 (\u0060using var f = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"DemoControlCS/FrmMain.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4965111febf04b5c1fce78e41a7b5da4a49231709966e9a93d41b310937abd5"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060f\u0060 is a \u0060FrmDemo3\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 34). Every use of it in \u0060BtnDemo3_Click\u0060 reads a member through it \u2014 it is never returned, never stored, never handed to anything else, and never disposed \u2014 so this method both creates the value and is the last thing that can release it, and does not. Nothing announces the leak: the object holds its resource until finalization if its type has a finalizer, and until the process ends if it does not, so the cost accumulates once per CALL rather than showing up as a failure. Declare it with \u0060using\u0060 (\u0060using var f = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"DemoControlCS/FrmMain.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd38ec8dad7df2491ccc63bd4c75fb6bf9f08d1dd16b298d35e14c5378a249d"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060f\u0060 is a \u0060FrmDemoOrion\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 40). Every use of it in \u0060button1_Click\u0060 reads a member through it \u2014 it is never returned, never stored, never handed to anything else, and never disposed \u2014 so this method both creates the value and is the last thing that can release it, and does not. Nothing announces the leak: the object holds its resource until finalization if its type has a finalizer, and until the process ends if it does not, so the cost accumulates once per CALL rather than showing up as a failure. Declare it with \u0060using\u0060 (\u0060using var f = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"DemoControlCS/FrmMain.cs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"80168203206d3d7d931a491ec261de032f30caf6f20441cdf6bfa03c8334747c"}}],"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-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/"}]}],"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}}}]}