{"$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":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D18","name":"Solution Shape","shortDescription":{"text":"Solution Shape"},"helpUri":"https://codehealth.canine.dev/dimensions/D18"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"]}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"]}}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"ControlExtensions.Internal_SetThemeVisualStudioDark (cyclomatic 42): ControlExtensions.Internal_SetThemeVisualStudioDark 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":"Source/Shared/DevCase/Extensions/ControlExtensions.vb"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"9455d15cce60a1fb2dfb5b9e85617cb0eb807abd4616f1eed4da91495176464a"}},{"ruleId":"D1","level":"warning","message":{"text":"ControlExtensions.Internal_SetThemeDefault (cyclomatic 40): ControlExtensions.Internal_SetThemeDefault has cyclomatic complexity 40 (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":"Source/Shared/DevCase/Extensions/ControlExtensions.vb"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"a74b966e3d4520b89ccf7ba354ec8276e644608c91e12dfed653b130185c68f0"}},{"ruleId":"D1","level":"warning","message":{"text":"DevMessageBox.CustomDlgWndProc (cyclomatic 29): DevMessageBox.CustomDlgWndProc has cyclomatic complexity 29 (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":"Source/Shared/DevCase/DevMessageBox.vb"},"region":{"startLine":1793}}}],"partialFingerprints":{"codehealthFindingId/v1":"64692bf45d34e9573aa44e198a231d939a6454926ae5fbf70aa93142790b8027"}},{"ruleId":"D1","level":"warning","message":{"text":"CommandLineParser.Parse (cyclomatic 22): CommandLineParser.Parse has cyclomatic complexity 22 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Source/CLI/CommandLineParser.vb"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4621358740836d5e958d9d730ae62231ef6bfb3f53f73c0471835260a3f1118"}},{"ruleId":"D1","level":"warning","message":{"text":"ShortcutFileInfo.WriteLink (cyclomatic 20): ShortcutFileInfo.WriteLink has cyclomatic complexity 20 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Source/Shared/DevCase/ShortcutFileInfo.vb"},"region":{"startLine":1302}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6abcd95a3449d16e274fea5dfded2c3f2dd9fc03d95a49af10731a7d2f04684"}},{"ruleId":"D1","level":"warning","message":{"text":"ShortcutFileInfoIconIndexEditor.PaintValue (cyclomatic 19): ShortcutFileInfoIconIndexEditor.PaintValue 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":"Source/Shared/DevCase/ShortcutFileInfoIconIndexEditor.vb"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"a648b9e08ed42124496ed1315394ba1767637f0494cdda4c4abc2b96ea102193"}},{"ruleId":"D2","level":"warning","message":{"text":"DevMessageBox.CustomDlgWndProc (cognitive 78): DevMessageBox.CustomDlgWndProc has cognitive complexity 78 (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":"Source/Shared/DevCase/DevMessageBox.vb"},"region":{"startLine":1793}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e6a566570a94610bc309631b141a8251c2ec00b2ce7732e9b5f281f9fe20a8d"}},{"ruleId":"D2","level":"warning","message":{"text":"EnumDescriptionConverter.ConvertTo (cognitive 48): EnumDescriptionConverter.ConvertTo has cognitive complexity 48 (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":"Source/Shared/DevCase/EnumDescriptionConverter.vb"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d5a236fa5a093c9f97430b8d65463b3cc4cd3908fc862d8a77bf2774a8544c3"}},{"ruleId":"D2","level":"warning","message":{"text":"ControlExtensions.Internal_SetThemeVisualStudioDark (cognitive 43): ControlExtensions.Internal_SetThemeVisualStudioDark 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":"Source/Shared/DevCase/Extensions/ControlExtensions.vb"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0f9bfcf3053980d3f48a3bf7b0defbac0dd9cac36ce0b171228ac97066c486e"}},{"ruleId":"D2","level":"warning","message":{"text":"ControlExtensions.Internal_SetThemeDefault (cognitive 40): ControlExtensions.Internal_SetThemeDefault has cognitive complexity 40 (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":"Source/Shared/DevCase/Extensions/ControlExtensions.vb"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa529d5a426edf9843b48fa66bddfb4c21fe4ce2e1ae526962818300ed3eeac1"}},{"ruleId":"D2","level":"warning","message":{"text":"EnumDescriptionConverter.ConvertFrom (cognitive 35): EnumDescriptionConverter.ConvertFrom 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":"Source/Shared/DevCase/EnumDescriptionConverter.vb"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5c9ff9ec75e11a560de8cf0e989f2561b287db1719d10996fd01964cd892f57"}},{"ruleId":"D2","level":"warning","message":{"text":"ShortcutFileInfo.WriteLink (cognitive 31): ShortcutFileInfo.WriteLink 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":"Source/Shared/DevCase/ShortcutFileInfo.vb"},"region":{"startLine":1302}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a54320d080723ba912b045fffb76c23435c54e8e7c462e20a05cd09b58a96f4"}},{"ruleId":"D2","level":"warning","message":{"text":"ShortcutFileInfoIconIndexEditor.PaintValue (cognitive 20): ShortcutFileInfoIconIndexEditor.PaintValue 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":"Source/Shared/DevCase/ShortcutFileInfoIconIndexEditor.vb"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a362d2080c7d27cff8d5e60b9f22bb823fa925b47f4b13bcd7b34a9330c0576"}},{"ruleId":"D2","level":"warning","message":{"text":"ShortcutAppIdHelper.GetInstalledAppUserModelIds (cognitive 18): ShortcutAppIdHelper.GetInstalledAppUserModelIds 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":"Source/Shared/AppId Support/ShortcutAppIdHelper.vb"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"f96153c98db175f618eb51ca13978dcb57f215ca0554886e973db8a9cec33a2d"}},{"ruleId":"D2","level":"warning","message":{"text":"ShortcutFileInfo.ReadLink (cognitive 17): ShortcutFileInfo.ReadLink 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":"Source/Shared/DevCase/ShortcutFileInfo.vb"},"region":{"startLine":1174}}}],"partialFingerprints":{"codehealthFindingId/v1":"af766dcbd0d8c640fef625cb2f70091385f64e3b032ff4bc51becae2f799208c"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolStripExtensions.ForEachItem (cognitive 16): ToolStripExtensions.ForEachItem 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":"Source/Shared/DevCase/Extensions/ToolStripExtensions.vb"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9b69951df10df81a57071e8e5f36f01b8c32b054a26d4977ad5931f6bb2dc33"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: DevCase/ShortcutFileInfo.vb: FileTooLong \u2014 881 significant lines (blank, comment-only and punctuation-only lines excluded). 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":"Source/Shared/DevCase/ShortcutFileInfo.vb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5810188ff817c36503dfb870bfb89a3970efc7bbd747a395a01a195c0e33e30"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ControlExtensions: ClassTooLong \u2014 652 significant lines (blank, comment-only and punctuation-only lines excluded), 8 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Source/Shared/DevCase/Extensions/ControlExtensions.vb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f6885139c794e2c16d154e760b277844013491dc91deafb533799d18220226b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Form1: TooManyMethods \u2014 652 significant lines (blank, comment-only and punctuation-only lines excluded), 47 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Source/GUI/UI/Form1.vb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b09399c633b7a96a7b09b4f10fcb009419c94aaa3bb20a90ac52347d8dd5a7d2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NativeMethods: TooManyMethods \u2014 289 significant lines (blank, comment-only and punctuation-only lines excluded), 45 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Source/Shared/DevCase/Win32/NativeMethods.vb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1df728acf5ec12e0ef06f472a241db1585189a28b236ab9d74022dcb20f156a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: UI/Form1.vb: FileTooLong \u2014 672 significant lines (blank, comment-only and punctuation-only lines excluded). 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":"Source/GUI/UI/Form1.vb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"80725fbb94363c7f68124fc090aa02d02455aee1aee9828d341da8780e4a9b87"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Extensions/ControlExtensions.vb: FileTooLong \u2014 664 significant lines (blank, comment-only and punctuation-only lines excluded). 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":"Source/Shared/DevCase/Extensions/ControlExtensions.vb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbc63b96b2f6dd4b06049b740ca3acb70edcc4bff082ae125fe2e7876e6306f8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DevMessageBox: TooManyMethods \u2014 550 significant lines (blank, comment-only and punctuation-only lines excluded), 38 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Source/Shared/DevCase/DevMessageBox.vb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0ff5f9bb1a321fc0383e1fedfbc903236674932f1a6dfb649a75d14950488c2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: DevCase/DevMessageBox.vb: FileTooLong \u2014 568 significant lines (blank, comment-only and punctuation-only lines excluded). 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":"Source/Shared/DevCase/DevMessageBox.vb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"219d303fda86976b4d49054e42cdde11fdaf5fd8550416ba2930a1f29a57bc42"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ShortcutFileInfo: TooManyMethods \u2014 861 significant lines (blank, comment-only and punctuation-only lines excluded), 33 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Source/Shared/DevCase/ShortcutFileInfo.vb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e440eca247698b64d4c54beaa08b609a2fc9cc8c1af986571227e8c7fd56df5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): Source/Shared/DevCase/Extensions/ControlExtensions.vb:429-440 | Source/Shared/DevCase/Extensions/ControlExtensions.vb:447-458 | Source/Shared/DevCase/Extensions/ControlExtensions.vb:465-476 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Source/Shared/DevCase/Extensions/ControlExtensions.vb:429\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":"Source/Shared/DevCase/Extensions/ControlExtensions.vb"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c4c1dfcf27d014ee67fe8bee1e947eb4572e903a29a4b1dc257ef63751551b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Source/GUI/UI/Form1.vb:444-456 | Source/GUI/UI/Form1.vb:520-531 \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 \u0060Source/GUI/UI/Form1.vb:444\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":"Source/GUI/UI/Form1.vb"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"f12236cdeff33560c0c0353e96c3190d2684ca6c667a3b3cc24ec575b620820a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): Source/Shared/DevCase/Extensions/ControlExtensions.vb:654-664 | Source/Shared/DevCase/Extensions/ControlExtensions.vb:677-687 | Source/Shared/DevCase/Extensions/ControlExtensions.vb:700-710 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Source/Shared/DevCase/Extensions/ControlExtensions.vb:654\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":"Source/Shared/DevCase/Extensions/ControlExtensions.vb"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"b20cdf14b1b727ba4f21fea486bc2d0dae1cca839f544969c4310bc683feeb45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Source/Shared/DevCase/ImageUtil.vb:129-138 | Source/Shared/DevCase/ImageUtil.vb:175-184 \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":"Source/Shared/DevCase/ImageUtil.vb"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"b856c0784ee5f15b9d068f8c9fd1367ddd7c820300552639d19f642e8fd4b9a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Source/GUI/UI/Form1.vb:217-222 | Source/GUI/UI/Form1.vb:288-293 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Source/GUI/UI/Form1.vb"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0c6ae7f47e639e34802a6bc243b8d8f6abb89616459e1433da71c330700b45d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Source/GUI/UI/Form1.vb:242-246 | Source/GUI/UI/Form1.vb:313-317 \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":"Source/GUI/UI/Form1.vb"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"50380ba40d9207b935b54e46791280e4ae68189bf6200a8503219219e7ed6b63"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: Shared: Shared: abstractness 0.26, instability 0.00, distance 0.74 \u2014 the shape a shared-kernel / building-block library has BY DESIGN \u2014 concrete and widely depended-on is what makes it useful, and this dimension does not penalise it (the distance is reported for completeness, not as a defect). Worth a look only if it has grown past one coherent kernel into an everything-bucket."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9a6075584bf1a071b89754c93f688530ad9c449d73224f95d418320ea318e68b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Form1 (LCOM4 5): Form1\u0027s methods form 5 groups that share no state and don\u0027t call each other \u2014 a sign it may have several responsibilities. Review whether it splits into focused classes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Source/GUI/UI/Form1.vb"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ea9fbca0241e9d06caeaed4b2fbc382a048728ef551c48607bf26a9696181a7"}},{"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."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3132564c6310e5d01a231f252a02d5d2f5a542c0a8fa29a14c89693f1e3df871"}},{"ruleId":"D9","level":"note","message":{"text":"No tests found: No test suite could be collected \u2014 nothing here references a test framework (xUnit, NUnit or MSTest), so there were no discoverable tests to count. Tests written as plain executables or shell/PowerShell harnesses are not collectible this way and are not scored here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c9bf64cbb5a4ae13d6bcd01fa3bc8d2879d860c73bc67f176ee3c2cecb8adce3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Source/Shared/DevCase/ShortcutFileInfo.vb: Source/Shared/DevCase/ShortcutFileInfo.vb changed 3 times in last 90 days, max complexity 20. 1 of those changes was a fix/bug commit, so the churn is repair rather than feature work. Before the next change lands here, cover the area it touches with tests, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Source/Shared/DevCase/ShortcutFileInfo.vb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"baf4cc2cfad4d09ada5659ea4556f2a8d9513c22977c59de613913f28653635c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Source/Shared/DevCase/DevMessageBox.vb: Source/Shared/DevCase/DevMessageBox.vb changed 2 times in last 90 days, max complexity 29. 1 of those changes was a fix/bug commit, so the churn is repair rather than feature work. Before the next change lands here, cover the area it touches with tests, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Source/Shared/DevCase/DevMessageBox.vb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"863aae928f8804f91ecc834d5b593035524d2db00eac80496cac49e951b56e26"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Source/Shared/DevCase/EnumDescriptionConverter.vb: Source/Shared/DevCase/EnumDescriptionConverter.vb changed 2 times in last 90 days, max complexity 15. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, behind tests written first."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Source/Shared/DevCase/EnumDescriptionConverter.vb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"40e82e473389774279f041217663f6aee6b56685e423f181e35898579d2a6982"}},{"ruleId":"D16","level":"note","message":{"text":"Small-team knowledge concentration: 16 file(s) are concentrated to one author \u2014 the ambient state with 2 active author(s), not 16 separate risks. The signal becomes meaningful as ownership spreads; no per-file action implied now."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8aa75b6daa18f1b578387fa04036c50b3163d47f957c8f5601bf083ed4489b0c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: \u0027 TODO: Customize the application\u0027s assembly information in the \u0022Application\u0022 pane of the project \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":"Source/GUI/UI/AboutBox1.vb"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"88d5bc56b3c07e4a5835542f765abb0fd5872a3e841c2dea17ceb56f10b971e0"}},{"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. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Source/GUI/UI/Form1.vb"},"region":{"startLine":1382}}}],"partialFingerprints":{"codehealthFindingId/v1":"89885d62499baebca74d06260ef84d1c03f96a4cb995c3b78cb531031164bcce"}},{"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. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Source/Shared/AppId Support/ShortcutAppIdHelper.vb"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a2a04e8eccaaf08cd0060e723178f32380fb4e102b608a48cab62ef835ae6b9"}},{"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. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Source/Shared/DevCase/OpenFileOrFolderDialog.vb"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"c75a0dfc876685defc97dacf4296eb0372401d6167e1f37ac7f500e4701c7626"}},{"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. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Source/Shared/DevCase/ShortcutFileInfo.vb"},"region":{"startLine":1205}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1204a786689ba4bc28f15b429b144c9c5625f14da134227d8e0918a17e09150"}},{"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. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Source/Shared/DevCase/ShortcutFileInfoIconIndexEditor.vb"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"908544fd062b8fe98b5888f6d7401a340aaec7fc124eaaf0c6ce51fa0e0c826b"}},{"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. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Source/Shared/DevCase/ShortcutFileInfoIconIndexEditor.vb"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6258cddd057e849837535e3de343f8c5dfe8b748887426cba53dadd163a9ca7"}},{"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. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Source/Shared/DevCase/ShortcutFileInfoIconIndexEditor.vb"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b8ea6c7fdc298f462af196ae4c4dda297761b0824d230f71f404af192421cc0"}},{"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. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Source/Shared/DevCase/ShortcutFileInfoIconIndexEditor.vb"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e39bd9aad5d76b8fb6380147cca47a0c0ec476bb11d31381df98cc4d437381d"}},{"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. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Source/Shared/DevCase/ShortcutFileInfoIconIndexEditor.vb"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c45fd933a30e7e039e472330aa5dd9ecd69f7461712877cd6164274d978aaac"}},{"ruleId":"D17","level":"warning","message":{"text":"ObsoleteWithCallers: \u003CObsolete\u003E SetWindowLong"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Source/Shared/DevCase/Win32/NativeMethods.vb"},"region":{"startLine":2016}}}],"partialFingerprints":{"codehealthFindingId/v1":"d219b023636c1e41baacc2b0d5e92b0c515ab7656cea5f47d5fe9147b2b2504d"}},{"ruleId":"D26","level":"note","message":{"text":"Split Shared: Generic catch-all name with 15k LoC and 41 types spread over 19 unrelated namespaces is a sprawling grab-bag. Suggested: by namespace: split the 19 namespaces into cohesive shared modules"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1ed4e69195f04286fcedf378f00da2fda8d3697dc20abb5c2d8ff001481e869b"}},{"ruleId":"D37","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2baf56be81cee4fea57b9fbc0bcca4df8426c883fe2356827c7e968782d68617"}}],"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-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Command Injection","shortDescription":{"text":"Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"OS Command Injection","shortDescription":{"text":"OS Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Cross-site Scripting (XSS)","shortDescription":{"text":"Cross-site Scripting (XSS)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"SQL Injection","shortDescription":{"text":"SQL Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Code Injection","shortDescription":{"text":"Code Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":1,"secretScannerRunsExcluded":0}},"redactionTokens":["A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."]}]}