{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"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":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"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":"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"]}}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"ContentPageContextFlyoutFactory.GetBaseItemMenuItems (cyclomatic 71): ContentPageContextFlyoutFactory.GetBaseItemMenuItems has cyclomatic complexity 71 (threshold 15). Of this number, 56 points are the body\u0027s own statements and 15 belong to 4 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/Files.App/Data/Factories/ContentPageContextFlyoutFactory.cs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"29a1e9a8537a60f0e48a0dbb00ee88b1082ba83d5dc87d3a9fc665cf4a947428"}},{"ruleId":"D1","level":"warning","message":{"text":"FolderSearch.SearchWithWin32Async (cyclomatic 45): FolderSearch.SearchWithWin32Async has cyclomatic complexity 45 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 27 belong to 4 function literals inside it that branch. 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/Files.App/Utils/Storage/Search/FolderSearch.cs"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ee44f67e154e92109055b7744016106c0c4fe37e22d46b1cc56bd34b49024ad"}},{"ruleId":"D1","level":"warning","message":{"text":"MainWindow.InitializeApplicationAsync (cyclomatic 43): MainWindow.InitializeApplicationAsync has cyclomatic complexity 43 (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/Files.App/MainWindow.xaml.cs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1738840c02a6548bc815e6274dac729279e1603777515a08f261c21595cdf6b"}},{"ruleId":"D1","level":"warning","message":{"text":"ShellViewModel.LoadExtendedItemPropertiesAsync (cyclomatic 43): ShellViewModel.LoadExtendedItemPropertiesAsync has cyclomatic complexity 43 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 10 belong to 2 function literals inside it that branch. 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/Files.App/ViewModels/ShellViewModel.cs"},"region":{"startLine":1350}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeee65669b992ed4cdf47344c685494fa1a05e302e55d3b7314a78534ad3437a"}},{"ruleId":"D1","level":"warning","message":{"text":"StatusCenterHelper.UpdateCardStrings (cyclomatic 42): StatusCenterHelper.UpdateCardStrings has cyclomatic complexity 42 (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/Files.App/Utils/StatusCenter/StatusCenterHelper.cs"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"25f3dce265d03a0cc203ff7bb1f780ed37c1ddcbd96facc2cd02daedb771d797"}},{"ruleId":"D1","level":"warning","message":{"text":"ShellViewModel.EnumerateItemsFromStandardFolderAsync (cyclomatic 41): ShellViewModel.EnumerateItemsFromStandardFolderAsync has cyclomatic complexity 41 (threshold 15). Of this number, 40 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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/Files.App/ViewModels/ShellViewModel.cs"},"region":{"startLine":1877}}}],"partialFingerprints":{"codehealthFindingId/v1":"e87864ec578f9d506f86b2a08a5f153dedff0b9a4422e3fededc79ec60e3ac85"}},{"ruleId":"D1","level":"warning","message":{"text":"BaseLayoutPage.AddShellMenuItemsAsync (cyclomatic 41): BaseLayoutPage.AddShellMenuItemsAsync has cyclomatic complexity 41 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 16 belong to 10 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/Files.App/Views/Layouts/BaseLayoutPage.cs"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f03a8fb391af6b1ccc7415d162c06f4f50bd38d934e20dd7b30011046683fb2"}},{"ruleId":"D1","level":"warning","message":{"text":"CloudDrivesDetector.DetectGenericCloudDrive (cyclomatic 39): CloudDrivesDetector.DetectGenericCloudDrive 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/Files.App/Utils/Cloud/CloudDrivesDetector.cs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bfb45bf0ea8162a6ac7cd7535019a28b1e940cbd0bfae4316db82bfe1609958"}},{"ruleId":"D1","level":"warning","message":{"text":"ShellContextFlyoutFactory.LoadShellMenuItemsAsync (cyclomatic 36): ShellContextFlyoutFactory.LoadShellMenuItemsAsync has cyclomatic complexity 36 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 8 belong to 7 function literals inside it that branch. 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/Files.App/Data/Factories/ShellContextFlyoutHelper.cs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e06d8568cc28423baf03a27261b7281042d11f5ee91b9119d1811f9b19bf8da"}},{"ruleId":"D1","level":"warning","message":{"text":"DetailsLayoutPage.FileList_PreviewKeyDown (cyclomatic 34): DetailsLayoutPage.FileList_PreviewKeyDown has cyclomatic complexity 34 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/Views/Layouts/DetailsLayoutPage.xaml.cs"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed360b04c601e0a25fb4dd80c00ab097cde55ba6f5c07f64d968d12e56002d99"}},{"ruleId":"D1","level":"warning","message":{"text":"CssPreviewRenderer.Render (cyclomatic 32): CssPreviewRenderer.Render has cyclomatic complexity 32 (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/Files.App/UserControls/FilePreviews/CssPreviewRenderer.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aacd2f7a4a904da6d04a80bc2b695e85ff02b01e9b0b900fbb18cccac35573e"}},{"ruleId":"D1","level":"warning","message":{"text":"DigitalSignaturesUtil.ParseDERFindType (cyclomatic 32): DigitalSignaturesUtil.ParseDERFindType has cyclomatic complexity 32 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/Utils/Signatures/DigitalSignaturesUtil.cs"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5b79994f51fb72979c640097429ca5817d295ba766d9e99fa06fc33bcf9349a"}},{"ruleId":"D1","level":"warning","message":{"text":"FilesystemOperations.MoveAsync (cyclomatic 32): FilesystemOperations.MoveAsync has cyclomatic complexity 32 (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/Files.App/Utils/Storage/Operations/FilesystemOperations.cs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1a70f0cb475d8ae01f7cf40611c4daa291fbac91f6857c2d2f0081398113553"}},{"ruleId":"D1","level":"warning","message":{"text":"PropertiesNavigationItemsFactory.Initialize (cyclomatic 31): PropertiesNavigationItemsFactory.Initialize has cyclomatic complexity 31 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. 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/Files.App/Data/Factories/PropertiesNavigationItemsFactory.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"8640e403342f6d644567405f4795cff0427fdc90aae1e3a5d6b4b30c0a011e01"}},{"ruleId":"D1","level":"warning","message":{"text":"Program.Main (cyclomatic 31): Program.Main has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/Program.cs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"81043b083e13f6e1e5d6e0898d7111255f5da5859beeba7a1e3046bb3a420459"}},{"ruleId":"D1","level":"warning","message":{"text":"MainPageViewModel.OnNavigatedToAsync (cyclomatic 30): MainPageViewModel.OnNavigatedToAsync has cyclomatic complexity 30 (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/Files.App/ViewModels/MainPageViewModel.cs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc1bd0cdf2981473788d4b30d050de8c74504957ac5b0a6e16a91e44ce2d7e9c"}},{"ruleId":"D1","level":"warning","message":{"text":"ShellViewModel.ProcessOperationQueueAsync (cyclomatic 30): ShellViewModel.ProcessOperationQueueAsync has cyclomatic complexity 30 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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/Files.App/ViewModels/ShellViewModel.cs"},"region":{"startLine":2581}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb17deeffe5f56e1d1e3f7d8a8fcb602095a5136af069e0515dac37c625456a5"}},{"ruleId":"D1","level":"warning","message":{"text":"NavigationToolbarViewModel.HandleItemNavigationAsync (cyclomatic 30): NavigationToolbarViewModel.HandleItemNavigationAsync has cyclomatic complexity 30 (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/Files.App/ViewModels/UserControls/NavigationToolbarViewModel.cs"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"badca5ec440a53011afa131bcd0cb50b6f7c87659bdf62befc4054dd2159ab05"}},{"ruleId":"D1","level":"warning","message":{"text":"FilesystemOperations.CopyAsync (cyclomatic 29): FilesystemOperations.CopyAsync 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/Files.App/Utils/Storage/Operations/FilesystemOperations.cs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a56e3fcb7a78e9c615397514bc220a234d21f871867122691101f79d75f94e9"}},{"ruleId":"D1","level":"warning","message":{"text":"NavigationToolbarViewModel.CheckPathInputAsync (cyclomatic 29): NavigationToolbarViewModel.CheckPathInputAsync 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/Files.App/ViewModels/UserControls/NavigationToolbarViewModel.cs"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"7816344e34f7d2803e21493b6a54d2d0307c22e7a9c7155435f09a29f4db8f1a"}},{"ruleId":"D1","level":"warning","message":{"text":"ContextFlyoutModelToElementHelper.GetCommandBarButton (cyclomatic 28): ContextFlyoutModelToElementHelper.GetCommandBarButton 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/Files.App/Helpers/MenuFlyout/ContextFlyoutModelToElementHelper.cs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5978a7914da820ba0299b8fb22c093fc5df54e56fc180e9b4a22cc5b1edfeee"}},{"ruleId":"D1","level":"warning","message":{"text":"LaunchHelper.HandleApplicationLaunch (cyclomatic 28): LaunchHelper.HandleApplicationLaunch has cyclomatic complexity 28 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 5 belong to 2 function literals inside it that branch. 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/Files.App/Utils/Shell/LaunchHelper.cs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3ace3b45470131722232f7dee1ec90d76854a1b976e2315b231d2f90957c51b"}},{"ruleId":"D1","level":"warning","message":{"text":"ShellFilesystemOperations.CopyItemsAsync (cyclomatic 28): ShellFilesystemOperations.CopyItemsAsync has cyclomatic complexity 28 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 9 belong to 4 function literals inside it that branch. 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/Files.App/Utils/Storage/Operations/ShellFilesystemOperations.cs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e4108aeeeffba4d0bab9a273eb1b8d5b72532be1b582f36afe0b917556d2eab"}},{"ruleId":"D1","level":"warning","message":{"text":"ColumnLayoutPage.FileList_PreviewKeyDown (cyclomatic 28): ColumnLayoutPage.FileList_PreviewKeyDown 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/Files.App/Views/Layouts/ColumnLayoutPage.xaml.cs"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"428bd24e0f9ee1c66a336afa7f0d956268274afef0b7c7b3c6a1433efa0b2ef9"}},{"ruleId":"D1","level":"warning","message":{"text":"UniversalStorageEnumerator.ListEntries (cyclomatic 27): UniversalStorageEnumerator.ListEntries 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/Files.App/Utils/Storage/Enumerators/UniversalStorageEnumerator.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"102bf4015d69ab3e99ad0cef04c30292716fe047b7290108833db7b550607248"}},{"ruleId":"D1","level":"warning","message":{"text":"ShellFilesystemOperations.MoveItemsAsync (cyclomatic 27): ShellFilesystemOperations.MoveItemsAsync has cyclomatic complexity 27 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 8 belong to 5 function literals inside it that branch. 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/Files.App/Utils/Storage/Operations/ShellFilesystemOperations.cs"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1544600c7df6e15a6db73fd6304099f98aa9f5e16d9a1f37f5cc67ae682512c"}},{"ruleId":"D1","level":"warning","message":{"text":"GridLayoutPage.FileList_PreviewKeyDown (cyclomatic 27): GridLayoutPage.FileList_PreviewKeyDown 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/Files.App/Views/Layouts/GridLayoutPage.xaml.cs"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"a62b580f9467e7db282b3b5044e132913cf99d59d1c13406dfb18d64b43f8492"}},{"ruleId":"D1","level":"warning","message":{"text":"NavigationHelpers.OpenFile (cyclomatic 26): NavigationHelpers.OpenFile has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 9 of the 26 points are its own statements and the rest belongs to one function literal inside it that branches (line 671). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/Helpers/Navigation/NavigationHelpers.cs"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ac4c33aaad0d50c2af92db47efb3d3f839122b549a963ff7bffe95fd4b5a54a"}},{"ruleId":"D1","level":"warning","message":{"text":"MainWindow.InitializeFromCmdLineArgsAsync (cyclomatic 26): MainWindow.InitializeFromCmdLineArgsAsync has cyclomatic complexity 26 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. 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/Files.App/MainWindow.xaml.cs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"9af63652364c4c852b176620588e286c74e165558af4cdabc2323d38024f7b33"}},{"ruleId":"D1","level":"warning","message":{"text":"BaseDecompressArchiveAction.DecompressArchiveHereAsync (cyclomatic 25): BaseDecompressArchiveAction.DecompressArchiveHereAsync has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 11 of the 25 points are its own statements and the rest belongs to one function literal inside it that branches (line 94). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/Actions/Content/Archives/Decompress/BaseDecompressArchiveAction.cs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a07bdeab05f64429eba1897edddbd3a16b6afca25a18d9402b26779f143ba1d"}},{"ruleId":"D1","level":"warning","message":{"text":"ShellContextFlyoutFactory.LoadMenuFlyoutItem (cyclomatic 25): ShellContextFlyoutFactory.LoadMenuFlyoutItem has cyclomatic complexity 25 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. 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/Files.App/Data/Factories/ShellContextFlyoutHelper.cs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdb104a07f2f6d2b34edb6d91acef300b5bb9313d9d76407dc3a888214444a1c"}},{"ruleId":"D1","level":"warning","message":{"text":"LayoutPreferencesManager.SetLayoutPreferencesForPath (cyclomatic 25): LayoutPreferencesManager.SetLayoutPreferencesForPath 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/Files.App/Helpers/Layout/LayoutPreferencesManager.cs"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f63b5d058ce1d31f77c420a4ba2f6c9f3f2bde19c5204f82ba676a47acc45f6"}},{"ruleId":"D1","level":"warning","message":{"text":"StatusCenterItem.ReportProgress (cyclomatic 25): StatusCenterItem.ReportProgress 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/Files.App/Utils/StatusCenter/StatusCenterItem.cs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"a98e76bcda5d85fb2dea6b23dbf9e18ecda98fda6b759db8eab7d4921b4e7640"}},{"ruleId":"D1","level":"warning","message":{"text":"ShellFilesystemOperations.DeleteItemsAsync (cyclomatic 25): ShellFilesystemOperations.DeleteItemsAsync has cyclomatic complexity 25 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. 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/Files.App/Utils/Storage/Operations/ShellFilesystemOperations.cs"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"c06a6197201b8e34782a6c7ef99e8d827160545086d125849725ea75cd256e3b"}},{"ruleId":"D1","level":"warning","message":{"text":"BaseLayoutViewModel.DragOverAsync (cyclomatic 25): BaseLayoutViewModel.DragOverAsync has cyclomatic complexity 25 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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/Files.App/ViewModels/Layouts/BaseLayoutViewModel.cs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"e536fee9a5a684d0ae837bff917c0e9994882536ce26e9972302969ac619999f"}},{"ruleId":"D1","level":"warning","message":{"text":"GeneralPage.SaveChangesAsync (cyclomatic 25): GeneralPage.SaveChangesAsync has cyclomatic complexity 25 (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/Files.App/Views/Properties/GeneralPage.xaml.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"65fe9c8481f4e0c82748592e2a7f426e96e4365821d1d8a144ecd81195887fee"}},{"ruleId":"D1","level":"warning","message":{"text":"NavigationHelpers.OpenPath (cyclomatic 24): NavigationHelpers.OpenPath 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/Files.App/Helpers/Navigation/NavigationHelpers.cs"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2cf3bfd48f10eea826848920711f0aa2a648a9e333bcf39c0852dcb5b1ac942"}},{"ruleId":"D1","level":"warning","message":{"text":"Toolbar.CreateToolbarElement (cyclomatic 24): Toolbar.CreateToolbarElement has cyclomatic complexity 24 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. 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/Files.App/UserControls/Toolbar.xaml.cs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f76d33f096f697e65fc2229e523f942f33e3ca8dea33f753d526dd8921f2d3c"}},{"ruleId":"D1","level":"warning","message":{"text":"ShellFolderExtensions.GetShellFileItem (cyclomatic 24): ShellFolderExtensions.GetShellFileItem has cyclomatic complexity 24 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/Utils/Shell/ShellFolderExtensions.cs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a733000170d2dab0f141399c210f0cfb1f891f0a8af58cc0d6164eedc16624b"}},{"ruleId":"D1","level":"warning","message":{"text":"Win32StorageEnumerator.ListEntries (cyclomatic 24): Win32StorageEnumerator.ListEntries 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/Files.App/Utils/Storage/Enumerators/Win32StorageEnumerator.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"a45b7418e82f1988be79a21ca7e71d03d5041d38981a5fdf493c02e1eca039fe"}},{"ruleId":"D1","level":"warning","message":{"text":"SidebarViewModel.HandleLocationItemDragOverAsync (cyclomatic 24): SidebarViewModel.HandleLocationItemDragOverAsync has cyclomatic complexity 24 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. 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/Files.App/ViewModels/UserControls/SidebarViewModel.cs"},"region":{"startLine":1223}}}],"partialFingerprints":{"codehealthFindingId/v1":"b804a587c55d75c29ee0624d8994eb229122b5d267ab13b2e06b656755471684"}},{"ruleId":"D1","level":"warning","message":{"text":"ExpandableSidebarItemBase.ResyncSubfoldersAsync (cyclomatic 23): ExpandableSidebarItemBase.ResyncSubfoldersAsync has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 9 of the 23 points are its own statements and the rest belongs to one function literal inside it that branches (line 231). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/Data/Items/ExpandableSidebarItemBase.cs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"e432b8c2e762da64c3b9e08449ad9454a4b961653f6cf1bafc1ebaedbeb61db5"}},{"ruleId":"D1","level":"warning","message":{"text":"NavigationHelpers.GetSelectedTabInfoAsync (cyclomatic 23): NavigationHelpers.GetSelectedTabInfoAsync has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/Helpers/Navigation/NavigationHelpers.cs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"405903592fc62ec33798ed3f358a75fe444b73c7ec764d69b9a3ed698341cd68"}},{"ruleId":"D1","level":"warning","message":{"text":"Win32Helper.GetIcon (cyclomatic 23): Win32Helper.GetIcon has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/Helpers/Win32/Win32Helper.Storage.cs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a9d3cc95d7bf67162db1d04fb1dfd65a84f755fcf0a5cd579ca87f7f0a5ea10"}},{"ruleId":"D1","level":"warning","message":{"text":"ShellViewModel.LoadThumbnailAsync (cyclomatic 23): ShellViewModel.LoadThumbnailAsync has cyclomatic complexity 23 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 7 belong to 4 function literals inside it that branch. 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/Files.App/ViewModels/ShellViewModel.cs"},"region":{"startLine":1189}}}],"partialFingerprints":{"codehealthFindingId/v1":"459739313c9e1fbae8fdca3b17ee994859c319217635bc69edace26d71b46338"}},{"ruleId":"D1","level":"warning","message":{"text":"InfoPaneViewModel.GetBuiltInPreviewControlAsync (cyclomatic 23): InfoPaneViewModel.GetBuiltInPreviewControlAsync has cyclomatic complexity 23 (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/Files.App/ViewModels/UserControls/InfoPaneViewModel.cs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c9c1e5beb4aad139fdcde429d94a731e5ae2415b7b9a59da3478c05fcd062b7"}},{"ruleId":"D1","level":"warning","message":{"text":"Win32StorageEnumerator.GetFile (cyclomatic 21): Win32StorageEnumerator.GetFile 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/Files.App/Utils/Storage/Enumerators/Win32StorageEnumerator.cs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"642091ab9df4275dab984b833f081a7c70537c49f11207aca011a5ebea63d17e"}},{"ruleId":"D1","level":"warning","message":{"text":"BasePropertiesPage.OnNavigatedTo (cyclomatic 21): BasePropertiesPage.OnNavigatedTo has cyclomatic complexity 21 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 7 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/Files.App/ViewModels/Properties/BasePropertiesPage.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb7855fccab0eca1c8f5672b51bd1af60607ba985b3cd53066e643d9b8278213"}},{"ruleId":"D1","level":"warning","message":{"text":"StorageFileExtensions.ResolvePath (cyclomatic 20): StorageFileExtensions.ResolvePath has cyclomatic complexity 20 (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/Files.App/Utils/Storage/Helpers/StorageFileExtensions.cs"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"06a901b867b040f4a3645ffd192b86536ba70d83deb635a7f52cb53de3af5a7f"}},{"ruleId":"D1","level":"warning","message":{"text":"StorageHistoryOperations.Undo (cyclomatic 20): StorageHistoryOperations.Undo has cyclomatic complexity 20 (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/Files.App/Utils/Storage/History/StorageHistoryOperations.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dbc40456e1223fef430aacf53345214bb05d8057230d17f46d0978ec222b434"}},{"ruleId":"D1","level":"warning","message":{"text":"StorageHistoryOperations.Redo (cyclomatic 20): StorageHistoryOperations.Redo has cyclomatic complexity 20 (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/Files.App/Utils/Storage/History/StorageHistoryOperations.cs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"781a7096d4b1595d55079c99abd6102c00149026d2dabb7c6a34cb2522368374"}},{"ruleId":"D1","level":"warning","message":{"text":"FilesystemHelpers.GetDraggedStorageItems (cyclomatic 20): FilesystemHelpers.GetDraggedStorageItems has cyclomatic complexity 20 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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/Files.App/Utils/Storage/Operations/FilesystemHelpers.cs"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"a084ecf79bed67e770dbd39f8a765b41bbe9fce60bfdcc17b08ddf6a54785987"}},{"ruleId":"D1","level":"warning","message":{"text":"ShellFilesystemOperations.CreateAsync (cyclomatic 20): ShellFilesystemOperations.CreateAsync has cyclomatic complexity 20 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. 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/Files.App/Utils/Storage/Operations/ShellFilesystemOperations.cs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c0c58f9d01e0f4dcd1e62765a288bef6895cedf416519f439f72c6f95c5f2cd"}},{"ruleId":"D1","level":"warning","message":{"text":"ShellFilesystemOperations.RenameAsync (cyclomatic 20): ShellFilesystemOperations.RenameAsync has cyclomatic complexity 20 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. 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/Files.App/Utils/Storage/Operations/ShellFilesystemOperations.cs"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ee3f0b155c401d2a3d5eb64d8192363df0af6ba767c5de9ba8a1864d3cd1884"}},{"ruleId":"D1","level":"warning","message":{"text":"ShellFilesystemOperations.RestoreItemsFromTrashAsync (cyclomatic 20): ShellFilesystemOperations.RestoreItemsFromTrashAsync has cyclomatic complexity 20 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 7 belong to 4 function literals inside it that branch. 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/Files.App/Utils/Storage/Operations/ShellFilesystemOperations.cs"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"1995400a6a7a9888f79f5cadb96f5277d5f32b46e2308a55a388a3d59305b608"}},{"ruleId":"D1","level":"warning","message":{"text":"SidebarViewModel.CreateSectionAsync (cyclomatic 20): SidebarViewModel.CreateSectionAsync has cyclomatic complexity 20 (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/Files.App/ViewModels/UserControls/SidebarViewModel.cs"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"1077e7e4359e91b248aeed656fbbea0ffda802b421a694ac0d29f98b8efa4e0e"}},{"ruleId":"D1","level":"warning","message":{"text":"BaseLayoutPage.FileListItem_PointerEntered (cyclomatic 20): BaseLayoutPage.FileListItem_PointerEntered has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 6 of the 20 points are its own statements and the rest belongs to one function literal inside it that branches (line 1377). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/Views/Layouts/BaseLayoutPage.cs"},"region":{"startLine":1362}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ff41d97828e5dafbc2ae2be0b49132f5f63719a5a54e0ca6686030a875f0c97"}},{"ruleId":"D1","level":"warning","message":{"text":"DetailsLayoutPage.FileList_ItemTapped (cyclomatic 20): DetailsLayoutPage.FileList_ItemTapped has cyclomatic complexity 20 (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/Files.App/Views/Layouts/DetailsLayoutPage.xaml.cs"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f5e5ccf4236ac8767370b675bcecba4ed78a561a6be5c905487529f6b67db86"}},{"ruleId":"D1","level":"warning","message":{"text":"BaseShellPage.FilesystemViewModel_ItemLoadStatusChanged (cyclomatic 20): BaseShellPage.FilesystemViewModel_ItemLoadStatusChanged has cyclomatic complexity 20 (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/Files.App/Views/Shells/BaseShellPage.cs"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"da7ae8cf2628ca2e3f6bc06337bb2b5caac58955bdb702be9d7eaa71bc7fce17"}},{"ruleId":"D1","level":"warning","message":{"text":"RegistrySerializationGenerator.EmitBindValues (cyclomatic 19): RegistrySerializationGenerator.EmitBindValues has cyclomatic complexity 19 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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/Files.Core.SourceGenerator/Generators/RegistrySerializationGenerator.cs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9131fccc90cda9708a64d16ca0886e9c33e77d596b4a4c058616f81e5c6563d"}},{"ruleId":"D1","level":"warning","message":{"text":"RegistrySerializationGenerator.EmitSaveValues (cyclomatic 19): RegistrySerializationGenerator.EmitSaveValues has cyclomatic complexity 19 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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/Files.Core.SourceGenerator/Generators/RegistrySerializationGenerator.cs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f714ffd40de408ff49660f4b594f87cd6d7ce0e41e8a27a81c1bc0b3702bb16"}},{"ruleId":"D1","level":"warning","message":{"text":"WindowsStorableHelpers.TryConvertGpBitmapToByteArray (cyclomatic 19): WindowsStorableHelpers.TryConvertGpBitmapToByteArray has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App.Storage/Windows/Helpers/WindowsStorableHelpers.Icon.cs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e77ff8b213415f95d4fefb7e274f1206ed561f67b2f32850dddf2882793d585"}},{"ruleId":"D1","level":"warning","message":{"text":"StorageHelpers.ToStorageItem (cyclomatic 19): StorageHelpers.ToStorageItem has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/Utils/Storage/Helpers/StorageHelpers.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"9be0aa7762dadb276d89733fcbfe8aa90812d6dfc03308806f506eda5ca201a1"}},{"ruleId":"D1","level":"warning","message":{"text":"FolderSearch.SearchTagsAsync (cyclomatic 19): FolderSearch.SearchTagsAsync has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/Utils/Storage/Search/FolderSearch.cs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b4bde15649e2d6cbd4a7400b0d850694f78979fcbae83a5f34f859de5a0acae"}},{"ruleId":"D1","level":"warning","message":{"text":"BaseLayoutPage.Item_DragOver (cyclomatic 19): BaseLayoutPage.Item_DragOver has cyclomatic complexity 19 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. 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/Files.App/Views/Layouts/BaseLayoutPage.cs"},"region":{"startLine":1109}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc4aa5b3e8f1ccb25c10452bd496ec9a5c04616aa19ebdf9d41151061ef38cd7"}},{"ruleId":"D1","level":"warning","message":{"text":"StorageBar.UpdateColumnWidths (cyclomatic 18): StorageBar.UpdateColumnWidths 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/Files.App.Controls/Storage/StorageBar/StorageBar.cs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca566dd9efbb9ae9cba9242340c39fc65038809fba06b90a01fdae19e4d0270"}},{"ruleId":"D1","level":"warning","message":{"text":"ThemedIcon.OnIconColorTypeChanged (cyclomatic 18): ThemedIcon.OnIconColorTypeChanged has cyclomatic complexity 18 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App.Controls/ThemedIcon/ThemedIcon.cs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcfee3ab6a05ab31b1f262909d096a497cd0f9a19b7ea026e5db005ebed32fe5"}},{"ruleId":"D1","level":"warning","message":{"text":"TransferHelpers.ExecuteTransferAsync (cyclomatic 18): TransferHelpers.ExecuteTransferAsync has cyclomatic complexity 18 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. 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/Files.App/Helpers/TransferHelpers.cs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba445aee318c193feb84429612334418a4d75dccb774efe586eeaa4b9bb6249a"}},{"ruleId":"D1","level":"warning","message":{"text":"SortingHelper.OrderFileList (cyclomatic 18): SortingHelper.OrderFileList 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/Files.App/Utils/Storage/Collection/SortingHelper.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"71aca7f2925af95d9918a293d205fef0fa357ffc102d3bf821f44f07382e4398"}},{"ruleId":"D1","level":"warning","message":{"text":"FilesystemHelpers.DeleteItemsAsync (cyclomatic 18): FilesystemHelpers.DeleteItemsAsync has cyclomatic complexity 18 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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/Files.App/Utils/Storage/Operations/FilesystemHelpers.cs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"fce11edcd00504ff0733bf73ca779c4e7eacbc2becdb003968c765f2c9ba9c0f"}},{"ruleId":"D1","level":"warning","message":{"text":"FilesystemOperations.RenameAsync (cyclomatic 18): FilesystemOperations.RenameAsync has cyclomatic complexity 18 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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/Files.App/Utils/Storage/Operations/FilesystemOperations.cs"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"c958511fc39bf8fa82b77e0548aa2cdf09c25d27e8cd1d4b74dee83d31837c88"}},{"ruleId":"D1","level":"warning","message":{"text":"NavigationToolbarViewModel.PopulateOmnibarSuggestionsForPathMode (cyclomatic 18): NavigationToolbarViewModel.PopulateOmnibarSuggestionsForPathMode has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 3 of the 18 points are its own statements and the rest belongs to one function literal inside it that branches (line 944). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/ViewModels/UserControls/NavigationToolbarViewModel.cs"},"region":{"startLine":942}}}],"partialFingerprints":{"codehealthFindingId/v1":"d07d6fa025695ce226a67a993ebfaddf87120a6e88297dfd7c739fda9a956855"}},{"ruleId":"D1","level":"warning","message":{"text":"SidebarViewModel.GetLocationItemMenuItems (cyclomatic 18): SidebarViewModel.GetLocationItemMenuItems has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/ViewModels/UserControls/SidebarViewModel.cs"},"region":{"startLine":1037}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0acba2e00db125d449dcce35689ab000a25a516908e2d882db9d9d837ac03b3"}},{"ruleId":"D1","level":"warning","message":{"text":"ColumnLayoutPage.FileList_ItemTapped (cyclomatic 18): ColumnLayoutPage.FileList_ItemTapped 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/Files.App/Views/Layouts/ColumnLayoutPage.xaml.cs"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"05006df93cb5209d4056209e4942ce49c5d79204a1dc323fe61af975f8b9b293"}},{"ruleId":"D1","level":"warning","message":{"text":"LibraryManager.UpdateLibrary (cyclomatic 17): LibraryManager.UpdateLibrary has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 8 of the 17 points are its own statements and the rest belongs to one function literal inside it that branches (line 181). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/Utils/Library/LibraryManager.cs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5c755b9ec200c53247cc955a5b3b36858c4c097dd757862efa08e46b7b5c819"}},{"ruleId":"D1","level":"warning","message":{"text":"FileOperationsHelpers.UpdateFileTagsDb (cyclomatic 17): FileOperationsHelpers.UpdateFileTagsDb has cyclomatic complexity 17 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. 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/Files.App/Utils/Storage/Operations/FileOperationsHelpers.cs"},"region":{"startLine":966}}}],"partialFingerprints":{"codehealthFindingId/v1":"42810e8569abb09b2e25aeb92348f38aaf4a490d55b7c12b7af0fd1870bd524d"}},{"ruleId":"D1","level":"warning","message":{"text":"FilesystemHelpers.GetCollisions (cyclomatic 17): FilesystemHelpers.GetCollisions has cyclomatic complexity 17 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, 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/Files.App/Utils/Storage/Operations/FilesystemHelpers.cs"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"132e12eda37a02cbbce76136b8a6408e49186b0c138ec5562b157e1211ef21b8"}},{"ruleId":"D1","level":"warning","message":{"text":"FileProperties.GetBaseProperties (cyclomatic 17): FileProperties.GetBaseProperties has cyclomatic complexity 17 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: 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/Files.App/ViewModels/Properties/Items/FileProperties.cs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"565a929b8a25d598f15a744eef074ec85d7a5e985ddf5ffcb455e3b12eb39ccf"}},{"ruleId":"D1","level":"warning","message":{"text":"ActionsViewModel.ExecuteSaveCommand (cyclomatic 17): ActionsViewModel.ExecuteSaveCommand has cyclomatic complexity 17 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, 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/Files.App/ViewModels/Settings/ActionsViewModel.cs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"aafb9ff53448620c59558bdbbe0457efb76a4eff7943a48e41f97d33a1062730"}},{"ruleId":"D1","level":"warning","message":{"text":"ShellViewModel.LoadGitPropertiesAsync (cyclomatic 17): ShellViewModel.LoadGitPropertiesAsync has cyclomatic 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 2 function literals inside it that branch (lines 1641, 1625). 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/Files.App/ViewModels/ShellViewModel.cs"},"region":{"startLine":1613}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9bbcd85d227f54d0c78606f30f36c4ec22da22dadc36f2a4ec385928392c747"}},{"ruleId":"D1","level":"warning","message":{"text":"SidebarViewModel.SyncSidebarItemsAsync (cyclomatic 17): SidebarViewModel.SyncSidebarItemsAsync 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/Files.App/ViewModels/UserControls/SidebarViewModel.cs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"77590dd9fd7a54bc505188187faf88c412c1cd526971873239870b770f46636c"}},{"ruleId":"D1","level":"warning","message":{"text":"SidebarViewModel.HandleItemInvokedAsync (cyclomatic 17): SidebarViewModel.HandleItemInvokedAsync 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/Files.App/ViewModels/UserControls/SidebarViewModel.cs"},"region":{"startLine":851}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b236fd37a0a89b93b1575ade5250446c81d1c4ffe17969e3df1fc07d2c0b2ad"}},{"ruleId":"D1","level":"warning","message":{"text":"GridLayoutPage.StartRenameItem (cyclomatic 17): GridLayoutPage.StartRenameItem 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/Files.App/Views/Layouts/GridLayoutPage.xaml.cs"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"0156f322288f5f7e68e2398480abfc848ab4931ad0aa9767dab59450ff12ff1a"}},{"ruleId":"D1","level":"warning","message":{"text":"GridLayoutPage.FileList_ItemTapped (cyclomatic 17): GridLayoutPage.FileList_ItemTapped 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/Files.App/Views/Layouts/GridLayoutPage.xaml.cs"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff009fb2412c4a673a712a64952e106c01453e60b6bae64da1255dc6853947a1"}},{"ruleId":"D1","level":"warning","message":{"text":"LayoutCycler.Cycle (cyclomatic 16): LayoutCycler.Cycle 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/Files.App/Actions/Display/LayoutAction.cs"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1b3d4e51dc8c8fde63a1f874adb8bc4f994d71cde00905ce30020d8be6a0fd0"}},{"ruleId":"D1","level":"warning","message":{"text":"LibGit2Service.Checkout (cyclomatic 16): LibGit2Service.Checkout has cyclomatic complexity 16 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. 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/Files.App/Services/Git/LibGit2Service.cs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"594aaf8d1d792010b9f6098fbc23b63b72479297b340ec5d5b521f8a356bbfab"}},{"ruleId":"D1","level":"warning","message":{"text":"StorageArchiveService.DecompressAsyncWithSharpZipLib (cyclomatic 16): StorageArchiveService.DecompressAsyncWithSharpZipLib has cyclomatic complexity 16 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. 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/Files.App/Services/Storage/StorageArchiveService.cs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"f161f90f76bfffbd227511a45bcc10eec7a1e84a93490b4e78b688864d6c50d3"}},{"ruleId":"D1","level":"warning","message":{"text":"WindowsRecentItemsService.UpdateRecentItems (cyclomatic 16): WindowsRecentItemsService.UpdateRecentItems 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/Files.App/Services/Windows/WindowsRecentItemsService.cs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"15cecde68a83bcf08374bb969347cc724ffd9376360bb520a2e4521459e5585b"}},{"ruleId":"D1","level":"warning","message":{"text":"NavigationToolbar.Omnibar_QuerySubmitted (cyclomatic 16): NavigationToolbar.Omnibar_QuerySubmitted 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/Files.App/UserControls/NavigationToolbar.xaml.cs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"48ec2b65e194ca3dec9c8bd80fccb1d1c8504ff075ca994671260e6126fef287"}},{"ruleId":"D1","level":"warning","message":{"text":"StatusCenterItemProgressModel.Report (cyclomatic 16): StatusCenterItemProgressModel.Report 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/Files.App/Utils/StatusCenter/StatusCenterItemProgressModel.cs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2c7a236d769ea16a5b06deb6a44caab20df01d28e5ad31114fbc54f0e252472"}},{"ruleId":"D1","level":"warning","message":{"text":"CombinedProperties.GetSpecialPropertiesAsync (cyclomatic 16): CombinedProperties.GetSpecialPropertiesAsync has cyclomatic complexity 16 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 3 belong to 3 function literals inside it that branch. 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/Files.App/ViewModels/Properties/Items/CombinedProperties.cs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"b267092dafdc44a984cf5278d078014f3696e298728fafd3d45f7aa26ea0fa2f"}},{"ruleId":"D1","level":"warning","message":{"text":"NavigationToolbarViewModel.PathBoxItem_DragOver (cyclomatic 16): NavigationToolbarViewModel.PathBoxItem_DragOver has cyclomatic complexity 16 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 3 belong to 3 function literals inside it that branch. 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/Files.App/ViewModels/UserControls/NavigationToolbarViewModel.cs"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e89b92743c72ab2006dbf2f0c48b712a2bf4d3bbeafdba56e034b1b4435d644"}},{"ruleId":"D2","level":"warning","message":{"text":"FilesystemOperations.MoveAsync (cognitive 93): FilesystemOperations.MoveAsync has cognitive complexity 93 (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/Files.App/Utils/Storage/Operations/FilesystemOperations.cs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1cba8648e213ea469f9ea02ff7025b84551162d5487e8434ab7216bd227075f"}},{"ruleId":"D2","level":"warning","message":{"text":"FilesystemOperations.CopyAsync (cognitive 83): FilesystemOperations.CopyAsync has cognitive complexity 83 (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/Files.App/Utils/Storage/Operations/FilesystemOperations.cs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bd92c7d5b2d65a7c213b4e05633e57fd840c726a77c653a19eac255c1928a6f"}},{"ruleId":"D2","level":"warning","message":{"text":"FolderSearch.SearchWithWin32Async (cognitive 83): FolderSearch.SearchWithWin32Async has cognitive complexity 83 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 51 belong to 4 function literals inside it that branch. 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/Files.App/Utils/Storage/Search/FolderSearch.cs"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cc9ad1d5f55a96c981fdf061a5e043cffa932bf1cf57193d4bd89ccebf580ca"}},{"ruleId":"D2","level":"warning","message":{"text":"NavigationHelpers.OpenFile (cognitive 80): NavigationHelpers.OpenFile has cognitive complexity 80 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 63 belong 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/Files.App/Helpers/Navigation/NavigationHelpers.cs"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"edc8c9f64d4de455d08fae0f163fd7bd09ead8806a6b18ae59f3fc309eb3ce48"}},{"ruleId":"D2","level":"warning","message":{"text":"LaunchHelper.HandleApplicationLaunch (cognitive 72): LaunchHelper.HandleApplicationLaunch has cognitive complexity 72 (threshold 15). Of this number, 49 points are the body\u0027s own statements and 23 belong to 2 function literals inside it that branch. 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/Files.App/Utils/Shell/LaunchHelper.cs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ceb8411b7e2e72e71d83d8febb85bcc278b2822b4bab848caffd0ca7e6530fa"}},{"ruleId":"D2","level":"warning","message":{"text":"UniversalStorageEnumerator.ListEntries (cognitive 72): UniversalStorageEnumerator.ListEntries has cognitive complexity 72 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/Utils/Storage/Enumerators/UniversalStorageEnumerator.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"1058af8f3c38e037f6dcc7fa6f4b1f108038c3c0bb55a39578521db5718323a4"}},{"ruleId":"D2","level":"warning","message":{"text":"ShellViewModel.ProcessOperationQueueAsync (cognitive 72): ShellViewModel.ProcessOperationQueueAsync has cognitive complexity 72 (threshold 15). Of this number, 66 points are the body\u0027s own statements and 6 belong 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/Files.App/ViewModels/ShellViewModel.cs"},"region":{"startLine":2581}}}],"partialFingerprints":{"codehealthFindingId/v1":"5504e763662053f641beee518bab4f363d0923759e4d3d8dcc597a1495ad5676"}},{"ruleId":"D2","level":"warning","message":{"text":"CssPreviewRenderer.Render (cognitive 71): CssPreviewRenderer.Render has cognitive complexity 71 (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/Files.App/UserControls/FilePreviews/CssPreviewRenderer.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8bb0f61f289dc4ba005bf70216f10dcaf1f61a2720bd86f55cfbf72505db649"}},{"ruleId":"D2","level":"warning","message":{"text":"ShellViewModel.LoadExtendedItemPropertiesAsync (cognitive 69): ShellViewModel.LoadExtendedItemPropertiesAsync has cognitive complexity 69 (threshold 15). Of this number, 50 points are the body\u0027s own statements and 19 belong to 2 function literals inside it that branch. 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/Files.App/ViewModels/ShellViewModel.cs"},"region":{"startLine":1350}}}],"partialFingerprints":{"codehealthFindingId/v1":"adae51642419e45fde3bf6ed72098c7a6fd154009651d78a41a38d55e5d22b9c"}},{"ruleId":"D2","level":"warning","message":{"text":"NavigationToolbarViewModel.CheckPathInputAsync (cognitive 63): NavigationToolbarViewModel.CheckPathInputAsync has cognitive complexity 63 (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/Files.App/ViewModels/UserControls/NavigationToolbarViewModel.cs"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb54a8f9a186dedfb87d21063082f776c1ad9e03f1e57325b140ee40d5a17441"}},{"ruleId":"D2","level":"warning","message":{"text":"Program.Main (cognitive 59): Program.Main has cognitive complexity 59 (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/Files.App/Program.cs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"c807d5fcd3054294a96e5311a1c89a50704b1000a510e9f75ae6cc002797a48b"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseLayoutPage.AddShellMenuItemsAsync (cognitive 59): BaseLayoutPage.AddShellMenuItemsAsync has cognitive complexity 59 (threshold 15). Of this number, 47 points are the body\u0027s own statements and 12 belong to 10 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/Files.App/Views/Layouts/BaseLayoutPage.cs"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"882abb3ba22eeb52c02a89621ae15b27c72f85f98290e9061d7cb4bbad8e246b"}},{"ruleId":"D2","level":"warning","message":{"text":"Win32StorageEnumerator.ListEntries (cognitive 58): Win32StorageEnumerator.ListEntries has cognitive complexity 58 (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/Files.App/Utils/Storage/Enumerators/Win32StorageEnumerator.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"629b5f3285a3788306260dd526e059f14462ea8a3a57ddafaca29224804ab861"}},{"ruleId":"D2","level":"warning","message":{"text":"MainWindow.InitializeApplicationAsync (cognitive 57): MainWindow.InitializeApplicationAsync has cognitive complexity 57 (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/Files.App/MainWindow.xaml.cs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"9473695538f18d1ef4ba20e243209be8834d75a35c5200c762f80396c1252858"}},{"ruleId":"D2","level":"warning","message":{"text":"ShellViewModel.EnumerateItemsFromStandardFolderAsync (cognitive 57): ShellViewModel.EnumerateItemsFromStandardFolderAsync has cognitive complexity 57 (threshold 15). Of this number, 55 points are the body\u0027s own statements and 2 belong 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/Files.App/ViewModels/ShellViewModel.cs"},"region":{"startLine":1877}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fd088491696fc4d0d3c648ee36df0a30e336384bf4909a47a1d15a6528d3d9c"}},{"ruleId":"D2","level":"warning","message":{"text":"StatusCenterHelper.UpdateCardStrings (cognitive 54): StatusCenterHelper.UpdateCardStrings has cognitive complexity 54 (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/Files.App/Utils/StatusCenter/StatusCenterHelper.cs"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bb3de29919a9d8b6eca040662aef39fe945ace57d1eaacb2a1b5fd341a1a628"}},{"ruleId":"D2","level":"warning","message":{"text":"DetailsLayoutPage.FileList_PreviewKeyDown (cognitive 52): DetailsLayoutPage.FileList_PreviewKeyDown has cognitive complexity 52 (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/Files.App/Views/Layouts/DetailsLayoutPage.xaml.cs"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"b028c6005d191fc3e9903490c570011887b30874e5d203e63a5edc311168e2dd"}},{"ruleId":"D2","level":"warning","message":{"text":"NavigationToolbarViewModel.HandleItemNavigationAsync (cognitive 51): NavigationToolbarViewModel.HandleItemNavigationAsync has cognitive complexity 51 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/ViewModels/UserControls/NavigationToolbarViewModel.cs"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"c25f1a31129921d934c2913bac26f5a16b469def524cd3c7cccfde6fa57cda3a"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseDecompressArchiveAction.DecompressArchiveHereAsync (cognitive 50): BaseDecompressArchiveAction.DecompressArchiveHereAsync has cognitive complexity 50 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 31 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/Actions/Content/Archives/Decompress/BaseDecompressArchiveAction.cs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"9719874438bfe9b6df17c939a264a85ddbc63210e7ec1731a652310b6f8338a6"}},{"ruleId":"D2","level":"warning","message":{"text":"MainPageViewModel.OnNavigatedToAsync (cognitive 50): MainPageViewModel.OnNavigatedToAsync 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/Files.App/ViewModels/MainPageViewModel.cs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ffa75aaafac7b3b5fb0038518b22cf6fb7d66b0bb2fb13698963cd85e78a143"}},{"ruleId":"D2","level":"warning","message":{"text":"ContextFlyoutModelToElementHelper.GetCommandBarButton (cognitive 47): ContextFlyoutModelToElementHelper.GetCommandBarButton has cognitive complexity 47 (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/Files.App/Helpers/MenuFlyout/ContextFlyoutModelToElementHelper.cs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"5873d42fef5ec809c740285ddae4f7b7cbf8dfd5e8303e1d57d0e956738fdf6e"}},{"ruleId":"D2","level":"warning","message":{"text":"Win32Helper.OpenFolderInExistingShellWindow (cognitive 47): Win32Helper.OpenFolderInExistingShellWindow has cognitive complexity 47 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/Helpers/Win32/Win32Helper.Storage.cs"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3dd5057d3be90ec22c25ced058b92862feefda8631f0854d2f944d6893384d2"}},{"ruleId":"D2","level":"warning","message":{"text":"ShellContextFlyoutFactory.LoadShellMenuItemsAsync (cognitive 46): ShellContextFlyoutFactory.LoadShellMenuItemsAsync has cognitive complexity 46 (threshold 15). Of this number, 38 points are the body\u0027s own statements and 8 belong to 7 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/Files.App/Data/Factories/ShellContextFlyoutHelper.cs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8f42b2ecff49c8f2a9115df9666fbb1ba859b9ddc1e5283711a36d6cc4aa2ba"}},{"ruleId":"D2","level":"warning","message":{"text":"ContentPageContextFlyoutFactory.GetBaseItemMenuItems (cognitive 45): ContentPageContextFlyoutFactory.GetBaseItemMenuItems has cognitive complexity 45 (threshold 15). Of this number, 35 points are the body\u0027s own statements and 10 belong to 4 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/Files.App/Data/Factories/ContentPageContextFlyoutFactory.cs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc99487651ac55688db58c39eea8b1ecb195b0cf43876479d07e9cbe546ad81f"}},{"ruleId":"D2","level":"warning","message":{"text":"FilesystemHelpers.GetDraggedStorageItems (cognitive 43): FilesystemHelpers.GetDraggedStorageItems has cognitive complexity 43 (threshold 15). Of this number, 42 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/Files.App/Utils/Storage/Operations/FilesystemHelpers.cs"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8ebdee9a5054a2d566bfaf60c8bdda3cb7712327777b7c92dba2be20e6b498e"}},{"ruleId":"D2","level":"warning","message":{"text":"MainWindow.InitializeFromCmdLineArgsAsync (cognitive 42): MainWindow.InitializeFromCmdLineArgsAsync has cognitive complexity 42 (threshold 15). Of this number, 40 points are the body\u0027s own statements and 2 belong 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/Files.App/MainWindow.xaml.cs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2f6b00a77b706e279fbd3ec39365620a5762c55bfffe89178716d9d288a326b"}},{"ruleId":"D2","level":"warning","message":{"text":"ShellFilesystemOperations.DeleteItemsAsync (cognitive 41): ShellFilesystemOperations.DeleteItemsAsync has cognitive complexity 41 (threshold 15). Of this number, 39 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. 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/Files.App/Utils/Storage/Operations/ShellFilesystemOperations.cs"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"230ed113089d13df1a9f14c121930842a6de83e83f0516d79264530c3a544751"}},{"ruleId":"D2","level":"warning","message":{"text":"PropertiesNavigationItemsFactory.Initialize (cognitive 39): PropertiesNavigationItemsFactory.Initialize has cognitive complexity 39 (threshold 15). Of this number, 36 points are the body\u0027s own statements and 3 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/Files.App/Data/Factories/PropertiesNavigationItemsFactory.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"6de3486eba1ff727f92cc2ce25264e960a0853c2ec20345938f936b036643323"}},{"ruleId":"D2","level":"warning","message":{"text":"LayoutPreferencesManager.SetLayoutPreferencesForPath (cognitive 38): LayoutPreferencesManager.SetLayoutPreferencesForPath has cognitive complexity 38 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/Helpers/Layout/LayoutPreferencesManager.cs"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"33eeaa07dc559801e704983a89cbe52ddd4300db284e2fd390372992200efa1e"}},{"ruleId":"D2","level":"warning","message":{"text":"Toolbar.CreateToolbarElement (cognitive 37): Toolbar.CreateToolbarElement has cognitive complexity 37 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 4 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/Files.App/UserControls/Toolbar.xaml.cs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bf3d98e10bb3b9a4c62f81b8b880d2e12294994fe63c7d6f3d663981d32e074"}},{"ruleId":"D2","level":"warning","message":{"text":"Win32StorageEnumerator.GetFile (cognitive 36): Win32StorageEnumerator.GetFile has cognitive complexity 36 (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/Files.App/Utils/Storage/Enumerators/Win32StorageEnumerator.cs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"47dfd9868b946ecf564d3c6adf3202d7947eacd30e2884aa33ad26004dc9d54f"}},{"ruleId":"D2","level":"warning","message":{"text":"StorageBar.UpdateColumnWidths (cognitive 35): StorageBar.UpdateColumnWidths has cognitive complexity 35 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App.Controls/Storage/StorageBar/StorageBar.cs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"82a819b3182d9f215e44d66c4636d8232a916fbe7ac7b319cf5a341bc617ffa6"}},{"ruleId":"D2","level":"warning","message":{"text":"ShellContextFlyoutFactory.LoadMenuFlyoutItem (cognitive 35): ShellContextFlyoutFactory.LoadMenuFlyoutItem has cognitive complexity 35 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 5 belong to 2 function literals inside it that branch. 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/Files.App/Data/Factories/ShellContextFlyoutHelper.cs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"f37810d4101cdaaee83da9d84971e8b8b556b76cc7338135ee89db0b20347318"}},{"ruleId":"D2","level":"warning","message":{"text":"Win32Helper.GetIcon (cognitive 35): Win32Helper.GetIcon has cognitive complexity 35 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/Helpers/Win32/Win32Helper.Storage.cs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c8b30ea0c343eebcde70cbc2ce3ff68f0b502e2084a104cf1b2a81c7aadaee6"}},{"ruleId":"D2","level":"warning","message":{"text":"ContextMenu.EnumMenuItems (cognitive 35): ContextMenu.EnumMenuItems has cognitive complexity 35 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/Utils/Shell/ContextMenu.cs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"e342f61ce86fa32b2a6c2f0215f6aeb72e9d3ac737f45ea3dda95f25dae8f2cf"}},{"ruleId":"D2","level":"warning","message":{"text":"StorageHelpers.ToStorageItem (cognitive 35): StorageHelpers.ToStorageItem has cognitive complexity 35 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/Utils/Storage/Helpers/StorageHelpers.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4d53cd23506a14508b9028b782fb0a127cf53ed50ccb8f29a5d2ce9560fcc8a"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseLayoutViewModel.DragOverAsync (cognitive 35): BaseLayoutViewModel.DragOverAsync has cognitive complexity 35 (threshold 15). Of this number, 34 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/ViewModels/Layouts/BaseLayoutViewModel.cs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fac8fa717a6d8900e67e6f5d50b43a9f43a89ce36bc0c72ef853fcee04e53b4"}},{"ruleId":"D2","level":"warning","message":{"text":"NavigationHelpers.GetSelectedTabInfoAsync (cognitive 34): NavigationHelpers.GetSelectedTabInfoAsync 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/Files.App/Helpers/Navigation/NavigationHelpers.cs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a38c268130dbe76dfb229cd368a67447eb2d1ae283988a1a606d07003152b91"}},{"ruleId":"D2","level":"warning","message":{"text":"ShellFilesystemOperations.MoveItemsAsync (cognitive 34): ShellFilesystemOperations.MoveItemsAsync has cognitive complexity 34 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 7 belong to 5 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/Files.App/Utils/Storage/Operations/ShellFilesystemOperations.cs"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"603eb844990f95a9b36d7a1545f3e42baac34552d795e464e746f104b5c43037"}},{"ruleId":"D2","level":"warning","message":{"text":"ShellViewModel.LoadThumbnailAsync (cognitive 34): ShellViewModel.LoadThumbnailAsync has cognitive complexity 34 (threshold 15). Most of this is not in the body itself: 12 of the 34 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 1272, 1242, 1305, \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/Files.App/ViewModels/ShellViewModel.cs"},"region":{"startLine":1189}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa0e6cc33ac7f944f3460a1b0ba6f1a3f08daba9bbf283cb5783d097742d7d25"}},{"ruleId":"D2","level":"warning","message":{"text":"DetailsLayoutPage.FileList_ItemTapped (cognitive 34): DetailsLayoutPage.FileList_ItemTapped 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/Files.App/Views/Layouts/DetailsLayoutPage.xaml.cs"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"7440ce1afa5e0b490bf0e0cb4dc34d46dc8a423872ceeeaa2fc10d1a65e0444f"}},{"ruleId":"D2","level":"warning","message":{"text":"FileSizeCalculator.ComputeSizeAsync (cognitive 33): FileSizeCalculator.ComputeSizeAsync has cognitive complexity 33 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/Utils/Storage/Operations/FileSizeCalculator.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"73fb1b4504db802b086becfb14b7053a7609f53cdcd1364291a9a61d7e2653d2"}},{"ruleId":"D2","level":"warning","message":{"text":"ShellFilesystemOperations.CopyItemsAsync (cognitive 33): ShellFilesystemOperations.CopyItemsAsync has cognitive complexity 33 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 6 belong to 4 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/Files.App/Utils/Storage/Operations/ShellFilesystemOperations.cs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"95e81bb799f4d5693265161482cfb35eba554bb71e4a87129bb28f1cc25b0e3f"}},{"ruleId":"D2","level":"warning","message":{"text":"FolderSearch.GetListedItemAsync (cognitive 32): FolderSearch.GetListedItemAsync has cognitive complexity 32 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 10 belong to 2 function literals inside it that branch. 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/Files.App/Utils/Storage/Search/FolderSearch.cs"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"39c38c330dd93f5e661d0f2f3cae1f4a1c821f1c1466b1e28fa03234fb856fec"}},{"ruleId":"D2","level":"warning","message":{"text":"NavigationToolbarViewModel.PopulateOmnibarSuggestionsForPathMode (cognitive 32): NavigationToolbarViewModel.PopulateOmnibarSuggestionsForPathMode has cognitive complexity 32 (threshold 15). Most of this is not in the body itself: 2 of the 32 points are its own statements and the rest belongs to one function literal inside it that branches (line 944). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/ViewModels/UserControls/NavigationToolbarViewModel.cs"},"region":{"startLine":942}}}],"partialFingerprints":{"codehealthFindingId/v1":"e61e39090281a5cb074abcee9e3df1bf1463587f0f2a0c0b2408ac2a2a469102"}},{"ruleId":"D2","level":"warning","message":{"text":"GridLayoutPage.FileList_ItemTapped (cognitive 32): GridLayoutPage.FileList_ItemTapped has cognitive complexity 32 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/Views/Layouts/GridLayoutPage.xaml.cs"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"cec027bdc0c63118133383d21ecd9f3870b4fbcf081c2464befeb1ffc1e8ba52"}},{"ruleId":"D2","level":"warning","message":{"text":"NavigationHelpers.OpenPath (cognitive 31): NavigationHelpers.OpenPath 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/Files.App/Helpers/Navigation/NavigationHelpers.cs"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bcf5ccd752cb5de680de23a153186f7e381347649ac86f682dca2e5ee0192a6"}},{"ruleId":"D2","level":"warning","message":{"text":"CloudDrivesDetector.DetectGenericCloudDrive (cognitive 31): CloudDrivesDetector.DetectGenericCloudDrive 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/Files.App/Utils/Cloud/CloudDrivesDetector.cs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ff49b6000d3c64bba4d4fa00f80e508ce7ddb1c2fefada906afd03446c644a6"}},{"ruleId":"D2","level":"warning","message":{"text":"CommandLineParser.Parse (cognitive 31): CommandLineParser.Parse 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/Files.App/Utils/CommandLine/CommandLineParser.cs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d112f726eab92b9fe9ef09ca5f7bffbfbab9577bd52d3b2ef913cf06dcff481"}},{"ruleId":"D2","level":"warning","message":{"text":"FileOperationsHelpers.UpdateFileTagsDb (cognitive 31): FileOperationsHelpers.UpdateFileTagsDb has cognitive complexity 31 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 8 belong 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/Files.App/Utils/Storage/Operations/FileOperationsHelpers.cs"},"region":{"startLine":966}}}],"partialFingerprints":{"codehealthFindingId/v1":"703cda84d085f08dbf17e266076479b800565e1c05a576404e1cfd96a811a57d"}},{"ruleId":"D2","level":"warning","message":{"text":"FolderSearch.SearchTagsAsync (cognitive 31): FolderSearch.SearchTagsAsync 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/Files.App/Utils/Storage/Search/FolderSearch.cs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"b12cddf8547965d3a9d90dfdbb595d2ec9909889b9cb092e294271dff8e1a866"}},{"ruleId":"D2","level":"warning","message":{"text":"ColumnLayoutPage.FileList_PreviewKeyDown (cognitive 30): ColumnLayoutPage.FileList_PreviewKeyDown has cognitive complexity 30 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/Views/Layouts/ColumnLayoutPage.xaml.cs"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"67fb092ec5017eca0b925090d43fff989ea467d630c83a96af1009c0194f2d4b"}},{"ruleId":"D2","level":"warning","message":{"text":"GridLayoutPage.FileList_PreviewKeyDown (cognitive 30): GridLayoutPage.FileList_PreviewKeyDown has cognitive complexity 30 (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/Files.App/Views/Layouts/GridLayoutPage.xaml.cs"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"1015b73b34aa3d460636ffd4840ba47041ca42de488842d8c48874f6a787087c"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseShellPage.FilesystemViewModel_ItemLoadStatusChanged (cognitive 30): BaseShellPage.FilesystemViewModel_ItemLoadStatusChanged has cognitive complexity 30 (threshold 15). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/Views/Shells/BaseShellPage.cs"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1dacbb279924d65cfab2926e96b8b234d4a0bbadbf2bf4026bd062db51e580a"}},{"ruleId":"D2","level":"warning","message":{"text":"StorageFileExtensions.ResolvePath (cognitive 29): StorageFileExtensions.ResolvePath has cognitive complexity 29 (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/Files.App/Utils/Storage/Helpers/StorageFileExtensions.cs"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"9505851d4f17fa99bbea59228ca396ca3319cbe4dd5d0e6017e0cc8571c48d6f"}},{"ruleId":"D2","level":"warning","message":{"text":"FilesystemHelpers.DeleteItemsAsync (cognitive 29): FilesystemHelpers.DeleteItemsAsync has cognitive complexity 29 (threshold 15). Of this number, 28 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/Files.App/Utils/Storage/Operations/FilesystemHelpers.cs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"116820de85588ef19ecaf28a633c1cc40d5596f3bc991e9d53132d66f51e9e89"}},{"ruleId":"D2","level":"warning","message":{"text":"ExpandableSidebarItemBase.ResyncSubfoldersAsync (cognitive 28): ExpandableSidebarItemBase.ResyncSubfoldersAsync has cognitive complexity 28 (threshold 15). Most of this is not in the body itself: 8 of the 28 points are its own statements and the rest belongs to one function literal inside it that branches (line 231). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/Data/Items/ExpandableSidebarItemBase.cs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f70357c01e0ae66828ffcbf27b44a7c45829f400e516077795b0f2574af2328"}},{"ruleId":"D2","level":"warning","message":{"text":"ShellFilesystemOperations.RenameAsync (cognitive 28): ShellFilesystemOperations.RenameAsync has cognitive complexity 28 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. 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/Files.App/Utils/Storage/Operations/ShellFilesystemOperations.cs"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a5bc5b8a3b97fbaa8ce84e4f8d20d4c99b09dd835c88429fef8f3417e1b817e"}},{"ruleId":"D2","level":"warning","message":{"text":"SidebarViewModel.SyncSidebarItemsAsync (cognitive 28): SidebarViewModel.SyncSidebarItemsAsync has cognitive complexity 28 (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/Files.App/ViewModels/UserControls/SidebarViewModel.cs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"37adba451624a0cc9c998c6cfcae620df5effa0662355bfc872ce97f4a40a325"}},{"ruleId":"D2","level":"warning","message":{"text":"NavigationToolbar.Omnibar_QuerySubmitted (cognitive 27): NavigationToolbar.Omnibar_QuerySubmitted has cognitive complexity 27 (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/Files.App/UserControls/NavigationToolbar.xaml.cs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1122f5bd7abde9ff08f13e1069ac05047069719b25e23cdd43fc5f1b9467c94"}},{"ruleId":"D2","level":"warning","message":{"text":"FilesystemHelpers.GetCollisions (cognitive 27): FilesystemHelpers.GetCollisions has cognitive complexity 27 (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/Files.App/Utils/Storage/Operations/FilesystemHelpers.cs"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"baac0f958925cfc81252d13aaadcc57f0be3d641a431739f1cd37bf2ea2c87d8"}},{"ruleId":"D2","level":"warning","message":{"text":"ShellFilesystemOperations.CreateAsync (cognitive 27): ShellFilesystemOperations.CreateAsync has cognitive complexity 27 (threshold 15). Of this number, 26 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/Files.App/Utils/Storage/Operations/ShellFilesystemOperations.cs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec39dc92ae79e20a1b0a08faf40b529f675fdf398ec1828cbc54aeefcf238e8a"}},{"ruleId":"D2","level":"warning","message":{"text":"SidebarViewModel.HandleLocationItemDragOverAsync (cognitive 27): SidebarViewModel.HandleLocationItemDragOverAsync has cognitive complexity 27 (threshold 15). Of this number, 25 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/Files.App/ViewModels/UserControls/SidebarViewModel.cs"},"region":{"startLine":1223}}}],"partialFingerprints":{"codehealthFindingId/v1":"5202ba37507877b18e8476d832680705ff78f3a73cbb3fbcfc4569bdee382747"}},{"ruleId":"D2","level":"warning","message":{"text":"WindowsStorableHelpers.TryConvertGpBitmapToByteArray (cognitive 26): WindowsStorableHelpers.TryConvertGpBitmapToByteArray has cognitive complexity 26 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App.Storage/Windows/Helpers/WindowsStorableHelpers.Icon.cs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8362304512d93a8027335d3445e40286e8c37e1ab1409fc1c53aea785e79dfa"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseLayoutPage.Item_DragOver (cognitive 26): BaseLayoutPage.Item_DragOver has cognitive complexity 26 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 5 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/Files.App/Views/Layouts/BaseLayoutPage.cs"},"region":{"startLine":1109}}}],"partialFingerprints":{"codehealthFindingId/v1":"78e6d198b4d6c05a60e0a42c4dfb5eebffab1ee3a8b40981aa062e1d91baeb84"}},{"ruleId":"D2","level":"warning","message":{"text":"PowerToysPeekProvider.FindPeekPathFromRegistry (cognitive 25): PowerToysPeekProvider.FindPeekPathFromRegistry has cognitive complexity 25 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/Services/PreviewPopupProviders/PowerToysPeekProvider.cs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1a620bc3f801f29fd82f9634580d1b3ed3b4f60f212b82e90d89632e1c7deb0"}},{"ruleId":"D2","level":"warning","message":{"text":"StorageHistoryOperations.Undo (cognitive 25): StorageHistoryOperations.Undo has cognitive complexity 25 (threshold 15). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/Utils/Storage/History/StorageHistoryOperations.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9a01bbab63a93bfb9db35e910620d76856083ca64ff5ecbb575d6e86a6f01fd"}},{"ruleId":"D2","level":"warning","message":{"text":"StorageHistoryOperations.Redo (cognitive 25): StorageHistoryOperations.Redo has cognitive complexity 25 (threshold 15). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/Utils/Storage/History/StorageHistoryOperations.cs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea59dec2355b1354f497c624b55cd40eee8a9229282efc099e1e87a09562cb55"}},{"ruleId":"D2","level":"warning","message":{"text":"ShellFilesystemOperations.RestoreItemsFromTrashAsync (cognitive 25): ShellFilesystemOperations.RestoreItemsFromTrashAsync has cognitive complexity 25 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 6 belong to 4 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/Files.App/Utils/Storage/Operations/ShellFilesystemOperations.cs"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"737258acaa0c0f706ff6391ab931208544fb971db1bd37c77679464dbd835a00"}},{"ruleId":"D2","level":"warning","message":{"text":"FolderSearch.ParseTagQuery (cognitive 25): FolderSearch.ParseTagQuery has cognitive complexity 25 (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/Files.App/Utils/Storage/Search/FolderSearch.cs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab4c244e37aba790ae92b8d2f7037af287b2173d5dfc27ce2803042d7a43edbc"}},{"ruleId":"D2","level":"warning","message":{"text":"CombinedFileProperties.SyncPropertyChangesAsync (cognitive 25): CombinedFileProperties.SyncPropertyChangesAsync has cognitive complexity 25 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/ViewModels/Properties/Items/CombinedFileProperties.cs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"23e7b1f9ef6a367524fe2fba965f37259a467128b0b192ed6fe8bf826454f4f5"}},{"ruleId":"D2","level":"warning","message":{"text":"LayoutHelpers.UpdateOpenTabsPreferences (cognitive 24): LayoutHelpers.UpdateOpenTabsPreferences 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/Files.App/Helpers/Layout/LayoutHelpers.cs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"fafeff9ad028c1284fce6c89e24da05959630d80d11f5e7989e07e4ea8619813"}},{"ruleId":"D2","level":"warning","message":{"text":"TransferHelpers.ExecuteTransferAsync (cognitive 24): TransferHelpers.ExecuteTransferAsync has cognitive complexity 24 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 12 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/Helpers/TransferHelpers.cs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0fe761ebe7b1e8dae320781bbef81f2e18b94c2b1b141ece858c8d2fb00b329"}},{"ruleId":"D2","level":"warning","message":{"text":"DigitalSignaturesUtil.ParseDERFindType (cognitive 24): DigitalSignaturesUtil.ParseDERFindType has cognitive complexity 24 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/Utils/Signatures/DigitalSignaturesUtil.cs"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"aba471612f0830ce4c02cd5b91c62b782e6a6f8d66efa2b65bcce6e4c46eb839"}},{"ruleId":"D2","level":"warning","message":{"text":"FilesystemOperations.RenameAsync (cognitive 24): FilesystemOperations.RenameAsync has cognitive complexity 24 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/Utils/Storage/Operations/FilesystemOperations.cs"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"559791610ed165385b9387b5f95199c5adc3d8f2079a68162c0752835af3a043"}},{"ruleId":"D2","level":"warning","message":{"text":"CombinedProperties.GetSpecialPropertiesAsync (cognitive 24): CombinedProperties.GetSpecialPropertiesAsync has cognitive complexity 24 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 3 belong to 3 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/Files.App/ViewModels/Properties/Items/CombinedProperties.cs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"b774d3a56ba6a2001f305a5951d39c64f3003666c995f402f62b4148bf00054d"}},{"ruleId":"D2","level":"warning","message":{"text":"SidebarViewModel.AddElementToSectionAsync (cognitive 24): SidebarViewModel.AddElementToSectionAsync 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/Files.App/ViewModels/UserControls/SidebarViewModel.cs"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"84bfdbb593d9529bb98af367ce807bcae386272be951ea8f0358801f338fd0d5"}},{"ruleId":"D2","level":"warning","message":{"text":"LayoutCycler.Cycle (cognitive 23): LayoutCycler.Cycle 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/Files.App/Actions/Display/LayoutAction.cs"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"bde9f59a39cd2b299ea1b2ee125e3365e1a6e523e0ed78d5e710ac919fab5bdc"}},{"ruleId":"D2","level":"warning","message":{"text":"CompressArchiveModel.RunCreationAsync (cognitive 23): CompressArchiveModel.RunCreationAsync 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/Files.App/Data/Models/CompressArchiveModel.cs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"08c4c00c7386b102d0a1184549ff62bfb80a0d044c7bf1fd5d839f8c3abd8749"}},{"ruleId":"D2","level":"warning","message":{"text":"ShareItemHelpers.ShareItemsAsync (cognitive 23): ShareItemHelpers.ShareItemsAsync 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/Files.App/Helpers/ShareItemHelpers.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"813c4f1ee933c92a1cc45f1330826a76f8cb73be1a6a63119c0bd54d02ba9cd0"}},{"ruleId":"D2","level":"warning","message":{"text":"RectangleSelection_ListViewBase.RectangleSelection_PointerMoved (cognitive 23): RectangleSelection_ListViewBase.RectangleSelection_PointerMoved 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/Files.App/UserControls/Selection/RectangleSelection_ListViewBase.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e2aa80d7a8a092cfe8dbd17e1b29257c7107236a4245a9b3a340dbaa49e7f9c"}},{"ruleId":"D2","level":"warning","message":{"text":"LibraryManager.UpdateLibrary (cognitive 23): LibraryManager.UpdateLibrary has cognitive complexity 23 (threshold 15). Most of this is not in the body itself: 7 of the 23 points are its own statements and the rest belongs to one function literal inside it that branches (line 181). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/Utils/Library/LibraryManager.cs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"acb6be7b73b8f24b93d28afdbd2dc16d72d066d563e07d457f7e7b10e7b3f9ca"}},{"ruleId":"D2","level":"warning","message":{"text":"FilesystemOperations.RestoreFromTrashAsync (cognitive 23): FilesystemOperations.RestoreFromTrashAsync has cognitive complexity 23 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/Utils/Storage/Operations/FilesystemOperations.cs"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e8284a198367b4095bea2ae3bc96821a30461e54ca4323d9076735825762113"}},{"ruleId":"D2","level":"warning","message":{"text":"CombinedFileProperties.ClearPropertiesAsync (cognitive 23): CombinedFileProperties.ClearPropertiesAsync has cognitive complexity 23 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/ViewModels/Properties/Items/CombinedFileProperties.cs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"347e02487cced4927b234f98a5608de2c879e726550cde985b46c3e24d35c2f9"}},{"ruleId":"D2","level":"warning","message":{"text":"ActionsViewModel.ExecuteSaveCommand (cognitive 23): ActionsViewModel.ExecuteSaveCommand has cognitive complexity 23 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/ViewModels/Settings/ActionsViewModel.cs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a9eef3d03ead7075eb9865ac0ae8f81abcc74e069d289133ec37feda3494c4c"}},{"ruleId":"D2","level":"warning","message":{"text":"InfoPaneViewModel.GetBuiltInPreviewControlAsync (cognitive 23): InfoPaneViewModel.GetBuiltInPreviewControlAsync 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, 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/Files.App/ViewModels/UserControls/InfoPaneViewModel.cs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d2144f647433e0957366181362919c318bdee515057ef19add8510a2897b448"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseLayoutPage.FileListItem_PointerEntered (cognitive 23): BaseLayoutPage.FileListItem_PointerEntered has cognitive complexity 23 (threshold 15). Most of this is not in the body itself: 5 of the 23 points are its own statements and the rest belongs to one function literal inside it that branches (line 1377). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/Views/Layouts/BaseLayoutPage.cs"},"region":{"startLine":1362}}}],"partialFingerprints":{"codehealthFindingId/v1":"951386223226f01c6482fd266354fafa2fa7ff345030b93d96e3592fc357c84d"}},{"ruleId":"D2","level":"warning","message":{"text":"GridLayoutPage.StartRenameItem (cognitive 23): GridLayoutPage.StartRenameItem 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/Files.App/Views/Layouts/GridLayoutPage.xaml.cs"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e3b719ff6cfa104c2e1197d78debdcf2c72d9cc842f2491d8fc78b08f2874eb"}},{"ruleId":"D2","level":"warning","message":{"text":"GeneralPage.SaveChangesAsync (cognitive 23): GeneralPage.SaveChangesAsync 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, 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/Files.App/Views/Properties/GeneralPage.xaml.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"219f4f6e4d7d8aed3a03e07d3e79bbe816a18594a6d997882f5f3b9bab9bec0b"}},{"ruleId":"D2","level":"warning","message":{"text":"CachedSizeProvider.UpdateAsync (cognitive 22): CachedSizeProvider.UpdateAsync 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/Files.App/Services/SizeProvider/CachedSizeProvider.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bce5b545484aaf9aa1d0ebafa433df3975a1459e9dca0bee4c7b571a9d1f3b8"}},{"ruleId":"D2","level":"warning","message":{"text":"WindowsJumpListService.AddFolder (cognitive 22): WindowsJumpListService.AddFolder 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/Files.App/Services/Windows/WindowsJumpListService.cs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"99218e5163f206db940683c95637f7c0b3102e42160eaacf4de5aa4e54f008b1"}},{"ruleId":"D2","level":"warning","message":{"text":"WindowsRecentItemsService.UpdateRecentItems (cognitive 22): WindowsRecentItemsService.UpdateRecentItems 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/Files.App/Services/Windows/WindowsRecentItemsService.cs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"24b2b8ed2077783376e54eb228e42fc3528a320eff465f0ab39f482f5a8680d0"}},{"ruleId":"D2","level":"warning","message":{"text":"WindowsRecentItemsService.GetChangedActionEventArgs (cognitive 22): WindowsRecentItemsService.GetChangedActionEventArgs 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/Files.App/Services/Windows/WindowsRecentItemsService.cs"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5d2bb08a31f266f889a8a7afacb547056fd0b64e4064d54ff27120e5511e16a"}},{"ruleId":"D2","level":"warning","message":{"text":"DriveHelpers.GetRootFromPathAsync (cognitive 22): DriveHelpers.GetRootFromPathAsync 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/Files.App/Utils/Storage/Helpers/DriveHelpers.cs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"37adfa58995723c53df3d77af6075b1d5f41ccc6f122343dc95b259d74018abf"}},{"ruleId":"D2","level":"warning","message":{"text":"FilesystemOperations.CreateAsync (cognitive 22): FilesystemOperations.CreateAsync 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/Files.App/Utils/Storage/Operations/FilesystemOperations.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"882ae650252c39e85d65102f7902e8801fd0c72cac62200618e2e99b679864ac"}},{"ruleId":"D2","level":"warning","message":{"text":"FilesystemOperations.DeleteAsync (cognitive 22): FilesystemOperations.DeleteAsync has cognitive complexity 22 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 6 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/Files.App/Utils/Storage/Operations/FilesystemOperations.cs"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"59ccd0b47e04f41616f1a2ccbb08bcc8ba387e9d9e593ff906417740745537b4"}},{"ruleId":"D2","level":"warning","message":{"text":"GridSplitter.VerticalMove (cognitive 21): GridSplitter.VerticalMove 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/Files.App.Controls/GridSplitter/GridSplitter.Events.cs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"c30a24250a05ee8905f46a895dba57fe401b0c935e058ad6dfdaf0cbdfae9aad"}},{"ruleId":"D2","level":"warning","message":{"text":"GridSplitter.HorizontalMove (cognitive 21): GridSplitter.HorizontalMove 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/Files.App.Controls/GridSplitter/GridSplitter.Events.cs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"d522a8dd007d574715034350e65ba49c987b2688260afec7958d47d065e63fdd"}},{"ruleId":"D2","level":"warning","message":{"text":"StorageRing.UpdateRingAngles (cognitive 21): StorageRing.UpdateRingAngles 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/Files.App.Controls/Storage/StorageRing/StorageRing.cs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"57f5f43f35061aa6400ea7ee1c621986a353633a49d5857da71c0bbb50f622c9"}},{"ruleId":"D2","level":"warning","message":{"text":"FtpStorageFolder.GetItemsAsync (cognitive 21): FtpStorageFolder.GetItemsAsync 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/Files.App.Storage/Ftp/FtpStorageFolder.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5a0ba45db551573d0f4c81501f976d060c8ab43277764b289892fde5786812c"}},{"ruleId":"D2","level":"warning","message":{"text":"WindowsStorableHelpers.TryExtractImageFromDll (cognitive 21): WindowsStorableHelpers.TryExtractImageFromDll 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/Files.App.Storage/Windows/Helpers/WindowsStorableHelpers.Icon.cs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"72414e9cd8368a5173a54c1d7a7e826dc7c2e9ad88c20ab1f33c0d0fc5a9faa3"}},{"ruleId":"D2","level":"warning","message":{"text":"App.Window_Closed (cognitive 21): App.Window_Closed has cognitive complexity 21 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/App.xaml.cs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b99021d062593626548b6d3458e9ac4e93df257d287b4e4b6fca3fb45b62828"}},{"ruleId":"D2","level":"warning","message":{"text":"CommandManager.OverwriteKeyBindings (cognitive 21): CommandManager.OverwriteKeyBindings has cognitive complexity 21 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/Data/Commands/Manager/CommandManager.cs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"8319e21c76ad6c6d6f3b9cced70aaccf343077b932a098c9d4a33302f4d6693e"}},{"ruleId":"D2","level":"warning","message":{"text":"NavigationHelpers.UpdateTabInfoAsync (cognitive 21): NavigationHelpers.UpdateTabInfoAsync has cognitive complexity 21 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/Helpers/Navigation/NavigationHelpers.cs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"9632c978b34fed55a9b81a2d485e2c72ea93b0ac87c77e3aebf9b96d97e8cca4"}},{"ruleId":"D2","level":"warning","message":{"text":"StorageArchiveService.DecompressAsyncWithSharpZipLib (cognitive 21): StorageArchiveService.DecompressAsyncWithSharpZipLib has cognitive complexity 21 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 9 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/Services/Storage/StorageArchiveService.cs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e65476c0aae40ac904003cbf55755d961f506e2c4f44b449186bcf108368c84"}},{"ruleId":"D2","level":"warning","message":{"text":"NavigationToolbar.AddHistoryItemsAsync (cognitive 21): NavigationToolbar.AddHistoryItemsAsync 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/Files.App/UserControls/NavigationToolbar.xaml.cs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"bedc33e044996aed7b10f19d160a35237c932ad1d2efdc8431c2ca0f03dd86e4"}},{"ruleId":"D2","level":"warning","message":{"text":"CloudDrivesDetector.DetectSharepoint (cognitive 21): CloudDrivesDetector.DetectSharepoint has cognitive complexity 21 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/Utils/Cloud/CloudDrivesDetector.cs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f2893c74ba2276b09b00faec5a308a523d0107b47e7573fb24f58f65d7c73ab"}},{"ruleId":"D2","level":"warning","message":{"text":"DropBoxCloudDetector.GetProviders (cognitive 21): DropBoxCloudDetector.GetProviders has cognitive complexity 21 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/Utils/Cloud/Detector/DropBoxCloudDetector.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"248d58d4bd48366a409515fb2f52e69cabac4f2474d99facd7c45d1c2e154073"}},{"ruleId":"D2","level":"warning","message":{"text":"DigitalSignaturesUtil.GetSignerCertificateInfo (cognitive 21): DigitalSignaturesUtil.GetSignerCertificateInfo 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/Files.App/Utils/Signatures/DigitalSignaturesUtil.cs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"caf652f3af9b018512ac96c73a1d3c70b44e553f9b76470d1cf2a3e4d45088c7"}},{"ruleId":"D2","level":"warning","message":{"text":"StatusCenterItem.ReportProgress (cognitive 21): StatusCenterItem.ReportProgress 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/Files.App/Utils/StatusCenter/StatusCenterItem.cs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"0563cedb87408da5fc4b70c5073e0c283b3393abb88dcef182aeebad8be0544d"}},{"ruleId":"D2","level":"warning","message":{"text":"SidebarViewModel.HandleItemInvokedAsync (cognitive 21): SidebarViewModel.HandleItemInvokedAsync 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/Files.App/ViewModels/UserControls/SidebarViewModel.cs"},"region":{"startLine":851}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ca96a931b00fa41cf28a6953602d0b2e779ff14b2b586e65f81e35328ef2713"}},{"ruleId":"D2","level":"warning","message":{"text":"AppThemeResourcesHelper.LoadAppResources (cognitive 20): AppThemeResourcesHelper.LoadAppResources has cognitive complexity 20 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/Helpers/UI/AppThemeResourcesHelper.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dee0bb42045c02bc256bc6b235d00890b4e0eca5ccc218a924ae2ab3ba84d07"}},{"ruleId":"D2","level":"warning","message":{"text":"Win32Helper.GetShellFolderAsync (cognitive 20): Win32Helper.GetShellFolderAsync has cognitive complexity 20 (threshold 15). Most of this is not in the body itself: 1 of the 20 points is its own statement and the rest belongs to one function literal inside it that branches (line 26). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/Helpers/Win32/Win32Helper.Shell.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8acd5db9231218fb51b8fd9da1e2ea93f0c249fb22489b54381e450060c0f51"}},{"ruleId":"D2","level":"warning","message":{"text":"FolderSearch.GetListedItemAsync (cognitive 20): FolderSearch.GetListedItemAsync has cognitive complexity 20 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 6 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/Files.App/Utils/Storage/Search/FolderSearch.cs"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a3185fde19cd4fdbb8ce0fee3e6790163e14596389358fdee75d1cde53c9630"}},{"ruleId":"D2","level":"warning","message":{"text":"BasePropertiesPage.OnNavigatedTo (cognitive 20): BasePropertiesPage.OnNavigatedTo has cognitive complexity 20 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 5 belong to 4 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/Files.App/ViewModels/Properties/BasePropertiesPage.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"910b9d5c829770917359da27855437d4c4b937155c7b6f6e2b5777ec85c5900c"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseProperties.CalculateFolderSizeAsync (cognitive 20): BaseProperties.CalculateFolderSizeAsync 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/Files.App/ViewModels/Properties/Items/BaseProperties.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0c2348791a05f9fa775c2572f7422f348ab65187d08df0351d5c97f4fb61219"}},{"ruleId":"D2","level":"warning","message":{"text":"FolderProperties.GetSpecialPropertiesAsync (cognitive 20): FolderProperties.GetSpecialPropertiesAsync 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/Files.App/ViewModels/Properties/Items/FolderProperties.cs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"9553bf83b027bdd053972998c604296cb7e57527b57ede8d24589fa5fd01b7ac"}},{"ruleId":"D2","level":"warning","message":{"text":"ShellViewModel.UpdateFilesOrFoldersAsync (cognitive 20): ShellViewModel.UpdateFilesOrFoldersAsync has cognitive complexity 20 (threshold 15). Most of this is not in the body itself: 8 of the 20 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 2872, 2846). 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/Files.App/ViewModels/ShellViewModel.cs"},"region":{"startLine":2826}}}],"partialFingerprints":{"codehealthFindingId/v1":"fec1481e6730800e9f06781099ccc36754b032cc070953611b545a013b54856f"}},{"ruleId":"D2","level":"warning","message":{"text":"InfoPaneViewModel.UpdateSelectedItemPreviewAsync (cognitive 20): InfoPaneViewModel.UpdateSelectedItemPreviewAsync 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/Files.App/ViewModels/UserControls/InfoPaneViewModel.cs"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e00f9da3ebc58e36d93b19b0b5457ae8b2ae81689f8c4c411f64e9b87c79fcc"}},{"ruleId":"D2","level":"warning","message":{"text":"SidebarViewModel.CreateSectionAsync (cognitive 20): SidebarViewModel.CreateSectionAsync 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/Files.App/ViewModels/UserControls/SidebarViewModel.cs"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"4779c6aae776eb0481a97f5de31a5f8f9f633b5a610b66d11e768226c5a013f8"}},{"ruleId":"D2","level":"warning","message":{"text":"ColumnLayoutPage.FileList_ItemTapped (cognitive 20): ColumnLayoutPage.FileList_ItemTapped 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/Files.App/Views/Layouts/ColumnLayoutPage.xaml.cs"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1e6b113570e1c5c8402a5cee0d858da02394f5501deea1b1e667f8e53e510de"}},{"ruleId":"D2","level":"warning","message":{"text":"ShellPanesPage.SetShadow (cognitive 20): ShellPanesPage.SetShadow 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/Files.App/Views/ShellPanesPage.xaml.cs"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6c120a815b67aa287c1c23236d4c39df25e3d08cbc00c5692fb903c993800ae"}},{"ruleId":"D2","level":"warning","message":{"text":"Omnibar.AutoSuggestBox_KeyDown (cognitive 19): Omnibar.AutoSuggestBox_KeyDown 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/Files.App.Controls/Omnibar/Omnibar.Events.cs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a251aaa0f98edd54e26c8bf66317a347885f7ac15d9229d03a2979ea59a7832"}},{"ruleId":"D2","level":"warning","message":{"text":"HotKey.Parse (cognitive 19): HotKey.Parse 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/Files.App/Data/Commands/HotKey/HotKey.cs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d02cf5341f57ede5d59fbbb506daba2ef4d6cf4fd2d90b5b40086cf2d1be5da"}},{"ruleId":"D2","level":"warning","message":{"text":"FolderSearch.MatchesTagExpression (cognitive 19): FolderSearch.MatchesTagExpression has cognitive complexity 19 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/Utils/Storage/Search/FolderSearch.cs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4056dcdf00e166f73fe20bacd539b4c171e3d3612a60cc553f601a7df51cde3"}},{"ruleId":"D2","level":"warning","message":{"text":"ZipStorageFolder.GetItemsAsync (cognitive 19): ZipStorageFolder.GetItemsAsync has cognitive complexity 19 (threshold 15). Most of this is not in the body itself: 0 of the 19 points are its own statements and the rest belongs to one function literal inside it that branches (line 219). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/Utils/Storage/StorageItems/ZipStorageFolder.cs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"a81ded66ed07e70143c8d36dd57ea0354fe281c4c64dbe91226f0377fc96055b"}},{"ruleId":"D2","level":"warning","message":{"text":"ActionsViewModel.ExecuteDeleteCommand (cognitive 19): ActionsViewModel.ExecuteDeleteCommand has cognitive complexity 19 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/ViewModels/Settings/ActionsViewModel.cs"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"85af07a2e544a11f7c2f9260fbff557c22579ad516664fa06cbad8b2ea689b54"}},{"ruleId":"D2","level":"warning","message":{"text":"StorageRing.UpdateRingStrokes (cognitive 18): StorageRing.UpdateRingStrokes 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/Files.App.Controls/Storage/StorageRing/StorageRing.cs"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e3cddb7c111689e9299b4ae704420e85d8b056f196473ae495ae24476da79ec"}},{"ruleId":"D2","level":"warning","message":{"text":"ThemedIcon.OnIconTypeChanged (cognitive 18): ThemedIcon.OnIconTypeChanged has cognitive complexity 18 (threshold 15). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App.Controls/ThemedIcon/ThemedIcon.cs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2f21dcee97d207955d30d4665ba201dc51707d39cbf4ce2c71ef2edb3dd9e3c"}},{"ruleId":"D2","level":"warning","message":{"text":"ThemedIcon.OnIconColorTypeChanged (cognitive 18): ThemedIcon.OnIconColorTypeChanged 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/Files.App.Controls/ThemedIcon/ThemedIcon.cs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"12c4a14bc3aed784c165720a2379605666a66a47158b8985aefea099be59fd61"}},{"ruleId":"D2","level":"warning","message":{"text":"WindowsStorableHelpers.TryGetThumbnail (cognitive 18): WindowsStorableHelpers.TryGetThumbnail 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/Files.App.Storage/Windows/Helpers/WindowsStorableHelpers.Icon.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"88815e1a80304aa8fce856802d8bc8d9d452265e1b5c08dd277e14ec5fc5b682"}},{"ruleId":"D2","level":"warning","message":{"text":"DriveItem.UpdatePropertiesAsync (cognitive 18): DriveItem.UpdatePropertiesAsync 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/Files.App/Data/Items/DriveItem.cs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"d64cd31ff511128b050a10073771f3e6609d23573e4e791a388832963f63f033"}},{"ruleId":"D2","level":"warning","message":{"text":"NavigationHelpers.OpenDirectory (cognitive 18): NavigationHelpers.OpenDirectory has cognitive complexity 18 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/Helpers/Navigation/NavigationHelpers.cs"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"13c60b738a23384acfa8348fb6438ca7e945a3e44e49a48ca3834107852b48a2"}},{"ruleId":"D2","level":"warning","message":{"text":"GoogleDriveCloudDetector.GetProviders (cognitive 18): GoogleDriveCloudDetector.GetProviders 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/Files.App/Utils/Cloud/Detector/GoogleDriveCloudDetector.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"28407985cce1b9f8370c2675a6da0e85a54b94ea7f8822c81c78527fa173d802"}},{"ruleId":"D2","level":"warning","message":{"text":"FileTagsHelper.UpdateTagsDb (cognitive 18): FileTagsHelper.UpdateTagsDb 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/Files.App/Utils/FileTags/FileTagsHelper.cs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"d98bd7b0eccfcc94f397011d68823d26cc491d0a6a3d2dcfb4c579d2749761bf"}},{"ruleId":"D2","level":"warning","message":{"text":"GitHelpers.RequireGitAuthenticationAsync (cognitive 18): GitHelpers.RequireGitAuthenticationAsync 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/Files.App/Utils/Git/GitHelpers.cs"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cbab5d97480ad7b74067401c0a5467f77ac80ef2e5bda2b9daedd8d208485a5"}},{"ruleId":"D2","level":"warning","message":{"text":"SortingHelper.OrderFileList (cognitive 18): SortingHelper.OrderFileList 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/Files.App/Utils/Storage/Collection/SortingHelper.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"721670e7376970907cbb6dc307883db855cb3a0dd669da0027f41c261972187c"}},{"ruleId":"D2","level":"warning","message":{"text":"FileThumbnailHelper.GetIconAsync (cognitive 18): FileThumbnailHelper.GetIconAsync 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/Files.App/Utils/Storage/Helpers/FileThumbnailHelper.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"3363f31938d9f23cdf78f89b8a63879a14652c1c0d864a5d248579454c0efb41"}},{"ruleId":"D2","level":"warning","message":{"text":"FilesystemHelpers.MoveItemsAsync (cognitive 18): FilesystemHelpers.MoveItemsAsync has cognitive complexity 18 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 2 belong 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/Files.App/Utils/Storage/Operations/FilesystemHelpers.cs"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"5efc3c0531019685566fca98b25a2b71e835be1b4db0d157bff92df91ab0f06e"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseLayoutPage.ItemContextFlyout_Opening (cognitive 18): BaseLayoutPage.ItemContextFlyout_Opening 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/Files.App/Views/Layouts/BaseLayoutPage.cs"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c38c6a7b3fdb592be0665c971b9d61882392aecce0680d3c9cdc85c54ba22c6"}},{"ruleId":"D2","level":"warning","message":{"text":"ShellPanesPage.ArrangePanes (cognitive 18): ShellPanesPage.ArrangePanes 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/Files.App/Views/ShellPanesPage.xaml.cs"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"d92da1ec7feffb4cbf7bc1551a98acc322279ed1bc2dba0c6415719a597026a6"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonParser.ProcessJsonObject (cognitive 17): JsonParser.ProcessJsonObject 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/Files.Core.SourceGenerator/Parser/JsonParser.cs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce9b69ddd6cfaa989e2ae3143c5d69c88bb10a19ba60b5ab1d0fc8381a9d8830"}},{"ruleId":"D2","level":"warning","message":{"text":"SeerProProvider.DetectTrackSelectionSetting (cognitive 17): SeerProProvider.DetectTrackSelectionSetting 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/Files.App/Services/PreviewPopupProviders/SeerProProvider.cs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"837a780bd881b9f8263b80bd112428f210b9a4f9ffc88b3c2cad2cc1af10cb03"}},{"ruleId":"D2","level":"warning","message":{"text":"StorageSecurityService.GetAcl (cognitive 17): StorageSecurityService.GetAcl 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/Files.App/Services/Storage/StorageSecurityService.cs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"1857bc1056957dd152d4c4f4eca7ae820a980df3643bd38757a107d8f526cd2a"}},{"ruleId":"D2","level":"warning","message":{"text":"KeyboardShortcut.OnHotKeysChanged (cognitive 17): KeyboardShortcut.OnHotKeysChanged 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/Files.App/UserControls/KeyboardShortcut/KeyboardShortcut.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"7df5b9530ef90044b8ca6923c6dd03528c63fbdb5be6ed22270a85493a4381b9"}},{"ruleId":"D2","level":"warning","message":{"text":"Toolbar.PopulateToolbarItems (cognitive 17): Toolbar.PopulateToolbarItems 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/Files.App/UserControls/Toolbar.xaml.cs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"dadd0830d24b8a056b0d1feb54bf73ffa5703d9010eb2b54d35e5652887e8708"}},{"ruleId":"D2","level":"warning","message":{"text":"StatusCenterItemProgressModel.Report (cognitive 17): StatusCenterItemProgressModel.Report 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/Files.App/Utils/StatusCenter/StatusCenterItemProgressModel.cs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"06a0bc16d809055fe453c70d490c758ac261b7d8d2f2c92780295ac47f707b09"}},{"ruleId":"D2","level":"warning","message":{"text":"FolderHelpers.EnumerateSubfolders (cognitive 17): FolderHelpers.EnumerateSubfolders 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/Files.App/Utils/Storage/Helpers/FolderHelpers.cs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"47a61f391825d65b358258af4619da92eec9aba1d08530fe50ef746d8f4623f0"}},{"ruleId":"D2","level":"warning","message":{"text":"FolderSearch.SearchAsync (cognitive 17): FolderSearch.SearchAsync 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/Files.App/Utils/Storage/Search/FolderSearch.cs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"110463284c993ee61467431ca54f559accf614cb39204cf34922e594db5216db"}},{"ruleId":"D2","level":"warning","message":{"text":"CombinedFileProperties.GetSystemFilePropertiesAsync (cognitive 17): CombinedFileProperties.GetSystemFilePropertiesAsync has cognitive complexity 17 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 5 belong to 3 function literals inside it that branch. 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/Files.App/ViewModels/Properties/Items/CombinedFileProperties.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"678df404819afd27dabcfd2cc8084103b16b97f2dbd21aea3c381865ea48d395"}},{"ruleId":"D2","level":"warning","message":{"text":"FileProperties.GetBaseProperties (cognitive 17): FileProperties.GetBaseProperties has cognitive complexity 17 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. 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/Files.App/ViewModels/Properties/Items/FileProperties.cs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd8ec6363bcfe5f238fbdedb75f42c776d63d8cb63e5ff9d7d46c507b9404670"}},{"ruleId":"D2","level":"warning","message":{"text":"FileProperties.SyncPropertyChangesAsync (cognitive 17): FileProperties.SyncPropertyChangesAsync 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/Files.App/ViewModels/Properties/Items/FileProperties.cs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa4d7ce1bc975a3006ff87f330d15ee8369d2702422246d109e016cc471fc46b"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseLayoutPage.OnNavigatedTo (cognitive 17): BaseLayoutPage.OnNavigatedTo 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/Files.App/Views/Layouts/BaseLayoutPage.cs"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"15c91a14164be3fb6983f4a02a08d5c21610618dd2497aaf2af4dcda02eccc2e"}},{"ruleId":"D2","level":"warning","message":{"text":"ColumnLayoutPage.FileList_DoubleTapped (cognitive 17): ColumnLayoutPage.FileList_DoubleTapped 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/Files.App/Views/Layouts/ColumnLayoutPage.xaml.cs"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"c158138f203aa556c0fd16fe1d64ded90632e94bfdb58b6ac5c7b250fce82206"}},{"ruleId":"D2","level":"warning","message":{"text":"LibraryPage.SaveChangesAsync (cognitive 17): LibraryPage.SaveChangesAsync 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/Files.App/Views/Properties/LibraryPage.xaml.cs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccdaae596f01c3043d41c41adef3ad484967a3a3c9a4ae95f0e09d36c3abe330"}},{"ruleId":"D2","level":"warning","message":{"text":"ShellPanesPage.RemovePane (cognitive 17): ShellPanesPage.RemovePane 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/Files.App/Views/ShellPanesPage.xaml.cs"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff3b6df69f3738e47777714b52f1a9cce61420d46aef1c5f68b718a21163f463"}},{"ruleId":"D2","level":"warning","message":{"text":"RegistrySerializationGenerator.EmitBindValues (cognitive 16): RegistrySerializationGenerator.EmitBindValues has cognitive complexity 16 (threshold 15). Of this number, 15 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/Files.Core.SourceGenerator/Generators/RegistrySerializationGenerator.cs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"a40f5d618a0a83f4f771bd1f85aeec2ac529d6ec2fddfab44d1e85736a3ce7f6"}},{"ruleId":"D2","level":"warning","message":{"text":"RegistrySerializationGenerator.EmitSaveValues (cognitive 16): RegistrySerializationGenerator.EmitSaveValues has cognitive complexity 16 (threshold 15). Of this number, 15 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/Files.Core.SourceGenerator/Generators/RegistrySerializationGenerator.cs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffbb505d1bab3a42580f55568e16b06285edbe3e9dc2d92b76c3283c05f19256"}},{"ruleId":"D2","level":"warning","message":{"text":"MiddleClickScrollController.ScrollTimer_Tick (cognitive 16): MiddleClickScrollController.ScrollTimer_Tick 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/Files.App/Extensions/ScrollViewerMiddleClickExtensions.cs"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbe9d5e4b040e1ee570c3dcb539cd927d067c3e4829af8fef1a5962f4556185e"}},{"ruleId":"D2","level":"warning","message":{"text":"ContextFlyoutModelToElementHelper.GetItem (cognitive 16): ContextFlyoutModelToElementHelper.GetItem has cognitive complexity 16 (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/Files.App/Helpers/MenuFlyout/ContextFlyoutModelToElementHelper.cs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"455553812727dad16dcc2d5d406601ea21f9c9371481decb148b2fc085bb904e"}},{"ruleId":"D2","level":"warning","message":{"text":"NavigationHelpers.RefreshTabPathHints (cognitive 16): NavigationHelpers.RefreshTabPathHints has cognitive complexity 16 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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/Files.App/Helpers/Navigation/NavigationHelpers.cs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ef7e6085c5a2f935cfd9dee90b00df7ae0ece8fb1cbd64691f8f06d5d1a7823"}},{"ruleId":"D2","level":"warning","message":{"text":"UIFilesystemHelpers.CreateFileFromDialogResultTypeForResult (cognitive 16): UIFilesystemHelpers.CreateFileFromDialogResultTypeForResult 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/Files.App/Helpers/UI/UIFilesystemHelpers.cs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"741bc6521eab1257c19a52bf737b58bb4948938832d05f558d48d38904b02d95"}},{"ruleId":"D2","level":"warning","message":{"text":"LibGit2Service.Checkout (cognitive 16): LibGit2Service.Checkout has cognitive complexity 16 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. 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/Files.App/Services/Git/LibGit2Service.cs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"8253c7946cc6262dcb662900af08aa415bf2e5a6b24738e337f5301d2fe8ea04"}},{"ruleId":"D2","level":"warning","message":{"text":"NetworkService.AuthenticateNetworkShare (cognitive 16): NetworkService.AuthenticateNetworkShare 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/Files.App/Services/Storage/StorageNetworkService.cs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"c573e9fbd2a44ff9ef5f86ea45281d1f825229d127dac714c644843dbe3a02d0"}},{"ruleId":"D2","level":"warning","message":{"text":"StorageFileExtensions.DangerousGetFolderWithPathFromPathAsync (cognitive 16): StorageFileExtensions.DangerousGetFolderWithPathFromPathAsync 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/Files.App/Utils/Storage/Helpers/StorageFileExtensions.cs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf62adbdc03c9aff2c7583c423dc039bbeb59b65b15470d76207ccf7484ee8d3"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseLayoutViewModel.DropAsync (cognitive 16): BaseLayoutViewModel.DropAsync has cognitive complexity 16 (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/Files.App/ViewModels/Layouts/BaseLayoutViewModel.cs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bb4853e7e5af163de4c482c2381b892237e582c3a3118ee91cdb4030546f142"}},{"ruleId":"D2","level":"warning","message":{"text":"ShellViewModel.OrderGroups (cognitive 16): ShellViewModel.OrderGroups 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/Files.App/ViewModels/ShellViewModel.cs"},"region":{"startLine":1042}}}],"partialFingerprints":{"codehealthFindingId/v1":"31a2172f57490c95fa486a88997e1c9c17241a7b1baae4d33bc6c9652a96a212"}},{"ruleId":"D2","level":"warning","message":{"text":"ShellViewModel.GetItemTypeGroupIcon (cognitive 16): ShellViewModel.GetItemTypeGroupIcon 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/Files.App/ViewModels/ShellViewModel.cs"},"region":{"startLine":1680}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e0fbaf57e8a97110177a621fd38033a0779d2a2d7a76a2f3286524199c8fc11"}},{"ruleId":"D2","level":"warning","message":{"text":"ShellViewModel.CheckForBackgroundImage (cognitive 16): ShellViewModel.CheckForBackgroundImage 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/Files.App/ViewModels/ShellViewModel.cs"},"region":{"startLine":2162}}}],"partialFingerprints":{"codehealthFindingId/v1":"4059a930931f17109a51b711c783519e3e5395fe584370a2d1923c3b50e62c7e"}},{"ruleId":"D2","level":"warning","message":{"text":"NavigationToolbarViewModel.PathBoxItem_DragOver (cognitive 16): NavigationToolbarViewModel.PathBoxItem_DragOver has cognitive complexity 16 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 5 belong to 3 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/Files.App/ViewModels/UserControls/NavigationToolbarViewModel.cs"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2735108867b85c8fd0415c78c9e06d40ce4738906e9606bb2fccb1a2a0d7d94"}},{"ruleId":"D2","level":"warning","message":{"text":"RecentFilesWidgetViewModel.UpdateRecentFilesListAsync (cognitive 16): RecentFilesWidgetViewModel.UpdateRecentFilesListAsync 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/Files.App/ViewModels/UserControls/Widgets/RecentFilesWidgetViewModel.cs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"801291891784394a154397ccf263b95e58bf4d35fe4e6341efda2e4efdea04bb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ViewModels/ShellViewModel.cs: FileTooLong \u2014 1729 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/Files.App/ViewModels/ShellViewModel.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b192f84670b5a8214079de650f9f1de8ca52e89836435ab74b8a6cee55ce928c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SidebarViewModel: TooManyMethods \u2014 1307 significant lines (blank, comment-only and punctuation-only lines excluded), 94 methods, declared across 3 files: UserControls/SidebarViewModel.cs (48), UserControls/SidebarViewModel.FlatTree.cs (26), UserControls/SidebarViewModel.TabExpansion.cs (20). 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/Files.App/ViewModels/UserControls/SidebarViewModel.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61dfa6c1b3abce67ca59b46afb453d2cf0d06d513a9c108336b443f26ff01ce7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ShellViewModel: TooManyMethods \u2014 1683 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/Files.App/ViewModels/ShellViewModel.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce83aa228afa9178a5aa7bb085eb83b43b6130475ea89a032df4cac12bf69b41"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DetailsLayoutPage: TooManyMethods \u2014 652 significant lines (blank, comment-only and punctuation-only lines excluded), 72 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/Files.App/Views/Layouts/DetailsLayoutPage.xaml.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cae6332a1055242589eb1bb94edf24baa17ce482cb98524ec1d3fa4865141f6c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BaseLayoutPage: TooManyMethods \u2014 863 significant lines (blank, comment-only and punctuation-only lines excluded), 64 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/Files.App/Views/Layouts/BaseLayoutPage.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bed5b4d19c52a020a50b8c0503c458094fafc41bd2a1eeb861ecc15eb67a93a2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ZipStorageFolder: TooManyMethods \u2014 359 significant lines (blank, comment-only and punctuation-only lines excluded), 64 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/Files.App/Utils/Storage/StorageItems/ZipStorageFolder.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"56641f3e155e44bf9e723bec82e156314d6eff6a4d3f5d9d71c1c297e5c650dd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BaseStorageFolder: TooManyMethods \u2014 123 significant lines (blank, comment-only and punctuation-only lines excluded), 64 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/Files.App/Utils/Storage/StorageBaseItems/BaseStorageFolder.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f9c8da6db855ac3851f98f03487a7ff61cdce41f8298be6064e9e9465ffda85"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Win32Helper: TooManyMethods \u2014 697 significant lines (blank, comment-only and punctuation-only lines excluded), 55 methods, declared across 4 files: Win32/Win32Helper.Storage.cs (48), Win32/Win32Helper.Process.cs (3), Win32/Win32Helper.Shell.cs (2), Win32/Win32Helper.WindowManagement.cs (2). 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/Files.App/Helpers/Win32/Win32Helper.Storage.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"41e77d956e0f11836f35550f220008ef8caf132acb4c1ac0f8041df00deb9e91"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Toolbar: TooManyMethods \u2014 318 significant lines (blank, comment-only and punctuation-only lines excluded), 55 methods, declared across 2 files: Toolbar/Toolbar.cs (50), Toolbar/Toolbar.Properties.cs (5). 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/Files.App.Controls/Toolbar/Toolbar.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a704a7c1f916bb7e2683cdd8bd649226e9ba8173ec7c8cef05ce3161ff98cd30"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Layouts/BaseLayoutPage.cs: FileTooLong \u2014 897 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/Files.App/Views/Layouts/BaseLayoutPage.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c7b36293d7c8f9af30233c717e975e392f4ed73f150123e11146693c7c97a97"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: NavigationToolbarViewModel: ClassTooLong \u2014 715 significant lines (blank, comment-only and punctuation-only lines excluded), 30 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/Files.App/ViewModels/UserControls/NavigationToolbarViewModel.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"055ddeed326f013e782ea7ca784ea6ea5e028d0701fb17d68fbead3634b64e19"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: UserControls/SidebarViewModel.cs: FileTooLong \u2014 891 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/Files.App/ViewModels/UserControls/SidebarViewModel.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b354fd91409c47b22508395c81d25af5b394b294a80395f5aed30a1643e2873a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BaseShellPage: TooManyMethods \u2014 440 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/Files.App/Views/Shells/BaseShellPage.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b227b09dfb32d3167fa1fdfffe252864920719adecab54fd77895fd4e452439e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DigitalSignaturesUtil: ClassTooLong \u2014 665 significant lines (blank, comment-only and punctuation-only lines excluded), 27 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/Files.App/Utils/Signatures/DigitalSignaturesUtil.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aa888ac1177d13577181227531a121a1d116f2ab94c03d78551277ef099f573"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FtpStorageFolder: TooManyMethods \u2014 220 significant lines (blank, comment-only and punctuation-only lines excluded), 48 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/Files.App/Utils/Storage/StorageItems/FtpStorageFolder.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b88087573153d83841b8533501d36f5753fa1fbe519d9586a9afd3c8c76dcda7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ShellStorageFolder: TooManyMethods \u2014 135 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/Files.App/Utils/Storage/StorageItems/ShellStorageFolder.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2771ba80e49e7ae15735a291f0aed4375208b12d499047e704952af11799620a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: UserControls/NavigationToolbarViewModel.cs: FileTooLong \u2014 728 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/Files.App/ViewModels/UserControls/NavigationToolbarViewModel.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"05ef2081dff28e395db8011ef0813b76c7c0609ecf426be24ffc5edee068d995"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: StatusCenterHelper: ClassTooLong \u2014 581 significant lines (blank, comment-only and punctuation-only lines excluded), 11 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/Files.App/Utils/StatusCenter/StatusCenterHelper.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c0129377d4ee1df1a99b2fed5c0ff900d824312b6aba93a307a8524ddfceb1f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FileOperationsHelpers: ClassTooLong \u2014 576 significant lines (blank, comment-only and punctuation-only lines excluded), 19 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/Files.App/Utils/Storage/Operations/FileOperationsHelpers.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"31e309eaff9817507429f80e8b0501d042825a17ecb03a22ae90dc55c2aa881a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: VirtualStorageFolder: TooManyMethods \u2014 81 significant lines (blank, comment-only and punctuation-only lines excluded), 43 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/Files.App/Utils/Storage/StorageItems/VirtualStorageFolder.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"71f0bec52a0b3fe53fc2000034dc7266573963a911c7e67b3298c30bf872c18e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ColumnLayoutPage: TooManyMethods \u2014 332 significant lines (blank, comment-only and punctuation-only lines excluded), 41 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/Files.App/Views/Layouts/ColumnLayoutPage.xaml.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a5ba2ee0282c333258daad1566c76b7183f9e83662b69ff176dddcba859be82"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Signatures/DigitalSignaturesUtil.cs: FileTooLong \u2014 681 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/Files.App/Utils/Signatures/DigitalSignaturesUtil.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"17bfab22619ad8cd64fe9778aef7588f0113f51b8b3d05b8373d9214ab7c450c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Layouts/DetailsLayoutPage.xaml.cs: FileTooLong \u2014 669 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/Files.App/Views/Layouts/DetailsLayoutPage.xaml.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f11e27df07fc6ff7caef04f54d1477067803eb5eef95b553d83c2e77a7e31027"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MainPage: TooManyMethods \u2014 304 significant lines (blank, comment-only and punctuation-only lines excluded), 40 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/Files.App/Views/MainPage.xaml.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8e356c8888390e01712934310eb2523f0a7f1c53d6a7895f6461920c4c715df"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ShellPanesPage: TooManyMethods \u2014 571 significant lines (blank, comment-only and punctuation-only lines excluded), 39 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/Files.App/Views/ShellPanesPage.xaml.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c77f9a16caa21b64d688ab89d732c37dd098a7a69d8d6592377950814cae76cc"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SidebarItem: TooManyMethods \u2014 396 significant lines (blank, comment-only and punctuation-only lines excluded), 39 methods, declared across 2 files: Sidebar/SidebarItem.cs (36), Sidebar/SidebarItem.Properties.cs (3). 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/Files.App.Controls/Sidebar/SidebarItem.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"19e4118e7f305ae2924f0ebe6f7bb0ad995bbe83afa9983cf85affa23c92b8a0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BaseStorageFile: TooManyMethods \u2014 101 significant lines (blank, comment-only and punctuation-only lines excluded), 39 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/Files.App/Utils/Storage/StorageBaseItems/BaseStorageFile.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0be2a4a3a01852ea575d73d72f8a0d4b62cdcec8630c0e320c6ba51489b54a03"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ContentPageContextFlyoutFactory: ClassTooLong \u2014 516 significant lines (blank, comment-only and punctuation-only lines excluded), 7 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/Files.App/Data/Factories/ContentPageContextFlyoutFactory.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b929bc0b684a4c80cf7bfdd37c6108600bda8b42a57f418746dc77ba437ced7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Operations/FileOperationsHelpers.cs: FileTooLong \u2014 620 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/Files.App/Utils/Storage/Operations/FileOperationsHelpers.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6621cab3a90ee91112e4d18e0fbd81c2687c483bd50cc3320da18851c061d145"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GridLayoutPage: TooManyMethods \u2014 413 significant lines (blank, comment-only and punctuation-only lines excluded), 37 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/Files.App/Views/Layouts/GridLayoutPage.xaml.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f921b3f5577b94779c35127d7cbee62bae67dc384b54be83d00271a76e79e78c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ZipStorageFile: TooManyMethods \u2014 277 significant lines (blank, comment-only and punctuation-only lines excluded), 37 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/Files.App/Utils/Storage/StorageItems/ZipStorageFile.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65c45156c60e64dbc5f123a1755f1def51ff1e0e8480c4196564bf3059181c63"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Win32/Win32Helper.Storage.cs: FileTooLong \u2014 614 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/Files.App/Helpers/Win32/Win32Helper.Storage.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b09838c37c7d6388a8aa4600abfb3f962d11b9008053b65f5a25e9dc9f6e801b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ShellFilesystemOperations: ClassTooLong \u2014 488 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/Files.App/Utils/Storage/Operations/ShellFilesystemOperations.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"977bcd4e15766a74e583b01344258802d655cc25f3536cb59d0faf9a196c3541"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GridSplitter: TooManyMethods \u2014 458 significant lines (blank, comment-only and punctuation-only lines excluded), 36 methods, declared across 4 files: GridSplitter/GridSplitter.Helper.cs (14), GridSplitter/GridSplitter.Events.cs (9), GridSplitter/GridSplitter.cs (8), GridSplitter/GridSplitter.Options.cs (5). 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/Files.App.Controls/GridSplitter/GridSplitter.Helper.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d883cfd45a298406cce1b08aa56eafac7cce96fa8c24b38e3bd383134a64eaa9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ToolbarItem: TooManyMethods \u2014 182 significant lines (blank, comment-only and punctuation-only lines excluded), 36 methods, declared across 2 files: ToolbarItem/ToolbarItem.cs (24), ToolbarItem/ToolbarItem.Properties.cs (12). 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/Files.App.Controls/Toolbar/ToolbarItem/ToolbarItem.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d410ae13849d967381017cf6d30fef8691d35d7b4fbb7f1005853f615cc03207"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FilesystemOperations: ClassTooLong \u2014 480 significant lines (blank, comment-only and punctuation-only lines excluded), 23 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/Files.App/Utils/Storage/Operations/FilesystemOperations.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3731aa972e6010532a85d2e001faf5d1b638d550c3f3562b2ed7b52a6cb98c9a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SelectedItemsPropertiesViewModel: ClassTooLong \u2014 477 significant lines (blank, comment-only and punctuation-only lines excluded), 2 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/Files.App/Data/Models/SelectedItemsPropertiesViewModel.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eb815f76bf0b4e9f86131a951d7d91a851866148a684f50fd455c0a647733cb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Views/ShellPanesPage.xaml.cs: FileTooLong \u2014 588 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/Files.App/Views/ShellPanesPage.xaml.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"847ddb40ab660f5bd9af816ef00d094d3dcf5b95fbf03ca7e528d43e6bb4bd9d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: StatusCenter/StatusCenterHelper.cs: FileTooLong \u2014 582 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/Files.App/Utils/StatusCenter/StatusCenterHelper.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a863992807fd96d21c083622d25ab85e69153890fd42e559221622df12f24b0f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FilesystemHelpers: TooManyMethods \u2014 473 significant lines (blank, comment-only and punctuation-only lines excluded), 34 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/Files.App/Utils/Storage/Operations/FilesystemHelpers.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e67ce733fe6ce807f818b1e2c101cc03a111efda9544faac8f0ee6981f80177"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BulkConcurrentObservableCollection: TooManyMethods \u2014 277 significant lines (blank, comment-only and punctuation-only lines excluded), 34 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/Files.App/Utils/Storage/Collection/BulkConcurrentObservableCollection.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73c0e5a6d2d15b6455e42ebc4acde577116637b3298008cd635013578b739651"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RingShape: TooManyMethods \u2014 269 significant lines (blank, comment-only and punctuation-only lines excluded), 34 methods, declared across 2 files: RingShape/RingShape.cs (26), RingShape/RingShape.Properties.cs (8). 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/Files.App.Controls/Storage/RingShape/RingShape.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cb3eb0000364e32c09f88c78d7294184d48936113bf470d184f778d88c0083f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BaseGroupableLayoutPage: TooManyMethods \u2014 238 significant lines (blank, comment-only and punctuation-only lines excluded), 34 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/Files.App/Views/Layouts/BaseGroupableLayoutPage.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4216f5f351983ed78d144e7c35350e717dec276b176ed48ec04fa7ee0bd4634a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NativeStorageFile: TooManyMethods \u2014 160 significant lines (blank, comment-only and punctuation-only lines excluded), 33 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/Utils/Storage/StorageItems/NativeStorageFile.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eab5cb057c5405397c87f72034f9e97965a0a3fc8836d092311667c655804516"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: NavigationHelpers: ClassTooLong \u2014 438 significant lines (blank, comment-only and punctuation-only lines excluded), 25 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/Files.App/Helpers/Navigation/NavigationHelpers.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13f135662c4684344f427dc69329c9e9fd1f96e3f59564a3ad19f17ade780ffd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FtpStorageFile: TooManyMethods \u2014 165 significant lines (blank, comment-only and punctuation-only lines excluded), 32 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/Files.App/Utils/Storage/StorageItems/FtpStorageFile.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ba3c59b5e4256da61b2223ae3095bf3179904d5f196419e0ed4c5e3102074df"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Factories/ContentPageContextFlyoutFactory.cs: FileTooLong \u2014 524 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/Files.App/Data/Factories/ContentPageContextFlyoutFactory.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"461b9a12dca586ae84090465a1dce3f1b04fe5f2de647e405355516e3eb316d4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Toolbar: TooManyMethods \u2014 302 significant lines (blank, comment-only and punctuation-only lines excluded), 31 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/UserControls/Toolbar.xaml.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e5b7bdb375cb8b2060b0c89f893d32e6d3a447999865042ac2167a6923efaa8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ColumnsLayoutPage: TooManyMethods \u2014 278 significant lines (blank, comment-only and punctuation-only lines excluded), 31 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/Views/Layouts/ColumnsLayoutPage.xaml.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4084c231887a8f20a2ba00b0eb233aee78ade09aee25b75b30502593461ce62"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FileExtensionHelpers: TooManyMethods \u2014 96 significant lines (blank, comment-only and punctuation-only lines excluded), 31 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/Files.Shared/Helpers/FileExtensionHelpers.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae78f345fcb307c709bcbec98537dd340275ef827de9ce169441b2c5f166a021"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ShellStorageFile: TooManyMethods \u2014 78 significant lines (blank, comment-only and punctuation-only lines excluded), 31 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/Utils/Storage/StorageItems/ShellStorageFile.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa0d0ab7aa493f1ba869a0d9233d356a906a4bed6754af987047bc72ead282e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): src/Files.Core.SourceGenerator/Generators/RegistrySerializationGenerator.cs:212-236 | src/Files.Core.SourceGenerator/Generators/RegistrySerializationGenerator.cs:374-399 \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/Files.Core.SourceGenerator/Generators/RegistrySerializationGenerator.cs:212\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/Files.Core.SourceGenerator/Generators/RegistrySerializationGenerator.cs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5013fc007fecb865d27e95694d758509269014733a20b9d317b23c77ba48159"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/Files.App.Controls/Storage/StorageControlsHelpers.cs:42-61 | src/Files.App.Controls/Storage/StorageControlsHelpers.cs:221-241 \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/Files.App.Controls/Storage/StorageControlsHelpers.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"62d49e72519c406a43a24c90a34536ab75acb3b7e92ff1683291d2bec3ff44d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/Files.App/Services/App/AppUpdateSideloadService.cs:139-157 | src/Files.App/Services/App/AppUpdateStoreService.cs:232-250 \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/Files.App/Services/App/AppUpdateSideloadService.cs:139\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/Files.App/Services/App/AppUpdateSideloadService.cs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"372d37edbb957641a5ef4ba5581d21d6899deab6d0976b4b012f17fbf9d9c6aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/Files.App/Services/Git/LibGit2Service.cs:369-387 | src/Files.App/Utils/Git/GitHelpers.cs:579-597 \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/Files.App/Services/Git/LibGit2Service.cs:369\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/Files.App/Services/Git/LibGit2Service.cs"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3ebb47d06dd4cd7e2a27c3ae5c85c2105b4c139565f64349560392f6de24bad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/Files.App/Utils/Storage/Operations/FileOperationsHelpers.cs:404-421 | src/Files.App/Utils/Storage/Operations/FileOperationsHelpers.cs:540-557 \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/Files.App/Utils/Storage/Operations/FileOperationsHelpers.cs"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f8a37c762c67785888bd4a418a51e7ff0ec57952cf74232b99d2b69032a080f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/Files.App/Utils/Storage/Operations/FilesystemOperations.cs:184-203 | src/Files.App/Utils/Storage/Operations/FilesystemOperations.cs:401-418 \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/Files.App/Utils/Storage/Operations/FilesystemOperations.cs:184\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/Files.App/Utils/Storage/Operations/FilesystemOperations.cs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e15b1402ef5d6b2844042b50a36a4ab86fd063acd9ab78e0f61fd31d81be712"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/Files.App/Actions/Open/OpenLogFileAction.cs:42-58 | src/Files.App/Actions/Open/OpenSettingsFileAction.cs:37-53 \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/Files.App/Actions/Open/OpenLogFileAction.cs:42\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/Files.App/Actions/Open/OpenLogFileAction.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"8724e9f2acd20f1d720522045a94b01cb859e18a65de885386890fa97f81ad5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/Files.App/Utils/Storage/Operations/FilesystemOperations.cs:123-139 | src/Files.App/Utils/Storage/Operations/FilesystemOperations.cs:324-341 \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/Files.App/Utils/Storage/Operations/FilesystemOperations.cs:123\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/Files.App/Utils/Storage/Operations/FilesystemOperations.cs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"cca2dbffde3f4b29f628ed19832106dbc52788e97583c763410e1167db0e8f29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/Files.App.Controls/ThemedIcon/ThemedIcon.cs:134-149 | src/Files.App.Controls/ThemedIcon/ThemedIcon.cs:156-171 \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/Files.App.Controls/ThemedIcon/ThemedIcon.cs:134\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/Files.App.Controls/ThemedIcon/ThemedIcon.cs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"82904acf4a04d43039d60b853cd4368130f3e30396f113033b6a5963bccfec1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/Files.App/ViewModels/Properties/SecurityAdvancedViewModel.cs:242-257 | src/Files.App/ViewModels/Properties/SecurityViewModel.cs:135-150 \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/Files.App/ViewModels/Properties/SecurityAdvancedViewModel.cs:242\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/Files.App/ViewModels/Properties/SecurityAdvancedViewModel.cs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fd23cca49a5c0a35f1fbf7af8f83db81c8729522228c25e6c06f61973d774a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/Files.App/ViewModels/Properties/SecurityAdvancedViewModel.cs:128-142 | src/Files.App/ViewModels/Properties/SecurityViewModel.cs:74-88 \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/Files.App/ViewModels/Properties/SecurityAdvancedViewModel.cs:128\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/Files.App/ViewModels/Properties/SecurityAdvancedViewModel.cs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"66b3a76e9c9f5bfbdff871169d6feb5298afe28aa5355af52dd4c1252cfcf691"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/Files.App/Views/Layouts/DetailsLayoutPage.xaml.cs:631-648 | src/Files.App/Views/Layouts/GridLayoutPage.xaml.cs:622-636 \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/Files.App/Views/Layouts/DetailsLayoutPage.xaml.cs:631\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/Files.App/Views/Layouts/DetailsLayoutPage.xaml.cs"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8a533ca87ad8a2cec130e4cb92a519223b754a494bdc1158c8fdc8db775254c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/Files.App.Controls/Storage/StorageBar/StorageBar.cs:359-372 | src/Files.App.Controls/Storage/StorageRing/StorageRing.cs:559-572 \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/Files.App.Controls/Storage/StorageBar/StorageBar.cs:359\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/Files.App.Controls/Storage/StorageBar/StorageBar.cs"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae65054c51cffabc47e7693832d13885b02ee505db3239902adee02f479c1df0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/Files.App/Actions/Content/Archives/Decompress/DecompressArchive.cs:60-75 | src/Files.App/Actions/Content/Archives/Decompress/DecompressArchiveToChildFolderAction.cs:46-59 \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. 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/Files.App/Actions/Content/Archives/Decompress/DecompressArchive.cs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dcef50ddcffd441f63116e128a2c4b2b35e73aab32e00fb16692e774272d5e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/Files.App/Services/Git/LibGit2Service.cs:392-405 | src/Files.App/Utils/Git/GitHelpers.cs:603-616 \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/Files.App/Services/Git/LibGit2Service.cs"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9ea1423e2a453bb1924b211c6a28ff61e75b057807217069012dd4585650d0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/Files.App/ViewModels/UserControls/Widgets/DrivesWidgetViewModel.cs:224-237 | src/Files.App/ViewModels/UserControls/Widgets/NetworkLocationsWidgetViewModel.cs:232-245 \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/Files.App/ViewModels/UserControls/Widgets/DrivesWidgetViewModel.cs:224\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/Files.App/ViewModels/UserControls/Widgets/DrivesWidgetViewModel.cs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"db6c1c8cc4d62290122b3ed3687196adca9c2a65a45c20ec9d4a8d82816fe3fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/Files.App/ViewModels/UserControls/Widgets/QuickAccessWidgetViewModel.cs:233-246 | src/Files.App/ViewModels/UserControls/Widgets/QuickAccessWidgetViewModel.cs:262-275 \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/Files.App/ViewModels/UserControls/Widgets/QuickAccessWidgetViewModel.cs:233\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/Files.App/ViewModels/UserControls/Widgets/QuickAccessWidgetViewModel.cs"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"c98c35e84d9aa074b21e5fa1f84c4abc689276ed25cae67821cc3ff911a8d9a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/Files.App/Views/Layouts/BaseLayoutPage.cs:936-949 | src/Files.App/Views/Layouts/BaseLayoutPage.cs:969-982 \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/Files.App/Views/Layouts/BaseLayoutPage.cs:936\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/Files.App/Views/Layouts/BaseLayoutPage.cs"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e7410e89b2f5e1e33431e90a888e629b68d667b7949af8226fd72869f2f74d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/Files.Core.SourceGenerator/Generators/RegistrySerializationGenerator.cs:98-110 | src/Files.Core.SourceGenerator/Generators/RegistrySerializationGenerator.cs:270-282 \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/Files.Core.SourceGenerator/Generators/RegistrySerializationGenerator.cs:98\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/Files.Core.SourceGenerator/Generators/RegistrySerializationGenerator.cs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"619937c6a9ad7f6ffd98f7c301547f78835ac079140d01765eb7690f1dee6f05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/Files.App/Utils/Storage/StorageItems/ZipStorageFile.cs:474-486 | src/Files.App/Utils/Storage/StorageItems/ZipStorageFolder.cs:579-591 \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/Files.App/Utils/Storage/StorageItems/ZipStorageFile.cs:474\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/Files.App/Utils/Storage/StorageItems/ZipStorageFile.cs"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"04beb69b258f9245eb120bb230c82f8e0b785e0c5e30e661bdafaf0c67fc1e40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/Files.App.Storage/Windows/Helpers/WindowsStorableHelpers.Shell.cs:159-170 | src/Files.App.Storage/Windows/Helpers/WindowsStorableHelpers.Shell.cs:190-201 \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. 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/Files.App.Storage/Windows/Helpers/WindowsStorableHelpers.Shell.cs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb081372948f0b5296bedc1bb11e4e03ce9ca02d06f62749a8b924216704be89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/Files.App/Data/Commands/ActionCommand.cs:197-208 | src/Files.App/Data/Commands/ModifiableCommand.cs:143-154 \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. 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/Files.App/Data/Commands/ActionCommand.cs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebdbdce194169ceeb1fd799f5d9695184db012d3bd970f1bbec8719b81f282c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/Files.App/Data/Commands/ActionCommand.cs:222-233 | src/Files.App/Data/Commands/ModifiableCommand.cs:168-179 \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. 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/Files.App/Data/Commands/ActionCommand.cs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec27ac87774e4b0e2f8eb1734e69f7f4bdfc6b2608e2d5067e3b825a3d9de092"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/Files.App/Program.cs:172-184 | src/Files.App/Program.cs:212-223 \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/Files.App/Program.cs:172\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/Files.App/Program.cs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"abadbb4adeb56054a5d2bc16fccca6b10b6552887e61772096e3157ce00445d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/Files.App/Utils/StatusCenter/StatusCenterItem.cs:229-240 | src/Files.App/Utils/StatusCenter/StatusCenterItem.cs:263-274 \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/Files.App/Utils/StatusCenter/StatusCenterItem.cs:229\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/Files.App/Utils/StatusCenter/StatusCenterItem.cs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1aa6a3260c2701f55b3cfb0e9611dcf42c725b819ced90d1eb8b3052948542d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/Files.App/ViewModels/ShellViewModel.cs:1397-1408 | src/Files.App/ViewModels/ShellViewModel.cs:1465-1476 \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/Files.App/ViewModels/ShellViewModel.cs:1397\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/Files.App/ViewModels/ShellViewModel.cs"},"region":{"startLine":1397}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb1074f60bcb7db60444dede3afaf018ffd2c245dcad5420759ea12834951871"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/Files.App/ViewModels/UserControls/Widgets/DrivesWidgetViewModel.cs:86-97 | src/Files.App/ViewModels/UserControls/Widgets/NetworkLocationsWidgetViewModel.cs:91-102 \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/Files.App/ViewModels/UserControls/Widgets/DrivesWidgetViewModel.cs:86\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/Files.App/ViewModels/UserControls/Widgets/DrivesWidgetViewModel.cs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"95827250b88ae7351880385dd94ff293c9cda634317e0d3286029951633b82f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/Files.App/Views/Layouts/ColumnLayoutPage.xaml.cs:472-483 | src/Files.App/Views/Layouts/GridLayoutPage.xaml.cs:547-558 \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/Files.App/Views/Layouts/ColumnLayoutPage.xaml.cs:472\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/Files.App/Views/Layouts/ColumnLayoutPage.xaml.cs"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"734cf7ffb16013b1697f05ecdae1b8b0b4320261bff061ea240c4bf9b6386e99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/Files.App/Views/Layouts/DetailsLayoutPage.xaml.cs:534-545 | src/Files.App/Views/Layouts/GridLayoutPage.xaml.cs:536-547 \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/Files.App/Views/Layouts/DetailsLayoutPage.xaml.cs:534\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/Files.App/Views/Layouts/DetailsLayoutPage.xaml.cs"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"b344a9a1deb38cabc90550da9bb8f3216638139ace96b9230ebd0a8410d0f5e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/Files.App/Views/Layouts/DetailsLayoutPage.xaml.cs:1026-1037 | src/Files.App/Views/Layouts/GridLayoutPage.xaml.cs:693-704 \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/Files.App/Views/Layouts/DetailsLayoutPage.xaml.cs:1026\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/Files.App/Views/Layouts/DetailsLayoutPage.xaml.cs"},"region":{"startLine":1026}}}],"partialFingerprints":{"codehealthFindingId/v1":"140ed3ac7b7852957b4be0697060f318d5df90ff196730117444bb437f23cc08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/Files.App/Views/ReleaseNotesPage.xaml.cs:32-43 | src/Files.App/Views/Settings/SettingsPage.xaml.cs:36-47 \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/Files.App/Views/ReleaseNotesPage.xaml.cs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"290eb1b5debedbba2fa948e2f037518b28c819fbb30e9fadf17d6399e61855e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): src/Files.App/Utils/StatusCenter/StatusCenterHelper.cs:646-656 | src/Files.App/Utils/StatusCenter/StatusCenterHelper.cs:665-675 | src/Files.App/Utils/StatusCenter/StatusCenterHelper.cs:684-694 \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/Files.App/Utils/StatusCenter/StatusCenterHelper.cs:646\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/Files.App/Utils/StatusCenter/StatusCenterHelper.cs"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"e715e39755fb9792bd128d5248c66cef06505c1e88d6293f5f9a64ede24f8c9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): src/Files.App/Views/Layouts/ColumnLayoutPage.xaml.cs:445-455 | src/Files.App/Views/Layouts/DetailsLayoutPage.xaml.cs:495-505 | src/Files.App/Views/Layouts/GridLayoutPage.xaml.cs:509-519 \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/Files.App/Views/Layouts/ColumnLayoutPage.xaml.cs"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"439afb116960b0ceb3155e9ada77e6cf56a599d343cb35f3fa0b4320b151d053"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/Files.App/Utils/Storage/StorageItems/FtpStorageFile.cs:82-92 | src/Files.App/Utils/Storage/StorageItems/FtpStorageFolder.cs:70-80 \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/Files.App/Utils/Storage/StorageItems/FtpStorageFile.cs:82\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/Files.App/Utils/Storage/StorageItems/FtpStorageFile.cs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d517b15826a2064c6ce7051d3197632162d0354287fb0bab6666d42644c6602"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/Files.App/Utils/Storage/StorageItems/FtpStorageFile.cs:220-230 | src/Files.App/Utils/Storage/StorageItems/FtpStorageFolder.cs:298-308 \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/Files.App/Utils/Storage/StorageItems/FtpStorageFile.cs:220\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/Files.App/Utils/Storage/StorageItems/FtpStorageFile.cs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"92316e937ebddba89c640cc5cc636c900415e2c197a66ae539a5c17bb7dc82df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/Files.App/Views/Layouts/ColumnLayoutPage.xaml.cs:241-251 | src/Files.App/Views/Layouts/GridLayoutPage.xaml.cs:583-593 \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/Files.App/Views/Layouts/ColumnLayoutPage.xaml.cs:241\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/Files.App/Views/Layouts/ColumnLayoutPage.xaml.cs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"404280fc1f0f3be34eaa18f61d01bc0e6f207ab8fdffd06889840bf774dc5dc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/Files.App/Actions/Navigation/OpenInNewPane/BaseOpenInNewPaneAction.cs:48-57 | src/Files.App/Actions/Navigation/OpenInOtherPane/BaseOpenInOtherPaneAction.cs:49-58 \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/Files.App/Actions/Navigation/OpenInNewPane/BaseOpenInNewPaneAction.cs:48\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/Files.App/Actions/Navigation/OpenInNewPane/BaseOpenInNewPaneAction.cs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b41139b0b43d6fd89d48c9548f8d5afed92dfadf7e6f256a51e05628db599f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/Files.App/Actions/Start/PinToStartAction.cs:39-48 | src/Files.App/Actions/Start/UnpinFromStartAction.cs:36-45 \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/Files.App/Actions/Start/PinToStartAction.cs:39\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/Files.App/Actions/Start/PinToStartAction.cs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"842e24d933738daac1615d6a1dba64fcf5a9bcaedf7bf18e86c6c7716174966b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/Files.App/Utils/Storage/Operations/FilesystemOperations.cs:220-229 | src/Files.App/Utils/Storage/Operations/FilesystemOperations.cs:433-442 \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/Files.App/Utils/Storage/Operations/FilesystemOperations.cs:220\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/Files.App/Utils/Storage/Operations/FilesystemOperations.cs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d4a5261df6d391e3fdf71baeea239822829852c8439f1bf8595be95712c3e1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/Files.App/Utils/Storage/StorageItems/SystemStorageFile.cs:86-95 | src/Files.App/Utils/Storage/StorageItems/VirtualStorageFile.cs:123-132 \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/Files.App/Utils/Storage/StorageItems/SystemStorageFile.cs:86\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/Files.App/Utils/Storage/StorageItems/SystemStorageFile.cs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf3861cf126c05131da2c88b7eb9960c9f52b82662eb2ec63cfb415759d20cc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): src/Files.App/Views/HomePage.xaml.cs:38-46 | src/Files.App/Views/ReleaseNotesPage.xaml.cs:37-45 | src/Files.App/Views/Settings/SettingsPage.xaml.cs:41-49 \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. Note what the matched lines are: every one of them assigns one field to another, so the block is a hand-written mapper between two data shapes rather than behaviour with a helper inside it. Extracting one shared function only works if both sites map the SAME pair of types in the same direction \u2014 check that first, because inverse or differently-typed mappers have no single function they can both call. Where they do not, the moves that exist are a generated or reflective mapper, a common embedded/base type the fields live on once, or accepting the run and covering it with a test that fails when a field is added to one side only."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/Views/HomePage.xaml.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2bb9902c1819db4ba98a8262b4951240e0318d72322d71c42f8922f1638162e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/Files.App/Utils/StatusCenter/StatusCenterItem.cs:348-356 | src/Files.App/Utils/StatusCenter/StatusCenterItem.cs:357-365 \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. 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. 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/Files.App/Utils/StatusCenter/StatusCenterItem.cs"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"481fe0dc19331a09add31b7214f3a93643ac29d426c30931c7dd7f5b93376ed6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/Files.App/Utils/Storage/Operations/FilesystemHelpers.cs:318-326 | src/Files.App/Utils/Storage/Operations/FilesystemHelpers.cs:459-467 \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/Files.App/Utils/Storage/Operations/FilesystemHelpers.cs:318\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/Files.App/Utils/Storage/Operations/FilesystemHelpers.cs"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dbac1de99ba4add2f49396b5668427df2cb38b4a2d08594abe784499784a147"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/Files.App/Utils/Storage/Operations/FilesystemOperations.cs:868-876 | src/Files.App/Utils/Storage/Operations/FilesystemOperations.cs:911-919 \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/Files.App/Utils/Storage/Operations/FilesystemOperations.cs:868\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/Files.App/Utils/Storage/Operations/FilesystemOperations.cs"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"628f13613d7eb50e51c9c93d08f46c4a4ea3f9a97af534b5ddf766b46316eeab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/Files.App/Utils/Storage/Operations/ShellFilesystemOperations.cs:89-97 | src/Files.App/Utils/Storage/Operations/ShellFilesystemOperations.cs:527-536 \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/Files.App/Utils/Storage/Operations/ShellFilesystemOperations.cs:89\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/Files.App/Utils/Storage/Operations/ShellFilesystemOperations.cs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"835553a60e7eae3a2689f7aaf78dc75f6b7220ad45854d3071ecd6b196c1394f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/Files.App/Utils/Storage/Operations/ShellFilesystemOperations.cs:167-176 | src/Files.App/Utils/Storage/Operations/ShellFilesystemOperations.cs:612-620 \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/Files.App/Utils/Storage/Operations/ShellFilesystemOperations.cs:167\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/Files.App/Utils/Storage/Operations/ShellFilesystemOperations.cs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"765c5735ba236aa1f3c931d2307e73af3d066d873516060199bd87cefc5acfc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/Files.App/Views/Shells/BaseShellPage.cs:545-553 | src/Files.App/Views/Shells/BaseShellPage.cs:563-571 \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/Files.App/Views/Shells/BaseShellPage.cs:545\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/Files.App/Views/Shells/BaseShellPage.cs"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"960524b87e4a683f2bcadd7fed620042763f0ea19b4d3c4cbfcf39a9c5cb16e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/Files.App/Utils/StatusCenter/StatusCenterHelper.cs:703-710 | src/Files.App/Utils/StatusCenter/StatusCenterHelper.cs:725-732 \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/Files.App/Utils/StatusCenter/StatusCenterHelper.cs:703\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/Files.App/Utils/StatusCenter/StatusCenterHelper.cs"},"region":{"startLine":703}}}],"partialFingerprints":{"codehealthFindingId/v1":"9101eff7b1682027d3f1c7ca103a628b31de5be9657cdf33e79b079669c3a221"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/Files.App/Utils/Storage/Helpers/StorageFileExtensions.cs:182-189 | src/Files.App/Utils/Storage/Helpers/StorageFileExtensions.cs:195-202 \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. 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/Files.App/Utils/Storage/Helpers/StorageFileExtensions.cs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e8127c1333626eb1dfec461dc9415025bf5ed99c4e64da07d3dce639e2f5c0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/Files.App/Utils/Storage/StorageItems/FtpStorageFile.cs:260-267 | src/Files.App/Utils/Storage/StorageItems/FtpStorageFolder.cs:353-360 \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/Files.App/Utils/Storage/StorageItems/FtpStorageFile.cs:260\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/Files.App/Utils/Storage/StorageItems/FtpStorageFile.cs"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"f96ef1260e45085e7616fc7f7efb0c5357d8e707f9076c3e440828b6ec9153e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/Files.App/ViewModels/Settings/AdvancedViewModel.cs:55-63 | src/Files.App/ViewModels/Settings/AdvancedViewModel.cs:116-123 \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/Files.App/ViewModels/Settings/AdvancedViewModel.cs:55\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/Files.App/ViewModels/Settings/AdvancedViewModel.cs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"5152f893aa0efa15fbcb373f097867b392489db46f047badb1687b7caacf4359"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/Files.Core.SourceGenerator/Generators/RegistrySerializationGenerator.cs:191-197 | src/Files.Core.SourceGenerator/Generators/RegistrySerializationGenerator.cs:354-360 \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/Files.Core.SourceGenerator/Generators/RegistrySerializationGenerator.cs:191\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. 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/Files.Core.SourceGenerator/Generators/RegistrySerializationGenerator.cs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"9156834480f7b159861b07118d4ae0a0113335d6ccf74f0c2822394e4d3509a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/Files.App/Utils/Storage/Operations/ShellFilesystemOperations.cs:52-58 | src/Files.App/Utils/Storage/Operations/ShellFilesystemOperations.cs:494-500 \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/Files.App/Utils/Storage/Operations/ShellFilesystemOperations.cs:52\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/Files.App/Utils/Storage/Operations/ShellFilesystemOperations.cs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"22ed406f14708344669c288527ecb289c26ee7d8d26581361edf1a185cfc090b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/Files.App/Utils/Storage/Operations/ShellFilesystemOperations.cs:69-76 | src/Files.App/Utils/Storage/Operations/ShellFilesystemOperations.cs:510-516 \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/Files.App/Utils/Storage/Operations/ShellFilesystemOperations.cs:69\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/Files.App/Utils/Storage/Operations/ShellFilesystemOperations.cs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cfada6fadd7bd672f8342b932c6054b1c1c215446748319eb22ce2411bc1614"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/Files.App/ViewModels/Properties/Items/FileProperties.cs:40-46 | src/Files.App/ViewModels/Properties/Items/FolderProperties.cs:42-48 \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/Files.App/ViewModels/Properties/Items/FileProperties.cs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ee585244b088f6f07bf456d4050a32caebc91aac73ac05c4a16021729038818"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/Files.App/Utils/Storage/Operations/ShellFilesystemOperations.cs:184-190 | src/Files.App/Utils/Storage/Operations/ShellFilesystemOperations.cs:620-625 \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/Files.App/Utils/Storage/Operations/ShellFilesystemOperations.cs:184\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/Files.App/Utils/Storage/Operations/ShellFilesystemOperations.cs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c9fc92a845d8965b246a3f873e32a4ecb43cf91605f521f8314666e9a1518e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/Files.App/Utils/Storage/Operations/ShellFilesystemOperations.cs:589-594 | src/Files.App/Utils/Storage/Operations/ShellFilesystemOperations.cs:626-631 \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/Files.App/Utils/Storage/Operations/ShellFilesystemOperations.cs"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5fff81dcf1dbfa0b4fb47b8ccc283a6d9c6950a4798e9a10c7cdc682d079506"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/Files.App/Utils/Storage/Operations/FilesystemOperations.cs:840-844 | src/Files.App/Utils/Storage/Operations/FilesystemOperations.cs:884-888 \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/Files.App/Utils/Storage/Operations/FilesystemOperations.cs:840\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/Files.App/Utils/Storage/Operations/FilesystemOperations.cs"},"region":{"startLine":840}}}],"partialFingerprints":{"codehealthFindingId/v1":"eec9ad5c91e0e7cf3137592865d34292a59d6305e906dd2c5b7627d802bc5e90"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: Files.App.BackgroundTasks: Files.App.BackgroundTasks: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5aa59fa911b2ba7cfa5b1785137e9e9fbee1975586d852bc3795ccf8689e5d08"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: Files.Shared: Files.Shared: abstractness 0.19, instability 0.00, distance 0.81 \u2014 the shape a shared-kernel / building-block library has BY DESIGN \u2014 concrete and widely depended-on is what makes it useful, and this dimension does not penalise it (the distance is reported for completeness, not as a defect). Worth a look only if it has grown past one coherent kernel into an everything-bucket."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"37b61dc5093acd34a0c2bf883bb94c72f01712ce97e1bc67e21889572ac2bbb8"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DetailsLayoutPage (LCOM4 16): DetailsLayoutPage\u0027s methods form 16 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/Files.App/Views/Layouts/DetailsLayoutPage.xaml.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"0be156374e9d179e1b0a89abf81bcabfbe826a6b96b17474026a5d885954c53c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: GridLayoutPage (LCOM4 13): GridLayoutPage\u0027s methods form 13 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/Files.App/Views/Layouts/GridLayoutPage.xaml.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"69dab4720d4dd25d2b7639f38739f7aa0d64463d3b90a5a1236bf7d88d71a284"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ColumnLayoutPage (LCOM4 12): ColumnLayoutPage\u0027s methods form 12 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/Files.App/Views/Layouts/ColumnLayoutPage.xaml.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"68566e643e199db589538b7a604df57a6a849bf3200cd54fdb850be693048cee"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: TabBar (LCOM4 11): TabBar\u0027s methods form 11 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/Files.App/UserControls/TabBar/TabBar.xaml.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"e704f3644515b83771ddc857669ece5ec69543d7980d5dc0ac12b10af450bcfb"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SidebarView (LCOM4 9): SidebarView\u0027s methods form 9 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/Files.App.Controls/Sidebar/SidebarView.xaml.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4bfced6ef6a1927a42fa2d05b0bf5cae953debb5041f88e62ef4f7faff8a5ff"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ResourcesService (LCOM4 9): ResourcesService\u0027s methods form 9 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/Files.App/Services/App/AppResourcesService.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce64475ddd48da719848c7b8babc161bb5e5f4150b548ced1b302197de4cd16a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: BaseLayoutPage (LCOM4 9): BaseLayoutPage\u0027s methods form 9 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/Files.App/Views/Layouts/BaseLayoutPage.cs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa0063e3b8f0dc4baa8d7b0079c697c5cb4c053a759da20f5fda621dd3fe88a2"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: NetworkLocationsWidgetViewModel (LCOM4 6): NetworkLocationsWidgetViewModel\u0027s methods form 6 groups that share no state and don\u0027t call each other \u2014 a sign it may have several responsibilities. Review whether it splits into focused classes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/ViewModels/UserControls/Widgets/NetworkLocationsWidgetViewModel.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5aab07720217eea7a4aa5f6b12bcc25b8355acb666b28c8ab4439a57663c46b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: BaseGroupableLayoutPage (LCOM4 6): BaseGroupableLayoutPage\u0027s methods form 6 groups that share no state and don\u0027t call each other \u2014 a sign it may have several responsibilities. Review whether it splits into focused classes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/Views/Layouts/BaseGroupableLayoutPage.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"dac97c59097aea7d6415bd91e7d1718f7e157873968eebabc036f46feec724a4"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ColumnsLayoutPage (LCOM4 6): ColumnsLayoutPage\u0027s methods form 6 groups that share no state and don\u0027t call each other \u2014 a sign it may have several responsibilities. Review whether it splits into focused classes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/Views/Layouts/ColumnsLayoutPage.xaml.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"71f97942f7cdbdb9bc8d461b6fa02deef850d5d29f5af10cd5670406211bf143"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: StorageArchiveService (LCOM4 5): StorageArchiveService\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/Files.App/Services/Storage/StorageArchiveService.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bac0e6ffeaeaeeb399ec747d926f9492327d36d0ae70afb3787b3f619104912"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: InfoPane (LCOM4 5): InfoPane\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/Files.App/UserControls/Pane/InfoPane.xaml.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"23f02eb3a416d6e0b4664cb7e24b7b3ee531d49bfaed9c6f1fe4c90b43834cf6"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: GeneralViewModel (LCOM4 5): GeneralViewModel\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/Files.App/ViewModels/Settings/GeneralViewModel.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf67063938202f7208bce69b068f9731e9181f4d2adf156b66e7a411debe7f1d"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: NavigationToolbarViewModel (LCOM4 5): NavigationToolbarViewModel\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/Files.App/ViewModels/UserControls/NavigationToolbarViewModel.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c20e3b4ed3e9701aa10b55e114fde90d062e56e5ee3972bf650e12f62bc8624"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DrivesWidgetViewModel (LCOM4 5): DrivesWidgetViewModel\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/Files.App/ViewModels/UserControls/Widgets/DrivesWidgetViewModel.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e8f2609468b6fdb08e14a4835226f98816fc8d1e01565fe5f9977641cae48f8"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: NetworkService (LCOM4 4): NetworkService\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/Files.App/Services/Storage/StorageNetworkService.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a0e65e04994a5e3a3f7aa40c1bc423154194267a83144987eadfe8811b748cc"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: NavigationToolbar (LCOM4 4): NavigationToolbar\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/Files.App/UserControls/NavigationToolbar.xaml.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a4b763c4e9bac25e8474a95d8111c9a9ecdc710d5afd9964e759bfbcf376cab"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AdvancedViewModel (LCOM4 4): AdvancedViewModel\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/Files.App/ViewModels/Settings/AdvancedViewModel.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ee87a9a7c6f6135c71605448a5f22ceacf7db4c419002c8625e777f804f3278"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: RecentFilesWidgetViewModel (LCOM4 4): RecentFilesWidgetViewModel\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/Files.App/ViewModels/UserControls/Widgets/RecentFilesWidgetViewModel.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a05140eb7e35587bbe17170fc2782ce4ce872b661e5deee30327c81e4155604"}},{"ruleId":"D8","level":"warning","message":{"text":"Coverage not measured: The test suite couldn\u0027t be built/run in-image and no coverage report is committed, so line coverage was not measured \u2014 and it is EXCLUDED from the score rather than scored on a LoC-ratio proxy. No coverage collector was found in your CI either, so there is no existing report to hand us: add a coverage collector to your test run and commit (or publish) its Cobertura/OpenCover/lcov output anywhere in the repo, or make the suite runnable in-image, and real coverage will be measured."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"62e63e619c28f057e129f2997c965d32a457366a9ce18ca019ffb6bdfba85c99"}},{"ruleId":"D10","level":"error","message":{"text":"No assertions (empty test): VerifySettingsAreAccessible: Test method has an empty body \u2014 it asserts nothing and exercises no code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/Files.InteractionTests/Tests/SettingsTests.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"754f5de7d0935c05b852e680da565bc381e49f5a77bc8e73192df97cab8fd588"}},{"ruleId":"D11","level":"warning","message":{"text":"Test reliability not measured \u2014 no test run produced results: Test reliability NOT MEASURED: the test run produced no results for any test tier, so no test ever ran and flakiness could not be exercised. The cause could not be attributed, so it is excluded from the score rather than read as an absence of tests."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7d83a505f7fa19aeeece76141ae1e468d77e2a3fea2e88604b8140ebad47a6fe"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Files.App/ViewModels/ShellViewModel.cs: src/Files.App/ViewModels/ShellViewModel.cs changed 7 times in last 90 days, max complexity 43. 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/Files.App/ViewModels/ShellViewModel.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb3e48f46462987350d8f9edbc62a2099df40800f36f622451382fcddc46bfaa"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Files.App/Data/Factories/ContentPageContextFlyoutFactory.cs: src/Files.App/Data/Factories/ContentPageContextFlyoutFactory.cs changed 3 times in last 90 days, max complexity 71. 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/Files.App/Data/Factories/ContentPageContextFlyoutFactory.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"819855205b85e1c47599512dae3d29b67730923ae1bf264c5361d803e7228606"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Files.App/Views/Layouts/BaseLayoutPage.cs: src/Files.App/Views/Layouts/BaseLayoutPage.cs changed 5 times in last 90 days, max complexity 41. 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/Files.App/Views/Layouts/BaseLayoutPage.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"95b1bd94c46bb1f14fe1dda63da1c248a6b4108099fdc8decdf639de512a9cf5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Files.App/Views/Layouts/DetailsLayoutPage.xaml.cs: src/Files.App/Views/Layouts/DetailsLayoutPage.xaml.cs changed 5 times in last 90 days, max complexity 35. 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/Files.App/Views/Layouts/DetailsLayoutPage.xaml.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6419c7f26264b80a971e53377875d22e243cdfd03264b48b9df32446faa971d1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Files.App/Helpers/Navigation/NavigationHelpers.cs: src/Files.App/Helpers/Navigation/NavigationHelpers.cs changed 6 times in last 90 days, max complexity 26. 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/Files.App/Helpers/Navigation/NavigationHelpers.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9060668be26a8863eb9f34d2299151218b9c25300bbd4a783932aae60f7c4a89"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Files.App/Views/Layouts/ColumnLayoutPage.xaml.cs: src/Files.App/Views/Layouts/ColumnLayoutPage.xaml.cs changed 5 times in last 90 days, max complexity 28. 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/Files.App/Views/Layouts/ColumnLayoutPage.xaml.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fef662a98173f1a1a483a57b2c3cef6a687593a727c7f72269ac80339030421"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Files.App/Views/Layouts/GridLayoutPage.xaml.cs: src/Files.App/Views/Layouts/GridLayoutPage.xaml.cs changed 4 times in last 90 days, max complexity 27. 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/Files.App/Views/Layouts/GridLayoutPage.xaml.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25320a8863655c2ef72d424148b50c387d03c54c4c56e0618e8ec4da4333705b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Files.App/ViewModels/UserControls/SidebarViewModel.cs: src/Files.App/ViewModels/UserControls/SidebarViewModel.cs changed 4 times in last 90 days, max complexity 24. 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/Files.App/ViewModels/UserControls/SidebarViewModel.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"efe11bdb261dd9e61e6863dde747d48e8251727f6fa4ebe433abc41e1b5fa3b1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Files.App/ViewModels/UserControls/NavigationToolbarViewModel.cs: src/Files.App/ViewModels/UserControls/NavigationToolbarViewModel.cs changed 3 times in last 90 days, max complexity 30. 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/Files.App/ViewModels/UserControls/NavigationToolbarViewModel.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b4a29814ccf2e27bbfd9a3d5a55f61445f088ea0af25f0f8a47e78475b50d1d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Files.App/ViewModels/MainPageViewModel.cs: src/Files.App/ViewModels/MainPageViewModel.cs changed 3 times in last 90 days, max complexity 30. 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/Files.App/ViewModels/MainPageViewModel.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a0e3c55a85e237053760270dee174340401f703b8d7046d5eb5077bc003b5d5"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 24 significant file(s) lose their only recent owner: src/Files.Core.SourceGenerator/Generators/RegistrySerializationGenerator.cs, src/Files.App/Dialogs/CreateArchiveDialog.xaml.cs, src/Files.App/Extensions/ScrollViewerMiddleClickExtensions.cs, src/Files.App/ViewModels/UserControls/SidebarViewModel.TabExpansion.cs, src/Files.App/Data/Items/ToolbarItemDescriptor.cs, src/Files.App/ViewModels/Settings/LayoutViewModel.cs, src/Files.App/ViewModels/Settings/ToolbarCustomizationViewModel.cs, src/Files.App/Services/App/AppUpdateStoreService.cs (\u002B16 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"be949fea3f8b8248bd7b8be46c480e9afd977c7b52084a84ec5a15507e82739f"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 3 significant file(s) lose their only recent owner: src/Files.Core.SourceGenerator/Generators/StringsPropertyGenerator.cs, src/Files.Core.SourceGenerator/Analyzers/StringsPropertyAnalyzer.cs, src/Files.Core.SourceGenerator/Parser/JsonParser.cs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"59d9669662e4be50a274f2e6cc500b1f1b5e9ab23ba1d3fd93cead5c4916f969"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 3 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 (32 single-owned of 380 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)), anonymized user #4 (2 file(s)), anonymized user #5 (1 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":"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/Files.App.BackgroundTasks/UpdateTask.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae275552f3ca3aa9851c8e02caa74cfe1db312564f10461afcd072587b523ba8"}},{"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/Files.App.BackgroundTasks/UpdateTask.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"11b84d08626a2c41d4171362fd9a33cf0adb68c421f176a5cf61635c19e69d2d"}},{"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/Files.App.Controls/Sidebar/SidebarItem.cs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a469dd03372c16ec22574678d5d9deb51173e453ed0f2c8caff2d24b64803d7"}},{"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/Files.App/Actions/Open/OpenTerminalAction.cs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"21d8e667809f361712c5d084a5d0b5c9fa7656ba12e4097cd832138f8d7da70a"}},{"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/Files.App/Converters/DoubleArrayToStringConverter.cs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bc9535e039d231faf20d9c801c6ffb0bbe7f3ae3aef82acaf0d00e5f95ad80d"}},{"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/Files.App/Converters/GenericEnumConverter.cs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"648071c43253553fc930a94c4a65f5dc9f62dc1ee97fc1dd99d982cc307d9d34"}},{"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/Files.App/Converters/GenericEnumConverter.cs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"60f0fface378223b95286a6ee71c44c06ae582025b87cd94e10fd0b3e1cfff55"}},{"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/Files.App/Data/Factories/ShellContextFlyoutHelper.cs"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c12f287cbffd81eddfae6dae1728b1ea6e2ca03593a8cf45403dbbd3de030a7"}},{"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/Files.App/Data/Items/DriveItem.cs"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"b22dabc1a06cdc6942874bc698d3ba74686231b96e27914674e5cac1c467cc87"}},{"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/Files.App/Helpers/Dialog/DialogDisplayHelper.cs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e3d3e8e8c3c368828929cb265e7928cf0dbeb623a09d623c97003015904cb88"}},{"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/Files.App/Helpers/Win32/Win32Helper.Shell.cs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7c6de965c949ec5d898abd439266482bf4e9a0cbc7a90857acbbaa12202ae9a"}},{"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/Files.App/Helpers/Win32/Win32Helper.Storage.cs"},"region":{"startLine":976}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2d170f01e2a1b74ea31475f3a36582f170da4096c4cda3af794ea06b1e973f9"}},{"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/Files.App/Helpers/Win32/Win32Helper.Storage.cs"},"region":{"startLine":991}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d6b51cbb2bc8a60ca9032bb4779a0d450a77c7246fd9ae7b36da0eea507a49b"}},{"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/Files.App/Program.cs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"287918275ab9af83acf09c63728eedf63cd634d472d7b98b5398a3b5660259fa"}},{"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/Files.App/Services/App/AppUpdateSideloadService.cs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"01690e8f034e9bd0b1b5287d55efc989d006313b3cc0bbbda002b86a5b4cac18"}},{"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/Files.App/Services/App/AppUpdateSideloadService.cs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc9295d7a3b9c3e051e90d6a4193b7142319ea3be73cdbedf4aadea4df59ccb0"}},{"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/Files.App/Services/App/AppUpdateStoreService.cs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c391c11c15f96dc7d5643040b4a84319ca98602ee5115714cf7daf2388a3ec4"}},{"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/Files.App/Services/App/AppUpdateStoreService.cs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"89ce10fb2412fe1422e551f4175a5c2455d7afb45c735ea30f17e50eb2abf16c"}},{"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/Files.App/Services/PreviewPopupProviders/PowerToysPeekProvider.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"15881d830c53dfd2100a9d0659319fa304923738fbb9ddebd0b39004e587b3a9"}},{"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/Files.App/Services/Windows/WindowsJumpListService.cs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"adae205af52d0a2913bc120e49d559ab3a0bb1ebcc31925706c56bb6e0911746"}},{"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/Files.App/Services/Windows/WindowsJumpListService.cs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"22eb5d83257c43008df3dec4e2919c11265cc1ac64b9f0d0e7f5ad5f0669e69b"}},{"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/Files.App/UserControls/FilePreviews/CodePreview.xaml.cs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc795438ab47484bfa39fa97f7cab069aaecaae798c17d0aa15f815a4cbbb39a"}},{"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/Files.App/UserControls/TabBar/TabBar.xaml.cs"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e2694004fdd008364fb556b0ba76d5286a7238b0f0e5b94af6f8781560867cb"}},{"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/Files.App/UserControls/TabBar/TabBar.xaml.cs"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"d509d5134675bb7eea5d68da68f16ffad795b09070c0d0af1a7d95c282883e2a"}},{"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/Files.App/Utils/Shell/ShellFileOperations2.cs"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5e3301c2f23cb908fe3e150417ab8b6e2cfdfeccf48854f973019ba483921f9"}},{"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/Files.App/Utils/Shell/ShellFileOperations2.cs"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e73c2b0c49b2b841d0c83831073eba4a6451dbe3f7f144ae0abe3ac91419f93"}},{"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/Files.App/Utils/Shell/ShellFileOperations2.cs"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3a51d17022ec8178df0e33717acb991309937b3a549d2cc736ca457f6a8bfc1"}},{"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/Files.App/Utils/Storage/Helpers/DriveHelpers.cs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"a905b9da49a75a976b6f4e6e1279109a031173b58574e1645ba4a2a920077232"}},{"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/Files.App/Utils/Storage/Operations/ShellFilesystemOperations.cs"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d303c01dcfe4726d0c6468f4383db503a3840ceb8c34be512e3797ecf7df632"}},{"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/Files.App/ViewModels/MainPageViewModel.cs"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"ead52f288f77b714450b1a3bf32fc8baec9810f221f279ab713ea4852de59a56"}},{"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/Files.App/ViewModels/MainPageViewModel.cs"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed6ca270cc74bb08f9020b4c5f6e66d249940addc416aebbe528375d1692a5d1"}},{"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/Files.App/ViewModels/Properties/BasePropertiesPage.cs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdf3581de733945df9217d2fb567e2ef62577b96bab8ee0fd91144855a02c166"}},{"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/Files.App/ViewModels/Settings/AdvancedViewModel.cs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d26b6ecec6f60ebc4ab7d59f8e68fa8f45712f8fd676bbbb0ace4fe3a1060ac"}},{"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/Files.App/ViewModels/Settings/AppearanceViewModel.cs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7f977036bf0d1edab31c9534f7ead34dc18a501d4ffadbef7d610ec75ffa5bf"}},{"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/Files.App/ViewModels/Settings/SettingsSearchIndexer.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfd3043273f4f1eaa807b9d207f6df11b51d96512721d59966fdc8bd0acd1dd9"}},{"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/Files.App/ViewModels/ShellViewModel.cs"},"region":{"startLine":1513}}}],"partialFingerprints":{"codehealthFindingId/v1":"a50745a538155636566b992ceaa3345568bcdd88ef4e673a01926d78b93185a8"}},{"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/Files.App/ViewModels/ShellViewModel.cs"},"region":{"startLine":1897}}}],"partialFingerprints":{"codehealthFindingId/v1":"363c2e4caebcc4eddfcda02b474b2b548e5a90a38dabf8083d7031eb905912fe"}},{"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/Files.App/ViewModels/ShellViewModel.cs"},"region":{"startLine":2578}}}],"partialFingerprints":{"codehealthFindingId/v1":"e14ee32a86bc523122ba7f548194e464add7c8d10c13452c3f9b725aeca05144"}},{"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/Files.App/ViewModels/UserControls/Widgets/RecentFilesWidgetViewModel.cs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"64b4a3d9ef9a26f4549147ffcc91ef2cd882e10074d09af563631ce8effa9a7d"}},{"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/Files.App/Views/Layouts/BaseLayoutPage.cs"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceb21789c10afbc9e60f032b41215d4fd7506b2c0c83a4e487f6a0595f6328e2"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App.Controls/Storage/StorageRing/StorageRing.Properties.cs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"be5395e7c8e29bcf1065460596220f582343054e3c086b666e3ce334d32162e9"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/Data/Enums/CopyEngineResult.cs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5664c29b54e88791e1eeaeb0fc8eea428ed100ebf5a0c655f7b19f8059cf615"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/Helpers/Navigation/NavigationHelpers.cs"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"77b01c7516362a9ecc8e1d048621a5ba1b177b066752612d9f0f82dc1552baf3"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/ViewModels/Properties/SecurityAdvancedViewModel.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fe63556995d029254c53aaf2d1d38bfc96c25722d96cdd238a682286713c119"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App.Controls/Storage/StorageRing/StorageRing.Properties.cs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bdb49d8874a07f5b4e82aba9d581fe38f2fc2fbb3d44c8ed89ac9e29b66fc69"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App.Controls/Toolbar/Toolbar.cs"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4bb3eede7aae8db6b645955cf2bc63bf2afd0ec7fd9ecb5d9e1922f0a5f3e1b"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/Data/Models/DisposableArray.cs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a3763195a2c331e9324bce356fd8fdb0235ae8a83cfcbccc802af435ef0a89b"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/Services/Git/LibGit2Service.cs"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d09b423e951fc44a41b6604c58ac5b98fb34254e53b7838968ed2dbc0a93367"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/Utils/Git/GitHelpers.cs"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7a80985fd994672ebaea0f322c1671f4b92a78c28839291791062dfebb7b91f"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/Files.InteractionTests/Tests/SettingsTests.cs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5d7d353d313d187d4c6e90006465ffcb8a267d9bc00d413b1487cced50a59ae"}},{"ruleId":"D17","level":"warning","message":{"text":"ObsoleteWithCallers: [Obsolete] NativeStorageLegacyService"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App.Storage/Legacy/NativeStorageLegacy/NativeStorageService.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fa62bca88801b8f3dcf571d4e1c2a9e9d265ad4558e874c502f05463a3914c6"}},{"ruleId":"D17","level":"warning","message":{"text":"ObsoleteWithCallers: [Obsolete] RecycleBinWatcher"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App.Storage/Legacy/RecycleBinWatcher.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ab9a713f98b263ca4c1733521bdbaab33c7ccf11bc12e37d1c52e96b1eee927"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Use shell32.dll!CMountPointRename (CLSID: 60173D16-A550-47f0-A14B-C6F9E4DA0831, IID: 92F8D886-AB61-4113-BD4F-2E894397386F)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App.Storage/Windows/Helpers/WindowsStorableHelpers.Storage.cs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b10766b0638b3499428e5436c360c0e75979a556b09878b0c2960579b9567a5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Use AppDialogService \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/Files.App/Actions/FileSystem/EmptyRecycleBinAction.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"353f9475df3b72f1255e20ada5f7a4c13a6a3246dff1ef404a575ae0429408c6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Use AppDialogService \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/Files.App/Actions/FileSystem/RestoreAllRecycleBinAction.cs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"94e7eb420daadb10db4cdc34a3f717fc5ef83131480c3e4a1f3924abd8bfed93"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Remove IsAccessibleGlobally when shelf feature is ready \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/Files.App/Actions/Show/ToggleShelfPaneAction.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"b71ebbf6a987f07232e2586df5f77b78dc0b2b939793816d4f205521a6fb863a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Remove IsExecutable when shelf feature is ready \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/Files.App/Actions/Show/ToggleShelfPaneAction.cs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"741a9d600def2ae4b5e194e092a522663cfd00c1aff1e9f114671c92b0c7d285"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Replace with DI \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/Files.App/App.xaml.cs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a56de8d4d5c1741b0e8dd5df2e8d47a4cb4011b78600f1759454ca6ea0f3482"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Replace with DI \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/Files.App/App.xaml.cs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"287b26f390b1e192239b1981d4baf03c98313f71a3b8ea246eb9151105c60d53"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(s): Is this code still needed? \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/Files.App/App.xaml.cs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"50562ef4a68eb35dac8b25aff8e9d15247ad35ec549ca4777b68fccbc7945ed5"}},{"ruleId":"D17","level":"warning","message":{"text":"ObsoleteWithCallers: [Obsolete] GetImageModelFromDataAsync"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/Data/Contracts/IImageService.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"fba1029d76d22de597fa8560133e53d2755dda3482b41da6c27a0f8721151c13"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] GetImageModelFromPathAsync"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/Data/Contracts/IImageService.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"733b7ebca6107dfcc7400c1ec2712ade1f110c95d2806cd317d68b9e9e9fde9c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove this our of this class \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/Files.App/Data/Contracts/IShellPanesPage.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"c81db13d5c91e6b78c86d0e79647ab3b2f4e4f7c90af83340725c9edb3cf8686"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove this our of this class \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/Files.App/Data/Contracts/IShellPanesPage.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"64d7601dd73ca812cd4c6252c03fd0551b0a2639062ef94bc6d1cb84b78266be"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(s) \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/Files.App/Data/Contracts/IStartMenuService.cs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf86682199936982ba91e0a3b2bb36daedf4a9ad95455f969b83cb22b0a91fac"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/Data/Enums/CopyEngineResult.cs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c440834f22d6df8861911642b299f1a83e4beed7cb2b34bc524a91049d3ef5e"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] Symlink"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/Data/Enums/FilesystemItemType.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"beecba3261800272e035f0dcfb19a80f5cba67f10f25c215e33f371a6ca81a86"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO add back text and icon when https://github.com/microsoft/microsoft-ui-xaml/issues/9409 is resolved"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/Data/Factories/ContentPageContextFlyoutFactory.cs"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f2dceee36ebbdc1e0124e9ffda00af580c1e54649a1a37661adfa296a3d5c49"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: eventually we should remove this b/c it\u0027s not thread safe \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/Files.App/Data/Items/ListedItem.cs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fb54bfcd43a75cd0b76f2a46c49afbdc1ffa9e99043bb87244f949dd98f8dd3"}},{"ruleId":"D17","level":"warning","message":{"text":"ObsoleteWithCallers: [Obsolete] NavigationBarSuggestionItem"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/Data/Items/NavigationBarSuggestionItem.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"eefb81300fc35ed4302c2b8b263ac0074c289a7d4c8358dbd92bb8cdb0b4b918"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Refactor this method \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/Files.App/Data/Models/AppModel.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"946d730cd49cc5274b931173cc9fa6bc60ac28e7609b8e21520fb82cb0b353f8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \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/Files.App/Data/Models/CurrentInstanceViewModel.cs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"fac69867ed42c29b78756afb0e6f19d233b702b40ebe91102905f898e1ef16ad"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: Could replace \u0060GetLocalizedResource()\u0060 in the future \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/Files.App/Extensions/MessageFormatExtensions.cs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"87db8dfa99e10a9273e5c9a87c1746f3fd58ae807b6fd62bf21be3cca04fdf53"}},{"ruleId":"D17","level":"warning","message":{"text":"ObsoleteWithCallers: [Obsolete] MenuFlyoutHelper"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/Helpers/MenuFlyout/MenuFlyoutHelper.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"df4650a8d6141e34ab879e2f9d14c77dbf514553cd68aab8c79f61a944869fd5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove this class \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/Files.App/Helpers/UI/UIFilesystemHelpers.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"568e704086216dc99073ee69cfdf985b330fcad91ac8013ec41071ddc64924a0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: handle libraries with multiple folders \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/Files.App/Helpers/UI/UIFilesystemHelpers.cs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"95cc4dd622a39e09a552899d3f4fd4fc838308284e583d29698799b1ff5f18f3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO In the long run, we should consider modifying HandleApplicationLaunch to handle this correctly. \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/Files.App/Helpers/Win32/Win32Helper.Process.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"34cc24c9ac9e4d3838a9809ab733aa8e5fc896fb32724287f73446ba8df36c23"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: Use IDialogService in future. \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/Files.App/Services/App/AppUpdateStoreService.cs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"f99a27895ce2ab3268398ee3d2af66710fc5ba5687d2bc80d066a2c4493754f7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Make set method private again when move finished \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/Files.App/Services/Git/LibGit2Service.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"248a78bf806a234e3f6252a01a71875e43a6c33a955fc79cd24998cff27f8e3a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This is a temp fix to avoid an issue where Files would create many branches in a loop \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/Files.App/Services/Git/LibGit2Service.cs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e5957dc47622832b15fcae3428fcf2ad0fa58d524ecd62e2fcd34904c55e42f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This is a temp fix to avoid an issue where Files would create many branches in a loop \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/Files.App/Utils/Git/GitHelpers.cs"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"7897523ab1373a23de45fe9fca7ab70d498ed6968ff010d54c592b0691c0e2ee"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Get this method return result \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/Files.App/Services/Storage/StorageArchiveService.cs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"73263992ea06213404e30c8bf26c3f49fddc45e9db5d7c00716d1710c40c19c9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Use IFileOperation instead of its wrapper for the operation status to be reported. \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/Files.App/Services/Storage/StorageTrashBinService.cs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5e44bc420ba2172e5b17d978040e6255caa751ed7524de04c617d41c3cb8285"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Avoid to use Vanara (#15000)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/Utils/Cloud/Detector/GoogleDriveCloudDetector.cs"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"9706902b8ea3fdef039b27726f8a78d1d6dae39d7eff4f762a2f0f8cca10dba5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Replace with IVersionControl abstraction when it is complete"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/Utils/Git/GitHelpers.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"586017ddbafa6dde6bee71528856c6f7cc6e8eeeee102907b727dc3eadee2d19"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Display prompt to notify user #710"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/Utils/Serialization/Implementation/DefaultJsonSettingsDatabase.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe97a44697ac229807fe46a2a28a8cd0c0bdbd9187b73ed045fd367a544b2967"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Investigate why this exception happen \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/Files.App/Utils/Shell/ContextMenu.cs"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"9732935a4d2a67543fd63cac7f088eddc0506b51811e64db0259377cb92543fb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Investigate why this exception happen \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/Files.App/Utils/Shell/ContextMenu.cs"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"d32000cfd577d7aa6f6fd914dbc12c81385337c8201b64b21d50556a36b0e2c0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Dispose managed state (managed objects) \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/Files.App/Utils/Shell/ContextMenu.cs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"a040f9acacb7b235e141bd8438af513257527a647f5f8941795cd939b711ef57"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Free unmanaged resources (unmanaged objects) and override a finalizer below \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/Files.App/Utils/Shell/ContextMenu.cs"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa78faa6237fa32b9318b6c78b7473ef73399e3199f618cc2018879d1a24d50c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove and replace with Message \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/Files.App/Utils/StatusCenter/StatusCenterItem.cs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bce4acdfb8bd1d8763784288192d77df1cd494605be62be15408329c3a84e87"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: is this needed to be handled here? \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/Files.App/Utils/Storage/Enumerators/UniversalStorageEnumerator.cs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"982ef6d6a36ac1662ea542ac30d8ee66a2af6b0cc975f9012b56e063db01ffa1"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] LoadIconFromPathAsync"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/Utils/Storage/Helpers/FileThumbnailHelper.cs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"39e2b9b262151caa8dc516aa47e8517e8eb0a60b38c6be6d7baf338d28cb7ccb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: In the future, when IStorageItemWithPath will inherit from IStorageItem, \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/Files.App/Utils/Storage/Helpers/StorageHelpers.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb78c3f8a1fd1f677713377a3f8763fc6404525e0078a24d258137c057b997fe"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable CS8625 \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/Files.App/Utils/Storage/Operations/FilesystemHelpers.cs"},"region":{"startLine":901}}}],"partialFingerprints":{"codehealthFindingId/v1":"4365d5a547c210cd9125f2171957ce8eba77e64a9dd311784f335f70606ba453"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // HACK: If file is dragged from zip file in windows explorer for example. The file path is empty and \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/Utils/Storage/Operations/FilesystemOperations.cs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"358b329dfa3dbbbee2c4f1f8652b29126063bb6119410cc66d41741228dbc89f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Retry \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/Files.App/Utils/Storage/Operations/FilesystemOperations.cs"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a1a3334ead8d3134d74785a0df5a577433b623ad84c997d683ad8cc1017f062"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Retry \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/Files.App/Utils/Storage/Operations/FilesystemOperations.cs"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"499cff127d6462235ebcfa47f96d178d990b1ad1cf21ec14a165ca4bb04a56cd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: we could use here FilesystemHelpers with registerHistory false? \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/Files.App/Utils/Storage/Operations/FilesystemOperations.cs"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffe69d4f309d1899c9a527b1f73ee8f16f033ad337d0941f6bf5a8f7fa06c953"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: handle name generation \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/Files.App/Utils/Storage/StorageItems/FtpStorageFile.cs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3d6261f8ed40e0e6d1e3ba0a547d17f2dcbab9dcc2420b5d53d4e2f73568da0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: handle name generation \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/Files.App/Utils/Storage/StorageItems/FtpStorageFolder.cs"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"7725afe48f9059e0601a5cd2d8337506aec7c4dd686fa9081390e18df66feac2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Move this to an application service \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/Files.App/ViewModels/Settings/AboutViewModel.cs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce31270b65fb26a456a23c7f2ea574321211ba48b04362441452673833458d15"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO remove when feature is marked as stable \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/Files.App/ViewModels/Settings/AdvancedViewModel.cs"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e1c4e806a96ece3be3a35ba24cff8017e00a03fe66a9c225a09f0cc4944ca70"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: Clear thumbnail cache. \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/Files.App/ViewModels/Settings/AdvancedViewModel.cs"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"d71518b04c4e7c4335a48de5d976d780ed0818d4bebcf34334b1dfbb5b19d0bb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: Get thumbnail cache size and update CacheSizeText and IsClearCacheButtonEnabled accordingly. \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/Files.App/ViewModels/Settings/AdvancedViewModel.cs"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"47ca9713662f354338ccdbad070d5ee1ca18a9bafd30944d2b1cb9f3dbf83b05"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO uncomment code when feature is marked as stable \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/Files.App/ViewModels/Settings/GeneralViewModel.cs"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"83eb2a5c7553b67f48f148d123c0f12d604758001bcd9c7467264e388a2a4eb2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Remove this property when all the layouts can support different icon sizes \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/Files.App/ViewModels/ShellViewModel.cs"},"region":{"startLine":1195}}}],"partialFingerprints":{"codehealthFindingId/v1":"00d768d7ce44f09f0136eb33ecf8a8f97d52ab260ac6079b3b42c41ed2006663"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Move this to the widget page, it doesn\u0027t belong here. \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/Files.App/ViewModels/UserControls/NavigationToolbarViewModel.cs"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"d43fc37e4d6561fae4705ee9c198ec4234166159296a87907dccbc3043cb9e90"}},{"ruleId":"D17","level":"warning","message":{"text":"ObsoleteWithCallers: [Obsolete] PathControlDisplayText"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/ViewModels/UserControls/NavigationToolbarViewModel.cs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"2606840b18efbb02ebef0287e8ce64fb38cfc077ecbb51807035475a86095dca"}},{"ruleId":"D17","level":"warning","message":{"text":"ObsoleteWithCallers: [Obsolete] PathBoxItem_DragLeave"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/ViewModels/UserControls/NavigationToolbarViewModel.cs"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aecd3e77250ec9b5c568872b2645ab42c9301e3501651af3e64f9c0f9ce7d12"}},{"ruleId":"D17","level":"warning","message":{"text":"ObsoleteWithCallers: [Obsolete] PathBoxItem_Drop"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/ViewModels/UserControls/NavigationToolbarViewModel.cs"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"571c46358ac038becdc7bc8539617c18a49baaef70d7ff3f6fd347937eceaaf6"}},{"ruleId":"D17","level":"warning","message":{"text":"ObsoleteWithCallers: [Obsolete] PathBoxItem_DragOver"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/ViewModels/UserControls/NavigationToolbarViewModel.cs"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"a46deff5be6a7c4d57a2e78119231f0fa0c52b7b5e42f40eab8031337bc28d53"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] CheckPathInputAsync"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/ViewModels/UserControls/NavigationToolbarViewModel.cs"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"5db9a570fc4be89705312f37a12a15347e4a99107bb825bb47f387c31c77b6ca"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Load persisted shelf items \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/Files.App/ViewModels/UserControls/ShelfViewModel.cs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"6301b0379328a2bd6cb5bb1f85e46c5d5a4bceb1f065becdf0b02b1f1624a6e4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add IsFolder to all WidgetCardItems \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/Files.App/ViewModels/UserControls/Widgets/BaseWidgetViewModel.cs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"b67ebb9d76a51b0ee911899a1487e5d04bb7d9907c0ee3f43790632700a3432b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Replace with IMutableFolder.GetWatcherAsync() once it gets implemented in IWindowsStorable \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/Files.App/ViewModels/UserControls/Widgets/QuickAccessWidgetViewModel.cs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"76ab0255456e84819a0d76f728f756555e5c00f748a17fe78e86120f435ddd3f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO delete this when https://github.com/microsoft/microsoft-ui-xaml/issues/9409 is resolved"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/Views/Layouts/BaseLayoutPage.cs"},"region":{"startLine":951}}}],"partialFingerprints":{"codehealthFindingId/v1":"484d8d1f84bfd760de33ab6ddf3e018acde7cfd58b874a8023e49b8e06c129ce"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // ToDo put this in a StartupPromptService \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/Files.App/Views/MainPage.xaml.cs"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"51c94374977c9fa08581e90444086ef428cb7180ff396bec3b9dcb4a40692b90"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: show / throw error about the failure? \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/Files.App/Views/Properties/LibraryPage.xaml.cs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ea3d95eea038302bcb85182634842286bb312e1c96e37d0855e046ab085806f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /* TODO: Future use only this */ \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/Files.Core.SourceGenerator/Constants.cs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"1524e5832ab6c00dad65f0a2f34091d55e273d440769eefbab1b7e9a0cf8a6e3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /* TODO: Rewrite with ToLocalized */ \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/Files.Core.SourceGenerator/Constants.cs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd3b892c7f981bda1e50eb3018c7c0a866ada230bb8d0a783794bf57c9bb1ef3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /* TODO: Rewrite with ToLocalized */ \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/Files.Core.SourceGenerator/Constants.cs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6bb032cf7452535c10e6ef7beac0c1f5fea795a7d9490b4b44e39b4d8a98cc5"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable CS0809 \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/Files.Core.SourceGenerator/Utilities/HashCode.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b893bc0ba6cabe3c8f12503afef96002877f80b2d4b0c335071e0cbdf93c78f"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable CA1066 \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/Files.Core.SourceGenerator/Utilities/HashCode.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e53674db852728c6da1581677053316698147aa41e131249d2d6f7d7a8491e7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Check if the file inherits from ILockableStorable and ensure a disposable handle to it via Stream bridge \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/Files.Core.Storage/Extensions/StorageExtensions.File.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd32b5eb44e504fb917c06d6bbb740fd105f6e0febd238adeb8e867a262a010d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO uncomment after https://github.com/CommunityToolkit/Windows/issues/430 is resolved"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/Files.InteractionTests/Tests/SettingsTests.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"cead65d8d0fd6a0923a281a623ed487090395cccd2a4377d3e645b22f7f39ccc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //\t//\u0022SettingsItemLayout\u0022, TODO find workaround for the \u0022Group by\u0022 setting block issue \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":"tests/Files.InteractionTests/Tests/SettingsTests.cs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"317d14716122dce1e6b21d28b11b74d64927e2aab0e2e83b49ab9216cde89dcd"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 6 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/Files.InteractionTests/Tests/SettingsTests.cs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec43ff477ad139d9391e9bdcefc599349fa89b3fa47223ff38b389b4dd436bd5"}},{"ruleId":"D18","level":"note","message":{"text":"Thin analysable surface across projects: 1 project(s) carry only a thin slice of real code (e.g. \u0060Files.App.BackgroundTasks\u0060 with 45 significant line(s)). The mean analysable-surface weight is 99 %, lowering Solution Shape by about 0.1 point(s). Consolidate thin projects or grow them into substantial, well-scoped assemblies."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dd0b92fd965c2065080f16843920964ee00f7696ea03d87cdf61aed4cd2c746a"}},{"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 109k LoC across 11 projects the codebase is large and multi-module, so explicit bounded contexts are needed. Name this codebase\u0027s bounded contexts (\u22652 module groups, e.g. per subsystem) so cross-boundary type coupling can be assessed. Declare them in \u0060.codehealth/config.yaml\u0060 at the repository root (create it if absent), mapping each context name to the module-path or namespace prefixes that belong to it \u2014 e.g. \u0060architecture:\u0060 \u2192 \u0060contexts:\u0060 \u2192 \u0060Billing: [\u0022src/billing\u0022, \u0022Acme.Billing\u0022]\u0060, \u0060Catalog: [\u0022src/catalog\u0022, \u0022Acme.Catalog\u0022]\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1c7e276c9c682731f01819ed5378b90ca320cde1b583c90920172911598362b3"}},{"ruleId":"D26","level":"note","message":{"text":"Split Files.App: A generic \u0027Files\u0027 assembly at 92k LoC and 739 types is a sprawling grab-bag that should be split by namespace. Suggested: by namespace: FileIO, Text, Binary, Paths, Streams"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5ee0a102f5dd77442f4cfccf7d7e580e48abef26bc62789bb63a87aafd144679"}},{"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":"2afa2015cf12a2d3905d637658aa3ea32815892fe07ca9fdb14073617e7815bf"},"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":"aba491fdff9100ac604df8ddd434095351d1b6293319fbf23028c0ea7f56a8da"},"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":"2823847a4c1c2a8521e9f3b17667571181f5452b73d1430c0c8bb4d4817e83a7"},"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":"fbb6df441d38d7fe3f95c097308743b656ab0dbaa8ea3146b7e1aebcfd278d53"},"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":"abedea81e8a77349767abf8f90c85b5de38b822b47866f97d88c50a59e95e076"},"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":"b2d17890a28a8c0c16fc804f10cc7db99676c805892beef228fdec2a28ca4c99"},"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":"3d9584357b5a8597e4ba3053b80487d324fd073d7634c6be91384b214e8a98a9"},"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":"f2962013ad4898990cf27bb6670791e0af03d218c53cf0ff40479188ee7aa617"},"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":"39c8e504e4aeda390880171b399260d861ea22def8b7d137cadf02d923241f8c"},"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":"bce860e07975cb8c70dd1b2508d06ab38a396898ee89e5935349155c91ca5ad6"},"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":"b212b4f314b1ac83dd36b07172bc799296aadba413008557d22512f10120cdd2"},"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":"638e9bb88ec761e806f9ef5f366055d97a39292cfbeedf494dca9ecc78855d6a"},"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":"f3f38c55ae639275a6949b6eb1318850ce7eabefcde08a1b0ce4f9f0614aaafa"},"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":"b3041796e5dda25dc0cf084a944b1561b3d6b16d8856c1f513e7c0645eb59dfd"},"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":"6a44b1d5bcee9f6fc09239e9bc784c02d5147fb5e7ae0e810e9ab7e344bbbc9e"},"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":"10d8e313de8fe90e21230462734680d40cde74fc97447af6dcf73ae38b751df3"},"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":"56fca5a315989d407f609bc029e177537f3d7ad8ed92787968c2419bfeb832d0"},"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":"cc10ad9a97488a531b3cdf8a42d4d954901180e0d43c57dcfa73a04b20bf9906"},"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":"e73a6fea44a02f58f29e22f53d5dfb758934870773c750976bbd9efe1897c240"},"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":"e47b72c42197d6fbda3898bebc0ae350c16c5df39e0867de8cd20d00deb8d3b8"},"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":"d1d64d94f43e9fc3c75603dc8d8dbc137bdcc7750f3f6bcda05d779451b3c6c9"},"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":"ae30d28bc652a80ef8b54c70380c90d5cc0f8fef7cda93fd7cd36e1b82d42db7"},"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":"9a833960698afa26de93fedc257aac286b12c8ba7f606f1d473953c58db74b28"},"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":"9456a19b505fb718b2add97b5908cf26778fc5db23e2e906a5fcbcf72435acbb"},"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":"64f0e8e4235c2e3cb538b0611bcd3fba067b85eca759d3aafd2024f9608b3925"},"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":"7980cab0f62000da6584c39d37f4b91d80bdf591322fd1ffee65a7bb6dacfa71"},"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":"a14db625bf95c81d5d1b0c8bb406ba8ef39027a05a3af85e55cb8dfaf15e1404"},"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":"60596780e1fdbb8172ae0beb7f1c693c2abe490f831d9100bb52f5b320c6844d"},"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":"7ceee73d76663034321cbd3b5bbecae8b673163039b70b12462f979a331e73d3"},"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":"b869d41a92311c66c619c46a2761bbd4dc966cdd17904a0e453914dde9414a80"},"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":"8eb50784ab958284eb3ecd7050384e4061ddeae0c76cf46d9d242ff3f816fc6b"},"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":"39887e2383afdd5c2b49992c37f826ea3942c0371efb65ae1a3c8a4d53a39b84"},"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":"d05f8463c9c1effc9c75ae023efbf7afb5f44d439eb3478a9e0ab836f63db228"},"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":"4b67fdb41eacc0ab6ec92820426056c2fa1dcf74f0df37f23ac36ad83e5f6bbb"},"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":"eb56f2e44d0085df25826e32c71a62971b1cb2c7a5b691fdebd076fa9e819c18"},"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":"4e5ba20d569d258ae6d0a24953bb1bf2096a834bc4a53403da7c12ca10d2411b"},"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":"59fd3f8a5eb122d094d4bbe7f206a8d5acc19c7e0bc745febbc20d001df46327"},"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":"38d9c95fee026a62ceadc6993f4a4c210676e4e6c83cecde108b0f9c4b162a6a"},"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":"4ad438d49f66a7a7896847a5241392954c1abfb6d934811467d14315d5e95449"},"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":"011889a15a4e50fcb677610a560679c1361d53e6f44d9ce8937201a38b4638b3"},"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":"c3d45f3aabb8555984d33fa93b2c3f39fcae850ffe6fb782dac2e6465590d5c8"},"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":"ee1e228449efddc2df9ea858b475a9807d569f22b3e49fefb08feb18b22012e1"},"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":"c171e6c26f9e1c062b02a2a69b3b02e15567ed9f69ba9f825412956ff65ffab2"},"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): 34 of 380 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/Files.App/Utils/Storage/StorageItems/FtpStorageFile.cs, src/Files.App/Utils/Storage/Collection/BulkConcurrentObservableCollection.cs, src/Files.App/ViewModels/Dialogs/DynamicDialogViewModel.cs (and 31 more). 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: CommandManager.cs \u2194 IContentPageContext.cs: \u0060src/Files.App/Data/Commands/Manager/CommandManager.cs\u0060 and \u0060src/Files.App/Data/Contexts/ContentPage/IContentPageContext.cs\u0060 change together 71% of the time (12 of the 17 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/Data/Commands/Manager/CommandManager.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"096d0b89d39c1f0a51cc3d9aa5f9cf8960903a38d60bd3be70918e70b8ea1893"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: LayoutPreferencesDatabase.cs \u2194 FileTagsDatabase.cs: \u0060src/Files.App/Helpers/Layout/LayoutPreferencesDatabase.cs\u0060 and \u0060src/Files.App/Utils/FileTags/FileTagsDatabase.cs\u0060 change together 60% of the time (6 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/Helpers/Layout/LayoutPreferencesDatabase.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"07d82acd303648ecf9c3671d419e9291260de2e4dd25d6ddb7463679cb628a65"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ISidebarViewModel.cs \u2194 SidebarItem.cs: \u0060src/Files.App.Controls/Sidebar/ISidebarViewModel.cs\u0060 and \u0060src/Files.App.Controls/Sidebar/SidebarItem.cs\u0060 change together 60% of the time (6 of the 10 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/Files.App.Controls/Sidebar/ISidebarViewModel.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4cc00ef876ef067860df8f8254268fc7ce4a407bc67a10617b158729e59ca00"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: SidebarViewModel.cs \u2194 NetworkLocationsWidgetViewModel.cs: \u0060src/Files.App/ViewModels/UserControls/SidebarViewModel.cs\u0060 and \u0060src/Files.App/ViewModels/UserControls/Widgets/NetworkLocationsWidgetViewModel.cs\u0060 change together 53% of the time (10 of the 19 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/ViewModels/UserControls/SidebarViewModel.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"929c4ee4f3cbc18d34a2adf8e0d9c24b357d863b11f12afb10a749c90b32b155"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: SidebarViewModel.cs \u2194 DrivesWidgetViewModel.cs: \u0060src/Files.App/ViewModels/UserControls/SidebarViewModel.cs\u0060 and \u0060src/Files.App/ViewModels/UserControls/Widgets/DrivesWidgetViewModel.cs\u0060 change together 50% of the time (13 of the 26 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/ViewModels/UserControls/SidebarViewModel.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"77072847ce00365b1c6dd92e4dcfa7535dbb121af480a5cb8611f1afe926c386"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: WidgetDriveCardItem.cs \u2194 ShellViewModel.cs: \u0060src/Files.App/Data/Items/WidgetDriveCardItem.cs\u0060 and \u0060src/Files.App/ViewModels/ShellViewModel.cs\u0060 change together 50% of the time (6 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Files.App/Data/Items/WidgetDriveCardItem.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6b009ca8b47e2b3fb8877d134f5ded349b2a6d19fe61da3d62021a27d254656"}},{"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"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-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":47,"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."]}]}