{"$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":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"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":"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":"D39","name":"IL Efficiency","shortDescription":{"text":"IL Efficiency"},"helpUri":"https://codehealth.canine.dev/dimensions/D39"},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX2","name":"Stateful singletons","shortDescription":{"text":"Stateful singletons"},"helpUri":"https://codehealth.canine.dev/dimensions/AX2"},{"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":"C1","name":"Data Protection","shortDescription":{"text":"Data Protection"},"helpUri":"https://codehealth.canine.dev/dimensions/C1"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"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":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"ControlBase.CreateControl (cyclomatic 30): ControlBase.CreateControl has cyclomatic complexity 30 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AutoForms/Controls/ControlBase.cs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6ce3a542f56e28e14374fd597ba62deeed106cd5a48393f48ccac2b83d60b10"}},{"ruleId":"D1","level":"warning","message":{"text":"StringHelper.Convert (cyclomatic 24): StringHelper.Convert has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AutoForms/Common/StringHelper.cs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"74c35b221d3f0f82f4dab38a5c3d60ea833c8baf1268263a64872b0ba0245603"}},{"ruleId":"D1","level":"warning","message":{"text":"AutoForms.BuildForms (cyclomatic 19): AutoForms.BuildForms has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AutoForms/AutoForms.cs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"66d8207f7e437c8e168e2719d95b57eaca4c6b3853970189407c89a6fa31298d"}},{"ruleId":"D1","level":"warning","message":{"text":"ListViewItem.CreateControlView (cyclomatic 17): ListViewItem.CreateControlView has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AutoForms/Controls/ListViewItemCell.cs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad68ec0e94ba2a964e785aa887bf2dac8297499f486c5313527df386bfbf5f9b"}},{"ruleId":"D1","level":"warning","message":{"text":"ControlRadio.AddControlContainers (cyclomatic 16): ControlRadio.AddControlContainers has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AutoForms/Controls/ControlRadio.cs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"90b5068a8d527a6f243c84c772cc36f5f89f5a67399841e87f04e15b8fe2535f"}},{"ruleId":"D1","level":"warning","message":{"text":"TabGroup.UpdateControls (cyclomatic 16): TabGroup.UpdateControls has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AutoForms/Controls/TabGroup.cs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"04371077f9a9f50ccf76948fe75a4571c69466876a44ebab0651f17b861cfd0d"}},{"ruleId":"D2","level":"warning","message":{"text":"AutoForms.BuildForms (cognitive 38): AutoForms.BuildForms has cognitive complexity 38 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AutoForms/AutoForms.cs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa042b4abeb51af7138311893479a5335a9f5adfdfe43d1614459b53360f30e"}},{"ruleId":"D2","level":"warning","message":{"text":"ControlRadio.AddControlContainers (cognitive 34): ControlRadio.AddControlContainers has cognitive complexity 34 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AutoForms/Controls/ControlRadio.cs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c19a71efcd98e6e707071c02f3f1896bfe67d8f6ff26185610885a4a662ff57"}},{"ruleId":"D2","level":"warning","message":{"text":"TabGroup.UpdateControls (cognitive 33): TabGroup.UpdateControls has cognitive complexity 33 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AutoForms/Controls/TabGroup.cs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"84cddde11835dc1f07bcee455562d3fafa34c5a7be0e3e8f0bab82b8a34950c9"}},{"ruleId":"D2","level":"warning","message":{"text":"StringHelper.Convert (cognitive 31): StringHelper.Convert has cognitive complexity 31 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AutoForms/Common/StringHelper.cs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"efd23971600ac7733c82390fbfe1678920d7a655033b77500aea5873a64c8545"}},{"ruleId":"D2","level":"warning","message":{"text":"SelectButton.SelectButton_Clicked (cognitive 24): SelectButton.SelectButton_Clicked has cognitive complexity 24 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AutoForms/Controls/SelectButton.cs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"5250c417ac3fb03409271abda701954c4464270aa7ef4311b09656a168005e7d"}},{"ruleId":"D2","level":"warning","message":{"text":"ControlValidation.MonitorEntryControl (cognitive 22): ControlValidation.MonitorEntryControl has cognitive complexity 22 (threshold 15). Most of this is not in the body itself: 6 of the 22 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 185, 211, 177, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AutoForms/Controls/ControlValidation.cs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"092edeb7da3efc9426093cd503620ed4f0ba24230b0a6702a66912859981e827"}},{"ruleId":"D2","level":"warning","message":{"text":"TabGroup.UpdateSelector (cognitive 22): TabGroup.UpdateSelector has cognitive complexity 22 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AutoForms/Controls/TabGroup.cs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b00a6ecea8705e38c455629a99c5a862fb2dd6aa4a6cb8ff724d7d2b74d6a09"}},{"ruleId":"D2","level":"warning","message":{"text":"ListViewItem.CreateActionButtons (cognitive 21): ListViewItem.CreateActionButtons has cognitive complexity 21 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AutoForms/Controls/ListViewItemCell.cs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"78465bfc59c70d07e8a5ce516ddea3885e6350a02397a1960b3a6c333cf75655"}},{"ruleId":"D2","level":"warning","message":{"text":"TabButton.TabButton_Clicked (cognitive 20): TabButton.TabButton_Clicked has cognitive complexity 20 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AutoForms/Controls/TabButton.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"f416cb6a3e120699f81c4f7f3b93e4bf641eb79a86e7909d8127b005d38fc083"}},{"ruleId":"D2","level":"warning","message":{"text":"AutoForms.CheckValidation (cognitive 18): AutoForms.CheckValidation has cognitive complexity 18 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AutoForms/AutoForms.cs"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"b73d2c51364eb4d510349e7b418015427da1c195c0b68518598d2d475eab8fd5"}},{"ruleId":"D2","level":"warning","message":{"text":"ControlList.OnBindingContextChanged (cognitive 18): ControlList.OnBindingContextChanged has cognitive complexity 18 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AutoForms/Controls/ControlList.cs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"935e2a16f4a5c7130b59b3064e5fbedab12d7ce2d485a0ef646db4b28edbd2c0"}},{"ruleId":"D2","level":"warning","message":{"text":"ListViewItem.CreateControlView (cognitive 18): ListViewItem.CreateControlView has cognitive complexity 18 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AutoForms/Controls/ListViewItemCell.cs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"21f78e656702c0af4668ee034fa6f5312c856db205a931b8b5c45a47a619831d"}},{"ruleId":"D2","level":"warning","message":{"text":"EnumConverter.Convert (cognitive 17): EnumConverter.Convert has cognitive complexity 17 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AutoForms/Converters/EnumConverter.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ec06814afeabe6bbeb839f54bea695a923269e52f4444d4b00e571a0ce9eb4b"}},{"ruleId":"D2","level":"warning","message":{"text":"ControlValidation.BuildValidations (cognitive 16): ControlValidation.BuildValidations has cognitive complexity 16 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 7 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AutoForms/Controls/ControlValidation.cs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"992a2d7b0d288ff8d4e838659d364782fe36fd6749dc4e7393749a2425187048"}},{"ruleId":"D2","level":"warning","message":{"text":"ListViewItem.RecreatControl (cognitive 16): ListViewItem.RecreatControl has cognitive complexity 16 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AutoForms/Controls/ListViewItemCell.cs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"f71d061e25bcedfd950cac244bc1f82bde204d8e3afe4535c3e175b372d36839"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201324 lines \u00D7 2): AutoForms/Controls/ControlRadio.cs:58-81 | AutoForms/Controls/ControlSelectButton.cs:66-87 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060AutoForms/Controls/ControlRadio.cs:58\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AutoForms/Controls/ControlRadio.cs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"814fe7c74c5efdc6934fc406c0dc1d2135a298dae0d1467bfcc04843a38c8953"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): AutoForms/Controls/ControlValidation.cs:172-193 | AutoForms/Controls/ControlValidation.cs:198-219 \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 \u0060AutoForms/Controls/ControlValidation.cs:172\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":"AutoForms/Controls/ControlValidation.cs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"d79ad20479452da62a759cac87ca73d2b0db1ab05df7d51eab08d3f8540c2b6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 3): AutoForms/Controls/ListViewItemCell.cs:190-207 | AutoForms/Controls/ListViewItemCell.cs:215-231 | AutoForms/Controls/ListViewItemCell.cs:239-255 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AutoForms/Controls/ListViewItemCell.cs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"73801bc387ca1ffd9009ce1e83ff3eb283666239a20abb1c8f594bc466abe0f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): AutoForms/Controls/ControlBase.cs:52-61 | AutoForms/Controls/ControlBase.cs:103-112 \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 \u0060AutoForms/Controls/ControlBase.cs:52\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":"AutoForms/Controls/ControlBase.cs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"32df964d517a5527203e991218a3ef2fe2d1b86de578abafa353862132ca9726"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): AutoForms/Controls/ControlButton.cs:18-36 | AutoForms/Controls/ControlLabel.cs:18-36 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AutoForms/Controls/ControlButton.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb153d84f85162b8a1b87916ba79c780e29da6da5a04eff6e3acde418499f208"}},{"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":"D11","level":"warning","message":{"text":"Test reliability not measured \u2014 test suite did not build: Test reliability NOT MEASURED: this repository did not build in our analyzer environment (a C#/MSBuild compiler error), so no test ever ran and flakiness could not be exercised. It is excluded from the score rather than counted as a defect. We did not read WHERE the failing diagnostic is, so this does not claim the fault is in your test code \u2014 a repository written for an older SDK band can compile for you and not for us. Run \u0060dotnet build\u0060 on this commit: if it succeeds, the gap is ours and nothing here is a defect in your code."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"daf09aaa4e14533ca5ff2442790c6867a248b3a07dae410d48e7d6405d6fec30"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: Load state from previously suspended application \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AutoForms.Test/AutoForms.Test.UWP/App.xaml.cs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f448be9de040d1270b4dc5275f2a10ed5789a158af653739faa024b388c244c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: Save application state and stop any background activity \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AutoForms.Test/AutoForms.Test.UWP/App.xaml.cs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"399c77f16e8890604cab772a217fc01a734f933b1c55ff3f979fa7be42f240e1"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 13 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AutoForms/Controls/ControlList.cs"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d9fd1384b3b46f83e9d8fb43fd068236a49d1db2106b2533aee639ee6a1d430"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AutoForms/Controls/ListViewItemCell.cs"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"41d4248cb75dd3b58a8d94ba875c4245c037a728c7334738d3c7f53a0063736a"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: 2008 \u2014 this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or \u2014 if some occurrences really are legitimate \u2014 narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AutoForms.Test/AutoForms.Test.UWP/AutoForms.Test.UWP.csproj"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b52d814774e528319f878e17dfc236c7ebbf6ee2af9bf35ed8b6b9decc8f8b1"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: 2008 \u2014 this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or \u2014 if some occurrences really are legitimate \u2014 narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AutoForms.Test/AutoForms.Test.UWP/AutoForms.Test.UWP.csproj"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"a60de4032e90a0f41433ebde86bfd5fa9309485cd28007ceb6f31d9eba13a20e"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: 2008 \u2014 this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or \u2014 if some occurrences really are legitimate \u2014 narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AutoForms.Test/AutoForms.Test.UWP/AutoForms.Test.UWP.csproj"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eddf588b8a145420d3be0fa180b13d751896bbdda8f1fdf3b03e6e800d48c08"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: 2008 \u2014 this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or \u2014 if some occurrences really are legitimate \u2014 narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AutoForms.Test/AutoForms.Test.UWP/AutoForms.Test.UWP.csproj"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b64dc9d35d680d5cfd54dd654734a82d2546e46372b1b00e2479264168dd61d"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: 2008 \u2014 this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or \u2014 if some occurrences really are legitimate \u2014 narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AutoForms.Test/AutoForms.Test.UWP/AutoForms.Test.UWP.csproj"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"691242d97d99030db60913d1604fb301f8dc2ba59f74f05eb7ef1d7ca8f0a9d3"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: 2008 \u2014 this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or \u2014 if some occurrences really are legitimate \u2014 narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AutoForms.Test/AutoForms.Test.UWP/AutoForms.Test.UWP.csproj"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"b426b89c629f1949db236a5fecb75d07eccbc109c36c58510c849bfac2aed724"}},{"ruleId":"D18","level":"note","message":{"text":"Thin analysable surface across projects: AutoForms.Test.Android: 1 project(s) carry only a thin slice of real code; \u0060AutoForms.Test.Android\u0060 has 45 significant line(s). The mean analysable-surface weight is 97 %; this project lowers Solution Shape by about 0.25 point(s). Consolidate it or grow it into a substantial, well-scoped assembly."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AutoForms.Test/AutoForms.Test.Android/AutoForms.Test.Android.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"667ac346258d954743909b7ff56ec080672dd22504c66b22382d35892c5db301"}},{"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":"AutoForms.Test/AutoForms.Test.Android/Properties/AssemblyInfo.cs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"5afd674aa5c94127a086c337a937030c79fb68bd068014adbb1c05195629598f"}},{"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":"AutoForms.Test/AutoForms.Test.UWP/Properties/AssemblyInfo.cs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f8c21817cb809de746793de0509994d98cf7940d9c66429b6bb2b94f39e92c9"}},{"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":"AutoForms.Test/AutoForms.Test.UWP/Properties/AssemblyInfo.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"27e80a4966023bfdb24c2f5db82b3283f7f5900f9340d59e6a2cf095f35f3089"}},{"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":"AutoForms.Test/AutoForms.Test.iOS/Properties/AssemblyInfo.cs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5814d809b18e6dca364da5551abd21dc8dd45b8f7cb0ce7979e66e5e8e66b5f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Setting ComVisible to false makes the types in this assembly not visible to COM components. If you need to access a type in this assembly from COM, set the ComV \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":"AutoForms.Test/AutoForms.Test.iOS/Properties/AssemblyInfo.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"99002cca9448d11aaa92d26556b10906345e6fb24331714a23eec062202f1d26"}},{"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":"AutoForms.Test/AutoForms.Test.iOS/Properties/AssemblyInfo.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"63a2dc7c9270301cfed40948a587f4e3e2c2591da369b08d844cf9b4883ccf50"}},{"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":"AutoForms.Test/AutoForms.Test.iOS/Properties/AssemblyInfo.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9fda735c9751afa9fc168ca4f8a887ec6ae2a6d09d5b890ce16f4b0ef5c0cbc"}},{"ruleId":"D39","level":"note","message":{"text":"IL efficiency: 3 authored method(s) exceed the IL budget: 3 of 305 first-party methods compile to oversized IL bodies (\u003E 250 instructions); worst: AutoForms.Controls.ControlRadio.AddControlContainers @ AutoForms/Controls/ControlRadio.cs:85, 336 IL instructions; that pulled this dimension to 9.8/10. These bodies are far past the JIT\u0027s inline budget, so splitting them does not make them inlinable \u2014 what moves the number is emitting less: collapsing LINQ chains and closures on hot paths, and interpolation built eagerly where it is only sometimes used."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AutoForms/Controls/ControlRadio.cs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"722f7470bda6cd0942038e1b31cc0240438f7ae9f987ad6c8b99f82855929ea0"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: ControlBase: \u0060ControlBase\u0060 keeps mutable \u0060static\u0060 state \u2014 one slot for the whole process, shared by every thread that reaches the type however its instances are created \u2014 and mutates it outside any lock (ResourceManager; e.g. \u0060ResourceManager\u0060 at line 286). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AutoForms/Controls/ControlBase.cs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"d137da43050ad17f1dba8f5125ac0622587d46dbb32d002b7d5909c2214ffc62"}},{"ruleId":"C1","level":"warning","message":{"text":"No data-protection/encryption: No data-protection or encryption usage (ASP.NET Data Protection, AES, column encryption, PBKDF2) was found \u2014 sensitive data at rest may be unprotected. If TDE/KMS/vault is delegated to infrastructure, ignore."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3674448ef29fbd006d82bb49ec9615cf1ee508105aa1d952555aabaf3e10a9f9"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches open with the same statements \u2014 the condition does not decide them: The first 2 statements of the \u0060if\u0060 and of the \u0060else\u0060 are identical, so they run on both paths regardless of the condition. Lift them above the \u0060if\u0060 \u2014 leaving them duplicated inside makes the branches read as though they handled this differently."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AutoForms/Controls/ControlRadio.cs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"adff2aecf51bcf1fe4024504e42c80ccb815aa7df2d01186d464d0d571517ff5"}},{"ruleId":"IC1","level":"warning","message":{"text":"Empty method body \u2014 does nothing with its inputs: \u0060InitSelector\u0060 takes parameters but its body is empty \u2014 it accepts inputs and does nothing. Either implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AutoForms/Controls/TabGroup.cs"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"89b87c90dd804d1ccfa0423548d343dbac5d732a1c7c0d1b4101be1a8903fe2f"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AutoForms/AutoForms.cs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"33de98cd45cec3936c9ffbef70f8f087d5bb1fddfae6dae712dba4ced5c4af85"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AutoForms/Common/StringHelper.cs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7072a7ec257da4c1bba933f7b7819235f39c921faba26ccad9b0852aef932f3"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AutoForms/Controls/Checkbox.cs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0b29cd8f575b77fd8f7e153cfecabf1796d60cd30f89a3e7606e6256a18d389"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AutoForms/Controls/ControlBase.cs"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"f82c7d8ff6a13c47f697ffdb789176c6324f72868ac16e8c98460bb9efa8f45b"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AutoForms/Controls/ControlHorizontalGroup.cs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"d780ce92f127c417100937ff596640ee1e117e8db57f6d345cb9f352094c8d0b"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AutoForms/Controls/ControlHorizontalGroup.cs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1449fe1d8bf4dddb0fb090e8cd4f8d76ea2364bb963a25c053da731c991ab81"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AutoForms/Controls/ControlList.cs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"acb2b889ac4802b115107e61d1c4ee817693d529725f1186ea247b3986a17d82"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AutoForms/Controls/ControlList.cs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a2349f8eac90a95fc7a2fe41e9f6dae2c71acf5f260d432505b99141b623d18"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AutoForms/Controls/ControlList.cs"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"b427d23d82410d1833989ab02a67995e0706e6220ea62f48477eca851757ce69"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AutoForms/Controls/ControlRadio.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"aecd2b1a8015def2892dfc4a11fdcd8bae2d456d6d62c248079f5f454d5158d5"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AutoForms/Controls/ControlRadio.cs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"94fea7da4b8d5cf1ca3bc1ccb9d972a0ae4815d7195786ff17feda6066387906"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AutoForms/Controls/ControlValidation.cs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"031c34cc77249761f838985ef5b8da585c8e12d56cda755df83bd6040b3bae64"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AutoForms/Controls/ListViewItemCell.cs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"06c9d3d560cfd2b3721880d9af777f3a4515ddf528948f9bd81e4ff4615f4694"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AutoForms/Controls/ListViewItemCell.cs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"9464b00fe5e695a2d8870a837797d523cd5238049b59671aa62f51be04ee3bd1"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AutoForms/Controls/ListViewItemCell.cs"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"13cb0ee7ccf4d16366c700681a236fab3b17868701e99276bd76fcbe82e2172e"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AutoForms/Controls/TabGroup.cs"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"85cdc6d9d3acb975698645592127fd37bf72d7666c1baf10b3b7e5eecc6c9478"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"M3","level":"note","message":{"text":"No src/ separation: Production code isn\u0027t grouped under a src/ folder \u2014 it\u0027s spread across several top-level directories, so there\u0027s no one place that says \u0027this is the product\u0027."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"fdf7f5b24e313364d10170a5c2542959902fe0d26ed70edef3eaa10ec5bcdb1d"}},{"ruleId":"M3","level":"note","message":{"text":"No tests/ separation: Tests aren\u0027t grouped in a dedicated test folder \u2014 the test surface isn\u0027t separable from production code at a glance."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"999e0c784909c76b6346a705ee63961fe363ed1cd6a94e3f80e2ebe7820ccd5d"}},{"ruleId":"P1","level":"warning","message":{"text":"No CI pipeline: No CI workflow found (.github/workflows, azure-pipelines.yml, .gitlab-ci.yml, \u2026) \u2014 changes aren\u0027t gated by an automated build/test."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"44f01af96e50474fba2df84d95ddf4f7e1d34c29c307830b9efc9057daa6b670"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add CodeQL\u0027s csharp pack, or a .NET security analyzer package (or \u0060semgrep --config=auto\u0060, which runs on any language) \u2014 this repository has no CI pipeline yet, so run it locally to clear the existing findings, then make it a step of the first workflow you add so a regression fails the build. What was searched, so you can tell an absence from a miss: the 0 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060AutoForms.Test/AutoForms.Test.Android/AutoForms.Test.Android.csproj\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AutoForms.Test/AutoForms.Test.Android/AutoForms.Test.Android.csproj"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c5d77c1e0b58dd358b2f19a050140af3081f7e84e4e0027d6bd0731ae95df10"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"SC1","level":"warning","message":{"text":"NuGet dependencies are not locked: No packages.lock.json and no central package management \u2014 restores aren\u0027t reproducible or pinned (SSDF PW.4.4). Enable \u003CRestorePackagesWithLockFile\u003Etrue\u003C/RestorePackagesWithLockFile\u003E (commit the lockfile) or adopt Directory.Packages.props. Advisory \u2014 never scored."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0a97b4f69ccac509400ece7eedefb06d3ede0522cd4d8bcb5c068bea719545a6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Children == null || Children.Count \u003C= selectedIndex\u0060 appears character-identically in 3 files \u2014 AutoForms/Controls/RadioGroup.cs, AutoForms/Controls/SelectButtonGroup.cs, AutoForms/Controls/SelectButtonGroupDynamic.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AutoForms/Controls/RadioGroup.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f31d12160600a9360cca789d8961d9d0a061351c3a5b7a4ebc6fa4f37e56070"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AutoForms/Converters/EnumConverter.cs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8e4638722f14facc1bfb27007419a53ede343d6f71440d797e5ce3d20418635"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060GetListItemType\u0060 swallows every exception into \u0060return null;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AutoForms/Controls/ControlList.cs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"b66785de567b853d0d2b2971b437f451208155080ddc2f1194878dbad2487005"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060Convert\u0060 swallows every exception and sets \u0060returnValue = -1;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AutoForms/Converters/EnumConverter.cs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"961fdc7a8deb4bb8ee5745aa85f34df86085afdd260bd8b186e47cd74fdcdeb3"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060IsValid\u0060 swallows \u0060RegexMatchTimeoutException\u0060 into \u0060return false;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AutoForms/Validation/AutoFormsEmailAttribute.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"4667950b2af7c4c1f722a0dd9182119f0b67ea95d8e20867c429caec89824d0a"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":0,"secretScannerRunsExcluded":0}}}]}