{"$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":"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":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"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":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"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":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"]}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"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":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"]}}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"WinGetPkgOperationHelper._getOperationParameters (cyclomatic 48): WinGetPkgOperationHelper._getOperationParameters has cyclomatic complexity 48 (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/UniGetUI.PackageEngine.Managers.WinGet/Helpers/WinGetPkgOperationHelper.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"33ae2468c9d2df358f9def5564f03da51fc455876d83cdfbdc9efe6773ae1c9e"}},{"ruleId":"D1","level":"warning","message":{"text":"MainWindow.OnWindowsWndProc (cyclomatic 39): MainWindow.OnWindowsWndProc has cyclomatic complexity 39 (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/UniGetUI.Avalonia/Views/MainWindow.axaml.cs"},"region":{"startLine":1088}}}],"partialFingerprints":{"codehealthFindingId/v1":"f72d64634a01bc2bcfbdce893200de0d0f68333c796f6a0895cfcc5f2257f243"}},{"ruleId":"D1","level":"warning","message":{"text":"Bun.ParseBunOutdatedTable (cyclomatic 34): Bun.ParseBunOutdatedTable has cyclomatic complexity 34 (threshold 15). Most of this is not in the body itself: 14 of the 34 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 379, 380). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UniGetUI.PackageEngine.Managers.Bun/Bun.cs"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ad8a419c68f7cccff223fa5c8489d85d73b0108656a761c8f05041c7cfdba20"}},{"ruleId":"D1","level":"warning","message":{"text":"AbstractOperation.MainThreadCore (cyclomatic 31): AbstractOperation.MainThreadCore has cyclomatic complexity 31 (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/UniGetUI.PackageEngine.Operations/AbstractOperation.cs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8385af06025d632f423601059d6ebd7d61a8e36237b4d8a3534e1c268e4a22e"}},{"ruleId":"D1","level":"warning","message":{"text":"MainWindow.Window_KeyDown (cyclomatic 30): MainWindow.Window_KeyDown has cyclomatic complexity 30 (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/UniGetUI.Avalonia/Views/MainWindow.axaml.cs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"020de2550298a7d33faf14cae7242e5050e9c481d02284e7173680b7c00f797a"}},{"ruleId":"D1","level":"warning","message":{"text":"WinGetPkgOperationHelper._getOperationResult (cyclomatic 29): WinGetPkgOperationHelper._getOperationResult has cyclomatic complexity 29 (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/UniGetUI.PackageEngine.Managers.WinGet/Helpers/WinGetPkgOperationHelper.cs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"577c59dbf827171df3d9b3becea8f2c0779b4b7113069e8b2e722412b984ce01"}},{"ruleId":"D1","level":"warning","message":{"text":"AbstractOperation._runOperation (cyclomatic 28): AbstractOperation._runOperation 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/UniGetUI.PackageEngine.Operations/AbstractOperation.cs"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"50471e528ca033207b84e30e6ea3f5081e1cff715d4f240d35a63e0e4cef0e7b"}},{"ruleId":"D1","level":"warning","message":{"text":"ScoopPkgDetailsHelper.GetDetails_UnSafe (cyclomatic 28): ScoopPkgDetailsHelper.GetDetails_UnSafe has cyclomatic complexity 28 (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/UniGetUI.PackageEngine.Managers.Scoop/Helpers/ScoopPkgDetailsHelper.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"adb9c6c3f3f2d4265634e44bb70ba1e62889025e1f2f64052a87f3210db73add"}},{"ruleId":"D1","level":"warning","message":{"text":"PackageManagerPage.BuildPage (cyclomatic 27): PackageManagerPage.BuildPage has cyclomatic complexity 27 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 12 belong to 6 function literals inside it that branch. 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/UniGetUI.Avalonia/Views/Pages/SettingsPages/PackageManagerPage.axaml.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f04f149ed25585cd3b6088c2cda49d80ad623e2fb2d8d43884dedae1f5427d2"}},{"ruleId":"D1","level":"warning","message":{"text":"AbstractProcessOperation.PerformOperation (cyclomatic 27): AbstractProcessOperation.PerformOperation has cyclomatic complexity 27 (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/UniGetUI.PackageEngine.Operations/AbstractProcessOperation.cs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"23a99ca8fdef9a966e69214d27df908c5fba66f2174cb177feba832b2000b9d8"}},{"ruleId":"D1","level":"warning","message":{"text":"PackagesPageViewModel.FilterPackages (cyclomatic 25): PackagesPageViewModel.FilterPackages has cyclomatic complexity 25 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. 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/UniGetUI.Avalonia/ViewModels/SoftwarePages/PackagesPageViewModel.cs"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"28302af68c08daca9da6268c9929bab7b3c409323de7e8d83a17bb2e99265566"}},{"ruleId":"D1","level":"warning","message":{"text":"PacmanPkgDetailsHelper.GetDetails_UnSafe (cyclomatic 25): PacmanPkgDetailsHelper.GetDetails_UnSafe has cyclomatic complexity 25 (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/UniGetUI.PackageEngine.Managers.Pacman/Helpers/PacmanPkgDetailsHelper.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cc0179f6dd085f198caa499c6782f99a33ab765e9b3684337a9bc7bf91aa21d"}},{"ruleId":"D1","level":"warning","message":{"text":"AptPkgDetailsHelper.GetDetails_UnSafe (cyclomatic 24): AptPkgDetailsHelper.GetDetails_UnSafe 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/UniGetUI.PackageEngine.Managers.Apt/Helpers/AptPkgDetailsHelper.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"47509f095d249cd7b997dfc46c64b95c7cb03238ac4c076b9ff5acc75ffebd0d"}},{"ruleId":"D1","level":"warning","message":{"text":"WinGetCliHelper.GetAvailableUpdates_UnSafe (cyclomatic 24): WinGetCliHelper.GetAvailableUpdates_UnSafe 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/UniGetUI.PackageEngine.Managers.WinGet/ClientHelpers/WinGetCliHelper.cs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b3a97c962d3778df258b8879cba3db31bfd297fe91a0749951732b3845a1ac1"}},{"ruleId":"D1","level":"warning","message":{"text":"AbstractPackagesPage.AbstractPackagesPage.ctor (cyclomatic 22): AbstractPackagesPage.AbstractPackagesPage.ctor has cyclomatic complexity 22 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 10 belong to 4 function literals inside it that branch. 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/UniGetUI.Avalonia/Views/SoftwarePages/AbstractPackagesPage.axaml.cs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9674f9fde813a00eaa0f3e8472cdbba099e1063b4656c8789262c2ec60d000b"}},{"ruleId":"D1","level":"warning","message":{"text":"UpdaterDownloadEngine.DownloadInstallerPartAsync (cyclomatic 22): UpdaterDownloadEngine.DownloadInstallerPartAsync has cyclomatic complexity 22 (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/UniGetUI.Core.Tools/UpdaterDownloadEngine.cs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9c4a6950d1d31ad6d86fa2f40efe242f934e16e8a6a6c2aec5fa49c55e98235"}},{"ruleId":"D1","level":"warning","message":{"text":"ScoopPkgOperationHelper._getOperationParameters (cyclomatic 22): ScoopPkgOperationHelper._getOperationParameters has cyclomatic complexity 22 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UniGetUI.PackageEngine.Managers.Scoop/Helpers/ScoopPkgOperationHelper.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a20626713c38848b1910979bb5b32d1b49b1831c54b827f16e48cc8b5d764ee"}},{"ruleId":"D1","level":"warning","message":{"text":"WinGetCliHelper.GetInstalledPackages_UnSafe (cyclomatic 22): WinGetCliHelper.GetInstalledPackages_UnSafe has cyclomatic complexity 22 (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/UniGetUI.PackageEngine.Managers.WinGet/ClientHelpers/WinGetCliHelper.cs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"76a4c37b0da00dda85d55e8ab4700a8113d8a25d23f6e602cf075c31991443bf"}},{"ruleId":"D1","level":"warning","message":{"text":"ProcessTaskLogger.AsColoredString (cyclomatic 21): ProcessTaskLogger.AsColoredString has cyclomatic complexity 21 (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/UniGetUI.PackageEngine.PackageManagerClasses/Manager/Classes/ManagerLogger.cs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"08d1a5d5f572624756b2ec1df662282fb83ed42de982a129fff54875e74f9e66"}},{"ruleId":"D1","level":"warning","message":{"text":"SnapPkgDetailsHelper.GetDetails_UnSafe (cyclomatic 21): SnapPkgDetailsHelper.GetDetails_UnSafe has cyclomatic complexity 21 (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/UniGetUI.PackageEngine.Managers.Snap/Helpers/SnapPkgDetailsHelper.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bed1c11baebd1ff2c1ba19c938b9134dab1bb833c3e5693d213b677cf12c714"}},{"ruleId":"D1","level":"warning","message":{"text":"IpcClient.BuildPackageQueryParameters (cyclomatic 20): IpcClient.BuildPackageQueryParameters has cyclomatic complexity 20 (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/UniGetUI.Interface.IpcApi/IpcClient.cs"},"region":{"startLine":1209}}}],"partialFingerprints":{"codehealthFindingId/v1":"44777fb2ef2e612c08593734fbc56785e9f0f582cd40a62eba22600ca0e5c1e7"}},{"ruleId":"D1","level":"warning","message":{"text":"IpcClient.GetRequestTimeout (cyclomatic 20): IpcClient.GetRequestTimeout has cyclomatic complexity 20 (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/UniGetUI.Interface.IpcApi/IpcClient.cs"},"region":{"startLine":1353}}}],"partialFingerprints":{"codehealthFindingId/v1":"c179d41f90547807e75c79702bc96f5a1efcf018575793faa2b40b598fd5ecba"}},{"ruleId":"D1","level":"warning","message":{"text":"AvaloniaAutoUpdater.CheckAndInstallUpdatesAsync (cyclomatic 19): AvaloniaAutoUpdater.CheckAndInstallUpdatesAsync has cyclomatic complexity 19 (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/UniGetUI.Avalonia/Infrastructure/AvaloniaAutoUpdater.cs"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"2706377caceedf175369d7cc728938180b3d91b687ac245a16b68f0f79176b5e"}},{"ruleId":"D1","level":"warning","message":{"text":"BaseNuGetDetailsHelper.GetDetails_UnSafe (cyclomatic 19): BaseNuGetDetailsHelper.GetDetails_UnSafe has cyclomatic complexity 19 (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/UniGetUI.PackageEngine.Managers.Generic.NuGet/BaseNuGetDetailsHelper.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"47b25f9bef7125b3a809c390ec4f32343e2516e3dfc700702c70d219ccdcbe7f"}},{"ruleId":"D1","level":"warning","message":{"text":"OperationViewModel.RebuildMenu (cyclomatic 18): OperationViewModel.RebuildMenu 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/UniGetUI.Avalonia/ViewModels/DialogPages/OperationViewModel.cs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"1382833f4505549737dddc1c0baec89aed6a9e3da3e3365d4419da0b94056164"}},{"ruleId":"D1","level":"warning","message":{"text":"CoreData.GetNewDataDirectoryOrMoveOld (cyclomatic 18): CoreData.GetNewDataDirectoryOrMoveOld 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/UniGetUI.Core.Data/CoreData.cs"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"573194f7210ccf6edb5ad61c082770dfbf9f32541477b2a28b653274a4db0141"}},{"ruleId":"D1","level":"warning","message":{"text":"CoreTools.VersionStringToStruct (cyclomatic 18): CoreTools.VersionStringToStruct 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/UniGetUI.Core.Tools/Tools.cs"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"103bbe054ee92edbf11161699f9509dba8ab76d424d348b215e347360d17741d"}},{"ruleId":"D1","level":"warning","message":{"text":"PEInterface.CreateManagers (cyclomatic 18): PEInterface.CreateManagers 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/UniGetUI.PackageEngine.PackageEngine/PEInterface.cs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"91b88f787109d70c36d0ace9f1c0a26fe4508b36d991b3c5e6d2d55379d1d867"}},{"ruleId":"D1","level":"warning","message":{"text":"NativeTaskLogger.AsColoredString (cyclomatic 18): NativeTaskLogger.AsColoredString has cyclomatic complexity 18 (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/UniGetUI.PackageEngine.PackageManagerClasses/Manager/Classes/ManagerLogger.cs"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b43efcf6a568d63bf2a72397307c76e58992658760d8dc6e6600698cc547a14"}},{"ruleId":"D1","level":"warning","message":{"text":"PowerShellPkgOperationHelper._getOperationParameters (cyclomatic 18): PowerShellPkgOperationHelper._getOperationParameters 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/UniGetUI.PackageEngine.Managers.PowerShell/Helpers/PowerShellPkgOperationHelper.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a2e5846f4d290da6efd35c8a149e4d2336ca748bdb8f027608fc559c85105b0"}},{"ruleId":"D1","level":"warning","message":{"text":"InstallOptionsViewModel.InstallOptionsViewModel.ctor (cyclomatic 17): InstallOptionsViewModel.InstallOptionsViewModel.ctor has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UniGetUI.Avalonia/ViewModels/DialogPages/InstallOptionsViewModel.cs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfcadc17e8e9549882805601e02d932f9dbbbd9222f98648687b782cda04c108"}},{"ruleId":"D1","level":"warning","message":{"text":"SvgIcon.ParseSvg (cyclomatic 17): SvgIcon.ParseSvg has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UniGetUI.Avalonia/Views/Controls/SvgIcon.cs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"c85b8db737fe3544fb54bce65605cbbb4137587a23049e8a71a03520f67737ff"}},{"ruleId":"D1","level":"warning","message":{"text":"AbstractPackageLoader.ReloadPackages (cyclomatic 17): AbstractPackageLoader.ReloadPackages has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UniGetUI.PackageEngine.PackageLoader/AbstractPackageLoader.cs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d93c1c9f345b810691769037e9bd8d0bb2b12ac27a34d905de9403948e84721"}},{"ruleId":"D1","level":"warning","message":{"text":"WinGet.GetLocalSource (cyclomatic 17): WinGet.GetLocalSource has cyclomatic complexity 17 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 6 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/UniGetUI.PackageEngine.Managers.WinGet/WinGet.cs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ee0c123f89e2537dfa9e7d759cab608a78a0c75a5afa278647f5d72436de152"}},{"ruleId":"D1","level":"warning","message":{"text":"CrashHandler.ReportFatalException (cyclomatic 16): CrashHandler.ReportFatalException 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/UniGetUI.Avalonia/CrashHandler.cs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"517c9f9aa1834bca76b6c3af725bfa7f50cca26d281ee9da643d6b3c9ad760e9"}},{"ruleId":"D1","level":"warning","message":{"text":"PowerShell7PkgOperationHelper._getOperationParameters (cyclomatic 16): PowerShell7PkgOperationHelper._getOperationParameters 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/UniGetUI.PackageEngine.Managers.PowerShell7/Helpers/PowerShell7PkgOperationHelper.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"e095338464395e216bab9e7cf188f8608b221bbf917e871374894b07fc5fc392"}},{"ruleId":"D2","level":"warning","message":{"text":"MainWindow.OnWindowsWndProc (cognitive 78): MainWindow.OnWindowsWndProc has cognitive complexity 78 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UniGetUI.Avalonia/Views/MainWindow.axaml.cs"},"region":{"startLine":1088}}}],"partialFingerprints":{"codehealthFindingId/v1":"559885e11d4aa145739e01897bf2d8be4ad6df3e855d7b5b80de5504db8f0b32"}},{"ruleId":"D2","level":"warning","message":{"text":"PacmanPkgDetailsHelper.GetDetails_UnSafe (cognitive 50): PacmanPkgDetailsHelper.GetDetails_UnSafe has cognitive complexity 50 (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/UniGetUI.PackageEngine.Managers.Pacman/Helpers/PacmanPkgDetailsHelper.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"3533f08ed3c65fa4f3f81b48df343c3321fad540c6fd207217431b77eac1acb2"}},{"ruleId":"D2","level":"warning","message":{"text":"WinGetPkgOperationHelper._getOperationParameters (cognitive 45): WinGetPkgOperationHelper._getOperationParameters has cognitive complexity 45 (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/UniGetUI.PackageEngine.Managers.WinGet/Helpers/WinGetPkgOperationHelper.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"48b017576b98f051224a9549bee2a298cd49957a9639033fece1ca4e14f210d2"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractOperation.MainThreadCore (cognitive 44): AbstractOperation.MainThreadCore has cognitive complexity 44 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UniGetUI.PackageEngine.Operations/AbstractOperation.cs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"72b6833d41f8716fafe97970816e5bc207eb5b9faf8259cb4a8d3229556cd364"}},{"ruleId":"D2","level":"warning","message":{"text":"ScoopPkgDetailsHelper.GetDetails_UnSafe (cognitive 43): ScoopPkgDetailsHelper.GetDetails_UnSafe has cognitive complexity 43 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UniGetUI.PackageEngine.Managers.Scoop/Helpers/ScoopPkgDetailsHelper.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"06465e798b7749499d4d06b2fbe7293c581ea4875e0834b53e303f113ac7590b"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractOperation._runOperation (cognitive 42): AbstractOperation._runOperation has cognitive complexity 42 (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/UniGetUI.PackageEngine.Operations/AbstractOperation.cs"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"b41284d8832c850fd5cf32f308ff1d05b430f0400892e3ac0bb926bc1a5ff2dc"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractProcessOperation.PerformOperation (cognitive 37): AbstractProcessOperation.PerformOperation has cognitive complexity 37 (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/UniGetUI.PackageEngine.Operations/AbstractProcessOperation.cs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ba70bd784e369b97c1ff5f6652e5e86bfdd8da6cd542180b94adc961d32d379"}},{"ruleId":"D2","level":"warning","message":{"text":"AptPkgDetailsHelper.GetDetails_UnSafe (cognitive 37): AptPkgDetailsHelper.GetDetails_UnSafe has cognitive complexity 37 (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/UniGetUI.PackageEngine.Managers.Apt/Helpers/AptPkgDetailsHelper.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"50f4944dd10a3ea7dc4f2d422baa2c1254404d1e5d722120016016acf9f94498"}},{"ruleId":"D2","level":"warning","message":{"text":"WinGetCliHelper.GetAvailableUpdates_UnSafe (cognitive 37): WinGetCliHelper.GetAvailableUpdates_UnSafe 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/UniGetUI.PackageEngine.Managers.WinGet/ClientHelpers/WinGetCliHelper.cs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fabcb64f3ce66b5cf0ca7e76715383021f735f1f54d2696d4e8afef9a8d4a7d"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractPackageLoader.ReloadPackages (cognitive 34): AbstractPackageLoader.ReloadPackages has cognitive complexity 34 (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/UniGetUI.PackageEngine.PackageLoader/AbstractPackageLoader.cs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"df49fe74e9d6ca9663bc8f08d2f84dda985e38053272e4c87475cf158c610d77"}},{"ruleId":"D2","level":"warning","message":{"text":"SnapPkgDetailsHelper.GetDetails_UnSafe (cognitive 34): SnapPkgDetailsHelper.GetDetails_UnSafe has cognitive complexity 34 (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/UniGetUI.PackageEngine.Managers.Snap/Helpers/SnapPkgDetailsHelper.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e78f3b7824e84d372798cb220bf892ca186276e1d3070c122ee059413f3fe25"}},{"ruleId":"D2","level":"warning","message":{"text":"CoreData.GetNewDataDirectoryOrMoveOld (cognitive 31): CoreData.GetNewDataDirectoryOrMoveOld has cognitive complexity 31 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UniGetUI.Core.Data/CoreData.cs"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a48a19c2b81eea3f872d53e5495f4e380f28fe12c1753d91124f2b0fe66ed17"}},{"ruleId":"D2","level":"warning","message":{"text":"InstalledPackagesLoader.ReloadPackagesSilently (cognitive 31): InstalledPackagesLoader.ReloadPackagesSilently has cognitive complexity 31 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UniGetUI.PackageEngine.PackageLoader/InstalledPackagesLoader.cs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae5c7df0976d2a7f927cd98f8f73a46e760c2422395716c5fb322882b4ea5d07"}},{"ruleId":"D2","level":"warning","message":{"text":"WinGetCliHelper.GetInstalledPackages_UnSafe (cognitive 31): WinGetCliHelper.GetInstalledPackages_UnSafe has cognitive complexity 31 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UniGetUI.PackageEngine.Managers.WinGet/ClientHelpers/WinGetCliHelper.cs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca1a779b0130a5919d4894617b6d1e725f56dabf41a1dca68fcd0c6bafaed4f5"}},{"ruleId":"D2","level":"warning","message":{"text":"WinGetPkgOperationHelper._getOperationResult (cognitive 31): WinGetPkgOperationHelper._getOperationResult has cognitive complexity 31 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UniGetUI.PackageEngine.Managers.WinGet/Helpers/WinGetPkgOperationHelper.cs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8c463a417aeb892ea85eb29e4cf8f6d28ce04f8b7af1816068c263afd56d1c3"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseNuGet.FindPackages_UnSafe (cognitive 31): BaseNuGet.FindPackages_UnSafe has cognitive complexity 31 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UniGetUI.PackageEngine.Managers.Generic.NuGet/BaseNuGet.cs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6879c344742e649465da34747bafdb026b1427a75e967ddf8eb848bc5f2f575"}},{"ruleId":"D2","level":"warning","message":{"text":"PackageManagerPage.BuildPage (cognitive 28): PackageManagerPage.BuildPage has cognitive complexity 28 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 14 belong to 6 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UniGetUI.Avalonia/Views/Pages/SettingsPages/PackageManagerPage.axaml.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"05258861be990c2882e84e90ef5cf8015b4b9144bf30a63d9498f8c2a928d466"}},{"ruleId":"D2","level":"warning","message":{"text":"ProcessTaskLogger.AsColoredString (cognitive 28): ProcessTaskLogger.AsColoredString has cognitive complexity 28 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UniGetUI.PackageEngine.PackageManagerClasses/Manager/Classes/ManagerLogger.cs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b580dd0cf397390251a0d7d354378e7df08f8a6e0b911b44d0ee4160accf9ee"}},{"ruleId":"D2","level":"warning","message":{"text":"CoreTools.VersionStringToStruct (cognitive 27): CoreTools.VersionStringToStruct has cognitive complexity 27 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UniGetUI.Core.Tools/Tools.cs"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"a318a24b028cad282628545c5578caf16f2474771bf1515a14c0b759f495809a"}},{"ruleId":"D2","level":"warning","message":{"text":"PipPkgDetailsHelper.GetDetails_UnSafe (cognitive 27): PipPkgDetailsHelper.GetDetails_UnSafe has cognitive complexity 27 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UniGetUI.PackageEngine.Managers.Pip/Helpers/PipPkgDetailsHelper.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"61c32446dde8c78116509dff77ecbcc8474ea85687b433109f6d4f0b90fd57e1"}},{"ruleId":"D2","level":"warning","message":{"text":"UserAvatarViewModel.RefreshAsync (cognitive 26): UserAvatarViewModel.RefreshAsync has cognitive complexity 26 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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/UniGetUI.Avalonia/ViewModels/Controls/UserAvatarViewModel.cs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cb9514898e7a092ba020304d031538222ca2643d98c19ae22a782ab049778dd"}},{"ruleId":"D2","level":"warning","message":{"text":"IpcClient.BuildPackageQueryParameters (cognitive 25): IpcClient.BuildPackageQueryParameters has cognitive complexity 25 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UniGetUI.Interface.IpcApi/IpcClient.cs"},"region":{"startLine":1209}}}],"partialFingerprints":{"codehealthFindingId/v1":"93e31b58b29fbeb6b4cb99ab3e39a82b016e7851a99b6d32b9c32878e10fd926"}},{"ruleId":"D2","level":"warning","message":{"text":"IpcCliSyntax.Parse (cognitive 24): IpcCliSyntax.Parse 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/UniGetUI.Interface.IpcApi/IpcCliSyntax.cs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"216a30481218f9a8e272dc71fbc392fdc342917ea51a97c143fc411a6e22520f"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseNuGetDetailsHelper.GetDetails_UnSafe (cognitive 24): BaseNuGetDetailsHelper.GetDetails_UnSafe has cognitive complexity 24 (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/UniGetUI.PackageEngine.Managers.Generic.NuGet/BaseNuGetDetailsHelper.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e1fb49783406cae6b8b8844eeb1dc2c419fb21d92bd76ef14bd57f6ea25b555"}},{"ruleId":"D2","level":"warning","message":{"text":"OperationViewModel.RebuildMenu (cognitive 23): OperationViewModel.RebuildMenu 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/UniGetUI.Avalonia/ViewModels/DialogPages/OperationViewModel.cs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2fd20d54649a8b360627aa55eda1cd56786e5017b3f7d4e469bff3c6eedde6e"}},{"ruleId":"D2","level":"warning","message":{"text":"UpdaterDownloadEngine.DownloadInstallerPartAsync (cognitive 23): UpdaterDownloadEngine.DownloadInstallerPartAsync has cognitive complexity 23 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UniGetUI.Core.Tools/UpdaterDownloadEngine.cs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"552859eafb2c52719b0249ca33357e43ab28b84a9a83a57ac4838dcb93eee982"}},{"ruleId":"D2","level":"warning","message":{"text":"ArpRegistryHelper.BuildIndex (cognitive 23): ArpRegistryHelper.BuildIndex 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/UniGetUI.PackageEngine.PackageManagerClasses/Manager/Helpers/ArpRegistryHelper.cs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fa95af34dcf7997e2c4756cc4abbbfd4efd7acdb618f1305e7208b730d24fad"}},{"ruleId":"D2","level":"warning","message":{"text":"CrashHandler.ReportFatalException (cognitive 22): CrashHandler.ReportFatalException has cognitive complexity 22 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UniGetUI.Avalonia/CrashHandler.cs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"778cdf1a74d022609176172510de3ed776bcc976845578a88e275236e7c3db23"}},{"ruleId":"D2","level":"warning","message":{"text":"MainWindow.Window_KeyDown (cognitive 22): MainWindow.Window_KeyDown has cognitive complexity 22 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UniGetUI.Avalonia/Views/MainWindow.axaml.cs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"adb0667d9c2c25070aa551241456d17599d4d31967a903c13a0354dc4b5b28b1"}},{"ruleId":"D2","level":"warning","message":{"text":"Scoop.ParseInstalledPackages (cognitive 22): Scoop.ParseInstalledPackages 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/UniGetUI.PackageEngine.Managers.Scoop/Scoop.cs"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"8029a4425097780fc86e53879d866abc95f6b46e87fcc8250cec2d715062ddb0"}},{"ruleId":"D2","level":"warning","message":{"text":"PackagesPageViewModel.FilterPackages (cognitive 21): PackagesPageViewModel.FilterPackages has cognitive complexity 21 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UniGetUI.Avalonia/ViewModels/SoftwarePages/PackagesPageViewModel.cs"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"a025c064d2c8e9712a167459696f5d047814286005864d97ac31395aa847ba9e"}},{"ruleId":"D2","level":"warning","message":{"text":"AvaloniaAutoUpdater.CheckAndInstallUpdatesAsync (cognitive 21): AvaloniaAutoUpdater.CheckAndInstallUpdatesAsync has cognitive complexity 21 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UniGetUI.Avalonia/Infrastructure/AvaloniaAutoUpdater.cs"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfe561e33ac75f59958086e47fd692d1aff3bae4f0110f1da6f699eb91a010d7"}},{"ruleId":"D2","level":"warning","message":{"text":"DWMThreadHelper.ChangeState (cognitive 21): DWMThreadHelper.ChangeState has cognitive complexity 21 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UniGetUI.Core.Tools/DWMThreadHelper.cs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"51b1855676d321785c7e3266854136ef4341fd91cc9242411dfb25457a203163"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeTaskLogger.AsColoredString (cognitive 21): NativeTaskLogger.AsColoredString has cognitive complexity 21 (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/UniGetUI.PackageEngine.PackageManagerClasses/Manager/Classes/ManagerLogger.cs"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"21d25efe1ba83c9c90043a7d2df3fb21f7950270a42ec980d8e739ab8dd85cda"}},{"ruleId":"D2","level":"warning","message":{"text":"InstallOptionsFactory.EnsureSecureOptions (cognitive 21): InstallOptionsFactory.EnsureSecureOptions has cognitive complexity 21 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UniGetUI.PackageEngine.PackageManagerClasses/Packages/Classes/InstallOptionsFactory.cs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"612b651e74d3c4efc2ed3274a3cf46568f728814869e57972e8619929b49907a"}},{"ruleId":"D2","level":"warning","message":{"text":"WinGetPkgOperationHelper.TryGetPortableInstallLocation (cognitive 21): WinGetPkgOperationHelper.TryGetPortableInstallLocation has cognitive complexity 21 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UniGetUI.PackageEngine.Managers.WinGet/Helpers/WinGetPkgOperationHelper.cs"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"e158a618664026b84b149df6c9e7fa0105158f72ce1d6ea6dd964cb23c566248"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractPackagesPage.UpdateFilterPaneColumn (cognitive 20): AbstractPackagesPage.UpdateFilterPaneColumn 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/UniGetUI.Avalonia/Views/SoftwarePages/AbstractPackagesPage.axaml.cs"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"cca68a2b30eec01682227e3383bbfca3846aaf6da3060724838f709b3fa1c878"}},{"ruleId":"D2","level":"warning","message":{"text":"LanguageData.LoadLanguageTranslatorList (cognitive 20): LanguageData.LoadLanguageTranslatorList 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/UniGetUI.Core.LanguageEngine/LanguageData.cs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2b7d66ca6f875f7dad860b9bb5bdb9837bdd443e28640414e6b57a4b6e3b866"}},{"ruleId":"D2","level":"warning","message":{"text":"IpcClient.GetRequestTimeout (cognitive 20): IpcClient.GetRequestTimeout has cognitive complexity 20 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UniGetUI.Interface.IpcApi/IpcClient.cs"},"region":{"startLine":1353}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cefbd926d7abc28b25a278a56a6a557e22b0aa7559b5ed40d31e6b9a1843f2e"}},{"ruleId":"D2","level":"warning","message":{"text":"Scoop.ParseAvailableUpdates (cognitive 20): Scoop.ParseAvailableUpdates 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/UniGetUI.PackageEngine.Managers.Scoop/Scoop.cs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"05bc02da657b71caf9c99e7a0dc80515cba1e6a4351a95ebcec76d626b6eb6b9"}},{"ruleId":"D2","level":"warning","message":{"text":"ArpRegistryHelper.ReadLocation (cognitive 19): ArpRegistryHelper.ReadLocation 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/UniGetUI.PackageEngine.PackageManagerClasses/Manager/Helpers/ArpRegistryHelper.cs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"7195199edd4bf048b99908f9ebb9b4a2c5a17d4f3fd9f87f62013d18e47794f7"}},{"ruleId":"D2","level":"warning","message":{"text":"WinGetCliHelper.FindPackages_UnSafe (cognitive 19): WinGetCliHelper.FindPackages_UnSafe 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/UniGetUI.PackageEngine.Managers.WinGet/ClientHelpers/WinGetCliHelper.cs"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"f769bd3fa7db7abde301cc2a24232cf8830555a72f13fb352df46c1d269d55b1"}},{"ruleId":"D2","level":"warning","message":{"text":"InstallOptionsViewModel.InstallOptionsViewModel.ctor (cognitive 18): InstallOptionsViewModel.InstallOptionsViewModel.ctor 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/UniGetUI.Avalonia/ViewModels/DialogPages/InstallOptionsViewModel.cs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6a7f88c889915fe7f62952e3905d91cd9994681775d2f6131bf9aa9c8c41d76"}},{"ruleId":"D2","level":"warning","message":{"text":"ManagerLogsPageViewModel.LoadForManager (cognitive 18): ManagerLogsPageViewModel.LoadForManager 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/UniGetUI.Avalonia/ViewModels/Pages/LogPages/ManagerLogsPageViewModel.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"c60af375219d7ed157496724953cc3acd438bb3c65500f01eb6ce40ce42e0be4"}},{"ruleId":"D2","level":"warning","message":{"text":"PackagesPageViewModel.GetSelectedSourceFilters (cognitive 18): PackagesPageViewModel.GetSelectedSourceFilters 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/UniGetUI.Avalonia/ViewModels/SoftwarePages/PackagesPageViewModel.cs"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f715e1364ee97c66ed9fe0a4d6de3290fbfe02b0595f81e87e0399d63a24af4"}},{"ruleId":"D2","level":"warning","message":{"text":"SvgIcon.ParseSvg (cognitive 18): SvgIcon.ParseSvg 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/UniGetUI.Avalonia/Views/Controls/SvgIcon.cs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"299d57d511185b261179c95ef679b271611d52b62ce1bce3a55c7c330a2a3033"}},{"ruleId":"D2","level":"warning","message":{"text":"SerializationHelpers.ConvertXmlNode (cognitive 18): SerializationHelpers.ConvertXmlNode 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/UniGetUI.Core.Tools/SerializationHelpers.cs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"59f43f99b198dc7241022ca89393366499a575cd9c692ebba23d314b288f91b2"}},{"ruleId":"D2","level":"warning","message":{"text":"PowerShellPkgOperationHelper._getOperationParameters (cognitive 18): PowerShellPkgOperationHelper._getOperationParameters 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/UniGetUI.PackageEngine.Managers.PowerShell/Helpers/PowerShellPkgOperationHelper.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"34450ce07e7f67c52adeeb4544ef2558cddd5d71a37efca4b5bd56e19c7c5d3e"}},{"ruleId":"D2","level":"warning","message":{"text":"PowerShell7SourceHelper.GetSources_UnSafe (cognitive 18): PowerShell7SourceHelper.GetSources_UnSafe 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/UniGetUI.PackageEngine.Managers.PowerShell7/Helpers/PowerShell7SourceHelper.cs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"33c53f2a6b8b6d4b267c6ddd86b771dab56953fe82fc5e65a017471c4594b3fe"}},{"ruleId":"D2","level":"warning","message":{"text":"ScoopSourceHelper.ParseSources (cognitive 18): ScoopSourceHelper.ParseSources 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/UniGetUI.PackageEngine.Managers.Scoop/Helpers/ScoopSourceHelper.cs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bbf43140b1cc77e757d4ea42b2ba4c98cf6d51507c3d41f8a67a535818ae268"}},{"ruleId":"D2","level":"warning","message":{"text":"MainWindow.SetupTitleBar (cognitive 17): MainWindow.SetupTitleBar 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/UniGetUI.Avalonia/Views/MainWindow.axaml.cs"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"604753ed56f716b9429ec9a2d2c94218ee621cb45bcd85dd134a11b9e037fe4c"}},{"ruleId":"D2","level":"warning","message":{"text":"MainWindow.IsRectangleFullyVisible (cognitive 17): MainWindow.IsRectangleFullyVisible 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/UniGetUI.Avalonia/Views/MainWindow.axaml.cs"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef158ec4c4636372aa2fbad4d6967f161d0d35e8ea80de6efe78532110088a0c"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractPackagesPage.AbstractPackagesPage.ctor (cognitive 17): AbstractPackagesPage.AbstractPackagesPage.ctor has cognitive complexity 17 (threshold 15). Most of this is not in the body itself: 6 of the 17 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 132, 66, 55, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UniGetUI.Avalonia/Views/SoftwarePages/AbstractPackagesPage.axaml.cs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"70389b0eb109d46158bfd3d61f4ee94f24c2c9f024a304d4c401e6e03919cc2f"}},{"ruleId":"D2","level":"warning","message":{"text":"AvaloniaBootstrapper.GetMissingDependenciesAsync (cognitive 17): AvaloniaBootstrapper.GetMissingDependenciesAsync 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/UniGetUI.Avalonia/Infrastructure/AvaloniaBootstrapper.cs"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a44f49f51d81c28a292947ad626c9341f57fb7b7d4bcd73f3174b29d80cbded"}},{"ruleId":"D2","level":"warning","message":{"text":"UpgradablePackagesLoader.IsPackageValid (cognitive 17): UpgradablePackagesLoader.IsPackageValid has cognitive complexity 17 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UniGetUI.PackageEngine.PackageLoader/UpgradablePackagesLoader.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"7052d66007c5285f37f86df2104089e2a7fd1c49048c498a8a2051bf38ab0ef1"}},{"ruleId":"D2","level":"warning","message":{"text":"CargoPkgOperationHelper._getOperationParameters (cognitive 17): CargoPkgOperationHelper._getOperationParameters 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/UniGetUI.PackageEngine.Managers.Cargo/Helpers/CargoPkgOperationHelper.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"16df4089814b389124c70eee13211d1ca307cd7c688dafecc4f750e4c7078f7f"}},{"ruleId":"D2","level":"warning","message":{"text":"DnfPkgDetailsHelper.GetDetails_UnSafe (cognitive 17): DnfPkgDetailsHelper.GetDetails_UnSafe 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/UniGetUI.PackageEngine.Managers.Dnf/Helpers/DnfPkgDetailsHelper.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cfb58340370bc8845db7e63969dde6cd2da49aefab045bf3f03cc1cbda73e01"}},{"ruleId":"D2","level":"warning","message":{"text":"InternetViewModel.BuildProxyCompatTable (cognitive 16): InternetViewModel.BuildProxyCompatTable 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/UniGetUI.Avalonia/ViewModels/Pages/SettingsPages/InternetViewModel.cs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"a06ef6bd2659196374013979b5a2cea78e80c8e9b75ec4b0d0ed85c3be4434f5"}},{"ruleId":"D2","level":"warning","message":{"text":"OperationFailedDialog.BuildRetryButton (cognitive 16): OperationFailedDialog.BuildRetryButton 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/UniGetUI.Avalonia/Views/DialogPages/OperationFailedDialog.axaml.cs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"d192b9b0d3cf04baeb785537eed71bd9320862d388a3c3ddb989159aa23c9d7d"}},{"ruleId":"D2","level":"warning","message":{"text":"SoftwareUpdatesPage.WhenPackagesLoaded (cognitive 16): SoftwareUpdatesPage.WhenPackagesLoaded 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/UniGetUI.Avalonia/Views/SoftwarePages/SoftwareUpdatesPage.cs"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cd3fe60cb3b289accc5605e3dc6ddddceddc5f38309cbe6314de4d533725b2f"}},{"ruleId":"D2","level":"warning","message":{"text":"PEInterface.CreateManagers (cognitive 16): PEInterface.CreateManagers 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/UniGetUI.PackageEngine.PackageEngine/PEInterface.cs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"e02617dbbaf3390f807eb239751024149ee183fd53961ec3cfe64785a708f6d4"}},{"ruleId":"D2","level":"warning","message":{"text":"BasePkgDetailsHelper.GetScreenshots (cognitive 16): BasePkgDetailsHelper.GetScreenshots has cognitive complexity 16 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UniGetUI.PackageEngine.PackageManagerClasses/Manager/Helpers/BasePkgDetailsHelper.cs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"26f395fac13acad5e51903b1e217c3ab8b8f59e681e2c5457d3928ea4b417273"}},{"ruleId":"D2","level":"warning","message":{"text":"DesktopShortcutsDatabase.HandleNewShortcuts (cognitive 16): DesktopShortcutsDatabase.HandleNewShortcuts has cognitive complexity 16 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UniGetUI.PackageEngine.PackageManagerClasses/Packages/Classes/DesktopShortcutsDatabase.cs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"e322d44f0abac904769ff5f49e26771cca66ac75acbdf443515166b37121e81f"}},{"ruleId":"D2","level":"warning","message":{"text":"Bun.ParseBunOutdatedTable (cognitive 16): Bun.ParseBunOutdatedTable has cognitive complexity 16 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 2 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/UniGetUI.PackageEngine.Managers.Bun/Bun.cs"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4b27c2efa29f523ea502fe3f922bc5106945045fc15533fd79cf616e3ad545f"}},{"ruleId":"D2","level":"warning","message":{"text":"Npm.ParseSearchOutput (cognitive 16): Npm.ParseSearchOutput has cognitive complexity 16 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UniGetUI.PackageEngine.Managers.Npm/Npm.cs"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"97900d723afa19a81310b33b52d2145f8ef1560b584f98d4270709f5d945a0d5"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeWinGetHelper.FindPackages_UnSafe (cognitive 16): NativeWinGetHelper.FindPackages_UnSafe has cognitive complexity 16 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UniGetUI.PackageEngine.Managers.WinGet/ClientHelpers/NativeWinGetHelper.cs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"21a6d494b41546a8a28b8b00d1724266fcd3dcef76a318b0718198327024d87a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: IpcClient: TooManyMethods \u2014 809 significant lines (blank, comment-only and punctuation-only lines excluded), 98 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/UniGetUI.Interface.IpcApi/IpcClient.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de078e7ff89c516ea270c29702f506d952e43552ced09cd334b6148fe49e8a96"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: IpcServer: TooManyMethods \u2014 1093 significant lines (blank, comment-only and punctuation-only lines excluded), 97 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/UniGetUI.Interface.IpcApi/IpcServer.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab081feabd7556317ab14f58992a00c1b68c6d6b030bfe30d4bbb27c66c912b3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MainWindow: TooManyMethods \u2014 997 significant lines (blank, comment-only and punctuation-only lines excluded), 76 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/UniGetUI.Avalonia/Views/MainWindow.axaml.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4699136c23e005c393f7e2cd9c15cd5dd8b7354aa7b9aa4f71787eec62014fad"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: UniGetUI.Interface.IpcApi/IpcServer.cs: FileTooLong \u2014 1114 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/UniGetUI.Interface.IpcApi/IpcServer.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcbc81d597968e1b97ffd24ab2d67be032275a7b613767ca25cb14e5638e0106"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Views/MainWindow.axaml.cs: FileTooLong \u2014 1112 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/UniGetUI.Avalonia/Views/MainWindow.axaml.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f93ac041829c9bba3a7bb759356d00b6f7d502c56f85c790a037da2b7818b12"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CoreTools: TooManyMethods \u2014 603 significant lines (blank, comment-only and punctuation-only lines excluded), 61 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/UniGetUI.Core.Tools/Tools.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4eaacb0bb890ad015b8a7f898946480c3418ca92740b680a40d35a7c158b78e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Infrastructure/AvaloniaAutoUpdater.cs: FileTooLong \u2014 922 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/UniGetUI.Avalonia/Infrastructure/AvaloniaAutoUpdater.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e48fc75cb1d56553f02ef9a588aed57c6e3c97687c7a05d1b4ddff5576a0468c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PackagesPageViewModel: TooManyMethods \u2014 567 significant lines (blank, comment-only and punctuation-only lines excluded), 53 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/UniGetUI.Avalonia/ViewModels/SoftwarePages/PackagesPageViewModel.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e0101e128a1eff93afb4f6e5b66878492193e0c3f6c60003d2fa09fde4a7205"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AbstractPackagesPage: TooManyMethods \u2014 443 significant lines (blank, comment-only and punctuation-only lines excluded), 50 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/UniGetUI.Avalonia/Views/SoftwarePages/AbstractPackagesPage.axaml.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"66e70ac8599bc31a4dd73a748cb699fb37ece0aaf41a062347e8b8883a0b41a2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: UniGetUI.Interface.IpcApi/IpcClient.cs: FileTooLong \u2014 823 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/UniGetUI.Interface.IpcApi/IpcClient.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7876c75c06c8dca5d3c4397604a3bc35f20ad7e2ca4fdf84cd5b118f6c479ab"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AvaloniaAutoUpdater: TooManyMethods \u2014 870 significant lines (blank, comment-only and punctuation-only lines excluded), 49 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/UniGetUI.Avalonia/Infrastructure/AvaloniaAutoUpdater.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5876e4356b64160d122112c20da40bf3090e0b5119b949536c87ebb32f8db58f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MainWindowViewModel: TooManyMethods \u2014 460 significant lines (blank, comment-only and punctuation-only lines excluded), 47 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UniGetUI.Avalonia/ViewModels/MainWindowViewModel.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc24b1d7d318924bf0461f97d2061bda88bd15e39eec61a26270f7ccf6e5e264"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: IpcCliCommandRunner: ClassTooLong \u2014 564 significant lines (blank, comment-only and punctuation-only lines excluded), 23 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/UniGetUI.Interface.IpcApi/IpcCliCommandRunner.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6218f4fb2c213c0f1063b3f2d4bea549b74cc12ab704caa11c3f69c4cbcac4f0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: SoftwarePages/PackagesPageViewModel.cs: FileTooLong \u2014 660 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/UniGetUI.Avalonia/ViewModels/SoftwarePages/PackagesPageViewModel.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7e791cdecc186f30292af4e54df486730fd2133d8ec82c3aa6a279c66037060"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: UniGetUI.Core.Tools/Tools.cs: FileTooLong \u2014 660 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/UniGetUI.Core.Tools/Tools.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"19511c06344d9ae509ea2816914672c945dbca1c8a19ca14d0a81c12edce43ab"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: IpcPackageApi: TooManyMethods \u2014 395 significant lines (blank, comment-only and punctuation-only lines excluded), 38 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/UniGetUI.Interface.IpcApi/IpcPackageApi.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5d03aed565d51d316194761ebe3e43b27294f95d928e79502de64238d28fdac"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: NativeWinGetHelper: ClassTooLong \u2014 475 significant lines (blank, comment-only and punctuation-only lines excluded), 24 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/UniGetUI.PackageEngine.Managers.WinGet/ClientHelpers/NativeWinGetHelper.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e11f708c40efdd1ae512620dea255fc960fa6234d120199d41bd7927a89cf85f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Settings: TooManyMethods \u2014 571 significant lines (blank, comment-only and punctuation-only lines excluded), 35 methods, declared across 6 files: UniGetUI.Core.Settings/SettingsEngine_Dictionaries.cs (9), UniGetUI.Core.Settings/SettingsEngine_Extras.cs (8), UniGetUI.Core.Settings/SettingsEngine_Lists.cs (8), UniGetUI.Core.Settings/SettingsEngine_ImportExport.cs (5), \u002B2 more file(s). 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/UniGetUI.Core.Settings/SettingsEngine_Dictionaries.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f813767cea4f31d557d27b4484a22d122ec54e12564af7ae54c9805517565a40"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WinGet: TooManyMethods \u2014 455 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/UniGetUI.PackageEngine.Managers.WinGet/WinGet.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c90c85a753ac13a217b559ec4897ec929a7638cd388f1c957b1c3e70a1e03fc"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: InstallOptionsViewModel: TooManyMethods \u2014 404 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/UniGetUI.Avalonia/ViewModels/DialogPages/InstallOptionsViewModel.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"22747c1c5057a300bd295bad9d98b50b83adcbed4053ec442fc52bfd24c89db2"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AbstractOperation: ClassTooLong \u2014 463 significant lines (blank, comment-only and punctuation-only lines excluded), 27 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/UniGetUI.PackageEngine.Operations/AbstractOperation.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a022a779d32adbfb6af7414b82c20f8448c84c14ae9e8ea041f777b418437eb9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: UniGetUI.Interface.IpcApi/IpcCliCommandRunner.cs: FileTooLong \u2014 575 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/UniGetUI.Interface.IpcApi/IpcCliCommandRunner.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4616938089b73d5ae73e1443dfc603f572cc79c811f2516c48686230cf75006f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PackageManagerPage: ClassTooLong \u2014 440 significant lines (blank, comment-only and punctuation-only lines excluded), 8 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/UniGetUI.Avalonia/Views/Pages/SettingsPages/PackageManagerPage.axaml.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1660e2a9673004b1de43e64ad8dfa5cbb98c4a3cb64633459b313fe3441e11e7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: IpcBundleApi: ClassTooLong \u2014 404 significant lines (blank, comment-only and punctuation-only lines excluded), 24 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/UniGetUI.Interface.IpcApi/IpcBundleApi.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bb8f1b476377f2f294c6d43966468dd8ae5eab4d332c9487f3885fcb2cc1c3e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: UniGetUI.PackageEngine.Managers.WinGet/WinGet.cs: FileTooLong \u2014 503 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/UniGetUI.PackageEngine.Managers.WinGet/WinGet.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1515212420a6a814845a64008fc1a4a6d277ab91bc3a72ce9f17c0fb944ea584"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): src/UniGetUI.PackageEngine.Managers.Dnf/Dnf.cs:182-221 | src/UniGetUI.PackageEngine.Managers.Pacman/Pacman.cs:175-210 \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/UniGetUI.PackageEngine.Managers.Dnf/Dnf.cs:182\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/UniGetUI.PackageEngine.Managers.Dnf/Dnf.cs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"705d4b078b5d5a42cd2c363782fb938b99cc82736aabcdd91e694521106cb397"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 3): src/UniGetUI.PackageEngine.Managers.Pip/Pip.cs:313-345 | src/UniGetUI.PackageEngine.Managers.PowerShell/PowerShell.cs:85-117 | src/UniGetUI.PackageEngine.Managers.PowerShell7/PowerShell7.cs:84-121 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 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 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/UniGetUI.PackageEngine.Managers.Pip/Pip.cs:313\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/UniGetUI.PackageEngine.Managers.Pip/Pip.cs"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"40f3af1dd883d792b42a325289be374a36b7eee5d6b716185d056c08e7c58491"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): src/UniGetUI.PackageEngine.PackageManagerClasses/Manager/Classes/ManagerLogger.cs:288-317 | src/UniGetUI.PackageEngine.PackageManagerClasses/Manager/Classes/ManagerLogger.cs:444-473 \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/UniGetUI.PackageEngine.PackageManagerClasses/Manager/Classes/ManagerLogger.cs:288\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. 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/UniGetUI.PackageEngine.PackageManagerClasses/Manager/Classes/ManagerLogger.cs"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"bde82114f93b9a377c43f641547eadfc5d3128305f53e9a9976381350f534526"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): src/UniGetUI.PackageEngine.Managers.Homebrew/Homebrew.cs:163-191 | src/UniGetUI.PackageEngine.Managers.Apt/Apt.cs:125-163 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UniGetUI.PackageEngine.Managers.Homebrew/Homebrew.cs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"50760da746eca10beb68418bd1874c56b479a801bc179bbc9d4b6add7ec705d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): src/UniGetUI.PackageEngine.Managers.Flatpak/Flatpak.cs:193-220 | src/UniGetUI.PackageEngine.Managers.Snap/Snap.cs:192-219 \u2014 before extracting anything, compare \u0060src/UniGetUI.PackageEngine.Managers.Flatpak/Flatpak.cs\u0060 and \u0060src/UniGetUI.PackageEngine.Managers.Snap/Snap.cs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 98 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/UniGetUI.PackageEngine.Managers.Flatpak/Flatpak.cs:193\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/UniGetUI.PackageEngine.Managers.Flatpak/Flatpak.cs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b5024233fdd71d87bc9c3566df9a891096686fad77133d9bf56220301f89743"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): src/UniGetUI.PackageEngine.Managers.Flatpak/Flatpak.cs:127-152 | src/UniGetUI.PackageEngine.Managers.Snap/Snap.cs:126-151 \u2014 before extracting anything, compare \u0060src/UniGetUI.PackageEngine.Managers.Flatpak/Flatpak.cs\u0060 and \u0060src/UniGetUI.PackageEngine.Managers.Snap/Snap.cs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 98 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/UniGetUI.PackageEngine.Managers.Flatpak/Flatpak.cs:127\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/UniGetUI.PackageEngine.Managers.Flatpak/Flatpak.cs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"eca9d5b1c58de05bcb4bbc5973571d17f157bd10bfacf2400ce1e2f0587a658f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): src/UniGetUI.PackageEngine.Managers.Flatpak/Flatpak.cs:160-185 | src/UniGetUI.PackageEngine.Managers.Snap/Snap.cs:159-184 \u2014 before extracting anything, compare \u0060src/UniGetUI.PackageEngine.Managers.Flatpak/Flatpak.cs\u0060 and \u0060src/UniGetUI.PackageEngine.Managers.Snap/Snap.cs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 98 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/UniGetUI.PackageEngine.Managers.Flatpak/Flatpak.cs:160\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/UniGetUI.PackageEngine.Managers.Flatpak/Flatpak.cs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"13451309c19e110f9f51a9095e200f4317ab59b6ee06c8710f15dfd73ce2bbce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): src/UniGetUI.PackageEngine.Managers.PowerShell/Helpers/PowerShellSourceHelper.cs:59-84 | src/UniGetUI.PackageEngine.Managers.PowerShell7/Helpers/PowerShell7SourceHelper.cs:59-89 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UniGetUI.PackageEngine.Managers.PowerShell/Helpers/PowerShellSourceHelper.cs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"406f63dd803d6b2d237deba60d83c1d687b7e0a63f192a7a9387b33bcb7ca946"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): src/UniGetUI.Avalonia/ViewModels/Pages/SettingsPages/InternetViewModel.cs:132-154 | src/UniGetUI.Avalonia/ViewModels/Pages/SettingsPages/UpdatesViewModel.cs:99-121 \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/UniGetUI.Avalonia/ViewModels/Pages/SettingsPages/InternetViewModel.cs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"297805250bb31887da4a1ff6e0274c67b20a8370fb8203b36a052e600fc36716"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): src/UniGetUI.PackageEngine.Managers.Apt/Helpers/AptPkgDetailsHelper.cs:126-150 | src/UniGetUI.PackageEngine.Managers.Dnf/Helpers/DnfPkgDetailsHelper.cs:109-131 \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/UniGetUI.PackageEngine.Managers.Apt/Helpers/AptPkgDetailsHelper.cs:126\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. 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/UniGetUI.PackageEngine.Managers.Apt/Helpers/AptPkgDetailsHelper.cs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2f9dbebd77c691eee3e58117a81d4a35df1bbbdec99998d7ea265ebe55316a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/UniGetUI.PackageEngine.Managers.Apt/Apt.cs:124-162 | src/UniGetUI.PackageEngine.Managers.Pacman/Pacman.cs:125-145 \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/UniGetUI.PackageEngine.Managers.Apt/Apt.cs:124\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. 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/UniGetUI.PackageEngine.Managers.Apt/Apt.cs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"d225ed586bbd8f20a628282046034de7e2bc44048a64d484a8a910d6e18642f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/UniGetUI.PackageEngine.Managers.Dnf/Helpers/DnfPkgDetailsHelper.cs:16-38 | src/UniGetUI.PackageEngine.Managers.Snap/Helpers/SnapPkgDetailsHelper.cs:16-36 \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/UniGetUI.PackageEngine.Managers.Dnf/Helpers/DnfPkgDetailsHelper.cs:16\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UniGetUI.PackageEngine.Managers.Dnf/Helpers/DnfPkgDetailsHelper.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"c26464144c363a824583846fc77593cf53da71cc4525aa909e547f9fa19566c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/UniGetUI.PackageEngine.PackageManagerClasses/Manager/Classes/ManagerLogger.cs:225-245 | src/UniGetUI.PackageEngine.PackageManagerClasses/Manager/Classes/ManagerLogger.cs:399-417 \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/UniGetUI.PackageEngine.PackageManagerClasses/Manager/Classes/ManagerLogger.cs:225\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/UniGetUI.PackageEngine.PackageManagerClasses/Manager/Classes/ManagerLogger.cs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"03f7ba5b37f3c874e8e8dc742096e78b9db46555782ff5c5b55df60a04b90034"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): src/UniGetUI.Interface.IpcApi/IpcServer.cs:1778-1794 | src/UniGetUI.Interface.IpcApi/IpcServer.cs:1803-1819 | src/UniGetUI.Interface.IpcApi/IpcServer.cs:1828-1844 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/UniGetUI.Interface.IpcApi/IpcServer.cs:1778\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/UniGetUI.Interface.IpcApi/IpcServer.cs"},"region":{"startLine":1778}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a3c632935337920c08d959cd1802166718610b463c9b638bf1c59c9fee51c74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): src/UniGetUI.Interface.IpcApi/IpcServer.cs:849-864 | src/UniGetUI.Interface.IpcApi/IpcServer.cs:885-900 | src/UniGetUI.Interface.IpcApi/IpcServer.cs:920-935 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/UniGetUI.Interface.IpcApi/IpcServer.cs:849\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/UniGetUI.Interface.IpcApi/IpcServer.cs"},"region":{"startLine":849}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bcf7d9a2a413fed0450eb99a879400130cf85a2d148910d27c90202ab09dd0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/UniGetUI.Avalonia/Views/Pages/HelpPage.axaml.cs:16-31 | src/UniGetUI.Avalonia/Views/Pages/ReleaseNotesPage.axaml.cs:15-30 \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/UniGetUI.Avalonia/Views/Pages/HelpPage.axaml.cs:16\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UniGetUI.Avalonia/Views/Pages/HelpPage.axaml.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"f923d3c33bdc0aa683b0aea6f69a4ba6e06f1e34f291f869d8c12aa61047033b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/UniGetUI.Avalonia/Views/SoftwarePages/InstalledPackagesPage.cs:111-128 | src/UniGetUI.Avalonia/Views/SoftwarePages/SoftwareUpdatesPage.cs:93-108 \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/UniGetUI.Avalonia/Views/SoftwarePages/InstalledPackagesPage.cs:111\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/UniGetUI.Avalonia/Views/SoftwarePages/InstalledPackagesPage.cs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb7cf4ec8a01ecea19536b45c0d6f5bb60df9558802a8f8a5ac40d06c911347a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/UniGetUI.PackageEngine.Managers.Snap/SnapParsing.cs:13-28 | src/UniGetUI.PackageEngine.Managers.Snap/SnapParsing.cs:96-111 \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/UniGetUI.PackageEngine.Managers.Snap/SnapParsing.cs:13\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. 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/UniGetUI.PackageEngine.Managers.Snap/SnapParsing.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d8b0311ec289148055ebfd697ff3d4bc5716eeef482bd3fab4b4406e46ec8c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): src/UniGetUI.Interface.IpcApi/IpcServer.cs:1424-1438 | src/UniGetUI.Interface.IpcApi/IpcServer.cs:1456-1470 | src/UniGetUI.Interface.IpcApi/IpcServer.cs:1558-1572 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/UniGetUI.Interface.IpcApi/IpcServer.cs:1424\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/UniGetUI.Interface.IpcApi/IpcServer.cs"},"region":{"startLine":1424}}}],"partialFingerprints":{"codehealthFindingId/v1":"78aac8311155f40c726d5d9a2583ab95d8fb7383d0589defb92da63421a53617"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/UniGetUI.Avalonia/Infrastructure/AvaloniaAutoUpdater.cs:784-798 | src/UniGetUI.Avalonia/Infrastructure/AvaloniaAutoUpdater.cs:944-959 \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/UniGetUI.Avalonia/Infrastructure/AvaloniaAutoUpdater.cs:784\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. 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/UniGetUI.Avalonia/Infrastructure/AvaloniaAutoUpdater.cs"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b305a73e1a150b0a05ff402fac5ce3e356532a3ad0e6bc7f8fae78c0862cdb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/UniGetUI.Avalonia/Infrastructure/AvaloniaAutoUpdater.cs:882-900 | src/UniGetUI.Avalonia/Infrastructure/AvaloniaAutoUpdater.cs:1003-1017 \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/UniGetUI.Avalonia/Infrastructure/AvaloniaAutoUpdater.cs:882\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/UniGetUI.Avalonia/Infrastructure/AvaloniaAutoUpdater.cs"},"region":{"startLine":882}}}],"partialFingerprints":{"codehealthFindingId/v1":"a511b2b013dfc2eed29e3dd81f9660711e86088564230285310b599c8ffc3379"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/UniGetUI.Avalonia/Infrastructure/GitHubCloudBackupService.cs:82-96 | src/UniGetUI.Interface.IpcApi/IpcBackupApi.cs:506-523 \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/UniGetUI.Avalonia/Infrastructure/GitHubCloudBackupService.cs:82\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/UniGetUI.Avalonia/Infrastructure/GitHubCloudBackupService.cs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"473bbd7d8c9a4d10aee7875597da10a62848ba7b5ca37b3fbf1b5247289f717a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/UniGetUI.Interface.IpcApi/IpcServer.cs:706-720 | src/UniGetUI.Interface.IpcApi/IpcServer.cs:767-781 \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/UniGetUI.Interface.IpcApi/IpcServer.cs:706\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/UniGetUI.Interface.IpcApi/IpcServer.cs"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"589630f65e9492e7b21f64f04da281178e42231a754e6b9e143db390eec77291"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/UniGetUI.PackageEngine.Operations/SourceOperations.cs:70-84 | src/UniGetUI.PackageEngine.Operations/SourceOperations.cs:167-181 \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/UniGetUI.PackageEngine.Operations/SourceOperations.cs:70\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/UniGetUI.PackageEngine.Operations/SourceOperations.cs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"747e1435767d397de0a9130ecae95882309ce7a2722385c405da8ab762e8ee43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/UniGetUI.PackageEngine.Managers.Chocolatey/Chocolatey.cs:181-195 | src/UniGetUI.PackageEngine.Managers.Chocolatey/Chocolatey.cs:226-240 \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/UniGetUI.PackageEngine.Managers.Chocolatey/Chocolatey.cs:181\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/UniGetUI.PackageEngine.Managers.Chocolatey/Chocolatey.cs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfdb28535c8e2069984583c15f213a361bb1af4c46e69d8ab21d81b0c14f5796"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/UniGetUI.PackageEngine.Operations/AbstractOperation.cs:444-457 | src/UniGetUI.PackageEngine.Operations/AbstractOperation.cs:535-548 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UniGetUI.PackageEngine.Operations/AbstractOperation.cs"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e1f61191aaebeb319ed98493a14648c3e0a65b9c6d08073eb1152c81df403ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/UniGetUI.Avalonia/ViewModels/Pages/SettingsPages/InternetViewModel.cs:87-102 | src/UniGetUI.Avalonia/ViewModels/Pages/SettingsPages/UpdatesViewModel.cs:60-72 \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. 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/UniGetUI.Avalonia/ViewModels/Pages/SettingsPages/InternetViewModel.cs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5a7e5bd8c909db229580c02b748b5d513bd96ba44e9b0e8e08f062a0ab628de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/UniGetUI.Avalonia/Infrastructure/WindowsAppNotificationBridge.cs:114-126 | src/UniGetUI.Avalonia/Infrastructure/WindowsAppNotificationBridge.cs:154-166 \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/UniGetUI.Avalonia/Infrastructure/WindowsAppNotificationBridge.cs:114\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/UniGetUI.Avalonia/Infrastructure/WindowsAppNotificationBridge.cs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"d92ac9e6e6f664a1aa8e48240d9c23dd4d359f5373a2067c74879968468ca18a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/UniGetUI.PackageEngine.Managers.WinGet/ClientHelpers/WinGetCliHelper.cs:69-81 | src/UniGetUI.PackageEngine.Managers.WinGet/ClientHelpers/WinGetCliHelper.cs:214-226 \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/UniGetUI.PackageEngine.Managers.WinGet/ClientHelpers/WinGetCliHelper.cs:69\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/UniGetUI.PackageEngine.Managers.WinGet/ClientHelpers/WinGetCliHelper.cs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9e156da9f2fc8185cfe7b908572e54d2708fdd772cc3fdd5328595831f657c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/UniGetUI.PackageEngine.Managers.Bun/Helpers/BunPkgDetailsHelper.cs:174-185 | src/UniGetUI.PackageEngine.Managers.Npm/Helpers/NpmPkgDetailsHelper.cs:224-235 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UniGetUI.PackageEngine.Managers.Bun/Helpers/BunPkgDetailsHelper.cs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"98503393d61b6f8a5f47814d3eab7fa7f649f55b50307a5b5ea7e7eabd76acf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): src/UniGetUI.PackageEngine.Managers.WinGet/ClientHelpers/NativeWinGetHelper.cs:767-777 | src/UniGetUI.PackageEngine.Managers.WinGet/ClientHelpers/PingetCliHelper.cs:163-173 | src/UniGetUI.PackageEngine.Managers.WinGet/ClientHelpers/WinGetCliHelper.cs:423-433 \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/UniGetUI.PackageEngine.Managers.WinGet/ClientHelpers/NativeWinGetHelper.cs:767\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/UniGetUI.PackageEngine.Managers.WinGet/ClientHelpers/NativeWinGetHelper.cs"},"region":{"startLine":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"374ad8a60d0a5d61b4fa7bb0d14b4343aac47c867405bfc00a210767c2b2c536"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/UniGetUI.PackageEngine.Managers.Homebrew/Helpers/HomebrewSourceHelper.cs:21-31 | src/UniGetUI.PackageEngine.Managers.Flatpak/Helpers/FlatpakSourceHelper.cs:24-42 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/UniGetUI.PackageEngine.Managers.Homebrew/Helpers/HomebrewSourceHelper.cs:21\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/UniGetUI.PackageEngine.Managers.Homebrew/Helpers/HomebrewSourceHelper.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b68a6e044f5b9db108040740f8764cada25ccbe6a687f9d94e0b919b0a588df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/UniGetUI.PackageEngine.Managers.Chocolatey/Chocolatey.cs:141-151 | src/UniGetUI.PackageEngine.Managers.Pip/Pip.cs:92-102 \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. 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/UniGetUI.PackageEngine.Managers.Chocolatey/Chocolatey.cs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"34807a888950d97a2d43913f25067dd845d8a020b08aed6346596d1bf35c8846"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/UniGetUI.PackageEngine.Managers.WinGet/ClientHelpers/PingetCliHelper.cs:174-184 | src/UniGetUI.PackageEngine.Managers.WinGet/ClientHelpers/WinGetCliHelper.cs:434-446 \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/UniGetUI.PackageEngine.Managers.WinGet/ClientHelpers/PingetCliHelper.cs:174\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/UniGetUI.PackageEngine.Managers.WinGet/ClientHelpers/PingetCliHelper.cs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6e1cd3da9d2fe371ec818c8347d205864d11d53f6f321eb73c6bcbc2d206569"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/UniGetUI.Avalonia/Views/SoftwarePages/DiscoverSoftwarePage.cs:126-134 | src/UniGetUI.Avalonia/Views/SoftwarePages/SoftwareUpdatesPage.cs:244-254 \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/UniGetUI.Avalonia/Views/SoftwarePages/DiscoverSoftwarePage.cs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"7652ec1dfa8bb602d41865922418ea7b311c3e75a8e192e4fbf7563d6e49e3af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/UniGetUI.Avalonia/ViewModels/Pages/LogPages/UniGetUILogPageViewModel.cs:73-81 | src/UniGetUI.Interface.IpcApi/IpcLogsApi.cs:174-181 \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/UniGetUI.Avalonia/ViewModels/Pages/LogPages/UniGetUILogPageViewModel.cs:73\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/UniGetUI.Avalonia/ViewModels/Pages/LogPages/UniGetUILogPageViewModel.cs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6d189c02f19304256b9b590b8f5e8bd82ecc494445c84dc91b0847bdf7e9da6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/UniGetUI.Avalonia/Views/Controls/Settings/CheckboxCard.cs:162-169 | src/UniGetUI.Avalonia/Views/Controls/Settings/CheckboxCard.cs:248-256 \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/UniGetUI.Avalonia/Views/Controls/Settings/CheckboxCard.cs:162\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/UniGetUI.Avalonia/Views/Controls/Settings/CheckboxCard.cs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"b708d78ee699ff45c41ab3b605ed20c936fc287a3186fca8c068e018165449e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/UniGetUI.Avalonia/Views/SoftwarePages/PackageBundlesPage.cs:174-181 | src/UniGetUI.Avalonia/Views/SoftwarePages/SoftwareUpdatesPage.cs:257-264 \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. 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/UniGetUI.Avalonia/Views/SoftwarePages/PackageBundlesPage.cs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"e007b7973822137a368fa1fb22cbc786b717457d5560b37857025c816aa81cb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): src/UniGetUI.PackageEngine.Managers.Homebrew/Homebrew.cs:145-151 | src/UniGetUI.PackageEngine.Managers.Apt/Apt.cs:100-117 | src/UniGetUI.PackageEngine.Managers.Dnf/Dnf.cs:108-125 | src/UniGetUI.PackageEngine.Managers.Flatpak/Flatpak.cs:105-122 | src/UniGetUI.PackageEngine.Managers.Pacman/Pacman.cs:101-118 | src/UniGetUI.PackageEngine.Managers.Snap/Snap.cs:104-121 \u2014 before extracting anything, compare \u0060src/UniGetUI.PackageEngine.Managers.Flatpak/Flatpak.cs\u0060 and \u0060src/UniGetUI.PackageEngine.Managers.Snap/Snap.cs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 98 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/UniGetUI.PackageEngine.Managers.Homebrew/Homebrew.cs:145\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/UniGetUI.PackageEngine.Managers.Homebrew/Homebrew.cs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"df8e703ae3c9fb68822ffe703ecc1964be959999c8bd78555a54888221d32844"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/UniGetUI.Avalonia/ViewModels/Pages/SettingsPages/InstallOptionsPanelViewModel.cs:263-269 | src/UniGetUI.Avalonia/ViewModels/Pages/SettingsPages/PackageManagerViewModel.cs:182-188 \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/UniGetUI.Avalonia/ViewModels/Pages/SettingsPages/InstallOptionsPanelViewModel.cs:263\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. 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/UniGetUI.Avalonia/ViewModels/Pages/SettingsPages/InstallOptionsPanelViewModel.cs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a15f374653f78e46236a5cc78da529c97114cba10df8b196a5ff962b0e01c31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/UniGetUI.PackageEngine.Managers.Apt/Helpers/AptPkgDetailsHelper.cs:111-117 | src/UniGetUI.PackageEngine.Managers.Snap/Helpers/SnapPkgDetailsHelper.cs:110-116 \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/UniGetUI.PackageEngine.Managers.Apt/Helpers/AptPkgDetailsHelper.cs:111\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/UniGetUI.PackageEngine.Managers.Apt/Helpers/AptPkgDetailsHelper.cs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"98186bf4b637db4b8cec3cff30dc1ca23802a3a5e1e6753a724e1a7ec2db5646"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/UniGetUI.Avalonia/Views/MainWindow.axaml.cs:853-858 | src/UniGetUI.Avalonia/Views/MainWindow.axaml.cs:861-866 \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/UniGetUI.Avalonia/Views/MainWindow.axaml.cs:853\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/UniGetUI.Avalonia/Views/MainWindow.axaml.cs"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"8916ec0e92b20eded1b5477b18f8d16e595e0e74718185eb65792d1e2669be8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/UniGetUI.Avalonia/Views/SoftwarePages/InstalledPackagesPage.cs:385-390 | src/UniGetUI.Avalonia/Views/SoftwarePages/SoftwareUpdatesPage.cs:369-374 \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/UniGetUI.Avalonia/Views/SoftwarePages/InstalledPackagesPage.cs:385\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/UniGetUI.Avalonia/Views/SoftwarePages/InstalledPackagesPage.cs"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"566bc89d5b2e484c2211872e53707aeec6bf52e403230dee01ba659fca896309"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/UniGetUI.Avalonia/Infrastructure/AvaloniaPackageOperationHelper.cs:54-59 | src/UniGetUI.Avalonia/Infrastructure/AvaloniaPackageOperationHelper.cs:72-77 \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/UniGetUI.Avalonia/Infrastructure/AvaloniaPackageOperationHelper.cs:54\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/UniGetUI.Avalonia/Infrastructure/AvaloniaPackageOperationHelper.cs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"319947050867b33c49dbbaeb5e44e2a42eac4081f1b5621a43939af79d81819a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/UniGetUI.PackageEngine.Managers.PowerShell/Helpers/PowerShellSourceHelper.cs:122-127 | src/UniGetUI.PackageEngine.Managers.PowerShell7/Helpers/PowerShell7SourceHelper.cs:129-134 \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/UniGetUI.PackageEngine.Managers.PowerShell/Helpers/PowerShellSourceHelper.cs:122\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. 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/UniGetUI.PackageEngine.Managers.PowerShell/Helpers/PowerShellSourceHelper.cs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"b86ba2f5a78c7ea4ceddd76c9ae8bf33c2aafc0a6fe390c1d56eacd659fb5cf5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/UniGetUI.PackageEngine.Managers.WinGet/ClientHelpers/WinGetCliHelper.cs:179-184 | src/UniGetUI.PackageEngine.Managers.WinGet/ClientHelpers/WinGetCliHelper.cs:313-318 \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/UniGetUI.PackageEngine.Managers.WinGet/ClientHelpers/WinGetCliHelper.cs:179\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. 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/UniGetUI.PackageEngine.Managers.WinGet/ClientHelpers/WinGetCliHelper.cs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"e36b7664c7410da50d50ac285d2a2b67482cf46f75e012ac8d6f441d45b13e76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/UniGetUI.PackageEngine.Managers.Homebrew/Helpers/HomebrewSourceHelper.cs:63-67 | src/UniGetUI.PackageEngine.Managers.Flatpak/Helpers/FlatpakSourceHelper.cs:65-69 \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/UniGetUI.PackageEngine.Managers.Homebrew/Helpers/HomebrewSourceHelper.cs:63\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. 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/UniGetUI.PackageEngine.Managers.Homebrew/Helpers/HomebrewSourceHelper.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"841f571e6a5ff48464e329a60b6690bac22d84cb62611bda0a89215c2fbcdf9e"}},{"ruleId":"D5","level":"error","message":{"text":"Layer violation: Domain \u2192 Infrastructure: UniGetUI.Core.IconEngine (Domain) references UniGetUI.Core.Data (Infrastructure) \u2014 dependencies must point inward (Web \u2192 Application \u2192 Domain; Infrastructure implements inner interfaces, nothing depends outward on it)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"20b54b53ed2476f9c0fda24d82e4fa0055c2d6e09e0d617e1a69b342308b1ee1"}},{"ruleId":"D5","level":"error","message":{"text":"Layer violation: Domain \u2192 Infrastructure: UniGetUI.Core.LanguageEngine (Domain) references UniGetUI.Core.Data (Infrastructure) \u2014 dependencies must point inward (Web \u2192 Application \u2192 Domain; Infrastructure implements inner interfaces, nothing depends outward on it)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f33d0804aad20e4a7efee9a8254fcf7c8d47242b2fe75cc180fd87e3769f3c76"}},{"ruleId":"D5","level":"error","message":{"text":"Layer violation: Domain \u2192 Infrastructure: UniGetUI.Core.SecureSettings (Domain) references UniGetUI.Core.Data (Infrastructure) \u2014 dependencies must point inward (Web \u2192 Application \u2192 Domain; Infrastructure implements inner interfaces, nothing depends outward on it)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"2db261ad2486fb1edfa72efdff1eb0a73e362d28f6ae995925132b44124cdf3e"}},{"ruleId":"D5","level":"error","message":{"text":"Layer violation: Domain \u2192 Infrastructure: UniGetUI.Core.Settings (Domain) references UniGetUI.Core.Data (Infrastructure) \u2014 dependencies must point inward (Web \u2192 Application \u2192 Domain; Infrastructure implements inner interfaces, nothing depends outward on it)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3b40fd088052fa79c6662b6bf448ec05ed046c7b046b90e9b84ec9ec23af7f2b"}},{"ruleId":"D5","level":"error","message":{"text":"Layer violation: Domain \u2192 Infrastructure: UniGetUI.Core.Tools (Domain) references UniGetUI.Core.Data (Infrastructure) \u2014 dependencies must point inward (Web \u2192 Application \u2192 Domain; Infrastructure implements inner interfaces, nothing depends outward on it)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c9a7f44cf423c00926e5f87d4fc7e9639747e8659b35184e7118c6ea421b674d"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: UniGetUI.Core.Logging(net10.0): UniGetUI.Core.Logging(net10.0): abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 31 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8345ff813a9298f19726f4f5c6abe4fa7c0fea6557f7d3603d7e5953ff9a97b2"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: UniGetUI.Interface.Enums(net10.0): UniGetUI.Interface.Enums(net10.0): abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 23 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d2df19c1b98221573a1a6b2a167f7898eda7ad81c8f49495f4dcbc0d9426d339"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: UniGetUI.PackageEngine.Structs(net10.0): UniGetUI.PackageEngine.Structs(net10.0): abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 28 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"baa33000639c7b99729f2bb47f42db96b76ed5274b2221b91d7cf1a9ecceb09d"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: UniGetUI.Core.Data(net10.0): UniGetUI.Core.Data(net10.0): abstractness 0.00, instability 0.03, distance 0.97 \u2014 zone of pain \u2014 concrete and depended on by 29 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"919a89b1b7a55d48fffa74090fdfeca2ae7afec20a6f0d3b5d7b8dfefc28f442"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: UniGetUI.Core.Settings(net10.0): UniGetUI.Core.Settings(net10.0): abstractness 0.00, instability 0.07, distance 0.93 \u2014 zone of pain \u2014 concrete and depended on by 28 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"aa34fdb36a4fd3c0249ec9332cd6369d0d71c84d2567abc57d7a7a5603ef036a"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: UniGetUI.Core.LanguageEngine(net10.0): UniGetUI.Core.LanguageEngine(net10.0): abstractness 0.00, instability 0.16, distance 0.84 \u2014 zone of pain \u2014 concrete and depended on by 27 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7107e37af307a845d03105369a6260ca2abced27b5f077ef4e1002208e78b597"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: UniGetUI.Core.Tools(net10.0): UniGetUI.Core.Tools(net10.0): abstractness 0.00, instability 0.19, distance 0.81 \u2014 zone of pain \u2014 concrete and depended on by 26 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"72319432938dc7408c9cf26a87b01e5744cdf7556adc6058c10a083f67aff6b9"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: UniGetUI.Core.Classes(net10.0): UniGetUI.Core.Classes(net10.0): abstractness 0.17, instability 0.03, distance 0.80 \u2014 zone of pain \u2014 concrete and depended on by 28 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"2ea3327c5fa463084e675acefd29b60afab76d9c1d151837fd109eaf441cb69c"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: UniGetUI.Core.IconEngine(net10.0): UniGetUI.Core.IconEngine(net10.0): abstractness 0.00, instability 0.23, distance 0.77 \u2014 zone of pain \u2014 concrete and depended on by 23 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5bb4473ffbcc2cd95e8606ac916ab2bac51649d483b60d075d24183fec460e1e"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: UniGetUI.Core.SecureSettings(net10.0): UniGetUI.Core.SecureSettings(net10.0): abstractness 0.00, instability 0.26, distance 0.74 \u2014 zone of pain \u2014 concrete and depended on by 20 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5418040871c904ef3692de5ab29f12a861d5f70dcd58d21d2ffdf82f6b5eaf75"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: ExternalLibraries.WindowsPackageManager.Interop: ExternalLibraries.WindowsPackageManager.Interop: abstractness 0.27, instability 0.00, distance 0.73 \u2014 zone of pain \u2014 concrete and depended on by 5 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6cce023a6adb08567b51c3c916200f98281f7af0243f3ac3744df481c2a5079f"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MainWindow (LCOM4 10): MainWindow\u0027s methods form 10 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/UniGetUI.Avalonia/Views/MainWindow.axaml.cs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec98c2e4d3f891c6f589d7ce6db870e480d22c18062fb0c81c3d39b99305253b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ObservablePackageCollection (LCOM4 5): ObservablePackageCollection\u0027s methods form 5 groups that share no state and don\u0027t call each other \u2014 a sign it may have several responsibilities. Review whether it splits into focused classes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UniGetUI.Avalonia/Models/PackageCollections.cs"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b484e7b00e89be951025e0ba80cf6295c98a698b3ec8792e9d65e3156cfcc38"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: HelpPage (LCOM4 4): HelpPage\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/UniGetUI.Avalonia/Views/Pages/HelpPage.axaml.cs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"71286e4a01a00d8dc751d8485050a594af6bda8fed7c7f6cfe3cf1d45dc88ea4"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AbstractPackagesPage (LCOM4 4): AbstractPackagesPage\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/UniGetUI.Avalonia/Views/SoftwarePages/AbstractPackagesPage.axaml.cs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea21e5053222423a3eb9e44d20a88bfdb3d91f4d10af262bbb7ed45c52da5776"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WinGet (LCOM4 4): WinGet\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/UniGetUI.PackageEngine.Managers.WinGet/WinGet.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"740124651031ffaf3f9e64c843f59f558575a40d450160ab9e1d16f254a913de"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/UniGetUI.Avalonia/Views/MainWindow.axaml.cs: src/UniGetUI.Avalonia/Views/MainWindow.axaml.cs changed 39 times in last 90 days, max complexity 39. 14 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, cover the area it touches with tests, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UniGetUI.Avalonia/Views/MainWindow.axaml.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"41b2c61de9ca8f12f0aa68c2afdf3b4946231a03ba968b60827909d80f4f3593"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/UniGetUI.PackageEngine.Managers.WinGet/Helpers/WinGetPkgOperationHelper.cs: src/UniGetUI.PackageEngine.Managers.WinGet/Helpers/WinGetPkgOperationHelper.cs changed 10 times in last 90 days, max complexity 48. 4 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, cover the area it touches with tests, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UniGetUI.PackageEngine.Managers.WinGet/Helpers/WinGetPkgOperationHelper.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61f4a899bbc4c23e330114a00794b271f6d37492479db53eb23b02cfc13707d3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/UniGetUI.Avalonia/Views/SoftwarePages/AbstractPackagesPage.axaml.cs: src/UniGetUI.Avalonia/Views/SoftwarePages/AbstractPackagesPage.axaml.cs changed 16 times in last 90 days, max complexity 22. 5 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, cover the area it touches with tests, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UniGetUI.Avalonia/Views/SoftwarePages/AbstractPackagesPage.axaml.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a77da33c9a3c702e0f762dc0bc67a385faba44fbd14cef9534f2d5fc71f8b551"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/UniGetUI.Avalonia/ViewModels/SoftwarePages/PackagesPageViewModel.cs: src/UniGetUI.Avalonia/ViewModels/SoftwarePages/PackagesPageViewModel.cs changed 10 times in last 90 days, max complexity 25. 3 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, cover the area it touches with tests, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UniGetUI.Avalonia/ViewModels/SoftwarePages/PackagesPageViewModel.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a25adf542bda5bb6af12159fc1aa9a039fafcb15831355ec1b419f5da0435c7a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/UniGetUI.Avalonia/Views/Pages/SettingsPages/PackageManagerPage.axaml.cs: src/UniGetUI.Avalonia/Views/Pages/SettingsPages/PackageManagerPage.axaml.cs changed 8 times in last 90 days, max complexity 27. 2 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, cover the area it touches with tests, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UniGetUI.Avalonia/Views/Pages/SettingsPages/PackageManagerPage.axaml.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"60f305614f5a7f027919ba927d2ec3c052b3cd4334d389aae3d0343b88cc706c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/UniGetUI.Avalonia/ViewModels/DialogPages/InstallOptionsViewModel.cs: src/UniGetUI.Avalonia/ViewModels/DialogPages/InstallOptionsViewModel.cs changed 10 times in last 90 days, max complexity 17. 2 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, cover the area it touches with tests, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UniGetUI.Avalonia/ViewModels/DialogPages/InstallOptionsViewModel.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"054bfa5548511bec4a94561527c02fcbfe6bd23c43eb20d6d11e619bc2a85b2d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/UniGetUI.Interface.IpcApi/IpcCliCommandRunner.cs: src/UniGetUI.Interface.IpcApi/IpcCliCommandRunner.cs changed 2 times in last 90 days, max complexity 85. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, behind tests written first."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UniGetUI.Interface.IpcApi/IpcCliCommandRunner.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f2012f6602014004ea3d425565fcb9e81c87595033d5e88aca547151dd10e98"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/UniGetUI.Avalonia/Infrastructure/AvaloniaAutoUpdater.cs: src/UniGetUI.Avalonia/Infrastructure/AvaloniaAutoUpdater.cs changed 8 times in last 90 days, max complexity 19. 1 of those changes was a fix/bug commit, so the churn is repair rather than feature work. Before the next change lands here, cover the area it touches with tests, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UniGetUI.Avalonia/Infrastructure/AvaloniaAutoUpdater.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"10653b3a6d17e8d4b3f4b868c71bd94d12c834ef58ab69d7620016b2387ec994"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/UniGetUI.Core.Tools/Tools.cs: src/UniGetUI.Core.Tools/Tools.cs changed 8 times in last 90 days, max complexity 18. 3 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, cover the area it touches with tests, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UniGetUI.Core.Tools/Tools.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9023f571e124095fecc7a74255e54c52d05710b0575bc3a314d1b6377cb1cbf5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/UniGetUI.PackageEngine.Managers.WinGet/WinGet.cs: src/UniGetUI.PackageEngine.Managers.WinGet/WinGet.cs changed 8 times in last 90 days, max complexity 17. 3 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, cover the area it touches with tests, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UniGetUI.PackageEngine.Managers.WinGet/WinGet.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"375d8315157dc2f74b505fc18786c0c2c8e245ae3ab6ba78ca682a9ae71a5a4d"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 36 significant file(s) lose their only recent owner: src/UniGetUI.Avalonia/ViewModels/MainWindowViewModel.cs, src/UniGetUI.Avalonia/Views/SoftwarePages/PackageBundlesPage.cs, src/UniGetUI.Avalonia/Views/SoftwarePages/SoftwareUpdatesPage.cs, src/UniGetUI.PackageEngine.Managers.WinGet/ClientHelpers/WinGetCliHelper.cs, src/UniGetUI.Avalonia/Views/DialogPages/PackageDetailsWindow.axaml.cs, src/UniGetUI.Avalonia/Views/SoftwarePages/InstalledPackagesPage.cs, src/UniGetUI.Avalonia/ViewModels/DialogPages/PackageDetailsViewModel.cs, src/UniGetUI.Avalonia/ViewModels/DialogPages/OperationViewModel.cs (\u002B28 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"923238b570b2cac0a29ee281ae47b029cb67e25ab5bd7f94e735eef6a04656f9"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 4 significant file(s) lose their only recent owner: src/UniGetUI.Core.Tools/UpdaterDownloadEngine.cs, src/UniGetUI.Interface.IpcApi/IpcBackupApi.cs, src/UniGetUI.Avalonia/Infrastructure/Win32ToastNotifier.cs, src/UniGetUI.Avalonia/Infrastructure/AppRestartHelper.cs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ed062777e6a6a7d896095d0075535eb5d24ba91039f81bc01dcec5635743209c"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 1 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (42 single-owned of 221 analysed files in total, counted over production source files of roughly 100 lines or more, excluding tests, vendored, generated and example/demo trees, largest first). They are anonymized user #3 (2 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable repeated 11 times in 4 files: The identical BarePragmaDisable (\u0060#pragma warning disable CA1416\u0060) appears 11 times in 4 files \u2014 one decision applied repeatedly (e.g. the same rule silenced on every overload of a fluent API), not 11 independent debts. Decide it once \u2014 at the type or project level, or by fixing the underlying pattern \u2014 rather than occurrence-by-occurrence. (Every occurrence still counts toward the score and metrics.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ExternalLibraries.FilePickers/Classes/Helper.cs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"4374b15f29e71082cb25c56f457a0b3917bcbfd1466143c13c14b85c21172186"}},{"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/UniGetUI.Avalonia/CrashHandler.cs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8fcb2540a90d2f5f7bf64913f331efaedc6edaac9719233192c2463c154c3c2"}},{"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/UniGetUI.Avalonia/CrashHandler.cs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"887c0f4a49ea6281b634f8b21ebde294f5fa6c7f81ef686d9bac3331294c853a"}},{"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/UniGetUI.Avalonia/Infrastructure/AvaloniaAutoUpdater.cs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ff05572a564bd5ce9342d4e63a5ce5e3b9f975641c5398615a30b9d6eb15321"}},{"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/UniGetUI.Avalonia/Infrastructure/AvaloniaAutoUpdater.cs"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"1969b21426b022b41aabe95d425ddb0fd14e9f8fa0275e506b32aff9755a5a0e"}},{"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/UniGetUI.Avalonia/Program.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"54e6bf94f2cb55fb58834f65092a3e6e8876d4aa32cc08c1ebbd541a27463d4c"}},{"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/UniGetUI.Avalonia/ViewModels/DialogPages/OperationViewModel.cs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"efa1306ab88982546e65d09f0f6aab856da68c7b1c83e33978163035dc343586"}},{"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/UniGetUI.Avalonia/ViewModels/DialogPages/PackageDetailsViewModel.cs"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"936d9c7c2249563b9f46833cbcf48766bad5309f6db72d1b8681bdf4176643af"}},{"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/UniGetUI.Avalonia/ViewModels/DialogPages/PackageDetailsViewModel.cs"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e07d27705b16c43083b37b4be2be7e6880158fdbc91e47ca009b3f914707cfd"}},{"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/UniGetUI.Avalonia/ViewModels/Pages/AboutPages/ContributorsViewModel.cs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2aba73f8dfea3afab63a604c49ce8c512746a07c928ab48fdc34b1bff3340f0"}},{"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/UniGetUI.Avalonia/ViewModels/Pages/AboutPages/TranslatorsViewModel.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"37ac8ce1aaf8c63d5ad3c1f27fed6fc2dd57779916620397f34ad4c0217cc525"}},{"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/UniGetUI.Avalonia/Views/MainWindow.axaml.cs"},"region":{"startLine":1084}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e477fad9bc9f84ad90600f3e3a7d1e910e3fda763070817c882ef755fc1cff5"}},{"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/UniGetUI.Core.Logger/Logger.cs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4f8a2ccd04ed43b41deb966ac372dc869b39280ba58e94eec76f39777983185"}},{"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/UniGetUI.PackageEngine.Managers.Pip/Pip.cs"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"b360909d7e4b9f8817cdb2cadd618c0e7e016a4f537e62e92d8366c8d31e6a8a"}},{"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/UniGetUI.PackageEngine.Managers.WinGet/ClientHelpers/NativeWinGetHelper.cs"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"847e909c921f322e34d98806ca98e650cee4568e806ac0217aa6c9603e2a354f"}},{"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/UniGetUI.PackageEngine.Managers.WinGet/ClientHelpers/NativeWinGetHelper.cs"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b3652042119d9432bfa0d404e807ab0022a386a1cbcc51931acc4834fa543b4"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable SYSLIB0057 \u2014 the disable has no matching restore, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later. Close it with the matching restore directive immediately after the construct it covers, or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UniGetUI.Avalonia/Infrastructure/AvaloniaAutoUpdater.cs"},"region":{"startLine":1327}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d7de3f1a31eb55391abb603118a741cdff835ea6957df3c3e2b28d56dfb3a16"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable CA1852 \u2014 the disable has no matching restore, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later. Close it with the matching restore directive immediately after the construct it covers, or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UniGetUI.Core.Classes.Tests/SortableObservableCollectionTests.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8257fac6dbb202c036d705abadaeac0bc831f0fc8568cba28fdfcbc26a7e619b"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable CA2201 \u2014 the disable has no matching restore, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later. Close it with the matching restore directive immediately after the construct it covers, or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UniGetUI.Core.Logging.Tests/LoggerTests.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"816df020f752cac589f3b844bbeefcd864846449d3b009eb7a60d88876bf4a59"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Replace table parsing with JSON deserialization when bun outdated adds --json flag."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UniGetUI.PackageEngine.Managers.Bun/Bun.cs"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9c84990c9879e4c14c654f9b96e26d34337f770f3d0d2febc4609b2c28d9b45"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: most packages are hosted on Github; see if there\u0027s a way to use the repository \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/UniGetUI.PackageEngine.Managers.Cargo/Helpers/CargoPkgDetailsHelper.cs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"d98217dece29b700cb1b87472dd91e35f156152f83cac698a3c7d6bd2901c1d8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: since each change results in a new commit to the file, you could determine the \u0060UpdateDate\u0060 via figuring out the date of the last commit that changed the file was."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UniGetUI.PackageEngine.Managers.Vcpkg/Helpers/VcpkgPkgDetailsHelper.cs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"e32ddda547e597b4205edc072e15f12b5b67278fb14b1a6f779eb723c8b0c101"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: the \u0022features\u0022 and \u0022dependencies\u0022 keys could also be good candidates for tags, however their type specifications are all over -"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UniGetUI.PackageEngine.Managers.Vcpkg/Helpers/VcpkgPkgDetailsHelper.cs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"54039b90468d4e8b0cd7bf5c43e54628b09b3cb8e1a53909b9a495f219df2125"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Perhaps use --x-json when it is fixed \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/UniGetUI.PackageEngine.Managers.Vcpkg/Vcpkg.cs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"95c8c41d900031f27b1e9e6dfc2c2479db2a45adba2e337331f07662393c6980"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Once --x-json is stable migrate to --x-json \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/UniGetUI.PackageEngine.Managers.Vcpkg/Vcpkg.cs"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2b68fa321a9a38aa232ff36e7629cf6b219fb77dc7ffa4fec570aa007c886f1"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable SYSLIB0014 \u2014 the disable has no matching restore, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later. Close it with the matching restore directive immediately after the construct it covers, or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UniGetUI.PackageEngine.Managers.WinGet/ClientHelpers/WinGetIconsHelper.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"987f63051306c503912934705e5828ac0822b3c58da3730e4d724dce6cbd154a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Restart required to finish installation \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/UniGetUI.PackageEngine.Managers.WinGet/Helpers/WinGetPkgOperationHelper.cs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"19d8b364068f5b47544d54429a7325a586aa4313dd1a26411d97d5272a028c9f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Integrity failed \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/UniGetUI.PackageEngine.Managers.WinGet/Helpers/WinGetPkgOperationHelper.cs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef66f200477e6aebbf692fbd6e5aaf0371b0477c665fbf9345a45759020f4943"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: MVVMTK0045 \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/UniGetUI.Avalonia/UniGetUI.Avalonia.csproj"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"01cd609fa1044fe8dbd0ac21079744ce5daef70aad3efe9668aad06e401879d2"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: AVLN3001 \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/UniGetUI.Avalonia/UniGetUI.Avalonia.csproj"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"803bcf0790262f259f171cc2b23f359b17b6bc554f2d996c1df3da05255820f7"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: EnableGenerateDocumentationFile \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/Directory.Build.props"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bfaeed98051325855d924ee10f99437c9643d2b5db4e11e939ef9af9aff9628"}},{"ruleId":"D18","level":"warning","message":{"text":"Monorepo: only 1 of 2 solutions was scored: This repository contains 2 .NET solutions, but a scan analyzes ONE. Every score, lens, and finding here reflects only \u0060src/UniGetUI.Windows.slnx\u0060 \u2014 the other 1 (\u0060InstallerExtras/MsiCreator/MsiInstallerWrapper.sln\u0060) were not analyzed and are not represented in the headline. To cover them, scan each solution as its own target and group them in a Solution or Product for a portfolio roll-up. If a secondary solution is an archived or vendored tree, declare it \u2014 \u0060.gitattributes\u0060 (\u0060path/** linguist-vendored\u0060) or \u0060.editorconfig\u0060 (\u0060[path/**] generated_code = true\u0060) \u2014 to exclude it from discovery the same way generated code is."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a714c749a7ed0270f25ef54f0d77846abefb01ce5214d0fe8c64e4324d302faf"}},{"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 60k LoC across 86 projects the codebase is both large and multi-module, so its structure warrants explicit bounded-context boundaries. 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 UniGetUI.Avalonia: A large Avalonia UI project that is spread over 22 unrelated namespaces is a sprawling grab-bag. Suggested: by namespace: Split the Avalonia UI into focused view/controls, layout, and animation projects."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7b2b0c46bf283ce85217a0945d6393e8f006ac439e9dc93b17f4c42a290f828e"}},{"ruleId":"D28","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":"b191775b7e775b8a8fcba9ecaf7c90f83dd577ce1984d49537e571a76b8fd553"}},{"ruleId":"D28","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":"343f448d9a09e1ee0c22a7ab4d955e166f96dfe5e7e37f0bc30f2a7a4c37fb32"}},{"ruleId":"D28","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":"72e09db28ea48a46129cb594d8b3479e35f1a82643a51016de844e3b9a11f666"}},{"ruleId":"D28","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":"411fe91cad3b7bf30146ae78da2ece11332ae16bae3f2e996f9099f33c8368b6"}},{"ruleId":"D28","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":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"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":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"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":"2320d2375660bbb2a8e6b7db90ae19cf209ae3b3d5200ae54eb3212eadd00b72"},"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":"65dbea3b07c6486793e0be84599431d8066edf73d461c502aac2bec6fb8984eb"},"taxa":[{"id":"CWE-78","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":"f609a07765813bf0fc90a4b512a1a12706508832cbf68f0fd1b695fc6ae7da71"},"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":"c90c89e9089764b6f30ac6b34017b78743b3011084a272c4066154b8a0f74b26"},"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":"3ad9fed726fe73b3a89564129af2a9bef5a418c4ba0f6e302bd2e010b7cb5204"},"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":"2b9f59a1ca34cc8026d7731c0eed09c60a2c5fb6b6d525c65cf75b1813046dfc"},"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":"5e10234c9c82e63c12a9bcd3c3c1745a1090854cf3cc378a4c240db265076ca8"},"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":"318572f6b20216833ff440c58077e2a77949ca2126f0b26f1b32891100b3cbb1"},"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":"9b92d81550955a8c3c5a71bf0668df09eafecbd2a58c771af8cd8520311b6a4f"},"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":"0f89492df507fd850cd57422ccb4aa201be5fb4b108ab4bd3dbb24e4e01088a6"},"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":"d1e0807cad34d7f9ea6ad444d1e8f21de79d448f216508868e055055c22ccf24"},"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":"47ccb5ca2de964031cbbbc559d646af0eb8af8c01874046001ca158470e4a521"},"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":"54250df78247c7c67db3d725e8416de48d0adcc5e82c974b32887294df8b05db"},"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":"a7da627b4d42247bd6cb6056ad9951947721d574f48230c4448de4573fdf266c"},"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":"e9f707998464023114168eccb962487c41f479362316805b9773487ff0fb9d62"},"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":"0bafdf6ac941c9a18edc30b98130105f6ca534433921fa9629e01d626b068de8"},"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":"bddbca9c804db274cab60d4e7683499ab56a35eafecf2d57c041bec73838e45c"},"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":"8245ecffab7fc3a27c0a2ba18983e425d52a371f08b0a870dc4705a6f646e964"},"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":"4d62ca29dcb9c846267936068dbc3043531ebf7b901d69562fd500fda4b4c5ee"},"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":"f0747d84bcaec22312214c7dec4c2b8359fa6b9a6890acc471ae17021c645970"},"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":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 2 of 221 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/ExternalLibraries.Clipboard/WindowsClipboard.cs, src/UniGetUI.PackageEngine.PackageManagerClasses/Packages/Classes/PackageDetails.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":"D35","level":"warning","message":{"text":"Change coupling: InvalidImportedPackage.cs \u2194 Package.cs: \u0060src/UniGetUI.PackageEngine.PackageManagerClasses/Packages/InvalidImportedPackage.cs\u0060 and \u0060src/UniGetUI.PackageEngine.PackageManagerClasses/Packages/Package.cs\u0060 change together 71% of the time (22 of the 31 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UniGetUI.PackageEngine.PackageManagerClasses/Packages/InvalidImportedPackage.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa07c10b80d90cf629bc34e7f123245b3c223fdbe4377a59d7f373a4e7fa67b"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling clique: DiscoverSoftwarePage.cs, InstalledPackagesPage.cs, PackageBundlesPage.cs, SoftwareUpdatesPage.cs: 4 files \u2014 \u0060src/UniGetUI.Avalonia/Views/SoftwarePages/DiscoverSoftwarePage.cs\u0060, \u0060src/UniGetUI.Avalonia/Views/SoftwarePages/InstalledPackagesPage.cs\u0060, \u0060src/UniGetUI.Avalonia/Views/SoftwarePages/PackageBundlesPage.cs\u0060, \u0060src/UniGetUI.Avalonia/Views/SoftwarePages/SoftwareUpdatesPage.cs\u0060 \u2014 all change together with no explicit dependency: a fully-connected co-change clique, not 6 separate couplings. They share one concern (thin parallel siblings over a common abstraction), so extract the shared part into ONE unit and the whole clique\u0027s coupling clears at once \u2014 you do not need to break each pair individually."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UniGetUI.Avalonia/Views/SoftwarePages/DiscoverSoftwarePage.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e51b1bd8df2e7968747cd990293cc3ba06a2f13783eec6b816c0c5beda0ae81"}},{"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":"0752d0df7434000fcabf1048e2de30a7a1a8b982b3db9a19898c4dec199856b4"}},{"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":"d657599f6f99da1927d3377533dfc0888b34c4d84aa7d5579841fd72d0e39bce"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-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-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-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-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-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":31,"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."]}]}