{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"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":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D23","name":"Boundary Type-Coupling","shortDescription":{"text":"Boundary Type-Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D23"},{"id":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"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":"D32","name":"Data Compliance (PII/GDPR)","shortDescription":{"text":"Data Compliance (PII/GDPR)"},"helpUri":"https://codehealth.canine.dev/dimensions/D32","relationships":[{"target":{"id":"CWE-359","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-312","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-200","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-359","CWE-312","CWE-200"]}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"]}},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX5","name":"Architecture \u0026 structure","shortDescription":{"text":"Architecture \u0026 structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AX5"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"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":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"MultiSelectionComboBox.KeyDownHandler (cyclomatic 54): MultiSelectionComboBox.KeyDownHandler has cyclomatic complexity 54 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/MultiSelectionComboBox/MultiSelectionComboBox.cs"},"region":{"startLine":1538}}}],"partialFingerprints":{"codehealthFindingId/v1":"72da8c449f00b2ea2a19e044b1b1a20099b9d606631a462f9ea18bd047b76509"}},{"ruleId":"D1","level":"warning","message":{"text":"Utils.IsEqualTo (cyclomatic 42): Utils.IsEqualTo has cyclomatic complexity 42 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/ClipBorder.Utils.cs"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"63bccbbbd1769c273f91183ceb39272fb4f2bb037f136047ea7330fe822a29c7"}},{"ruleId":"D1","level":"warning","message":{"text":"RangeSlider.CentralThumbMouseDown (cyclomatic 34): RangeSlider.CentralThumbMouseDown has cyclomatic complexity 34 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/RangeSlider.cs"},"region":{"startLine":1522}}}],"partialFingerprints":{"codehealthFindingId/v1":"7607d5a12e0d7d39eeb044cc5a90e738d81fffb5ee99fec5558d34f46a07fab8"}},{"ruleId":"D1","level":"warning","message":{"text":"MultiSelectionComboBox.UpdateSelectedItemsFromTextTimer_Tick (cyclomatic 31): MultiSelectionComboBox.UpdateSelectedItemsFromTextTimer_Tick has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/MultiSelectionComboBox/MultiSelectionComboBox.cs"},"region":{"startLine":895}}}],"partialFingerprints":{"codehealthFindingId/v1":"060879be15c104158fc763c2b9028ec976a9790d447d3d63e75a67478347ce67"}},{"ruleId":"D1","level":"warning","message":{"text":"Flyout.ApplyAnimation (cyclomatic 28): Flyout.ApplyAnimation has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/Flyout.cs"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb5d3866f92b78b10e49497ee519cce1a859a6632d46aa92261a11159e370898"}},{"ruleId":"D1","level":"warning","message":{"text":"RangeSlider.ReCalculateRangeSelected (cyclomatic 26): RangeSlider.ReCalculateRangeSelected has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/RangeSlider.cs"},"region":{"startLine":1111}}}],"partialFingerprints":{"codehealthFindingId/v1":"74595eed1e8ca3adfab3d140ea5f1af643ef380ae313005d79b695985e2ce3af"}},{"ruleId":"D1","level":"warning","message":{"text":"MultiSelectionComboBox.OnPreviewMouseWheel (cyclomatic 24): MultiSelectionComboBox.OnPreviewMouseWheel 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":"src/MahApps.Metro/Controls/MultiSelectionComboBox/MultiSelectionComboBox.cs"},"region":{"startLine":1442}}}],"partialFingerprints":{"codehealthFindingId/v1":"c608c0dfa37f0bb7430e2920619461a4c815411095a004426f20665f3c3a2cf9"}},{"ruleId":"D1","level":"warning","message":{"text":"TiltBehavior.CompositionTargetRendering (cyclomatic 23): TiltBehavior.CompositionTargetRendering has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Behaviors/TiltBehavior.cs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae9e8516d79781af112989b3ceb8555166a30f4746663827bf8cf994fdd99936"}},{"ruleId":"D1","level":"warning","message":{"text":"MultiSelectionComboBox.SyncSelectedItems (cyclomatic 23): MultiSelectionComboBox.SyncSelectedItems has cyclomatic complexity 23 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/MultiSelectionComboBox/MultiSelectionComboBox.cs"},"region":{"startLine":1892}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0099d755f1492a54b9bf9f3cf639a52fa06975319570aaeccd4e8c76c865b7b"}},{"ruleId":"D1","level":"warning","message":{"text":"RangeSlider.MoveToNextValue (cyclomatic 23): RangeSlider.MoveToNextValue has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/RangeSlider.cs"},"region":{"startLine":1916}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e75283ff07f3fa85df43a57cbda28c2bb766bb80c1a21a2b336d7f7f7729db3"}},{"ruleId":"D1","level":"warning","message":{"text":"Utils.IsValid (cyclomatic 21): Utils.IsValid has cyclomatic complexity 21 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: one other method here (Utils.IsValid) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/ClipBorder.Utils.cs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dac65ad002fce0cdcd777ee520a1afaece3227a5511b1c306bb39ec4ca87a76"}},{"ruleId":"D1","level":"warning","message":{"text":"Utils.IsValid (cyclomatic 21): Utils.IsValid has cyclomatic complexity 21 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: one other method here (Utils.IsValid) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/ClipBorder.Utils.cs"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"28b9ba513e06c334838608632ef931745649ec92289045228ce6656735f58b5d"}},{"ruleId":"D1","level":"warning","message":{"text":"ColorPicker.OnIsDropDownOpenChanged (cyclomatic 19): ColorPicker.OnIsDropDownOpenChanged has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 6 of the 19 points are its own statements and the rest belongs to one function literal inside it that branches (line 814). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/ColorPicker/ColorPicker.cs"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca4fd91adefd1d4f5745829628a1c9012de412e9c505bca61688a4da81a94532"}},{"ruleId":"D1","level":"warning","message":{"text":"DropDownButton.OnItemsChanged (cyclomatic 19): DropDownButton.OnItemsChanged 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":"src/MahApps.Metro/Controls/DropDownButton.cs"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca45e60fb2c879297e79df5d76425769a58a375ecc7e98c4dbd5808db75839d3"}},{"ruleId":"D1","level":"warning","message":{"text":"MahAppsCommands.ClearControl (cyclomatic 19): MahAppsCommands.ClearControl has cyclomatic complexity 19 (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":"src/MahApps.Metro/Controls/Helper/MahAppsCommands.cs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"a285b14105bede564a240243f9f1f7ce6e21fecb562dbb415d6fd60129120aaa"}},{"ruleId":"D1","level":"warning","message":{"text":"RangeSlider.UpdateEndPoint (cyclomatic 19): RangeSlider.UpdateEndPoint has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/RangeSlider.cs"},"region":{"startLine":1874}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd3f06b276f876cc3a0d7998dedeaaf6a7e59d0ce747ab25392e8027138af19f"}},{"ruleId":"D1","level":"warning","message":{"text":"ClipBorder.OnRender (cyclomatic 18): ClipBorder.OnRender has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/ClipBorder.cs"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b6815fb1a56ce6182c56d1a18491e3babcada9768f54b72385f4bf4226d8fd7"}},{"ruleId":"D1","level":"warning","message":{"text":"NumericUpDown.ValidateText (cyclomatic 18): NumericUpDown.ValidateText has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/NumericUpDown.cs"},"region":{"startLine":1635}}}],"partialFingerprints":{"codehealthFindingId/v1":"46e04cb7a18ce7ffa2a14c00eace840ab149a594b8e6126515231b500d2e50ad"}},{"ruleId":"D1","level":"warning","message":{"text":"RangeSlider.JumpToNextTick (cyclomatic 18): RangeSlider.JumpToNextTick has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/RangeSlider.cs"},"region":{"startLine":2162}}}],"partialFingerprints":{"codehealthFindingId/v1":"62742755570006b7f78a873effc8f29eab235d93c1ae3dadc64b0d081ba527c6"}},{"ruleId":"D1","level":"warning","message":{"text":"CustomValidationPopup.CustomValidationPopup_Loaded (cyclomatic 17): CustomValidationPopup.CustomValidationPopup_Loaded has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/CustomValidationPopup.cs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"b40a853c22661a25667f26a0e7c40190e37605541185c42ad8bda228e4b13418"}},{"ruleId":"D1","level":"warning","message":{"text":"MetroWindow.FlyoutsPreviewMouseDown (cyclomatic 17): MetroWindow.FlyoutsPreviewMouseDown has cyclomatic complexity 17 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 5 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/MetroWindow.cs"},"region":{"startLine":1309}}}],"partialFingerprints":{"codehealthFindingId/v1":"c12ee833a2ce4140b65b5b09ebc10e5f056d9d7980487640bd21fc6e6fc9de07"}},{"ruleId":"D1","level":"warning","message":{"text":"Flyout.OnRenderSizeChanged (cyclomatic 16): Flyout.OnRenderSizeChanged has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/Flyout.cs"},"region":{"startLine":970}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7642864e2601fb3a11beaf4268ef26f0f58ab060e0c5fb3a9584f3585000c1b"}},{"ruleId":"D1","level":"warning","message":{"text":"RangeSlider.CenterThumbDragDelta (cyclomatic 16): RangeSlider.CenterThumbDragDelta has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/RangeSlider.cs"},"region":{"startLine":1797}}}],"partialFingerprints":{"codehealthFindingId/v1":"71df3b1ecec13c2897d5dec983f703ae4ded001f7db847eeb152d01439dcc519"}},{"ruleId":"D2","level":"warning","message":{"text":"RangeSlider.ReCalculateRangeSelected (cognitive 86): RangeSlider.ReCalculateRangeSelected has cognitive complexity 86 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/RangeSlider.cs"},"region":{"startLine":1111}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3607342b0837f0fc2c64f982a754b16f3df4de777c6026ed46ccc3f7cef1c57"}},{"ruleId":"D2","level":"warning","message":{"text":"RangeSlider.CentralThumbMouseDown (cognitive 72): RangeSlider.CentralThumbMouseDown has cognitive complexity 72 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/RangeSlider.cs"},"region":{"startLine":1522}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b3a26dcbf9e94c4fa8fc475b6270e9b39d651ee77dcedbd8c27da679375f1d7"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiSelectionComboBox.UpdateSelectedItemsFromTextTimer_Tick (cognitive 70): MultiSelectionComboBox.UpdateSelectedItemsFromTextTimer_Tick has cognitive complexity 70 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/MultiSelectionComboBox/MultiSelectionComboBox.cs"},"region":{"startLine":895}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5066e03f151342ee6edb1c0efffd4860c1e38ec8a4196e3dcbc2533237c0787"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiSelectionComboBox.KeyDownHandler (cognitive 69): MultiSelectionComboBox.KeyDownHandler has cognitive complexity 69 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/MultiSelectionComboBox/MultiSelectionComboBox.cs"},"region":{"startLine":1538}}}],"partialFingerprints":{"codehealthFindingId/v1":"f59c09558626befd7029db144424cae87ce901fd597a351e4076c3eb8afae257"}},{"ruleId":"D2","level":"warning","message":{"text":"RangeSlider.CenterThumbDragDelta (cognitive 47): RangeSlider.CenterThumbDragDelta has cognitive complexity 47 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/RangeSlider.cs"},"region":{"startLine":1797}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ee32042d85037ac2bb8db5c8be77891fdea562136cc98ce16796239eab256b8"}},{"ruleId":"D2","level":"warning","message":{"text":"TiltBehavior.CompositionTargetRendering (cognitive 46): TiltBehavior.CompositionTargetRendering has cognitive complexity 46 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Behaviors/TiltBehavior.cs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7e216f1abec713bd96f07637afc0e140b8420fbb76343c6d96f13d93e06a75f"}},{"ruleId":"D2","level":"warning","message":{"text":"Flyout.OnIsOpenPropertyChanged (cognitive 44): Flyout.OnIsOpenPropertyChanged has cognitive complexity 44 (threshold 15). Most of this is not in the body itself: 0 of the 44 points are its own statements and the rest belongs to one function literal inside it that branches (line 135). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/Flyout.cs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bdbb9592ed2f07152a5e2d93b7ff631995af6aa7b77939d89149778cea4b888"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiSelectionComboBox.SyncSelectedItems (cognitive 40): MultiSelectionComboBox.SyncSelectedItems has cognitive complexity 40 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/MultiSelectionComboBox/MultiSelectionComboBox.cs"},"region":{"startLine":1892}}}],"partialFingerprints":{"codehealthFindingId/v1":"aecc636866adb2bd4fae4b34ff0a2f35f5b69be23b4599d2bc92aef0340c5d37"}},{"ruleId":"D2","level":"warning","message":{"text":"Flyout.ApplyAnimation (cognitive 39): Flyout.ApplyAnimation has cognitive complexity 39 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/Flyout.cs"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b9b79f0646cfbce55157aa9dd894aa263e093fabf9e31455b4752abf044d598"}},{"ruleId":"D2","level":"warning","message":{"text":"RangeSlider.JumpToNextTick (cognitive 38): RangeSlider.JumpToNextTick has cognitive complexity 38 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/RangeSlider.cs"},"region":{"startLine":2162}}}],"partialFingerprints":{"codehealthFindingId/v1":"92b8f84a748c0b810a6b2e558974ae929457bd5e7684774491d8b15c5779c37c"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiSelectionComboBox.OnPreviewMouseWheel (cognitive 37): MultiSelectionComboBox.OnPreviewMouseWheel has cognitive complexity 37 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/MultiSelectionComboBox/MultiSelectionComboBox.cs"},"region":{"startLine":1442}}}],"partialFingerprints":{"codehealthFindingId/v1":"571933ed92a42c83daa029eacc7669c2aeae981a25f755296415a131afd2b571"}},{"ruleId":"D2","level":"warning","message":{"text":"RangeSlider.MoveToNextValue (cognitive 37): RangeSlider.MoveToNextValue has cognitive complexity 37 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/RangeSlider.cs"},"region":{"startLine":1916}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9d65400257729c2f5128b63dc2a76892f2b6e4e2d7e64841483a4ca5b8aa998"}},{"ruleId":"D2","level":"warning","message":{"text":"RangeSlider.MoveThumbHorizontal (cognitive 33): RangeSlider.MoveThumbHorizontal has cognitive complexity 33 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function. This shape REPEATS in the file: one other method here (RangeSlider.MoveThumbVertical) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/RangeSlider.cs"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0e1eef10be59d7f0bec64d1d439c661d59fce2730c3bb6bd8cc0261e61625db"}},{"ruleId":"D2","level":"warning","message":{"text":"RangeSlider.MoveThumbVertical (cognitive 33): RangeSlider.MoveThumbVertical has cognitive complexity 33 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function. This shape REPEATS in the file: one other method here (RangeSlider.MoveThumbHorizontal) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/RangeSlider.cs"},"region":{"startLine":995}}}],"partialFingerprints":{"codehealthFindingId/v1":"395ad434f80e7f06f66b61a76d90df30707aa64d759b288c2a5e48ea42b610ff"}},{"ruleId":"D2","level":"warning","message":{"text":"Utils.IsEqualTo (cognitive 30): Utils.IsEqualTo has cognitive complexity 30 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/ClipBorder.Utils.cs"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2ded6c5e690ecc861e6d844624fc56979c131738930e6c959cdbd7839c0ee7b"}},{"ruleId":"D2","level":"warning","message":{"text":"DropDownButton.OnItemsChanged (cognitive 28): DropDownButton.OnItemsChanged has cognitive complexity 28 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/DropDownButton.cs"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d6184bc208b6a5685e2a6d2ed435755561f1de9e6d220c32bee47d73e7afc81"}},{"ruleId":"D2","level":"warning","message":{"text":"TextBoxHelper.OnIsMonitoringChanged (cognitive 28): TextBoxHelper.OnIsMonitoringChanged has cognitive complexity 28 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/Helper/TextBoxHelper.cs"},"region":{"startLine":821}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba201c2955ff81235490b1022bd64b6bdd91247b426f6539eea902290077c3c2"}},{"ruleId":"D2","level":"warning","message":{"text":"RangeSlider.UpdateEndPoint (cognitive 28): RangeSlider.UpdateEndPoint has cognitive complexity 28 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/RangeSlider.cs"},"region":{"startLine":1874}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e833bc4512bf85a497a55f6e54c8e8948a39e74b4f2da79f7568c1b91f978a"}},{"ruleId":"D2","level":"warning","message":{"text":"ColorPicker.OnIsDropDownOpenChanged (cognitive 27): ColorPicker.OnIsDropDownOpenChanged has cognitive complexity 27 (threshold 15). Most of this is not in the body itself: 8 of the 27 points are its own statements and the rest belongs to one function literal inside it that branches (line 814). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/ColorPicker/ColorPicker.cs"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"974b51e65f4a937488c2b800d0ccd9cf191ff1a93573d291d4e4accc00b59ff7"}},{"ruleId":"D2","level":"warning","message":{"text":"RangeSlider.LeftButtonMouseDown (cognitive 26): RangeSlider.LeftButtonMouseDown has cognitive complexity 26 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (RangeSlider.RightButtonMouseDown) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/RangeSlider.cs"},"region":{"startLine":1426}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ea04823cde12eabebfab69ca4ef0fa0505cd91735fb74bee7b53ef4ca6fc341"}},{"ruleId":"D2","level":"warning","message":{"text":"RangeSlider.RightButtonMouseDown (cognitive 26): RangeSlider.RightButtonMouseDown has cognitive complexity 26 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (RangeSlider.LeftButtonMouseDown) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/RangeSlider.cs"},"region":{"startLine":1474}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f7fd205e321ec5157eb0b50f169b820f9471e00030c6ec1e32724d1f45f5bd7"}},{"ruleId":"D2","level":"warning","message":{"text":"RangeSlider.SnapToTickHandle (cognitive 25): RangeSlider.SnapToTickHandle has cognitive complexity 25 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/RangeSlider.cs"},"region":{"startLine":2031}}}],"partialFingerprints":{"codehealthFindingId/v1":"cab735a76a61e0d6ffe41b98f8eded1e348fbe01103b5f222c866b573f92b572"}},{"ruleId":"D2","level":"warning","message":{"text":"ClipBorder.OnRender (cognitive 24): ClipBorder.OnRender has cognitive complexity 24 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/ClipBorder.cs"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfdb719e86477a5a4201983ba33ee110d3967ef87a1678f41e9034baa2afb663"}},{"ruleId":"D2","level":"warning","message":{"text":"ColorHelper.ColorHelper.ctor (cognitive 24): ColorHelper.ColorHelper.ctor has cognitive complexity 24 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/ColorPicker/ColorHelper.cs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"1042b4ae5f871d306d4e75b6aed8b51ebf3ce7f1d68aad2f0289f44dc0d929d6"}},{"ruleId":"D2","level":"warning","message":{"text":"HamburgerMenuItemStyleSelector.SelectStyle (cognitive 24): HamburgerMenuItemStyleSelector.SelectStyle has cognitive complexity 24 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/HamburgerMenu/MenuItems/HamburgerMenuItemStyleSelector.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c4d6f5aa42766299dd2e252edf0178af8101cffc220fe5dbcc35acd2d8998f7"}},{"ruleId":"D2","level":"warning","message":{"text":"RangeSlider.LeftThumbDragDelta (cognitive 24): RangeSlider.LeftThumbDragDelta has cognitive complexity 24 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function. This shape REPEATS in the file: one other method here (RangeSlider.RightThumbDragDelta) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/RangeSlider.cs"},"region":{"startLine":1641}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccf195e1c60923e17973fd06782f0a6c8f39b5a5356d3e6b47c4e456031db610"}},{"ruleId":"D2","level":"warning","message":{"text":"RangeSlider.RightThumbDragDelta (cognitive 24): RangeSlider.RightThumbDragDelta has cognitive complexity 24 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function. This shape REPEATS in the file: one other method here (RangeSlider.LeftThumbDragDelta) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/RangeSlider.cs"},"region":{"startLine":1714}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa02beae8db370026f250b49b2224efc145b28b0b1a12ac3bb06f5d415eb6b50"}},{"ruleId":"D2","level":"warning","message":{"text":"RangeSlider.ReCalculateSize (cognitive 23): RangeSlider.ReCalculateSize has cognitive complexity 23 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/RangeSlider.cs"},"region":{"startLine":1055}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ff36e51a6e0e89c3839fc3521642c4eee94db74b7a3a6d13da73faba8e97ac9"}},{"ruleId":"D2","level":"warning","message":{"text":"NumericUpDown.OnValueChanged (cognitive 22): NumericUpDown.OnValueChanged 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":"src/MahApps.Metro/Controls/NumericUpDown.cs"},"region":{"startLine":1188}}}],"partialFingerprints":{"codehealthFindingId/v1":"69d80765ac57180f4246d6a157f3634777bab790506e7e051946ac7d591e4b22"}},{"ruleId":"D2","level":"warning","message":{"text":"CloseTabItemAction.Invoke (cognitive 21): CloseTabItemAction.Invoke has cognitive complexity 21 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 10 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Actions/CloseTabItemAction.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b333d1b5af39292f104f73799087ee7dc2ff49824f17cd7384d867a46bec0ad"}},{"ruleId":"D2","level":"warning","message":{"text":"RangeSlider.ReCalculateRangeSelected (cognitive 20): RangeSlider.ReCalculateRangeSelected 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":"src/MahApps.Metro/Controls/RangeSlider.cs"},"region":{"startLine":1178}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7fc16b8f8f3ab44ccd3496a18ee109ce0bdd9e0df6862aec09afe61f9db03ec"}},{"ruleId":"D2","level":"warning","message":{"text":"TimePickerBase.SetHourPartValues (cognitive 20): TimePickerBase.SetHourPartValues 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":"src/MahApps.Metro/Controls/TimePicker/TimePickerBase.cs"},"region":{"startLine":1059}}}],"partialFingerprints":{"codehealthFindingId/v1":"84e5b82b8896ab9cd7d79ef8358916b695dc59b7c6c9d9d8ef06ed92d5b37c53"}},{"ruleId":"D2","level":"warning","message":{"text":"ScrollViewerHelper.EndOfVerticalScrollReachedCommandPropertyChanged (cognitive 19): ScrollViewerHelper.EndOfVerticalScrollReachedCommandPropertyChanged has cognitive complexity 19 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function. This shape REPEATS in the file: one other method here (ScrollViewerHelper.EndOfHorizontalScrollReachedCommandPropertyChanged) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/Helper/ScrollViewerHelper.cs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"395208953b2befa1ab28fd04e2be946c82a4027d884f2fc361306c329a9341cd"}},{"ruleId":"D2","level":"warning","message":{"text":"ScrollViewerHelper.EndOfHorizontalScrollReachedCommandPropertyChanged (cognitive 19): ScrollViewerHelper.EndOfHorizontalScrollReachedCommandPropertyChanged has cognitive complexity 19 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function. This shape REPEATS in the file: one other method here (ScrollViewerHelper.EndOfVerticalScrollReachedCommandPropertyChanged) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/Helper/ScrollViewerHelper.cs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"7451a5af94d38a93e6c1f7a167c1d6702500902ad5d64ed309d1cb324155a366"}},{"ruleId":"D2","level":"warning","message":{"text":"ResizeModeMinMaxButtonVisibilityConverter.Convert (cognitive 19): ResizeModeMinMaxButtonVisibilityConverter.Convert has cognitive complexity 19 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Converters/ResizeModeMinMaxButtonVisibilityConverter.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"d514922af9337a8e8154f5e282197887cc34c0a132cccb1fb5a3902db361fb91"}},{"ruleId":"D2","level":"warning","message":{"text":"WindowsSettingBehavior.SaveWindowState (cognitive 18): WindowsSettingBehavior.SaveWindowState has cognitive complexity 18 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Behaviors/WindowsSettingBehavior.cs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff64fb81906cae63d1e11ecb6ab9028a7acf39f36d47f2efc0ec48fb76b02c37"}},{"ruleId":"D2","level":"warning","message":{"text":"MahAppsCommands.ClearControl (cognitive 18): MahAppsCommands.ClearControl has cognitive complexity 18 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/Helper/MahAppsCommands.cs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7a12790fcbf232f6f97e9a6e89ee2af6c95c3a31aa1a1c88bd184d2d959dea0"}},{"ruleId":"D2","level":"warning","message":{"text":"ColorPicker.OnLostMouseCapture (cognitive 17): ColorPicker.OnLostMouseCapture 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":"src/MahApps.Metro/Controls/ColorPicker/ColorPicker.cs"},"region":{"startLine":872}}}],"partialFingerprints":{"codehealthFindingId/v1":"522e2beaecbc5404a22f1f382a733892e9f73469d13f933c56c34575348b04c2"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiSelectorBinding.OnCollectionChanged (cognitive 17): MultiSelectorBinding.OnCollectionChanged has cognitive complexity 17 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/Helper/MultiSelectorHelper.cs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"a379b311ef67509c8603951906f6f6872be83f361181cf959f8799407ea462c4"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseMetroTabControl.CloseThisTabItem (cognitive 17): BaseMetroTabControl.CloseThisTabItem has cognitive complexity 17 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/MetroTabControl.cs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"2faae83a6fdc179b02a931b1abb25e7ea39eefced78671bb1b2b16e50cbc095e"}},{"ruleId":"D2","level":"warning","message":{"text":"RangeSlider.CalculateNextTick (cognitive 17): RangeSlider.CalculateNextTick has cognitive complexity 17 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/RangeSlider.cs"},"region":{"startLine":2105}}}],"partialFingerprints":{"codehealthFindingId/v1":"33aaa4b7e75551b12829999668a85bb54c117dafe143851428ba67f3decd33f2"}},{"ruleId":"D2","level":"warning","message":{"text":"TreeHelper.GetChildObjects (cognitive 17): TreeHelper.GetChildObjects has cognitive complexity 17 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/TreeHelper.cs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"97a43d5df2c9acf827208bc7d0b98545aff4269fab76f80320ac492bc105b8bb"}},{"ruleId":"D2","level":"warning","message":{"text":"Utils.IsValid (cognitive 16): Utils.IsValid 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. This shape REPEATS in the file: one other method here (Utils.IsValid) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/ClipBorder.Utils.cs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"cec28c6b1280f6f4e815754812874f51d3ebcd4108b7bc70dd39a7f8d01e89db"}},{"ruleId":"D2","level":"warning","message":{"text":"Utils.IsValid (cognitive 16): Utils.IsValid 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. This shape REPEATS in the file: one other method here (Utils.IsValid) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/ClipBorder.Utils.cs"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"0853a7e92e79bb256babd039eeb2641f13f0d328edf105a449b65e848281ddcc"}},{"ruleId":"D2","level":"warning","message":{"text":"CustomValidationPopup.CustomValidationPopup_Loaded (cognitive 16): CustomValidationPopup.CustomValidationPopup_Loaded has cognitive complexity 16 (threshold 15). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/CustomValidationPopup.cs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"30fea6c4941c4b622fb7099e7ad5e41ba15b6cf2e6282a5b8902ab352948de81"}},{"ruleId":"D2","level":"warning","message":{"text":"FlyoutsControl.PrepareContainerForItemOverride (cognitive 16): FlyoutsControl.PrepareContainerForItemOverride has cognitive complexity 16 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/FlyoutsControl.cs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdcd76747faf5ff9085719e932d4a74a1ce73fbba5950eca16f43c095a9bb6aa"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiSelectionComboBox.OnItemsChanged (cognitive 16): MultiSelectionComboBox.OnItemsChanged has cognitive complexity 16 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/MultiSelectionComboBox/MultiSelectionComboBox.cs"},"region":{"startLine":1297}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e18e30fc9d437df1a1de10a05b8c9407d1134be8eaabe5fbb3ca38e246f745c"}},{"ruleId":"D2","level":"warning","message":{"text":"RangeSlider.ReCalculateRangeSelected (cognitive 16): RangeSlider.ReCalculateRangeSelected has cognitive complexity 16 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/RangeSlider.cs"},"region":{"startLine":1229}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7fe4bc498372ea20dff6915c808668917cd034e95509952ea523fdae240d658"}},{"ruleId":"D2","level":"warning","message":{"text":"TreeHelper.FindChild (cognitive 16): TreeHelper.FindChild has cognitive complexity 16 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/TreeHelper.cs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"302fd7da8baebe19e39088a2957995cbcf83f024d938dc4ce38233c825e3c134"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CheckBoxHelper: TooManyMethods \u2014 1137 significant lines (blank, comment-only and punctuation-only lines excluded), 162 methods. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/Helper/CheckBoxHelper.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a47a7fba6905d0d6007f42849e93ceb40fed8a948b445362e1fcd39fe103aaa9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SampleData.Seed: MethodTooLong \u2014 Seed runs 418 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro.Samples/MahApps.Metro.Demo/Models/Album.cs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"098d37d46fc4f4b7dfb71beceb2d4960fec122451b535aa7cf3c02a7650dd987"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Controls/RangeSlider.cs: FileTooLong \u2014 1270 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":"src/MahApps.Metro/Controls/RangeSlider.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f56f20d6489548e1780dbe957391f234fc79ca1e6cdbefe4b3dbbdafa8b444d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RadioButtonHelper: TooManyMethods \u2014 505 significant lines (blank, comment-only and punctuation-only lines excluded), 72 methods. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/Helper/RadioButtonHelper.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bd0286afebb9664b9776dd6a405710c36f8a043a55eb40c810f2f8a4d02cdeb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Helper/CheckBoxHelper.cs: FileTooLong \u2014 1142 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":"src/MahApps.Metro/Controls/Helper/CheckBoxHelper.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab3788aa86f5690f4aa1141e285c590d1d5d6294fbd811478ca2da87f1c7d65c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TextBoxHelper: TooManyMethods \u2014 571 significant lines (blank, comment-only and punctuation-only lines excluded), 68 methods. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/Helper/TextBoxHelper.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a04baf0222a1ba4555b9a5c7ca541e8d3918bbc10fee8611265b1e6990aa481"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RangeSlider: TooManyMethods \u2014 1257 significant lines (blank, comment-only and punctuation-only lines excluded), 66 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/RangeSlider.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df6521ec090ec33c551fe422010661e25c1d156d23cd7dedb246ec9b370359f2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ItemHelper: TooManyMethods \u2014 499 significant lines (blank, comment-only and punctuation-only lines excluded), 64 methods. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/Helper/ItemHelper.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3707ac5f00dca59d118ca4604f376f116a8522b48911f19dd26fd73df99427f9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: MultiSelectionComboBox/MultiSelectionComboBox.cs: FileTooLong \u2014 945 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":"src/MahApps.Metro/Controls/MultiSelectionComboBox/MultiSelectionComboBox.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"319ef05bd055adf96f1d374612299a0287583ba0aef9232485ba7fdccd984486"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TimePickerBase: TooManyMethods \u2014 516 significant lines (blank, comment-only and punctuation-only lines excluded), 56 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/TimePicker/TimePickerBase.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eef2922ea1f7a7afdf25cc8edfb4fab21360f4d7e55688363c4a3191927bb45d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NumericUpDown: TooManyMethods \u2014 814 significant lines (blank, comment-only and punctuation-only lines excluded), 54 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/NumericUpDown.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"591cec8b6af12cc8d46c8e529d5b58cceb41cb7934ccd7ec2deb36abe3bb9082"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MultiSelectionComboBox: TooManyMethods \u2014 926 significant lines (blank, comment-only and punctuation-only lines excluded), 51 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/MultiSelectionComboBox/MultiSelectionComboBox.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a01a73560f10ec6b5f298db7f79f5dec059755ed17ad06355ce1ad2e176a3a6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Controls/MetroWindow.cs: FileTooLong \u2014 841 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":"src/MahApps.Metro/Controls/MetroWindow.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a6abc1fb5a0270cebd5a1d06835ae040282a7c0ce8726df3dd343a7b9cf86d4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Controls/NumericUpDown.cs: FileTooLong \u2014 831 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":"src/MahApps.Metro/Controls/NumericUpDown.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c5470e48e73392c0a509640514614f1a5b9a369fce92068c6697cea2f8309e0"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: HamburgerMenu: ClassTooLong \u2014 609 significant lines (blank, comment-only and punctuation-only lines excluded), 24 methods, declared across 5 files: HamburgerMenu/HamburgerMenu.Properties.cs (10), HamburgerMenu/HamburgerMenu.Events.cs (9), HamburgerMenu/HamburgerMenu.cs (3), HamburgerMenu/HamburgerMenu.HamburgerButton.cs (1), \u002B1 more file(s). To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/HamburgerMenu/HamburgerMenu.Properties.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3075b4ed9d6570eb7490fe5532dc074f2cbea347c6f2bdca596c851d05efa074"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MetroWindow: TooManyMethods \u2014 809 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":"src/MahApps.Metro/Controls/MetroWindow.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"381f70b650d04c1c37210e0c3648e5ec09f4918439752b6a1caf2a1c2764fbb4"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FlipView: ClassTooLong \u2014 577 significant lines (blank, comment-only and punctuation-only lines excluded), 28 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/FlipView.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8094306dea58f6a56719c099bc9c75005264cc10ee6a29ceef8da271908cb275"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Animals.GenerateDate: MethodTooLong \u2014 GenerateDate runs 143 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro.Samples/MahApps.Metro.Demo/Models/Animals.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7af112aa9584a3539606ab5b0b44d15c405925df510877cf5101abf3b337d72"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Flyout: ClassTooLong \u2014 504 significant lines (blank, comment-only and punctuation-only lines excluded), 28 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/Flyout.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7137167bf36fa87cb6befd86ded89eeea8d04ce9de6076eab7cb63579b1e7563"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ColorPicker: ClassTooLong \u2014 479 significant lines (blank, comment-only and punctuation-only lines excluded), 10 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/ColorPicker/ColorPicker.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ccfb8531a6f1a2af0cd3182878d97b6ceb32923ddd5d97a95eee3e03af65f1a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Helper/TextBoxHelper.cs: FileTooLong \u2014 596 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":"src/MahApps.Metro/Controls/Helper/TextBoxHelper.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aabe1598cd4e9865ef54cc3a37f20dc5e2998be6e31240e3ff91c0d7d23b2a0b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Controls/FlipView.cs: FileTooLong \u2014 590 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":"src/MahApps.Metro/Controls/FlipView.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe2516f74030796810fc5c46ee25e82a13c4a6f436b8542f65a28684e92eeeb6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MainWindow: TooManyMethods \u2014 293 significant lines (blank, comment-only and punctuation-only lines excluded), 35 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro.Samples/MahApps.Metro.Demo/MainWindow.xaml.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f4ba594ac110b4a5dc15ae0941858e1b8ad84a11a517e8a1dfd502dee2da333"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MainWindowViewModel.MainWindowViewModel(\u2026): MethodTooLong \u2014 MainWindowViewModel(\u2026) runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro.Samples/MahApps.Metro.Demo/MainWindowViewModel.cs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"26288ea4562e59623c8b70b8055b8e7bd35281baae1d68bfe77071fd8cdb70dd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SliderHelper: TooManyMethods \u2014 265 significant lines (blank, comment-only and punctuation-only lines excluded), 32 methods. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/Helper/SliderHelper.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"faebf35f26447f838fc8e29917d9ac26eb474e9b75bc9aa2e40615dafd792d83"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: TimePicker/TimePickerBase.cs: FileTooLong \u2014 532 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":"src/MahApps.Metro/Controls/TimePicker/TimePickerBase.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cec046e6bacffacc9edeb5a3bea83150263f44ef7f5d7d5dca7102576b3599de"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SampleData: ClassTooLong \u2014 422 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro.Samples/MahApps.Metro.Demo/Models/Album.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcc70dd0fd10f4263aefba9db91edbde5309a322bded9784e9262cf24bfab5b0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HamburgerMenuListBox.PrepareContainerForItemOverride: MethodTooLong \u2014 PrepareContainerForItemOverride runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/HamburgerMenu/HamburgerMenuListBox.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"592c6a92ec82219ffc5ed4ca945cf6f382230ce6654299f075dea649e95313af"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Controls/Flyout.cs: FileTooLong \u2014 518 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":"src/MahApps.Metro/Controls/Flyout.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e64e921df31229c64bf3980d2a0e55b601283ebb47045566a395bed657602a8a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ToggleSwitch: TooManyMethods \u2014 358 significant lines (blank, comment-only and punctuation-only lines excluded), 31 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/ToggleSwitch.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eaf527c2c26dff63675a8e20788fa5140709439abc362116065ecbc181a0b1d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Helper/RadioButtonHelper.cs: FileTooLong \u2014 510 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":"src/MahApps.Metro/Controls/Helper/RadioButtonHelper.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"070eb6d851ec66e9350e911bedad889ce1fd830e7a4f46b3548f42648ff9e805"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Helper/ItemHelper.cs: FileTooLong \u2014 506 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":"src/MahApps.Metro/Controls/Helper/ItemHelper.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"34f4d06724f4daf3c9952eb48b697e7b7952745037d849c8bd097f21a649c3f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): src/MahApps.Metro/Controls/HamburgerMenu/HamburgerMenu.Properties.cs:43-70 | src/MahApps.Metro/Controls/SplitView/SplitView.cs:170-197 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/MahApps.Metro/Controls/HamburgerMenu/HamburgerMenu.Properties.cs:43\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 matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/HamburgerMenu/HamburgerMenu.Properties.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1ab866864969351434f6551ed3fb22f634a929d13d806518731f6ced03b084b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/MahApps.Metro/Controls/RangeSlider.cs:947-964 | src/MahApps.Metro/Controls/RangeSlider.cs:973-990 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/MahApps.Metro/Controls/RangeSlider.cs:947\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/RangeSlider.cs"},"region":{"startLine":947}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d974ada802f0a65a5ee21759043e0ffe97ecf9c89fb98e01c65e3d6a2b86aa2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/MahApps.Metro/Controls/RangeSlider.cs:1006-1023 | src/MahApps.Metro/Controls/RangeSlider.cs:1032-1049 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/MahApps.Metro/Controls/RangeSlider.cs:1006\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/RangeSlider.cs"},"region":{"startLine":1006}}}],"partialFingerprints":{"codehealthFindingId/v1":"38e398901dbe11fe6ba7c7ad570e509cec7c97d17a839352a743df2a2e4f3971"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/MahApps.Metro/Controls/Helper/ExpanderHelper.cs:201-217 | src/MahApps.Metro/Controls/Helper/ExpanderHelper.cs:296-312 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/MahApps.Metro/Controls/Helper/ExpanderHelper.cs:201\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/Helper/ExpanderHelper.cs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"da27e68c291e24cf8b6fb9cbaab69429ac6851736c3acfda767a37d3a9403001"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/MahApps.Metro/Controls/ClipBorder.Utils.cs:482-497 | src/MahApps.Metro/Controls/ClipBorder.Utils.cs:516-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 \u0060src/MahApps.Metro/Controls/ClipBorder.Utils.cs:482\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/ClipBorder.Utils.cs"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"e33a894773356c47bcca4fa74cb6f2455a57a8e5f92ee1f3dc94eca24b0afacd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/MahApps.Metro/Controls/Dialogs/InputDialog.cs:181-196 | src/MahApps.Metro/Controls/Dialogs/LoginDialog.cs:375-390 \u2014 before extracting anything, compare \u0060src/MahApps.Metro/Controls/Dialogs/InputDialog.cs\u0060 and \u0060src/MahApps.Metro/Controls/Dialogs/LoginDialog.cs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/MahApps.Metro/Controls/Dialogs/InputDialog.cs:181\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/Dialogs/InputDialog.cs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb25af32f878f9b5b8e6b4fdba9c807a8070a259b9492b7fc466a607ab0a884e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/MahApps.Metro/Controls/HotKeyBox.cs:113-128 | src/MahApps.Metro/Controls/NumericUpDown.cs:973-988 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/MahApps.Metro/Controls/HotKeyBox.cs:113\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/HotKeyBox.cs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5c7c2f07dd7fd3042ae93954bbb5b00bd6cae6eec8d4ca0260de58fd087de83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/MahApps.Metro/Controls/MultiSelectionComboBox/MultiSelectionComboBox.cs:1554-1568 | src/MahApps.Metro/Controls/MultiSelectionComboBox/MultiSelectionComboBox.cs:1576-1590 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/MahApps.Metro/Controls/MultiSelectionComboBox/MultiSelectionComboBox.cs:1554\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/MultiSelectionComboBox/MultiSelectionComboBox.cs"},"region":{"startLine":1554}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb3b5fefc1cecc69e3e3ada2b0fa862bc3e64517f32534d7664140302e42f42c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): src/MahApps.Metro/Controls/Dialogs/InputDialog.cs:200-212 | src/MahApps.Metro/Controls/Dialogs/LoginDialog.cs:394-406 | src/MahApps.Metro/Controls/Dialogs/MessageDialog.cs:347-359 \u2014 before extracting anything, compare \u0060src/MahApps.Metro/Controls/Dialogs/InputDialog.cs\u0060 and \u0060src/MahApps.Metro/Controls/Dialogs/LoginDialog.cs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/Dialogs/InputDialog.cs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"722c7147d77a404aa1b2858c10faf12761cc0535a0401d60a0feb8f9d1a284cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/MahApps.Metro/Controls/DropDownButton.cs:429-441 | src/MahApps.Metro/Controls/SplitButton.cs:323-335 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/MahApps.Metro/Controls/DropDownButton.cs:429\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/DropDownButton.cs"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e06c1c362f3ab076e9959c0903e2e66553771949755a8b53cd1b0ef29661592"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/MahApps.Metro/Controls/ClipBorder.cs:401-412 | src/MahApps.Metro/Controls/ClipBorder.cs:419-430 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/MahApps.Metro/Controls/ClipBorder.cs:401\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/ClipBorder.cs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a033b7955dcf87a795df1eac9d4ee4a28e2c5fb745c473fd9a3a9fe2941ff75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/MahApps.Metro/Controls/RangeSlider.cs:1488-1499 | src/MahApps.Metro/Controls/RangeSlider.cs:1539-1550 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/MahApps.Metro/Controls/RangeSlider.cs:1488\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/RangeSlider.cs"},"region":{"startLine":1488}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4329f58984965cd7a31b45f4449141671b858efd1e8efa3570a468471a76533"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): src/MahApps.Metro/Controls/ClipBorder.cs:542-552 | src/MahApps.Metro/Controls/ClipBorder.cs:553-563 | src/MahApps.Metro/Controls/ClipBorder.cs:564-574 \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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/ClipBorder.cs"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e3e4b3ca5ec73e50fc93c3986e9d83fafcf85d8db6fe84674836ae8f01c4c3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/MahApps.Metro/Controls/RangeSlider.cs:1440-1450 | src/MahApps.Metro/Controls/RangeSlider.cs:1584-1594 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/MahApps.Metro/Controls/RangeSlider.cs:1440\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/RangeSlider.cs"},"region":{"startLine":1440}}}],"partialFingerprints":{"codehealthFindingId/v1":"eecbb79436e09f3f3dc717b8cafd77d9474ae6001bba8b0cae4e1925bb23d650"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/MahApps.Metro/Controls/Dialogs/InputDialog.cs:137-146 | src/MahApps.Metro/Controls/Dialogs/LoginDialog.cs:305-314 \u2014 before extracting anything, compare \u0060src/MahApps.Metro/Controls/Dialogs/InputDialog.cs\u0060 and \u0060src/MahApps.Metro/Controls/Dialogs/LoginDialog.cs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/MahApps.Metro/Controls/Dialogs/InputDialog.cs:137\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/Dialogs/InputDialog.cs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d7939bd9cc75de847b952615a160fec2705b6986099a36e7e2ae7b68f43bb41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/MahApps.Metro/Controls/RangeSlider.cs:1116-1124 | src/MahApps.Metro/Controls/RangeSlider.cs:1157-1165 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/MahApps.Metro/Controls/RangeSlider.cs:1116\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/RangeSlider.cs"},"region":{"startLine":1116}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fcd785e6c441598d2c1ced94887dc0744c58cb236adea289bd0ad445bbc9590"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/MahApps.Metro/Controls/RangeSlider.cs:1129-1137 | src/MahApps.Metro/Controls/RangeSlider.cs:1144-1152 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/MahApps.Metro/Controls/RangeSlider.cs:1129\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/RangeSlider.cs"},"region":{"startLine":1129}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3eaaffbd9444e0736a4eb70cbdfb153ebb59185098ec889e955d84353bbd0cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/MahApps.Metro/Controls/RangeSlider.cs:1457-1465 | src/MahApps.Metro/Controls/RangeSlider.cs:1556-1564 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/MahApps.Metro/Controls/RangeSlider.cs:1457\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/RangeSlider.cs"},"region":{"startLine":1457}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7085f173433261dbba6fe4e627734a687d235faf49ffb0464dc7c42b8419984"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/MahApps.Metro/Controls/RangeSlider.cs:1505-1513 | src/MahApps.Metro/Controls/RangeSlider.cs:1601-1609 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/MahApps.Metro/Controls/RangeSlider.cs:1505\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/RangeSlider.cs"},"region":{"startLine":1505}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f470a48fd9aab475f181f6d2127e394a8530be639e618c2f00e5e85be456e18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/MahApps.Metro/Controls/Dialogs/InputDialog.cs:31-36 | src/MahApps.Metro/Controls/Dialogs/LoginDialog.cs:32-37 \u2014 before extracting anything, compare \u0060src/MahApps.Metro/Controls/Dialogs/InputDialog.cs\u0060 and \u0060src/MahApps.Metro/Controls/Dialogs/LoginDialog.cs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/MahApps.Metro/Controls/Dialogs/InputDialog.cs:31\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/Dialogs/InputDialog.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"c02080abf5fc1483d4e0cadba0de504ad29d58078193c1165cf928c65832db02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): src/MahApps.Metro/Controls/DropDownButton.cs:361-371 | src/MahApps.Metro/Controls/HamburgerMenu/MenuItems/HamburgerMenuItem.cs:175-185 | src/MahApps.Metro/Controls/SplitButton.cs:245-255 | src/MahApps.Metro/Controls/ToggleSwitch.cs:665-675 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/DropDownButton.cs"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"42f21ba62923b143731373532328f72e66855197411633fd74546edd54716f7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/MahApps.Metro/Controls/MetroThumb.cs:38-46 | src/MahApps.Metro/Controls/MetroThumbContentControl.cs:235-243 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/MetroThumb.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"14705d6ba3881acfab31bd138840296c819495eb16e79828006522e7087ae543"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MainWindow (LCOM4 19): MainWindow\u0027s methods form 19 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":"src/MahApps.Metro.Samples/MahApps.Metro.Demo/MainWindow.xaml.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"01b3d9b09365893023a7b9acb8515cb616a8616963fc78341580a80f3e65f19c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MetroWindow (LCOM4 6): MetroWindow\u0027s methods form 6 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":"src/MahApps.Metro/Controls/MetroWindow.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"341204abe4b0fe708d89bec229cfd6c50e09a905ba8c0d41fe94133ec92d0410"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: FlipView (LCOM4 4): FlipView\u0027s methods form 4 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":"src/MahApps.Metro/Controls/FlipView.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"d52269875abe5645cc4619b771a2fed6db8e1e7b8c8dc1b86dd422d151001206"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: MetroWindowSmokeTest: Test method exercises code but verifies nothing \u2014 add an assertion."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Mahapps.Metro.Tests/Tests/MetroWindowTest.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"66827d2403fe961307fcda3c49a334654250deac6ef6e255a816cd0b973593dd"}},{"ruleId":"D11","level":"warning","message":{"text":"Test reliability not measured \u2014 no test run produced results: Test reliability NOT MEASURED: the test run produced no results for any test tier, so no test ever ran and flakiness could not be exercised. The cause could not be attributed, so it is excluded from the score rather than read as an absence of tests."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7d83a505f7fa19aeeece76141ae1e468d77e2a3fea2e88604b8140ebad47a6fe"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 1 significant file(s) lose their only recent owner: src/MahApps.Metro/Controls/MetroWindow.cs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0477ae2e46d6ade57ee844b79649d45266326cb081a024bad0d5ed58d5896077"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private IThemeManager themeManager \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro.Samples/MahApps.Metro.Caliburn.Demo/Controls/ViewLocator.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"e530d60e885ae1489b40d313e4538889172a6cd3e13ea4e2eeb10d4905c56978"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Raise a closing event to cancel this action \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Actions/CloseTabItemAction.cs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f0ad9be218639da84c1f36f844835f5199ce1f4697d63f53c6f5003fe0de374"}},{"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":"src/MahApps.Metro/Controls/FlipView.cs"},"region":{"startLine":1095}}}],"partialFingerprints":{"codehealthFindingId/v1":"41c3838d3e583fda4f1f5b5b0d23562f47ca63e3ac55f22c8755d98abda118de"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // Todo Rename this to TabItemClosing \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/MetroTabControl.cs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"308bde664f981d3f5e67c926530f17dcb168df566f0c95431f4ea4bd1c57da20"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Find a way to reset the zIndex of any open Flyout if \u003Csee cref=\u0022ShowFlyoutsOverDialogs\u0022/\u003E is changed by the user \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/MetroWindow.cs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eb428b7db04bb64da12e9ff91c190de54d3a3cdb86e8a0d753993cee76c14f8"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable 618 \u2014 the disable is closed again below, so its scope is not the problem; what it records is no reason. A suppression is a decision somebody made, and without the reason the next reader cannot tell a considered exception from an unexamined one, so it is never revisited and it outlives the code it was written for. Put the reason on the directive line \u2014 what makes this site legitimately different \u2014 or fix what the rule is pointing at and delete the pair."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/MetroWindow.cs"},"region":{"startLine":1544}}}],"partialFingerprints":{"codehealthFindingId/v1":"68166f1bf39142077ca7f5105eb95cd07f4c8c91546bb97cb6b91934bfa551dc"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable 618 \u2014 the disable is closed again below, so its scope is not the problem; what it records is no reason. A suppression is a decision somebody made, and without the reason the next reader cannot tell a considered exception from an unexamined one, so it is never revisited and it outlives the code it was written for. Put the reason on the directive line \u2014 what makes this site legitimately different \u2014 or fix what the rule is pointing at and delete the pair."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/MetroWindow.cs"},"region":{"startLine":1650}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e61112ae335ed059ec41bc9b4788d09aa0a22f81a4ddaaf497a96ea5a7daa01"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable 618 \u2014 the disable is closed again below, so its scope is not the problem; what it records is no reason. A suppression is a decision somebody made, and without the reason the next reader cannot tell a considered exception from an unexamined one, so it is never revisited and it outlives the code it was written for. Put the reason on the directive line \u2014 what makes this site legitimately different \u2014 or fix what the rule is pointing at and delete the pair."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/MetroWindow.cs"},"region":{"startLine":1673}}}],"partialFingerprints":{"codehealthFindingId/v1":"26c067b32e93775ae2570485e49e6ec7144c992a2906e0f4433a6e835281a4bd"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 6 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/MultiSelectionComboBox/MultiSelectionComboBox.cs"},"region":{"startLine":1213}}}],"partialFingerprints":{"codehealthFindingId/v1":"8273188c37340c1cb89ff88720f5d9044c5030db74715e4f5cbe22b0c6ac7932"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable WPF0024 \u2014 the disable is closed again below, so its scope is not the problem; what it records is no reason. A suppression is a decision somebody made, and without the reason the next reader cannot tell a considered exception from an unexamined one, so it is never revisited and it outlives the code it was written for. Put the reason on the directive line \u2014 what makes this site legitimately different \u2014 or fix what the rule is pointing at and delete the pair."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/NumericUpDown.cs"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"144508cd87d1c83658722afc05f18154e059803ed698ff51bf8a5e9c16695586"}},{"ruleId":"D17","level":"warning","message":{"text":"BareSuppressMessage: System.Diagnostics.CodeAnalysis.SuppressMessage \u2014 the suppression records no reason: either it carries no justification argument at all, or one that states nothing a reader can weigh (\u0022OK\u0022, \u0022By design\u0022). A suppression is a decision somebody made, and without the reason the next reader cannot tell a considered exception from an unexamined one, so it is never revisited. Write what makes this site legitimately different \u2014 the invariant that holds, the framework contract that forces the shape \u2014 or remove the suppression and fix what it hides."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/ToggleSwitch.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec0ee68a07ffbd74876cc44221ee9cbc1f53ce2ccb27b94741fcf9df285430f2"}},{"ruleId":"D17","level":"warning","message":{"text":"BareSuppressMessage: System.Diagnostics.CodeAnalysis.SuppressMessage \u2014 the suppression records no reason: either it carries no justification argument at all, or one that states nothing a reader can weigh (\u0022OK\u0022, \u0022By design\u0022). A suppression is a decision somebody made, and without the reason the next reader cannot tell a considered exception from an unexamined one, so it is never revisited. Write what makes this site legitimately different \u2014 the invariant that holds, the framework contract that forces the shape \u2014 or remove the suppression and fix what it hides."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Mahapps.Metro.Tests/Tests/HeaderedControlHelperTests.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"50de92b525b8a30dfc8b75d4841f7b217382dfd63296529719519306d31adf5c"}},{"ruleId":"D17","level":"warning","message":{"text":"BareSuppressMessage: SuppressMessage \u2014 the suppression records no reason: either it carries no justification argument at all, or one that states nothing a reader can weigh (\u0022OK\u0022, \u0022By design\u0022). A suppression is a decision somebody made, and without the reason the next reader cannot tell a considered exception from an unexamined one, so it is never revisited. Write what makes this site legitimately different \u2014 the invariant that holds, the framework contract that forces the shape \u2014 or remove the suppression and fix what it hides."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Properties/AssemblyInfo.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"703ca6983e3b7725e2f842aa1c26913066c1f75bf0a94ab64e51c500b200bff8"}},{"ruleId":"D17","level":"warning","message":{"text":"BareSuppressMessage: SuppressMessage \u2014 the suppression records no reason: either it carries no justification argument at all, or one that states nothing a reader can weigh (\u0022OK\u0022, \u0022By design\u0022). A suppression is a decision somebody made, and without the reason the next reader cannot tell a considered exception from an unexamined one, so it is never revisited. Write what makes this site legitimately different \u2014 the invariant that holds, the framework contract that forces the shape \u2014 or remove the suppression and fix what it hides."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Properties/AssemblyInfo.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"08032262324c10b0a1730bfa2eb4bd13d65c543876a03eaa675f7495f0f5dd1c"}},{"ruleId":"D17","level":"warning","message":{"text":"BareSuppressMessage: SuppressMessage \u2014 the suppression records no reason: either it carries no justification argument at all, or one that states nothing a reader can weigh (\u0022OK\u0022, \u0022By design\u0022). A suppression is a decision somebody made, and without the reason the next reader cannot tell a considered exception from an unexamined one, so it is never revisited. Write what makes this site legitimately different \u2014 the invariant that holds, the framework contract that forces the shape \u2014 or remove the suppression and fix what it hides."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Properties/AssemblyInfo.cs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdcdcd53c39bfbc05f12e8b52ad2c220bb7a50285187f5bf3d62020e3e716cad"}},{"ruleId":"D17","level":"warning","message":{"text":"BareSuppressMessage: SuppressMessage \u2014 the suppression records no reason: either it carries no justification argument at all, or one that states nothing a reader can weigh (\u0022OK\u0022, \u0022By design\u0022). A suppression is a decision somebody made, and without the reason the next reader cannot tell a considered exception from an unexamined one, so it is never revisited. Write what makes this site legitimately different \u2014 the invariant that holds, the framework contract that forces the shape \u2014 or remove the suppression and fix what it hides."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Properties/AssemblyInfo.cs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c519601c1f7cfccafefd1f6878ca93c371622ad2a3a6a11e5331859a0f19c56"}},{"ruleId":"D17","level":"warning","message":{"text":"BareSuppressMessage: SuppressMessage \u2014 the suppression records no reason: either it carries no justification argument at all, or one that states nothing a reader can weigh (\u0022OK\u0022, \u0022By design\u0022). A suppression is a decision somebody made, and without the reason the next reader cannot tell a considered exception from an unexamined one, so it is never revisited. Write what makes this site legitimately different \u2014 the invariant that holds, the framework contract that forces the shape \u2014 or remove the suppression and fix what it hides."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Properties/AssemblyInfo.cs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3e67292c5cdf312aa98a3db49f646372dc7aac46cd405f1ea0a1491b5278be6"}},{"ruleId":"D17","level":"warning","message":{"text":"BareSuppressMessage: SuppressMessage \u2014 the suppression records no reason: either it carries no justification argument at all, or one that states nothing a reader can weigh (\u0022OK\u0022, \u0022By design\u0022). A suppression is a decision somebody made, and without the reason the next reader cannot tell a considered exception from an unexamined one, so it is never revisited. Write what makes this site legitimately different \u2014 the invariant that holds, the framework contract that forces the shape \u2014 or remove the suppression and fix what it hides."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Properties/AssemblyInfo.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"921237150963fdef2ed8707c2fc03b7ff595a7c75ce0d2463e7425e53909dc6f"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: SA1652 \u2014 this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or \u2014 if some occurrences really are legitimate \u2014 narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro.Samples/MahApps.Metro.Demo/MahApps.Metro.Demo.csproj"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"6488572fa17ef9a696c62fcf77539e102bfd7e1da277d53856cdaff2d0e94dbb"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: SA1652 \u2014 this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or \u2014 if some occurrences really are legitimate \u2014 narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro.Samples/MahApps.Metro.Caliburn.Demo/MahApps.Metro.Caliburn.Demo.csproj"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b27367f1944b4d3c2c8bbf25e0fbf1a73b973702f0f4edb9eabfeac575a5f90"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: WPF0041 \u2014 this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or \u2014 if some occurrences really are legitimate \u2014 narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro.Samples/MahApps.Metro.Demo/MahApps.Metro.Demo.csproj"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"461a2bad524e7a8216eb18043fff59dc67140c2e2cdb4f54a38a1c4790bfaf7d"}},{"ruleId":"D19","level":"note","message":{"text":"The README gives only a banner with links and no real \u0027Let\u0027s get started\u0027 content; the body begins with an unshown heading outline marker, so the actual guidance is clipped before it can be assessed.: Add a short Getting Started section covering installation, first controls, and a minimal app to run."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e381c8dec14ec19005e58e1f94c7c93ad170d75bdbc66b99ce49f9d54cb07ee"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found at common paths; consider documenting architectural decisions in Docs/ADL/ or similar."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d2bea044ff79d7d275f5a91a6e2f548586178eaf480274c33960ad020c854631"}},{"ruleId":"D23","level":"note","message":{"text":"Bounded contexts not declared: At 44k LoC across 13 projects the codebase is large and multi-module, so explicit bounded contexts are needed. Name this codebase\u0027s bounded contexts (\u22652 module groups, e.g. per subsystem) so cross-boundary type coupling can be assessed. Declare them in \u0060.codehealth/config.yaml\u0060 at the repository root (create it if absent), mapping each context name to the module-path or namespace prefixes that belong to it \u2014 e.g. \u0060architecture:\u0060 \u2192 \u0060contexts:\u0060 \u2192 \u0060Billing: [\u0022src/billing\u0022, \u0022Acme.Billing\u0022]\u0060, \u0060Catalog: [\u0022src/catalog\u0022, \u0022Acme.Catalog\u0022]\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1c7e276c9c682731f01819ed5378b90ca320cde1b583c90920172911598362b3"}},{"ruleId":"D26","level":"note","message":{"text":"Split MahApps.Metro: A large UI toolkit whose namespaces are all facets of the Metro theme and controls, so it is a grab-bag. Suggested: by namespace: Themes, Controls, Layout"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"cd096a896095e29408827fd1cbe102a5104ea836061cf79b60bef3f76864a167"}},{"ruleId":"D29","level":"error","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":"2b50d6185f231a28fa9959e31861b0be76667502f1a2f794cc5c60d4fa797cb7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","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":"07007cb80d9b369e83bdf5bc81544d88996c86af318c20d4b8bf34eb30b65aca"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","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":"2a392b45f1ad001d86c26ae0f7e71a7cf196a28f75f7e74deb5bdb5460e44a01"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","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":"a4858babc3c456b26fec4eea3c65a8b4cd93b0f921894ec36a76da3e1dc1d2bf"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","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":"93a8b92a412377a270023b4903d0dc82df2852b5f0993e71c788497b4ded5e7c"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","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":"6de0ff9bb204e113472d01b3127c8386d7257abe187661244c8e7f51b3728bae"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","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":"7c51e57f14698b61f4d6db3e6aa3af2f3154e0598fb7d55e2ccbf258d3f8816e"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","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":"fa56e1f43d52f345c3f2b790bb375c53082076027e27805c7b63930242bb4d6a"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","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":"b2d4039b217678f97d2dcc0d8e0f5aed0224e04df70be74914611b4dacbd2609"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","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":"d987b0d62d2e246d3f0246643a6bf0d1cc1ec8defaff7cd18c45e95565debd91"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","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":"ae3058a6b6ee9057f78afcbb7304f531bd42675fe3837eabbf2f259ec65b8605"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D32","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"73d4a9cd8fbeaffeb89ce0c6db8372c234c3064c6a13416eb82888d93f8b3b54"}},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 3 of 129 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 100 lines or more, excluding tests, vendored, generated and example/demo trees, largest first). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 largest first: src/MahApps.Metro/Controls/Dialogs/ProgressDialog.cs, src/MahApps.Metro/Controls/ColorPicker/ColorCanvas.cs, src/MahApps.Metro/Controls/MultiSelectionComboBox/ICompareObjectToString.cs. Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9658270ba49f37ed04e99ab1263b6393cd42aed8bdfb7aafd9fa1070f5491895"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Converters/ColorChannelMinMaxConverter.cs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"8540c7557e6ea4e42592b06483c7aada8c922c39f7aa8301db607e034c93f025"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Converters/ColorChannelMinMaxConverter.cs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"65459da9c132a9353b0df2dbca737936711ad47c620cef800a95f182620fc806"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Converters/HSVColorChannelMinMaxConverter.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"49d3698d5444252e23176543b68a9dfea9509b00c014dc92571b4fb0aef79a14"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Converters/HSVColorChannelMinMaxConverter.cs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbf41870ece4839b1ce6c125e6ffae8a46f98f798bd0bc90f105634d72dbcddf"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Converters/HSVColorChannelMinMaxConverter.cs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a878ec9fff10e33df7746b5206ae6fecc4876a07d6d4aec2596753b593e1063"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Converters/PercentageToGridLengthConverter.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ce7672db562e837a443ce749336530af8877fb9921028197d0f68840875a300"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Converters/StringIsNullOrEmptyConverter.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e6f8c2b60a91a2d2c57d78e8cbe22891c3cc07e1babf9688d773b8de670708d"}},{"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":"src/MahApps.Metro.Samples/MahApps.Metro.Caliburn.Demo/ViewModels/Flyouts/Flyout3ViewModel.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"469e5c52ace3e66d100081f36def3d0cb240e6d93fa9ac9df24e789a93b10a7d"}},{"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":"src/MahApps.Metro.Samples/MahApps.Metro.Caliburn.Demo/ViewModels/Flyouts/Flyout3ViewModel.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9060a9df3e51eb9339a20a34042fa31ac08ffff4df7a213b8d4c8d7f5b4fb2f"}},{"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":"src/MahApps.Metro.Samples/MahApps.Metro.Demo/MainWindow.xaml.cs"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"081f7a0c15c1b322a65e692bff7d8b563ec82e1cf33d720b734787359e5144c8"}},{"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":"src/MahApps.Metro.Samples/MahApps.Metro.Demo/MainWindow.xaml.cs"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8ee573c49863a3ab3f0946e726d4b005a697dd0b24e56ca354fc7e462af6e51"}},{"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":"src/MahApps.Metro/Controls/CustomValidationPopup.cs"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"34be3088b5eb9b359aeed861b5bbde234a014ddaa730b7f58473468f2c005e24"}},{"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":"src/MahApps.Metro/Controls/MetroWindow.cs"},"region":{"startLine":1361}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d6307d35d6609db4238ecc5330233efc79196c1e07e30e29c1e687631bb9300"}},{"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":"src/MahApps.Metro/Controls/MetroWindow.cs"},"region":{"startLine":1362}}}],"partialFingerprints":{"codehealthFindingId/v1":"92d120662ea57ade484bff7eaa50ba531848a20f175194293eae63c23c7d3093"}},{"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":"src/MahApps.Metro/Controls/MetroWindow.cs"},"region":{"startLine":1366}}}],"partialFingerprints":{"codehealthFindingId/v1":"76d2c2c4a6b2eed4905401957fc198e2dead209bd1471790bdf50988e44e66e7"}},{"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":"src/MahApps.Metro/Controls/MetroWindow.cs"},"region":{"startLine":1367}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f61b44dbe59225f81a1318f9b0492eb28b1fee46786dfcaa1788898e1b495ba"}},{"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":"src/MahApps.Metro/Controls/MetroWindow.cs"},"region":{"startLine":1629}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b9914c4988b2d5017c5387807b93f383814ee86101ed4e1ff4a0b4d863ec9d6"}},{"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":"src/MahApps.Metro/Controls/MetroWindow.cs"},"region":{"startLine":1630}}}],"partialFingerprints":{"codehealthFindingId/v1":"3808f2a30b4aa4c96c44a82bd33233e0d277b89e1366affa877bdb3e33279586"}},{"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":"src/MahApps.Metro/Controls/MultiSelectionComboBox/MultiSelectionComboBox.cs"},"region":{"startLine":1137}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a6fd11fc0b8020fef7e31b5599c9b1a402b3eb70638843f46c63c8997cca5ec"}},{"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":"src/MahApps.Metro/Controls/MultiSelectionComboBox/MultiSelectionComboBox.cs"},"region":{"startLine":1215}}}],"partialFingerprints":{"codehealthFindingId/v1":"373906e76e53c73b063699f3fc14b3ec96180c2ef1aa55d88ecc1e24e139c6f3"}},{"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":"src/MahApps.Metro/Controls/MultiSelectionComboBox/MultiSelectionComboBox.cs"},"region":{"startLine":1216}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a322f768495ca4e8522607161c945927b87421ac924fb8b0965ea5574ac3500"}},{"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":"src/MahApps.Metro/Controls/MultiSelectionComboBox/MultiSelectionComboBox.cs"},"region":{"startLine":1217}}}],"partialFingerprints":{"codehealthFindingId/v1":"10958e8d82668caeb9050724d47b05c1b09a3d5c314715a00c4625c94e1fd51d"}},{"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/PlantUML/Mermaid diagram or architecture.md \u2014 the high-level shape isn\u0027t documented."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"M3","level":"note","message":{"text":"Inconsistent root namespaces: Only 5/13 projects share a common root namespace \u2014 the code\u0027s module identity is inconsistent."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c8031c9fb77ad97c2e4a8ddb29978f4bf30140d481913bd7fde8b5adbbb83ede"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 2/3 service-like projects use logging (pure contract/DTO projects are excluded \u2014 they have nothing to log). Of those 3, 2 ship a process this repository operates; the rest are libraries their consumer hosts, where the logging decision belongs to the host."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add CodeQL\u0027s csharp pack (it analyses VB.NET too), or a security analyzer package (or \u0060semgrep --config=auto\u0060, which runs on any language) as a CI step."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: OnClosing: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/MetroWindow.cs"},"region":{"startLine":1190}}}],"partialFingerprints":{"codehealthFindingId/v1":"abe48b6d466342d7a264d2f356cac882753d11e381115c49b28621b8aa315757"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: SimulateDecimalPointKeyPress: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/NumericUpDown.cs"},"region":{"startLine":1500}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8fa3f6c020f2d414a3f3972fbed4397ceac155b1f7b1f3763247de6b1876c6d"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: HamburgerMenuControl_OnOptionsItemClick: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro.Samples/MahApps.Metro.Demo/ExampleViews/HamburgerMenuDefault.xaml.cs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"5570229e7bf07e135535eff610ce9d62014efb9020427e76365ff272e71a5c65"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: Execute: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro.Samples/MahApps.Metro.Demo/ExampleViews/HamburgerMenuDefault.xaml.cs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"f24d3e2d6f2854651c6e025cd1df4de9ee17cd38b79afdcf769693217da92569"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: Mscb_Example_AddedItem: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro.Samples/MahApps.Metro.Demo/ExampleViews/MultiSelectionComboBoxExample.xaml.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"eddfd399b562102ebb10be8578330d3a4edaa6713d857b824ecd3655a57f8f80"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: TextBoxSearchOnExecuted: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro.Samples/MahApps.Metro.Demo/ExampleViews/TextExamples.xaml.cs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"d830a4e0505f1acf3712eb568fdf7bc67e2e624430158ced19fc5c9d75d22101"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: CleanWindowClosing: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro.Samples/MahApps.Metro.Demo/ExampleWindows/CleanWindowDemo.xaml.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"c45b3df1afb9d5c09be719172f5b3a42f5413411744dc30a6f16c51445cf9f94"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: Button_Click_1: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro.Samples/MahApps.Metro.Demo/ExampleWindows/CleanWindowDemo.xaml.cs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"900e6b4208436659953c68dd261d8f4b6b99423d2dcbdc59e809f21068f76e1a"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: ClickMeOnClick: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro.Samples/MahApps.Metro.Demo/ExampleWindows/FlyoutDemo.xaml.cs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"49b4551e1408be604046f6da4a2716ed0cf40ff2826658c09caf653015daf6a7"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: InitializeAsync: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro.Samples/MahApps.Metro.Demo/ExampleWindows/InteropDemo.xaml.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"e239f9c4f8a0088127a9128783f89eb9c66d68444d41d66b79f31b1284a8ecfd"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: ShowMessageDialog: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro.Samples/MahApps.Metro.Demo/MainWindow.xaml.cs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"494162e7df4ab7e92b737dde5621233d2bef32f50de973089761d9ccbb93b30c"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: ShowLimitedMessageDialog: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro.Samples/MahApps.Metro.Demo/MainWindow.xaml.cs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"90ba40ceaf6f08713326c194aaae870ef547203472c070274b07d429735ff2e6"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: ShowCustomDialog: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro.Samples/MahApps.Metro.Demo/MainWindow.xaml.cs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"6440816e5e8ce2584891b6a499ecae84bbf8f3c271369168d7144859a25c3c50"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: ShowAwaitCustomDialog: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro.Samples/MahApps.Metro.Demo/MainWindow.xaml.cs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"19dbf25b302a2fcd82ddafb07a18c31ca9440c9558c80af173045c4380427932"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: ShowSecondCustomDialog: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro.Samples/MahApps.Metro.Demo/MainWindow.xaml.cs"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"d358583217ede42d7cd21dcb721757d00c26d6ae0a6c105b8495daf8313d8c91"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: ShowLoginDialogPasswordPreview: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro.Samples/MahApps.Metro.Demo/MainWindow.xaml.cs"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a795b5c125db864f2e95396ead3b07d1a939965c3a62eacabc1fc69507d67af"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: ShowLoginDialogOnlyPassword: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro.Samples/MahApps.Metro.Demo/MainWindow.xaml.cs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d914be9824acded96e2b55617109996e0080d968afb56c761e6688bf3e5c938"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: ShowLoginDialogWithRememberCheckBox: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro.Samples/MahApps.Metro.Demo/MainWindow.xaml.cs"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"79492cc1123ef7b3b26ce4632ad1f03de62a94828e693854205a0bdc1a82daf6"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: ShowProgressDialog: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro.Samples/MahApps.Metro.Demo/MainWindow.xaml.cs"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d9732481748658bc8399847dd7e014766ed54f047df206801dd2a26a1c80d8f"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: ShowInputDialog: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro.Samples/MahApps.Metro.Demo/MainWindow.xaml.cs"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4564d2900295512974bf32f25c07bf6e8619a0b0f5a04358659ea8b729d669d"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: ShowInputDialogCustomButtonSizes: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro.Samples/MahApps.Metro.Demo/MainWindow.xaml.cs"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebd1792e0506e5a2066f9046e6f5e788cf17f0ec116eb1953c0a13a9d550bd2a"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: ShowLoginDialog: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro.Samples/MahApps.Metro.Demo/MainWindow.xaml.cs"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b6c7cbf803812958598c774d61e8edcbe7843def0b93bc6083c552fc577c7f2"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: RunProgressFromVm: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro.Samples/MahApps.Metro.Demo/MainWindowViewModel.cs"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b10f1dc873034e4babfa3a42ce9ef2c99198c3ab22e07c3227792779c40a7b7"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: RunCustomFromVm: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro.Samples/MahApps.Metro.Demo/MainWindowViewModel.cs"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"793998638f9df506a87371a6f6c9c9444a0a292b97654ca13e399c6102f727f4"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: OnStartup: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro.Samples/MahApps.Metro.Caliburn.Demo/AppBootstrapper.cs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd47e477d8f52913184dbe42d8a11588d488fbb0244db7e2b4bfb8b46da96863"}},{"ruleId":"X2","level":"note","message":{"text":"Not all async methods take a CancellationToken: Only 0/40 async methods accept a CancellationToken, so in-flight work can\u0027t be stopped early when the caller gives up \u2014 whatever ends it in your host (shutdown signal, timeout, abandoned request, user cancel). Thread a token through the call chain and honour it at each await and loop; where a method genuinely cannot be interrupted, omitting it is a deliberate choice \u2014 judge against your hosting model."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bf623a92fb752b336427856888a9b386c434e686662a2cdc1bba21832c0a048c"}},{"ruleId":"X2","level":"note","message":{"text":"\u2026and 1 more: 1 further occurrence(s) are not listed individually; the score already reflects all 41."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"484ce16f7ee193d1c35469730744fb50ed15025ac86432ca5968991657eb4072"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/FlipView.cs"},"region":{"startLine":1095}}}],"partialFingerprints":{"codehealthFindingId/v1":"269b69fb3f5d35c16039570459011d7a3e470a50d5ab68cb21c3fc477e3ee015"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Controls/MultiSelectionComboBox/DefaultStringToObjectParser.cs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"c41fdd0dc708572e8d8ab2ddb9d3f2c5ae20bd57355ca2650d821db4e8687167"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Converters/MarkupConverter.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"46cbfbe357ba1fee486476db265fbf5f10f2f086f077cb9eecbc9cc7c85f729c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/MahApps.Metro/Converters/MarkupConverter.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"4163e2cddde1bd889751dfa541ddae2322732aa81c7a49134a4384ae30383287"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-200","guid":"b0ce3b1d-7a29-fe50-8aab-9aba899d2988","name":"Exposure of Sensitive Information to an Unauthorized Actor","shortDescription":{"text":"Exposure of Sensitive Information to an Unauthorized Actor"},"helpUri":"https://cwe.mitre.org/data/definitions/200.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-312","guid":"96724ece-b0b2-a45c-83f9-0869fa3f6bea","name":"Cleartext Storage of Sensitive Information","shortDescription":{"text":"Cleartext Storage of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/312.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"CWE-353","shortDescription":{"text":"CWE-353"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-359","guid":"b7dfe5b0-0351-645b-a311-b936102c2929","name":"Exposure of Private Personal Information to an Unauthorized Actor","shortDescription":{"text":"Exposure of Private Personal Information to an Unauthorized Actor"},"helpUri":"https://cwe.mitre.org/data/definitions/359.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"CWE-522","shortDescription":{"text":"CWE-522"},"helpUri":"https://cwe.mitre.org/data/definitions/522.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-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"CWE-829","shortDescription":{"text":"CWE-829"},"helpUri":"https://cwe.mitre.org/data/definitions/829.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":16,"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."]}]}