{"$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":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"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":"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":"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":"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":"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"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"DSGMlib.CompileGame (cyclomatic 222): DSGMlib.CompileGame has cyclomatic complexity 222 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: DSGMLib.vb holds 5 of the 25 methods over the threshold \u2014 including the worst \u2014 and 289 of the 496 points over it (58%), 6\u00D7 the next-largest file (ScriptsLib.vb at 48). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"DSGMLib.vb"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ad6b30fe0dd2271fe9f4b6dbe781a4f94e6fb403dccc4212176ebca77ed179d"}},{"ruleId":"D1","level":"warning","message":{"text":"DSGMlib.DeleteResource (cyclomatic 84): DSGMlib.DeleteResource has cyclomatic complexity 84 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: DSGMLib.vb holds 5 of the 25 methods over the threshold \u2014 including the worst \u2014 and 289 of the 496 points over it (58%), 6\u00D7 the next-largest file (ScriptsLib.vb at 48). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"DSGMLib.vb"},"region":{"startLine":1682}}}],"partialFingerprints":{"codehealthFindingId/v1":"779a3a6ecf5617e36b31d71d498db8637afec48a4d633ecb005e563ac3cff970"}},{"ruleId":"D1","level":"warning","message":{"text":"ScriptsLib.ScriptParseFromContent (cyclomatic 61): ScriptsLib.ScriptParseFromContent has cyclomatic complexity 61 (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":"ScriptsLib.vb"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"f540baf3de9c30a16d3bcb1b163029d88cda0bb07ccbc1f3dc7cd2454c24f7a2"}},{"ruleId":"D1","level":"warning","message":{"text":"Background.DAcceptButton_Click (cyclomatic 46): Background.DAcceptButton_Click has cyclomatic complexity 46 (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":"Background.vb"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"38559f72010c8d57a900e9416367047c5711f66bfd35ab71984241bef7f32b09"}},{"ruleId":"D1","level":"warning","message":{"text":"Action.Action_Load (cyclomatic 42): Action.Action_Load has cyclomatic complexity 42 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Action.vb"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"c94d549bf526e9225f94f3216c5735e3db6549aa0bb94362cc7772bc552d0374"}},{"ruleId":"D1","level":"warning","message":{"text":"DObject.DAcceptButton_Click (cyclomatic 42): DObject.DAcceptButton_Click has cyclomatic complexity 42 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"DObject.vb"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bc5cf6b825ee44c21b7381dc45f314a6f51be664ec44f95e7380e1263a1075f"}},{"ruleId":"D1","level":"warning","message":{"text":"Options.DOkayButton_Click (cyclomatic 27): Options.DOkayButton_Click has cyclomatic complexity 27 (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":"Options.vb"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"44b3338475a1c407b8de13b1dc3ea54c55c9831689c0051be97973673ecebf4c"}},{"ruleId":"D1","level":"warning","message":{"text":"Sprite.DAcceptButton_Click (cyclomatic 27): Sprite.DAcceptButton_Click has cyclomatic complexity 27 (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":"Sprite.vb"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"200194fe39b0866ec7c97edbcd824e9212be1f7294e74f74ea0661446b0213ac"}},{"ruleId":"D1","level":"warning","message":{"text":"DObject.ActionMouseUp (cyclomatic 24): DObject.ActionMouseUp has cyclomatic complexity 24 (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":"DObject.vb"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"a888ef26eb4ccd482fe6da1e3df56b232c9dbd02c265460a467667a27247ad0b"}},{"ruleId":"D1","level":"warning","message":{"text":"ActionEditor.SaveButton_Click (cyclomatic 23): ActionEditor.SaveButton_Click has cyclomatic complexity 23 (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":"ActionEditor.vb"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"15aa73e398f322cd41d2a6d3941504a678bf2bf3b907e8272fd7ff4265c6b739"}},{"ruleId":"D1","level":"warning","message":{"text":"DSGMlib.OpenProject (cyclomatic 23): DSGMlib.OpenProject has cyclomatic complexity 23 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: DSGMLib.vb holds 5 of the 25 methods over the threshold \u2014 including the worst \u2014 and 289 of the 496 points over it (58%), 6\u00D7 the next-largest file (ScriptsLib.vb at 48). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"DSGMLib.vb"},"region":{"startLine":2087}}}],"partialFingerprints":{"codehealthFindingId/v1":"d356bbf7813c19d628d5e6ed85816d74cb7e6b2fca374d24d3e930354335058b"}},{"ruleId":"D1","level":"warning","message":{"text":"TransformSprite.DOkayButton_Click (cyclomatic 23): TransformSprite.DOkayButton_Click has cyclomatic complexity 23 (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":"TransformSprite.vb"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2c48a39d4d9f3c314b6acb375c47cc2af8e70bb40b80f4b3fb71d589c28d3cb"}},{"ruleId":"D1","level":"warning","message":{"text":"Room.MakeRoomImage (cyclomatic 21): Room.MakeRoomImage has cyclomatic complexity 21 (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":"Room.vb"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbc1abcb0e15c990e20245ed5b79aebaa59e7e8bcc2f77937225574223b335fb"}},{"ruleId":"D1","level":"warning","message":{"text":"Action.DOkayButton_Click (cyclomatic 19): Action.DOkayButton_Click has cyclomatic complexity 19 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Action.vb"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5f6561f90d11ad3098cf9f7165c887eee203d2c3a41d45a1c83e21d17dbdbe5"}},{"ruleId":"D1","level":"warning","message":{"text":"DObject.ActionsList_DrawItem (cyclomatic 18): DObject.ActionsList_DrawItem has cyclomatic complexity 18 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"DObject.vb"},"region":{"startLine":727}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2b36a739a58076eaaaa024dcc32da143e4ea781b1b4acfdc83b7c9e26ce275d"}},{"ruleId":"D1","level":"warning","message":{"text":"DSGMlib.IntelliSense (cyclomatic 18): DSGMlib.IntelliSense has cyclomatic complexity 18 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: DSGMLib.vb holds 5 of the 25 methods over the threshold \u2014 including the worst \u2014 and 289 of the 496 points over it (58%), 6\u00D7 the next-largest file (ScriptsLib.vb at 48). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"DSGMLib.vb"},"region":{"startLine":1595}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bb1f923c20e4bfb7b9912d2e1e846d7a10823990d415a8e45c16e366184395f"}},{"ruleId":"D1","level":"warning","message":{"text":"MainForm.MainForm_Load (cyclomatic 18): MainForm.MainForm_Load has cyclomatic complexity 18 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MainForm.vb"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef9a6e29dd892461fc9cfad1b0ffead0e6591855a2d4b5e245219cff533ee075"}},{"ruleId":"D1","level":"warning","message":{"text":"ActionEditor.ActionsTreeView_NodeMouseDoubleClick (cyclomatic 17): ActionEditor.ActionsTreeView_NodeMouseDoubleClick has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ActionEditor.vb"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"677a243ec8bb80bb9d53561b7067990ec84b7ab7b44883c3c82f2ba8cf43f2b7"}},{"ruleId":"D1","level":"warning","message":{"text":"DObject.PopulateActionsTabControl (cyclomatic 17): DObject.PopulateActionsTabControl has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"DObject.vb"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcd13535a5ec7274f88547a7e0cbcca853a917ea03543d482486239a12e3c073"}},{"ruleId":"D1","level":"warning","message":{"text":"DSGMlib.CopyResource (cyclomatic 17): DSGMlib.CopyResource has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: DSGMLib.vb holds 5 of the 25 methods over the threshold \u2014 including the worst \u2014 and 289 of the 496 points over it (58%), 6\u00D7 the next-largest file (ScriptsLib.vb at 48). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"DSGMLib.vb"},"region":{"startLine":1909}}}],"partialFingerprints":{"codehealthFindingId/v1":"87a6750264e38e6cd2923d0ea23aa220deab4ac135e9949352ef09fd8a3be8b7"}},{"ruleId":"D1","level":"warning","message":{"text":"Room.DAcceptButton_Click (cyclomatic 17): Room.DAcceptButton_Click has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Room.vb"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b010b893e898bb2401ca68e0fe58c0474d04272490dd17e74eef59b5076e6d8"}},{"ruleId":"D1","level":"warning","message":{"text":"ScriptsLib.ArgumentStringToType (cyclomatic 17): ScriptsLib.ArgumentStringToType has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ScriptsLib.vb"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"2972814a542167097d805fe411df011957ca90f9f631fd132b1a22ac0bb6c97e"}},{"ruleId":"D1","level":"warning","message":{"text":"DObject.EventsListBox_DrawItem (cyclomatic 16): DObject.EventsListBox_DrawItem has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"DObject.vb"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd75282ae220c89c825afb0a0121bea1023fae0ad6b138d915e9bfecbf61cbe4"}},{"ruleId":"D1","level":"warning","message":{"text":"MainForm.ResRightClickMenu_Opening (cyclomatic 16): MainForm.ResRightClickMenu_Opening has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MainForm.vb"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"13a0f40ed1364698522b6d950a50e72ae4d50eaccf9f9a1635810c309b1a550f"}},{"ruleId":"D1","level":"warning","message":{"text":"Sound.DAcceptButton_Click (cyclomatic 16): Sound.DAcceptButton_Click has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sound.vb"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f7f1f74b8dee26ce96b85b02769595212ab026d03fad0860125eb4b69f8b364"}},{"ruleId":"D2","level":"warning","message":{"text":"DSGMlib.CompileGame (cognitive 623): DSGMlib.CompileGame has cognitive complexity 623 (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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: DSGMLib.vb holds 9 of the 43 methods over the threshold \u2014 including the worst \u2014 and 875 of the 1617 points over it (54%), 5.3\u00D7 the next-largest file (DObject.vb at 164). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"DSGMLib.vb"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"58acd703e4e0f5ad6e23900a1d03269ca71f6b682b37dfe3d68c58414648b3c1"}},{"ruleId":"D2","level":"warning","message":{"text":"DSGMlib.DeleteResource (cognitive 224): DSGMlib.DeleteResource has cognitive complexity 224 (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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: DSGMLib.vb holds 9 of the 43 methods over the threshold \u2014 including the worst \u2014 and 875 of the 1617 points over it (54%), 5.3\u00D7 the next-largest file (DObject.vb at 164). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"DSGMLib.vb"},"region":{"startLine":1682}}}],"partialFingerprints":{"codehealthFindingId/v1":"12577148d95b6024b9f9b837a28e633df6ace4fd480f3b93a015cbca8c33b068"}},{"ruleId":"D2","level":"warning","message":{"text":"ScriptsLib.ScriptParseFromContent (cognitive 173): ScriptsLib.ScriptParseFromContent has cognitive complexity 173 (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":"ScriptsLib.vb"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dff766f396110252ffc71ec71c0740fa81083c2ca3b51cdc0b57b946c19f2b8"}},{"ruleId":"D2","level":"warning","message":{"text":"Action.Action_Load (cognitive 105): Action.Action_Load has cognitive complexity 105 (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":"Action.vb"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"31e025ec663c72e1e2c569f4f7d26f3f79bc05493196f51f0fd12ae2430439d9"}},{"ruleId":"D2","level":"warning","message":{"text":"Background.DAcceptButton_Click (cognitive 104): Background.DAcceptButton_Click has cognitive complexity 104 (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":"Background.vb"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"f457ffab3a8d85ea5c42e308835b806b80e27c3791a897bcefd953690c2c69d5"}},{"ruleId":"D2","level":"warning","message":{"text":"DObject.DAcceptButton_Click (cognitive 90): DObject.DAcceptButton_Click has cognitive complexity 90 (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":"DObject.vb"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"92cefdf309468a3719a2084c22def621405026491d893231a31461fd5811819b"}},{"ruleId":"D2","level":"warning","message":{"text":"Sprite.DAcceptButton_Click (cognitive 51): Sprite.DAcceptButton_Click has cognitive complexity 51 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sprite.vb"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"741e4166de477fb95ae57fd2a774c61f545ed75fc53a7688868ac376806812c1"}},{"ruleId":"D2","level":"warning","message":{"text":"DObject.ActionsList_DrawItem (cognitive 43): DObject.ActionsList_DrawItem has cognitive complexity 43 (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":"DObject.vb"},"region":{"startLine":727}}}],"partialFingerprints":{"codehealthFindingId/v1":"187ee8411edb4c96268b801a033542b08946abc2531e447840cb445c092824dd"}},{"ruleId":"D2","level":"warning","message":{"text":"Action.DOkayButton_Click (cognitive 42): Action.DOkayButton_Click has cognitive complexity 42 (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":"Action.vb"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"9339555916b492884dcdedfdd79fd47061909f4eee797fc3428e2820a54a64fa"}},{"ruleId":"D2","level":"warning","message":{"text":"Room.MakeRoomImage (cognitive 41): Room.MakeRoomImage has cognitive complexity 41 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Room.vb"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"880a5081c8fa4aaf473f89891fa0a83b57b659b67cc27afa40a864dd3b950949"}},{"ruleId":"D2","level":"warning","message":{"text":"DObject.ActionMouseUp (cognitive 39): DObject.ActionMouseUp has cognitive complexity 39 (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":"DObject.vb"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"e923e4da27c2f0b588909b850c218ca60334389b56940025f4192b4f9253012b"}},{"ruleId":"D2","level":"warning","message":{"text":"DObject.PopulateActionsTabControl (cognitive 39): DObject.PopulateActionsTabControl has cognitive complexity 39 (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":"DObject.vb"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"737a50c4a73f8e176f1ebe6d461fcfa02c12fca3c25a165da224cb157d763aad"}},{"ruleId":"D2","level":"warning","message":{"text":"Options.DOkayButton_Click (cognitive 35): Options.DOkayButton_Click has cognitive complexity 35 (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":"Options.vb"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"507723b8afe333f23c67218aa6e0e622bf33e6019ab975f1a16975ad70d9c7e5"}},{"ruleId":"D2","level":"warning","message":{"text":"TransformSprite.DOkayButton_Click (cognitive 32): TransformSprite.DOkayButton_Click has cognitive complexity 32 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TransformSprite.vb"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"20c327c096d4adda04ae75737ef8c9c46820088d923fe753bbe5e08e5aaa8a83"}},{"ruleId":"D2","level":"warning","message":{"text":"ActionEditor.SaveButton_Click (cognitive 31): ActionEditor.SaveButton_Click has cognitive complexity 31 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ActionEditor.vb"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee134f86ec3883fca2742838eefe72917273eb56927f6efc59a8b55ef8c7f2fc"}},{"ruleId":"D2","level":"warning","message":{"text":"DSGMlib.OpenProject (cognitive 31): DSGMlib.OpenProject has cognitive complexity 31 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function. This file is where this pass\u0027s cognitive complexity CONCENTRATES: DSGMLib.vb holds 9 of the 43 methods over the threshold \u2014 including the worst \u2014 and 875 of the 1617 points over it (54%), 5.3\u00D7 the next-largest file (DObject.vb at 164). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"DSGMLib.vb"},"region":{"startLine":2087}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7842bbddaa62cf9f35e4afb1781c1bb5f798638653f318e6f1f88297a22cd37"}},{"ruleId":"D2","level":"warning","message":{"text":"DSGMlib.IntelliSense (cognitive 27): DSGMlib.IntelliSense has cognitive complexity 27 (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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: DSGMLib.vb holds 9 of the 43 methods over the threshold \u2014 including the worst \u2014 and 875 of the 1617 points over it (54%), 5.3\u00D7 the next-largest file (DObject.vb at 164). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"DSGMLib.vb"},"region":{"startLine":1595}}}],"partialFingerprints":{"codehealthFindingId/v1":"c476e85bbe80465d5226c87e3a15b203b5aa0b67ba2fd7e1f26058613b23a41d"}},{"ruleId":"D2","level":"warning","message":{"text":"Room.TopScreen_MouseClick (cognitive 27): Room.TopScreen_MouseClick has cognitive complexity 27 (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":"Room.vb"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"162d4d2ac1cb415fa19e4c70780a415081a88f966c2f3b6ad18ce65e5c959fc9"}},{"ruleId":"D2","level":"warning","message":{"text":"MainForm.AddBackgroundButton_Click (cognitive 26): MainForm.AddBackgroundButton_Click 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":"MainForm.vb"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"1176fbc33d605e9b4c2416416fa1e9086cf3e8af5c1b8e756d8d3c94a148fa3b"}},{"ruleId":"D2","level":"warning","message":{"text":"ActionEditor.ActionsTreeView_NodeMouseDoubleClick (cognitive 25): ActionEditor.ActionsTreeView_NodeMouseDoubleClick 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":"ActionEditor.vb"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"50f7dc16461a9170590a98c34986b52a9515286df7765f1584b3c083099f7dcb"}},{"ruleId":"D2","level":"warning","message":{"text":"DSGMlib.ImageCountColors (cognitive 25): DSGMlib.ImageCountColors 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: DSGMLib.vb holds 9 of the 43 methods over the threshold \u2014 including the worst \u2014 and 875 of the 1617 points over it (54%), 5.3\u00D7 the next-largest file (DObject.vb at 164). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"DSGMLib.vb"},"region":{"startLine":1368}}}],"partialFingerprints":{"codehealthFindingId/v1":"558b16b0218b8137423e66a2c5a95a2b4b2dfeba03bee30ab25e2af723313581"}},{"ruleId":"D2","level":"warning","message":{"text":"Sound.DAcceptButton_Click (cognitive 25): Sound.DAcceptButton_Click 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":"Sound.vb"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cc3251772e9cb5b6d13f0bb2a5e647ae432da1864d40975fe698aa41ae6fa91"}},{"ruleId":"D2","level":"warning","message":{"text":"DSGMlib.UpdateArrayActionsName (cognitive 24): DSGMlib.UpdateArrayActionsName has cognitive complexity 24 (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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: DSGMLib.vb holds 9 of the 43 methods over the threshold \u2014 including the worst \u2014 and 875 of the 1617 points over it (54%), 5.3\u00D7 the next-largest file (DObject.vb at 164). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"DSGMLib.vb"},"region":{"startLine":1554}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e88340e196098bcc30b038c3f7a3c64065bb6b57c230d6e5dbaedece44d55fd"}},{"ruleId":"D2","level":"warning","message":{"text":"Room.DAcceptButton_Click (cognitive 23): Room.DAcceptButton_Click has cognitive complexity 23 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Room.vb"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6406f2e13db1308458d4589d49bd48896510058b493c9ad03fe50c34335c1a6"}},{"ruleId":"D2","level":"warning","message":{"text":"Room.BottomScreen_MouseClick (cognitive 23): Room.BottomScreen_MouseClick has cognitive complexity 23 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Room.vb"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e625c5ca1caee3fc3db377b61948bafc91311676cb29e8cb107f6876685845e"}},{"ruleId":"D2","level":"warning","message":{"text":"ActionsLib.ActionEquateDisplay (cognitive 22): ActionsLib.ActionEquateDisplay has cognitive complexity 22 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ActionsLib.vb"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"d85ac06156d1797b7655bc055a6e8701ff4e01f0b24cceb80f87f1de6f95126f"}},{"ruleId":"D2","level":"warning","message":{"text":"DObject.ActionRightClickMenu_Opening (cognitive 22): DObject.ActionRightClickMenu_Opening has cognitive complexity 22 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"DObject.vb"},"region":{"startLine":959}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea6c3d2ec18b34807b35151895fdc01c1caf5d25ab97f3988c094bf18667655c"}},{"ruleId":"D2","level":"warning","message":{"text":"DSGMlib.CopyResource (cognitive 22): DSGMlib.CopyResource has cognitive complexity 22 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function. This file is where this pass\u0027s cognitive complexity CONCENTRATES: DSGMLib.vb holds 9 of the 43 methods over the threshold \u2014 including the worst \u2014 and 875 of the 1617 points over it (54%), 5.3\u00D7 the next-largest file (DObject.vb at 164). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"DSGMLib.vb"},"region":{"startLine":1909}}}],"partialFingerprints":{"codehealthFindingId/v1":"92bca46e70477170be68cdda389bf93572a22002b4a3f100e0f5581f1c4bda08"}},{"ruleId":"D2","level":"warning","message":{"text":"MainForm.LoadLastProject (cognitive 21): MainForm.LoadLastProject has cognitive complexity 21 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MainForm.vb"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"c34b9f9bb748fa58f123adef4a0512cccf1870eb555d0668e01b568880688c5b"}},{"ruleId":"D2","level":"warning","message":{"text":"MainForm.MainForm_Shown (cognitive 21): MainForm.MainForm_Shown has cognitive complexity 21 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MainForm.vb"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"3263b25598aca3f7f442a0368f5068633d39de99e631470321a4b83965b6101e"}},{"ruleId":"D2","level":"warning","message":{"text":"Sprite.PreviewButton_Click (cognitive 20): Sprite.PreviewButton_Click has cognitive complexity 20 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sprite.vb"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9db9e9f093adb21b7ba78eea7d5a7b1edcfc35d53615a1a6ea0e8e3661b6fd6"}},{"ruleId":"D2","level":"warning","message":{"text":"DObject.EventsListBox_SelectedIndexChanged (cognitive 19): DObject.EventsListBox_SelectedIndexChanged has cognitive complexity 19 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"DObject.vb"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f7634303ba64b0e804e9cb88038a74bebe3de56ef5eb4c59ebabafc07922306"}},{"ruleId":"D2","level":"warning","message":{"text":"MainForm.MainForm_Load (cognitive 19): MainForm.MainForm_Load has cognitive complexity 19 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MainForm.vb"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"a63ad5ff19f602b40d4f50ffd9ab1d4ed04efff9103a971e1ce54fa81b8dbf6e"}},{"ruleId":"D2","level":"warning","message":{"text":"MainForm.ResRightClickMenu_Opening (cognitive 18): MainForm.ResRightClickMenu_Opening has cognitive complexity 18 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MainForm.vb"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"b93b667831e45a3e431a35056af1cac9fe3b41aad46ab6e51d34184aa9bba531"}},{"ruleId":"D2","level":"warning","message":{"text":"Room.Screens_MouseMove (cognitive 18): Room.Screens_MouseMove has cognitive complexity 18 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Room.vb"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"d260494ac7e86854b04e3969e795de2bdace493385bfeb42c74df1f893647936"}},{"ruleId":"D2","level":"warning","message":{"text":"DObject.GenerateIndentIndices (cognitive 17): DObject.GenerateIndentIndices 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":"DObject.vb"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"949c3835809b5bcb67ab4a8ff78ef37eb2cbb953550832d7861f7791e2bfe7ec"}},{"ruleId":"D2","level":"warning","message":{"text":"DSGMlib.ValidateSomething (cognitive 17): DSGMlib.ValidateSomething 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: DSGMLib.vb holds 9 of the 43 methods over the threshold \u2014 including the worst \u2014 and 875 of the 1617 points over it (54%), 5.3\u00D7 the next-largest file (DObject.vb at 164). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"DSGMLib.vb"},"region":{"startLine":1430}}}],"partialFingerprints":{"codehealthFindingId/v1":"1467ddc14cf4efc7bfb691012ce3a3df24820f77c264c89f5ceef7ac1fb68869"}},{"ruleId":"D2","level":"warning","message":{"text":"DSGMlib.UpdateActionsName (cognitive 17): DSGMlib.UpdateActionsName 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: DSGMLib.vb holds 9 of the 43 methods over the threshold \u2014 including the worst \u2014 and 875 of the 1617 points over it (54%), 5.3\u00D7 the next-largest file (DObject.vb at 164). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"DSGMLib.vb"},"region":{"startLine":1656}}}],"partialFingerprints":{"codehealthFindingId/v1":"cad5630bba3485340d270e854a4c30f360e2e5bcc3f44425c7fbfeb7c515bff1"}},{"ruleId":"D2","level":"warning","message":{"text":"FoundInScripts.FindInScriptsDoIt (cognitive 17): FoundInScripts.FindInScriptsDoIt 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":"FoundInScripts.vb"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aac6bfa9a198ae4351d17509e1b7a47c66778892b67c90ed3f4d244ad98e6f5"}},{"ruleId":"D2","level":"warning","message":{"text":"ImportSprite.RenderImage (cognitive 16): ImportSprite.RenderImage 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":"ImportSprite.vb"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f51ad35bf5d604c9482bd24454c2c417b23a9dae8d819887cc525c131916ab6"}},{"ruleId":"D2","level":"warning","message":{"text":"MainForm.CompilesToNitroFSButton_Click (cognitive 16): MainForm.CompilesToNitroFSButton_Click 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":"MainForm.vb"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cfca451bac334ed2ee73fab81dfb44b5f12f848be52746b5dbfe5f63b7498fe"}},{"ruleId":"D2","level":"warning","message":{"text":"Room.OpenObjectButton_Click (cognitive 16): Room.OpenObjectButton_Click 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":"Room.vb"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"2660825289cce0599faf09e64b455ceca6231d7d54db9db47be525038d155e05"}},{"ruleId":"D2","level":"warning","message":{"text":"ScriptsLib.ArgumentStringToType (cognitive 16): ScriptsLib.ArgumentStringToType 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":"ScriptsLib.vb"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"47dfe65d596ae9bd67135252b1f3d45793bc7566e3aeee6995801a5b7f33c33b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DSGMlib.CompileGame: MethodTooLong \u2014 CompileGame runs 941 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 841 over it, 9.41\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"DSGMLib.vb"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"4df521fcbacac5a80f3e7e9a43086f758e3533e3a865893724455f51cfaba930"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ./DSGMLib.vb: FileTooLong \u2014 2056 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1556 over it, 4.11\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"DSGMLib.vb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0510d576c64cb8fd3cc4a999b9cf70b5337f48f233adc26da93fe6748244ee17"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DSGMlib: TooManyMethods \u2014 2053 significant lines (blank, comment-only and punctuation-only lines excluded), 71 methods. The bar is 30 methods; this is 41 over it, 2.37\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":"DSGMLib.vb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"53946f1c774d374b2428e597c4588e8d915805317088fc4030cbfdc87c7d8c59"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DSGMlib.DeleteResource: MethodTooLong \u2014 DeleteResource runs 216 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 116 over it, 2.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"DSGMLib.vb"},"region":{"startLine":1682}}}],"partialFingerprints":{"codehealthFindingId/v1":"77824747ec6178be8cab1cdfe2ce753ca2f28b69a97c30aa0b9a50617d38b711"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ScriptsLib.ScriptParseFromContent: MethodTooLong \u2014 ScriptParseFromContent runs 207 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 107 over it, 2.07\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":"ScriptsLib.vb"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9b9f4231134a30d10652f7800f897b57efb3e0c576e89e05b23a07b8840f48c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Action.Action_Load: MethodTooLong \u2014 Action_Load runs 165 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 65 over it, 1.65\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Action.vb"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7ccf528f009a6a1481f5854860d4a566df872d2b659d0bc866c20265952c7ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): GlobalStructures.vb:123-133 | GlobalStructures.vb:148-158 \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":"GlobalStructures.vb"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5dab0eac7422d449d0da34af60544589670d92573bdc7b889e94cc0a56b7216"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Room.vb:417-425 | Room.vb:543-551 \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":"Room.vb"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdc30a532dcd071e6e2dd7b5da146ae34cda68fbdd545f310351b73376372b61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Script.vb:249-256 | Script.vb:285-292 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Script.vb:249\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Script.vb"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"668ced5dd9799491b417e1673079a24c7fe3b2441be1bed82c380408d648a7f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): DSGMLib.vb:1730-1735 | Sprite.vb:389-394 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"DSGMLib.vb"},"region":{"startLine":1730}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f43fa3e15886dc40501589b11772fcf0aef2a452d9e2c8a733cb50170dce07c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20137 lines \u00D7 3): GlobalStructures.vb:53-59 | GlobalStructures.vb:237-240 | GlobalVariables.vb:158-164 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. 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":"GlobalStructures.vb"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a4024efafde23176dc8e9cab696667bbad46733112c195a04405f794876e868"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): EditCode.vb:45-50 | Script.vb:167-172 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"EditCode.vb"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce4ebddcb971e932f6019461bebfddcacef584d4c3f2cbae1c0b89a68f307f83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sprite.vb:16-20 | Sprite.vb:369-373 \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 \u0060Sprite.vb:16\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":"Sprite.vb"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f269e8c47c94ab872e493d168fa612630203b5430e95052cdefd91f79a173d7"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MainForm (LCOM4 13): MainForm\u0027s methods fall into 13 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 13 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":"MainForm.vb"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1c686310571051cdcfae95745907a1f793c32c1ed6a884f2b9ef2b7ec77da9f"}},{"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":"D17","level":"warning","message":{"text":"TodoComment: \u0027TODO LATER \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":"ActionEditor.vb"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a83ceb994e600da4941be1888cb87ca6da4403cb6c01fd1eff55b2144ba4b4b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: \u0027TODO LATER \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":"ActionEditor.vb"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"230c3bd713ce2f88e2d20d6fe32fc11d9a70a50c88631c81130469922739e98d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: \u0027TODO LATER \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":"ActionEditor.vb"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"5135608a20dd04ca898ace277fc1fcbe2990cc0d2d6b84e70a84a71e5ad3c013"}},{"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":"DObject.vb"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e8ad87765173f688a90975ae7d9393abfec40aa5c293ecc98385e69b2cf844d"}},{"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":"DObject.vb"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b9f3bd97435ea264966805a49daea77e3979af844d80840b841bbaec194cbe8"}},{"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":"DSGMLib.vb"},"region":{"startLine":2078}}}],"partialFingerprints":{"codehealthFindingId/v1":"da63f1c3d8b818853f2dbaee78bb5e5b3e36696fe0a29f38080d4149d13d1d6b"}},{"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":"DSGMLib.vb"},"region":{"startLine":2284}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ade5585dd6a05a0d1e35292234407258181d4bb214419e7cf7b2df5ad578adf"}},{"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":"GlobalVariables.vb"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"582b93d773a4baa435708746d486c304277c20bbea8216461ea2d383b9690481"}},{"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":"MainForm.vb"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"51b772486d00354d4ae15cf41290f57c01185b891d8488dd251d75d1cd54f1ff"}},{"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":"MainForm.vb"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"8229e6f9d390be252e97919d0458f57ee27830e457801689c0660e8b19cfcdc4"}},{"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":"MainForm.vb"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"6525724761581453334272b5ee0426524f6d88d504bf97c680292f2e742c3347"}},{"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":"Sound.vb"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"c90fa62f1a2d12e6481bfb24212045e003d6aaa57e3efed13889b0a6f061d08c"}},{"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":"Sound.vb"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"53bee200004cead198acb1b1907de1009a4642772bc55b2ac6062a9c9cd6ddf6"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: \u0027Hack \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"DSGMLib.vb"},"region":{"startLine":1984}}}],"partialFingerprints":{"codehealthFindingId/v1":"21ed34c13118fa3986d51e80c4e464038ffeaa7d067122996cfe69055f8c825f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: \u0027TODO LATER Rows beyond the image width = bad frames! \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":"ImportSprite.vb"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"2801161d02fddc7749d5d74beceef5d2e28a4dadc61181229ee6aa140aacac00"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: \u0027XXX \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":"Room.vb"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"7121c45eac2b91e870d3ed490d6b9836177120b653c4972798ea935c2eeff274"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: \u0027TODO LATER - after renaming, update references to this in: \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":"Script.vb"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"e977359783e02829db13bebb3c12972007edae8a9b4f096da77508585b04a414"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d2bea044ff79d7d275f5a91a6e2f548586178eaf480274c33960ad020c854631"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022General Information about an assembly is controlled through the following set of attributes. Change these attribute values to modify the information associated  \u2026\u0022 is Visual Studio AssemblyInfo template text, left in place. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"My Project/AssemblyInfo.vb"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"b314beb13e8399abc93be807e4b4f5d2f5ccb90fe18e5da1c7b124c502fde256"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Review the values of the assembly attributes\u0022 is Visual Studio AssemblyInfo template text, left in place. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"My Project/AssemblyInfo.vb"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"928269b5eb7836d5e5456689b435731118b5255ef8bf66240733c878121da3bf"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022The following GUID is for the ID of the typelib if this project is exposed to COM\u0022 is Visual Studio AssemblyInfo template text, left in place. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"My Project/AssemblyInfo.vb"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ff8ec7419596f0a06453167fad6b77a5cd0f33ffe0fe61f0ad54569e7b88745"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Version information for an assembly consists of the following four values: Major Version Minor Version Build Number Revision You can specify all the values or y \u2026\u0022 is Visual Studio AssemblyInfo template text, left in place. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"My Project/AssemblyInfo.vb"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"75b6a9d19c78f8dc7ab4d387be3c4d594334ac253c3063b795874e44258202a7"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022// Draw ImageMargin background gradient\u0022 repeats the code it sits on: 4 of its 5 words (draw, image, margin, gradient) are already in \u0060Dim b As New Drawing2D.LinearGradientBrush(e.AffectedBounds, clrImageMarginWhite, clrImageMarginBlue, _\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clsMenuRenderer.vb"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b7c06c72d46052a36fc59aa6562e629206e6feb8933d2f198dd92e09620a9bb"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022// Render button selected and pressed state\u0022 repeats the code it sits on: 4 of its 5 words (render, button, selected, pressed) are already in \u0060Protected Overrides Sub OnRenderButtonBackground(ByVal e As System.Windows.Forms.ToolStripItemRenderEventArgs)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clsToolStripRenderer.vb"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"017f8f403584add39d236dc165f6589c7ea2a76e174fb02d99dbef1840f6336d"}},{"ruleId":"M1","level":"note","message":{"text":"Thin README: The root README is 23 words, against a bar of 120. Of the three newcomer-critical sections this check looks for by heading, in the README and in the repository documents it links, it found no a build/run or getting-started section, no a testing section, no an architecture or project-map section. Sections are matched on HEADING text only, so material written under a heading this check does not recognise \u2014 or with no heading at all \u2014 is not seen and this row may understate what the document covers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c88b11295dc6ac6146c259ace6043143959f96dc98628f8c8578b6c5f95b8149"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"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 mixed at the repository root with everything else the repository holds, so nothing marks which files are the product."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"fdf7f5b24e313364d10170a5c2542959902fe0d26ed70edef3eaa10ec5bcdb1d"}},{"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":"P2","level":"warning","message":{"text":"No structured logging: No logging or diagnostics emission found. This repository ships a binary its users launch rather than a service you operate, so there is no operator to page \u2014 but when a run fails on a user\u0027s machine, neither they nor you have anything to read."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9f10d71351c6778ebe84e761f82a90d4f9ed6c64f5e01975ede8fda7e4e2ebc5"}},{"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"}}],"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}}}]}