{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"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":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"]}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"]}},{"id":"D32","name":"Data Compliance (PII/GDPR)","shortDescription":{"text":"Data Compliance (PII/GDPR)"},"helpUri":"https://codehealth.canine.dev/dimensions/D32","relationships":[{"target":{"id":"CWE-359","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-312","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-200","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-359","CWE-312","CWE-200"]}},{"id":"D33","name":"JS/npm Dependency Vulnerabilities","shortDescription":{"text":"JS/npm Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D33","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"]}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"]}},{"id":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"]}},{"id":"D38","name":"OSV Dependency Vulnerabilities","shortDescription":{"text":"OSV Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D38","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"]}},{"id":"D39","name":"IL Efficiency","shortDescription":{"text":"IL Efficiency"},"helpUri":"https://codehealth.canine.dev/dimensions/D39"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"DefaultPluralRuleProvider.DefaultPluralRuleProvider.ctor (cyclomatic 70): DefaultPluralRuleProvider.DefaultPluralRuleProvider.ctor has cyclomatic complexity 70 (threshold 15). Most of this is not in the body itself: 1 of the 70 points is its own statement and the rest belongs to 20 function literals inside it that branch (lines 24, 33, 35, \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/OrchardCore/OrchardCore.Localization.Core/DefaultPluralRuleProvider.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c32ea39e684c64d56ce310a187a3f998211f5398c7b5521c1f6149e8624a5f1"}},{"ruleId":"D1","level":"warning","message":{"text":"getOptions (cyclomatic 56): getOptions has cyclomatic complexity 56 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore.Modules/OrchardCore.Resources/Assets/js/list-management.js"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9103731c237e75d223bc00701e831391289b4ab42bdc366964f8ef9faab4df4"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultContentsAdminListFilterProvider.Build (cyclomatic 50): DefaultContentsAdminListFilterProvider.Build has cyclomatic complexity 50 (threshold 15). Most of this is not in the body itself: 1 of the 50 points is its own statement and the rest belongs to 18 function literals inside it that branch (lines 122, 237, 22, \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/OrchardCore.Modules/OrchardCore.Contents/Services/DefaultContentsAdminListFilterProvider.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"1328b4c03792b0a494dfc02282b74ca7b658c0ba943abf1b30b1c016a8fb41ea"}},{"ruleId":"D1","level":"warning","message":{"text":"AnchorTag.WriteToAsync (cyclomatic 48): AnchorTag.WriteToAsync has cyclomatic complexity 48 (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/OrchardCore/OrchardCore.DisplayManagement.Liquid/Tags/AnchorTag.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"9813f0b4d8ea2f72c52f35cc7b506732d4c18b9bb0dc57ad2ac167cc73d190aa"}},{"ruleId":"D1","level":"warning","message":{"text":"ScriptTag.WriteToAsync (cyclomatic 44): ScriptTag.WriteToAsync has cyclomatic complexity 44 (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/OrchardCore.Modules/OrchardCore.Resources/Liquid/ScriptTag.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"e22a763dbe171575cb13b158c7599d43fb42a82a0b7bf8ce099d5cde49c9844a"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenIdServerService.ValidateSettingsAsync (cyclomatic 43): OpenIdServerService.ValidateSettingsAsync has cyclomatic complexity 43 (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/OrchardCore.Modules/OrchardCore.OpenId/Services/OpenIdServerService.cs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"2237a5b6767c89bedf094f87501517044a6e3bbacfedb8f93885c9f64e157796"}},{"ruleId":"D1","level":"warning","message":{"text":"ContentItemsFieldType.BuildExpressionsInternal (cyclomatic 43): ContentItemsFieldType.BuildExpressionsInternal 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/OrchardCore/OrchardCore.ContentManagement.GraphQL/Queries/ContentItemsFieldType.cs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a5b20e50eef22e965bf51c08b4649c831628472a20fd19e382feb0c25f6f22e"}},{"ruleId":"D1","level":"warning","message":{"text":"DependencyOrdering.Order (cyclomatic 43): DependencyOrdering.Order has cyclomatic complexity 43 (threshold 15). Of this number, 41 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/OrchardCore/OrchardCore/Extensions/DependencyOrdering.cs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"715eaddfeead19d20a2c5cf53040677985b39299bbc3687fd56f60b3841d3bbf"}},{"ruleId":"D1","level":"warning","message":{"text":"SeoMetaSettingsHandler.GetContentItemAspectAsync (cyclomatic 42): SeoMetaSettingsHandler.GetContentItemAspectAsync has cyclomatic complexity 42 (threshold 15). Most of this is not in the body itself: 1 of the 42 points is its own statement and the rest belongs to one function literal inside it that branches (line 39). 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/OrchardCore.Modules/OrchardCore.Seo/Handlers/SeoMetaSettingsHandler.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"f99c0e764925f3386ba8ce2731594e18747cb1499c1263f2f9a3398507f89b52"}},{"ruleId":"D1","level":"warning","message":{"text":"StyleTag.WriteToAsync (cyclomatic 41): StyleTag.WriteToAsync has cyclomatic complexity 41 (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/OrchardCore.Modules/OrchardCore.Resources/Liquid/StyleTag.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd48f1c6a6d52585cafb16fc5f5048c53361c3c92e868993379c29ee297e5ea7"}},{"ruleId":"D1","level":"warning","message":{"text":"ResourceDefinition.GetTagBuilder (cyclomatic 40): ResourceDefinition.GetTagBuilder has cyclomatic complexity 40 (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/OrchardCore/OrchardCore.ResourceManagement.Abstractions/ResourceDefinition.cs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"dffbf423f27855a6d84b606a5af91b6037788fd97d24d02833329201dd853540"}},{"ruleId":"D1","level":"warning","message":{"text":"ContentAnchorTag.WriteToAsync (cyclomatic 37): ContentAnchorTag.WriteToAsync has cyclomatic complexity 37 (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/OrchardCore.Modules/OrchardCore.Contents/Liquid/ContentAnchorTag.cs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"37e8865c1ea100218aaaf6f7373ca245e3892660d444c81435a08c773bf76070"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 36): (anonymous) has cyclomatic complexity 36 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".scripts/assets-manager/build.mjs"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"115d09bb9b9d36ab1eb436be43c363621f03462a210f6512083211504c0a3450"}},{"ruleId":"D1","level":"warning","message":{"text":"TenantValidator.ValidateAsync (cyclomatic 35): TenantValidator.ValidateAsync has cyclomatic complexity 35 (threshold 15). Of this number, 33 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/OrchardCore.Modules/OrchardCore.Tenants/Services/TenantValidator.cs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"d949dc8d3aac5c3f0372dc9f6352736da47ab85d7d2afdae0369b9f61e9357e7"}},{"ruleId":"D1","level":"warning","message":{"text":"LuceneIndexManager.CreateLuceneDocument (cyclomatic 35): LuceneIndexManager.CreateLuceneDocument has cyclomatic complexity 35 (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/OrchardCore/OrchardCore.Lucene.Core/Services/LuceneIndexManager.cs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddc696c95dcf91f7486d330080fdab330d650e794151346e21fbf0ccae0afb8c"}},{"ruleId":"D1","level":"warning","message":{"text":"DistributedShellHostedService.ExecuteAsync (cyclomatic 35): DistributedShellHostedService.ExecuteAsync has cyclomatic 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, 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/OrchardCore/OrchardCore/Shell/Distributed/DistributedShellHostedService.cs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"c98044f5d638549bac15e4769f30a817337db8a241e6eaceafcf5b7ce52b3932"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenIdApplicationExtensions.UpdateDescriptorFromSettings (cyclomatic 34): OpenIdApplicationExtensions.UpdateDescriptorFromSettings has cyclomatic complexity 34 (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/OrchardCore.Modules/OrchardCore.OpenId/OpenIdApplicationSettings.cs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"9182b6bd3e5178479cbc8ee84243f35fbc1b1250b7a754efb5779d94139eb4f2"}},{"ruleId":"D1","level":"warning","message":{"text":"TenantApiController.Setup (cyclomatic 33): TenantApiController.Setup has cyclomatic complexity 33 (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/OrchardCore.Modules/OrchardCore.Tenants/Controllers/TenantApiController.cs"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"d655da33c7ac4d7ca5bf5f856c5b9bfb1adacd86a1f80aaae57cef60b28b5bde"}},{"ruleId":"D1","level":"warning","message":{"text":"ContentItemConverter.Read (cyclomatic 33): ContentItemConverter.Read has cyclomatic complexity 33 (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/OrchardCore/OrchardCore.ContentManagement.Abstractions/ContentItemConverter.cs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"01048809eb7d134dc554934bda066703d1fbb73c8655bc81e82035658790df21"}},{"ruleId":"D1","level":"warning","message":{"text":"DynamicContentTypeBuilder.BuildInternal (cyclomatic 32): DynamicContentTypeBuilder.BuildInternal has cyclomatic complexity 32 (threshold 15). Of this number, 31 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/OrchardCore/OrchardCore.ContentManagement.GraphQL/Queries/Types/DynamicContentTypeBuilder.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"24f907823151f3d748c57fd9466f1f5733cd14b8dfe6f6d36c0196f256047836"}},{"ruleId":"D1","level":"warning","message":{"text":"AzureAISearchIndexSettingsMigrations.UpdateFrom1 (cyclomatic 31): AzureAISearchIndexSettingsMigrations.UpdateFrom1 has cyclomatic complexity 31 (threshold 15). Most of this is not in the body itself: 2 of the 31 points are its own statements and the rest belongs to one function literal inside it that branches (line 56). 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/OrchardCore.Modules/OrchardCore.AzureAI/Migrations/AzureAISearchIndexSettingsMigrations.cs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"4abb0b4a2606f237a3e9fe868527bdd19b0b1a3d2501d7572208098e98c70a88"}},{"ruleId":"D1","level":"warning","message":{"text":"PagerShapes.Pager_Links (cyclomatic 31): PagerShapes.Pager_Links 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/OrchardCore.Modules/OrchardCore.Navigation/PagerShapesTableProvider.cs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8ccd805440f5006383e626e4209a999bee0a575144f2633bf56a6c712e34edc"}},{"ruleId":"D1","level":"warning","message":{"text":"ScriptBlock.WriteToAsync (cyclomatic 31): ScriptBlock.WriteToAsync 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/OrchardCore.Modules/OrchardCore.Resources/Liquid/ScriptBlock.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"2674185f8aa4898c13d51834899038e101ad990d047160cbaba924e17b6c818b"}},{"ruleId":"D1","level":"warning","message":{"text":"SeoContentDriver.DisplayAsync (cyclomatic 30): SeoContentDriver.DisplayAsync has cyclomatic complexity 30 (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/OrchardCore.Modules/OrchardCore.Seo/Drivers/SeoContentDriver.cs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e4163c4e1f7919db5364eab97083dcb315b5d7559915a0f930b9600d59d220d"}},{"ruleId":"D1","level":"warning","message":{"text":"StyleBlock.WriteToAsync (cyclomatic 30): StyleBlock.WriteToAsync 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/OrchardCore.Modules/OrchardCore.Resources/Liquid/StyleBlock.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4c63bfebc573d34451a394d44bf0f660e0f517b06519f695c6ea77fe2e33144"}},{"ruleId":"D1","level":"warning","message":{"text":"NamedIndexingService.ProcessRecordsAsync (cyclomatic 30): NamedIndexingService.ProcessRecordsAsync 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/OrchardCore/OrchardCore.Indexing.Core/NamedIndexingService.cs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f107f2157a111a88e07876418119b98cb01facc29d1b7ba0e568288c2d40240"}},{"ruleId":"D1","level":"warning","message":{"text":"AdminController.List (cyclomatic 28): AdminController.List 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/OrchardCore.Modules/OrchardCore.Contents/Controllers/AdminController.cs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"8df8a32e9ab0870b5fd1b99c1c525d7024f03aef4440a67c43f3fcdee6e1808b"}},{"ruleId":"D1","level":"warning","message":{"text":"AdminController.IndexPost (cyclomatic 28): AdminController.IndexPost 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/OrchardCore.Modules/OrchardCore.Indexing/Controllers/AdminController.cs"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"89d8225368dc673dba8bc1060ae266636a065884356001ba61fd211d6911c2c7"}},{"ruleId":"D1","level":"warning","message":{"text":"Migrations.UpgradeAsync (cyclomatic 27): Migrations.UpgradeAsync has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 4 of the 27 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 152, 107, 231). 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/OrchardCore.Modules/OrchardCore.Lucene/Migrations.cs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"fda7d50af014ca052fe75058ef647b741f4a32fa4e2a9da9d874296edacc716a"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenIdValidationService.ValidateSettingsAsync (cyclomatic 27): OpenIdValidationService.ValidateSettingsAsync has cyclomatic complexity 27 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 3 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/OrchardCore.Modules/OrchardCore.OpenId/Services/OpenIdValidationService.cs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"2094191e686325749df012ffd3950e678b63a34814965374b193b2648a77a57a"}},{"ruleId":"D1","level":"warning","message":{"text":"AzureAISearchDocumentIndexManager.CreateSearchDocument (cyclomatic 27): AzureAISearchDocumentIndexManager.CreateSearchDocument 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/OrchardCore/OrchardCore.AzureAI.Core/Services/AzureAISearchDocumentIndexManager.cs"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cebdf609805253e0880339e3a978168cb62d5529d358bdd49cab37153e95fe9"}},{"ruleId":"D1","level":"warning","message":{"text":"BaseShapeTagHelper.ProcessAsync (cyclomatic 27): BaseShapeTagHelper.ProcessAsync 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/OrchardCore/OrchardCore.DisplayManagement/TagHelpers/BaseShapeTagHelper.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ff61ff02ed763cb5d2fc15c4b7150034373434b5d259e215e5a720c6f74127"}},{"ruleId":"D1","level":"warning","message":{"text":"HttpWorkflowController.Invoke (cyclomatic 26): HttpWorkflowController.Invoke has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore.Modules/OrchardCore.Workflows/Http/Controllers/HttpWorkflowController.cs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d4bcd1f194caac8d2e76fa5f095ec0479ac3cd4294eaa64320291976603b802"}},{"ruleId":"D1","level":"warning","message":{"text":"SetupService.SetupInternalAsync (cyclomatic 26): SetupService.SetupInternalAsync has cyclomatic complexity 26 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 2 belong to 2 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/OrchardCore/OrchardCore.Setup.Core/Services/SetupService.cs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"166c55c6462a7d3eedac530574adbd63aa2ac31ee2e8d7a74cb89aaa12c5e885"}},{"ruleId":"D1","level":"warning","message":{"text":"ExternalAuthenticationsController.ExternalLoginCallback (cyclomatic 25): ExternalAuthenticationsController.ExternalLoginCallback 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/OrchardCore.Modules/OrchardCore.Users/Controllers/ExternalAuthenticationsController.cs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"25cdd4f497f4eb5fb8fe9f241639e3248b4878bf4bf09c5e0adf8a7c8c89a203"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkflowManager.TriggerEventAsync (cyclomatic 25): WorkflowManager.TriggerEventAsync 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/OrchardCore.Modules/OrchardCore.Workflows/Services/WorkflowManager.cs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"5731fd96f95e1c4d690cae5b4808087aa3dd20025fe855bfa5b41b51793897b3"}},{"ruleId":"D1","level":"warning","message":{"text":"PagerShapesTableProvider.DiscoverAsync (cyclomatic 24): PagerShapesTableProvider.DiscoverAsync has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 1 of the 24 points is its own statement and the rest belongs to 9 function literals inside it that branch (lines 56, 67, 78, \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/OrchardCore.Modules/OrchardCore.Navigation/PagerShapesTableProvider.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"53cc31e9a43932f3d1cadbe9befb86dbb7ab8098a89cebdd44a054eba8c622a1"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultContentManager.GetAsync (cyclomatic 24): DefaultContentManager.GetAsync has cyclomatic complexity 24 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 5 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/OrchardCore/OrchardCore.ContentManagement/DefaultContentManager.cs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"610ced956a13b2772df096f56b143577c519d0e13aee26e31d420cb6ded36279"}},{"ruleId":"D1","level":"warning","message":{"text":"IndexingMigrations.Create (cyclomatic 23): IndexingMigrations.Create has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 2 of the 23 points are its own statements and the rest belongs to one function literal inside it that branches (line 47). 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/OrchardCore.Modules/OrchardCore.Elasticsearch/Migrations/IndexingMigrations.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"8651e3e2e32ccc7eff9d6a39bcbbe3066d9663dc03207dabe70d6d3117f31501"}},{"ruleId":"D1","level":"warning","message":{"text":"MediaCommandParser.Parse (cyclomatic 23): MediaCommandParser.Parse 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/OrchardCore.Modules/OrchardCore.Media/Processing/MediaCommandParser.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"60a9ffa2c2b32de1858edbad4c66db73ae043a78585101ea95adb91aa482f143"}},{"ruleId":"D1","level":"warning","message":{"text":"SearchController.Search (cyclomatic 23): SearchController.Search has cyclomatic complexity 23 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 2 belong to 2 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/OrchardCore.Modules/OrchardCore.Search/Controllers/SearchController.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"b860417b86b329ce8011798c4025d9b3460b5ff14d67dad6ac36b2ddc44128ab"}},{"ruleId":"D1","level":"warning","message":{"text":"JArray.Merge (cyclomatic 23): JArray.Merge 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/OrchardCore/OrchardCore.Abstractions/Json/Nodes/JArray.cs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca0b7e24d29df7ed39a08b21073997eca90e8e633e65fa8ffcf02e3c6d5213a7"}},{"ruleId":"D1","level":"warning","message":{"text":"ShapePagerTag.WriteToAsync (cyclomatic 23): ShapePagerTag.WriteToAsync 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/OrchardCore/OrchardCore.DisplayManagement.Liquid/Tags/ShapePagerTag.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"2881a9b2e13c5770607fea3cc3f11b2c6561da9194d20a72fec995dfd51189f2"}},{"ruleId":"D1","level":"warning","message":{"text":"validateRule (cyclomatic 23): validateRule has cyclomatic complexity 23 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore.Modules/OrchardCore.Forms/Assets/js/form-visibility-rules.js"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b2e63cc7a8c3d3751947571a944d9094e3e910345cba533d7e69407fa28df34"}},{"ruleId":"D1","level":"warning","message":{"text":"AdminController.ListPOST (cyclomatic 22): AdminController.ListPOST has cyclomatic complexity 22 (threshold 15). Of this number, 21 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/OrchardCore.Modules/OrchardCore.Contents/Controllers/AdminController.cs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"7922c2762435c2c0eb2aecc2f3f9edc926e2f78ecd329cd95ba14058224d763d"}},{"ruleId":"D1","level":"warning","message":{"text":"ContainerService.QueryContainedItemsAsync (cyclomatic 22): ContainerService.QueryContainedItemsAsync has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore.Modules/OrchardCore.Lists/Services/ContainerService.cs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b11e6421d1e9b644f6596d036ad75df484aebbc2768bc94e3901018a70a90c0"}},{"ruleId":"D1","level":"warning","message":{"text":"RolesMigrations.MigrateSystemRoles (cyclomatic 22): RolesMigrations.MigrateSystemRoles has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 1 of the 22 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 47, 132). 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/OrchardCore.Modules/OrchardCore.Roles/Migrations/RolesMigrations.cs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd5f1ae6f2d24dd9646d9ac1a96394d71d83aa8a855afc265642d45ae4bd8d4a"}},{"ruleId":"D1","level":"warning","message":{"text":"SettingsStep.HandleAsync (cyclomatic 22): SettingsStep.HandleAsync has cyclomatic complexity 22 (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/OrchardCore.Modules/OrchardCore.Settings/Recipes/SettingsStep.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b2623722276609d8525f6115ad494cedc959f44e66b0f7084f6a61db00b85c8"}},{"ruleId":"D1","level":"warning","message":{"text":"ShapeTag.WriteToAsync (cyclomatic 22): ShapeTag.WriteToAsync has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore/OrchardCore.DisplayManagement.Liquid/Tags/ShapeTag.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3463194f5559bcc61a7736616ccdf39cacd1d3462c891fa2be8c18fa360fea1"}},{"ruleId":"D1","level":"warning","message":{"text":"ShapeResult.ApplyImplementationAsync (cyclomatic 22): ShapeResult.ApplyImplementationAsync has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore/OrchardCore.DisplayManagement/Views/ShapeResult.cs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"723d767b924196ae72bb2fd49f88b023acd700525cdcd9c73420804f691bb396"}},{"ruleId":"D1","level":"warning","message":{"text":"UpdateContentTask.ExecuteAsync (cyclomatic 21): UpdateContentTask.ExecuteAsync 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/OrchardCore.Modules/OrchardCore.Contents/Workflows/Activities/UpdateContentTask.cs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"a456ad6d99802c16fd75df1f4e45588f79899850bea7659f24e8be04614d238d"}},{"ruleId":"D1","level":"warning","message":{"text":"IndexingMigrations.Create (cyclomatic 21): IndexingMigrations.Create has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 2 of the 21 points are its own statements and the rest belongs to one function literal inside it that branches (line 40). 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/OrchardCore.Modules/OrchardCore.Lucene/DataMigrations/IndexingMigrations.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3a8e1bc2d534820db64b79adcea2944f85441f583276b32c7470cf47ac6f250"}},{"ruleId":"D1","level":"warning","message":{"text":"SeoMetaPartHandler.GetContentItemAspectAsync (cyclomatic 21): SeoMetaPartHandler.GetContentItemAspectAsync has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 1 of the 21 points is its own statement and the rest belongs to one function literal inside it that branches (line 39). 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/OrchardCore.Modules/OrchardCore.Seo/Handlers/SeoMetaPartHandler.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fe4c67f480d0ccd332f5a428ddc81dabcc597b044e0f26a43ff77880cf60ffb"}},{"ruleId":"D1","level":"warning","message":{"text":"LiquidTagHelperActivator.LiquidTagHelperActivator.ctor (cyclomatic 21): LiquidTagHelperActivator.LiquidTagHelperActivator.ctor has cyclomatic complexity 21 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 10 belong to 2 function literals inside it that branch. To reduce it, 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/OrchardCore/OrchardCore.DisplayManagement.Liquid/TagHelpers/LiquidTagHelperActivator.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"abd0cca38cf471b8b4a0daf3cf3ec88750f8c59c6f78c4d6ea06998ded5fe5a8"}},{"ruleId":"D1","level":"warning","message":{"text":"ExtensionManager.EnsureInitialized (cyclomatic 21): ExtensionManager.EnsureInitialized has cyclomatic complexity 21 (threshold 15). Of this number, 20 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/OrchardCore/OrchardCore/Extensions/ExtensionManager.cs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d8ec7aeddd86738a8d2b8aca3998d8944ba195f4f76a78b174518ea517572c7"}},{"ruleId":"D1","level":"warning","message":{"text":"ContainerService.SetInitialOrder (cyclomatic 20): ContainerService.SetInitialOrder has cyclomatic complexity 20 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 6 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/OrchardCore.Modules/OrchardCore.Lists/Services/ContainerService.cs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"e43ee224de2615e868ad99e485f94102ca5fbd2177382ae11da7b550bb7cfab5"}},{"ruleId":"D1","level":"warning","message":{"text":"UserInfoController.Me (cyclomatic 20): UserInfoController.Me 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/OrchardCore.Modules/OrchardCore.OpenId/Controllers/UserInfoController.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"15ce2400b48d34997da051fb53f9ab2af2aeb67f309454431538483d2dd745da"}},{"ruleId":"D1","level":"warning","message":{"text":"AdminController.Index (cyclomatic 20): AdminController.Index has cyclomatic 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, 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/OrchardCore.Modules/OrchardCore.Tenants/Controllers/AdminController.cs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f2f9e66ef6266a5e50713a53b45d5bd8cd6c7fbfe175d5a13a0c84d98ae9abd"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkflowActionFilter.ProcessWorkflowsAsync (cyclomatic 20): WorkflowActionFilter.ProcessWorkflowsAsync 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/OrchardCore.Modules/OrchardCore.Workflows/Http/Filters/WorkflowActionFilter.cs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5f321b9d29874958d21842b62265309ec9e5877568ca322aa968b679ed1aab4"}},{"ruleId":"D1","level":"warning","message":{"text":"ElasticsearchDocumentIndexManager.CreateElasticDocument (cyclomatic 20): ElasticsearchDocumentIndexManager.CreateElasticDocument 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/OrchardCore/OrchardCore.Elasticsearch.Core/Services/ElasticsearchDocumentIndexManager.cs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"529481a5c2b05208fab473afde0ca0b138e649801b9c47d4692e0754464fa3cf"}},{"ruleId":"D1","level":"warning","message":{"text":"RangeFilterProvider.CreateFilteredQuery (cyclomatic 20): RangeFilterProvider.CreateFilteredQuery has cyclomatic complexity 20 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore/OrchardCore.Lucene.Core/QueryProviders/Filters/RangeFilterProvider.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"be7aaa4cde772f1d45adb4c3b101d024605a57dad81772617fdaba2b391cf7b2"}},{"ruleId":"D1","level":"warning","message":{"text":"ModularBackgroundService.RunAsync (cyclomatic 20): ModularBackgroundService.RunAsync has cyclomatic 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 2 function literals inside it that branch (lines 100, 159). 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/OrchardCore/OrchardCore/Modules/ModularBackgroundService.cs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"82aad566df335810bef0538b42afb87d7ee45ce037e92749e5861e5b34b81a54"}},{"ruleId":"D1","level":"warning","message":{"text":"SetupController.IndexPOST (cyclomatic 19): SetupController.IndexPOST 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, 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/OrchardCore.Modules/OrchardCore.Setup/Controllers/SetupController.cs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca294b3ad8e0989e18f63c75b837dd8c23bb29c2b310249b13c347637081287"}},{"ruleId":"D1","level":"warning","message":{"text":"AdminController.IndexPOST (cyclomatic 19): AdminController.IndexPOST 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/OrchardCore.Modules/OrchardCore.Users/Controllers/AdminController.cs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"08f49d4cfb1684754834f09ca4e078e53f177a8ceb76629f7f6667c23ff228a5"}},{"ruleId":"D1","level":"warning","message":{"text":"DynamicJsonConverter.Read (cyclomatic 19): DynamicJsonConverter.Read 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/OrchardCore/OrchardCore.Abstractions/Json/Serialization/DynamicJsonConverter.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"35e30c65e56bf0f2590485295013d1bb4d176220284732a0cb485bc38eee5c45"}},{"ruleId":"D1","level":"warning","message":{"text":"ContentPartAlternatesFactory.BuildAlternates (cyclomatic 19): ContentPartAlternatesFactory.BuildAlternates 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/OrchardCore/OrchardCore.ContentManagement.Display/ContentDisplay/ContentPartAlternatesFactory.cs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0496efc815fda873cd1107fbb2df74043a19f1f83212e4c530db9b26540b095"}},{"ruleId":"D1","level":"warning","message":{"text":"DbConnectionValidator.ValidateAsync (cyclomatic 19): DbConnectionValidator.ValidateAsync 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/OrchardCore/OrchardCore.Data.YesSql/DbConnectionValidator.cs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4a4e82eb46b5d72528fc7f1ddd404888f60251788dbb01dd839dfb575b65f62"}},{"ruleId":"D1","level":"warning","message":{"text":"ShapeResult.BuildAndAddShapeAsync (cyclomatic 19): ShapeResult.BuildAndAddShapeAsync has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore/OrchardCore.DisplayManagement/Views/ShapeResult.cs"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"8899bd7a6da2e4000dc3922761ce7b2f657f87174e3ccec587c4921a99f025af"}},{"ruleId":"D1","level":"warning","message":{"text":"RangeQueryProvider.CreateQuery (cyclomatic 19): RangeQueryProvider.CreateQuery has cyclomatic complexity 19 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore/OrchardCore.Lucene.Core/QueryProviders/RangeQueryProvider.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"d484f86406ab715eab6b531a926921035733928f5024d2f89378b0711117698e"}},{"ruleId":"D1","level":"warning","message":{"text":"ShellFileVersionProvider.AddFileVersionToPath (cyclomatic 18): ShellFileVersionProvider.AddFileVersionToPath 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/OrchardCore/OrchardCore.Mvc.Core/ShellFileVersionProvider.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"db832431bc6b20d77ac3273aa9c2a5935242b3eb14f9c0fca163197fa0ed0887"}},{"ruleId":"D1","level":"warning","message":{"text":"RemoteMediaCacheBackgroundTask.DoWorkAsync (cyclomatic 18): RemoteMediaCacheBackgroundTask.DoWorkAsync 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/OrchardCore.Modules/OrchardCore.Media/Services/RemoteMediaCacheBackgroundTask.cs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"814d8f144c725a8aad1f055485a386f61b70261d043aeb8f07068c31704d3f60"}},{"ruleId":"D1","level":"warning","message":{"text":"PlacementInfoResolver.ResolvePlacement (cyclomatic 18): PlacementInfoResolver.ResolvePlacement 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/OrchardCore.Modules/OrchardCore.Placements/Services/PlacementProvider.cs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"5040e63b26cd1be5a2f53349ace4a25a59772f29730361b4b925c9236b29faae"}},{"ruleId":"D1","level":"warning","message":{"text":"AccessController.Authorize (cyclomatic 18): AccessController.Authorize 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/OrchardCore.Modules/OrchardCore.OpenId/Controllers/AccessController.cs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"3805bc1af69c9631367d3b73ec01ff1578efe1612d3e83b2f57e1c7d96b18988"}},{"ruleId":"D1","level":"warning","message":{"text":"LinkTag.WriteToAsync (cyclomatic 18): LinkTag.WriteToAsync 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/OrchardCore.Modules/OrchardCore.Resources/Liquid/LinkTag.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b0d54ec2297989ffc39cde5d75a9ff082d771ffc46ad774a279c1f155c9eed2"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonDynamicValue.Compare (cyclomatic 18): JsonDynamicValue.Compare 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/OrchardCore/OrchardCore.Abstractions/Json/Dynamic/JsonDynamicValue.cs"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"988529813ef4d11ae42e0c1ec231d1974051f460d479e642fa0013efb873ebff"}},{"ruleId":"D1","level":"warning","message":{"text":"ContentItemDisplayCoordinator.BuildDisplayAsync (cyclomatic 18): ContentItemDisplayCoordinator.BuildDisplayAsync 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/OrchardCore/OrchardCore.ContentManagement.Display/ContentDisplay/ContentItemDisplayCoordinator.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"293787972566062a99cba273954c8750fe550f934dc246b4cac8b99e504e3c4f"}},{"ruleId":"D1","level":"warning","message":{"text":"ContentItemsFieldType.OrderBy (cyclomatic 18): ContentItemsFieldType.OrderBy 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/OrchardCore/OrchardCore.ContentManagement.GraphQL/Queries/ContentItemsFieldType.cs"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f0906defbbc61bf904f8257f5218c206040883db623a0520842cd47d83583ee"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultContentManager.GetAsync (cyclomatic 18): DefaultContentManager.GetAsync has cyclomatic complexity 18 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 4 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/OrchardCore/OrchardCore.ContentManagement/DefaultContentManager.cs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"7409171f67433008180a86bab5b96f052cb5db78ba7c08690a2936b72daded86"}},{"ruleId":"D1","level":"warning","message":{"text":"ShapeAttributeBindingStrategy.BindParameter (cyclomatic 18): ShapeAttributeBindingStrategy.BindParameter has cyclomatic 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: 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/OrchardCore/OrchardCore.DisplayManagement/Descriptors/ShapeAttributeStrategy/ShapeAttributeBindingStrategy.cs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"8381bb8a1f0fde2a18e2e020851ca90c5482a45f9bbac45bab8c7cb5b547ed09"}},{"ruleId":"D1","level":"warning","message":{"text":"RazorViewActionFilter.OnActionExecutionAsync (cyclomatic 18): RazorViewActionFilter.OnActionExecutionAsync 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/OrchardCore/OrchardCore.DisplayManagement/Razor/RazorViewActionFilter.cs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"56d42f606f0568f30c725678ea5b390bb81ea3a8dc876a6f259be7c222416d9d"}},{"ruleId":"D1","level":"warning","message":{"text":"ModularBackgroundService.UpdateAsync (cyclomatic 18): ModularBackgroundService.UpdateAsync has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 1 of the 18 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 275, 245). 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/OrchardCore/OrchardCore/Modules/ModularBackgroundService.cs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"993ef86ba649833e52f0306aac2ef134af5fab3f5dbe183e9536c5c1433dc4e9"}},{"ruleId":"D1","level":"warning","message":{"text":"AzureAISearchDefaultSettingsDisplayDriver.UpdateAsync (cyclomatic 17): AzureAISearchDefaultSettingsDisplayDriver.UpdateAsync 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/OrchardCore.Modules/OrchardCore.AzureAI/Drivers/AzureAISearchDefaultSettingsDisplayDriver.cs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"e96cb6ff46b3ab21faa63aea2210baa929e6885e71fca7194346af5a25f15c29"}},{"ruleId":"D1","level":"warning","message":{"text":"AdminController.AddFieldToPOST (cyclomatic 17): AdminController.AddFieldToPOST has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore.Modules/OrchardCore.ContentTypes/Controllers/AdminController.cs"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"8437414632c895b638d3d0703f10a47ddf2715dabe258d207ba16d7d86299203"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageShortcodeProvider.EvaluateAsync (cyclomatic 17): ImageShortcodeProvider.EvaluateAsync 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/OrchardCore.Modules/OrchardCore.Media/Shortcodes/ImageShortcodeProvider.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"44050e144b133de7468703842c36c98d899053ea4103e1bc231e62ed2c885917"}},{"ruleId":"D1","level":"warning","message":{"text":"MediaTusStartup.Configure (cyclomatic 17): MediaTusStartup.Configure has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 1 of the 17 points is its own statement and the rest belongs to 5 function literals inside it that branch (lines 448, 537, 484, \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/OrchardCore.Modules/OrchardCore.Media/Startup.cs"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"2496d30ed13c12ccc1fea5b69631b2a7bf65a452c1d1f40c983adf8b9b576115"}},{"ruleId":"D1","level":"warning","message":{"text":"TermShapes.DiscoverAsync (cyclomatic 17): TermShapes.DiscoverAsync has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 1 of the 17 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 30, 141). 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/OrchardCore.Modules/OrchardCore.Taxonomies/TermShapes.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d2c8153b06db37511a04696242ebdd0b1e93c6b946bfcef98377796612864de"}},{"ruleId":"D1","level":"warning","message":{"text":"TenantSetupOptions.Validate (cyclomatic 17): TenantSetupOptions.Validate has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore.Modules/OrchardCore.AutoSetup/Options/TenantSetupOptions.cs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"0edba3536ff16e1b351dfb67d3077af7f4a9e8c00d0d8c302667c888e8b68e83"}},{"ruleId":"D1","level":"warning","message":{"text":"SmtpSettingsDisplayDriver.UpdateAsync (cyclomatic 17): SmtpSettingsDisplayDriver.UpdateAsync 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/OrchardCore.Modules/OrchardCore.Email.Smtp/Drivers/SmtpSettingsDisplayDriver.cs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"167e5e8a7feca508d5d439a39d059d78216ccbe38ad4de44389704dbede2a707"}},{"ruleId":"D1","level":"warning","message":{"text":"Startup.Configure (cyclomatic 17): Startup.Configure has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 2 of the 17 points are its own statements and the rest belongs to one function literal inside it that branches (line 101). 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/OrchardCore.Modules/OrchardCore.OpenApi/Startup.cs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"477aea5c807638e47251c01e5fe26845e6ec1c0e5ded94d273c8277cc1e5c678"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenIdServerConfiguration.Configure (cyclomatic 17): OpenIdServerConfiguration.Configure has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore.Modules/OrchardCore.OpenId/Configuration/OpenIdServerConfiguration.cs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5c350a3071d0f377c55538eefa1f41bdf592dc44e600048eac243d051c10093"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenIdClientService.ValidateSettingsAsync (cyclomatic 17): OpenIdClientService.ValidateSettingsAsync has cyclomatic complexity 17 (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/OrchardCore.Modules/OrchardCore.OpenId/Services/OpenIdClientService.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f68ac53b92466630e544848339f3917f8698fbb1b1fd41de46c29baf8fd3053"}},{"ruleId":"D1","level":"warning","message":{"text":"SetupTenantTask.ExecuteAsync (cyclomatic 17): SetupTenantTask.ExecuteAsync has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore.Modules/OrchardCore.Tenants/Workflows/Activities/SetupTenantTask.cs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"973b6f5aead96c277358e92393b97ccfc30fddd409f863ed46b09778dd412452"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkflowManager.ExecuteWorkflowAsync (cyclomatic 17): WorkflowManager.ExecuteWorkflowAsync 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/OrchardCore.Modules/OrchardCore.Workflows/Services/WorkflowManager.cs"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"081938b6f18dab0eebd75acdf8df7a9b9792406239670593ae8ea3b61d17a060"}},{"ruleId":"D1","level":"warning","message":{"text":"AzureAISearchDocumentIndexManager.GetNestedValue (cyclomatic 17): AzureAISearchDocumentIndexManager.GetNestedValue has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore/OrchardCore.AzureAI.Core/Services/AzureAISearchDocumentIndexManager.cs"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"29685761b32fbd20206d9b8b83134d3e4055b9e7fb2f7b591b7e4b59b84481af"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultContentManager.ImportAsync (cyclomatic 17): DefaultContentManager.ImportAsync has cyclomatic complexity 17 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 3 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/OrchardCore/OrchardCore.ContentManagement/DefaultContentManager.cs"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc95a1970808d42d6480b85bf0899562dfb910971908dc6acdbb6ea1a026e3e5"}},{"ruleId":"D1","level":"warning","message":{"text":"ContentLinkTagHelper.ProcessAsync (cyclomatic 17): ContentLinkTagHelper.ProcessAsync 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/OrchardCore/OrchardCore.Contents.TagHelpers/ContentLinkTagHelper.cs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"64f05390d13ef4c4c4374fc85515d230b81c2b2fcd3461d728ec21ef9096ae34"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultHtmlDisplay.ExecuteAsync (cyclomatic 17): DefaultHtmlDisplay.ExecuteAsync has cyclomatic complexity 17 (threshold 15). Of this number, 15 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/OrchardCore/OrchardCore.DisplayManagement/Implementation/DefaultHtmlDisplay.cs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c03edb1d256c424eeb733278d65e24296d667ece285968f4b6907450aae7d55"}},{"ruleId":"D1","level":"warning","message":{"text":"BulkRequestDescriptorExtensions.CreateElasticDocument (cyclomatic 17): BulkRequestDescriptorExtensions.CreateElasticDocument 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/OrchardCore/OrchardCore.Elasticsearch.Core/Services/BulkRequestDescriptorExtensions.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a8faa093d813130cb69936d66465d26bba96269f9d2744b43349053065fc61e"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultIndexProfileHandler.ValidatingAsync (cyclomatic 17): DefaultIndexProfileHandler.ValidatingAsync 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/OrchardCore/OrchardCore.Indexing.Core/Handlers/DefaultIndexProfileHandler.cs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8243104d3475fc33e40a3c1e0a62210fa18d04d4011b75a525ea96b6cd579fc"}},{"ruleId":"D1","level":"warning","message":{"text":"IndexingContentHandler.IndexAsync (cyclomatic 17): IndexingContentHandler.IndexAsync 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/OrchardCore/OrchardCore.Indexing.Core/Handlers/IndexingContentHandler.cs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"344f1de5b537f7c8deeaa81e3f02981d8ba0e812d0a2d30e1ec5ac87ee526b6e"}},{"ruleId":"D1","level":"warning","message":{"text":"ServiceProviderExtensions.CreateChildContainer (cyclomatic 17): ServiceProviderExtensions.CreateChildContainer 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/OrchardCore/OrchardCore/Shell/Builders/Extensions/ServiceProviderExtensions.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"e517e671f19c293c430ed385b60ac8640b1bf6025c5fa0dfcbb6c84eafe96084"}},{"ruleId":"D1","level":"warning","message":{"text":"ShellRemovalManager.RemoveAsync (cyclomatic 17): ShellRemovalManager.RemoveAsync has cyclomatic complexity 17 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 3 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/OrchardCore/OrchardCore/Shell/Removing/ShellRemovalManager.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"b79eb70433d93f7071983bb77611a963e37fa7084a18ee8806ed6a4fd9a58640"}},{"ruleId":"D1","level":"warning","message":{"text":"ShellDescriptorFeaturesManager.UpdateFeaturesAsync (cyclomatic 17): ShellDescriptorFeaturesManager.UpdateFeaturesAsync has cyclomatic complexity 17 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 7 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/OrchardCore/OrchardCore/Shell/ShellDescriptorFeaturesManager.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"f70127acc06a2262aec4b11d7b226f28941f30489961291edcf7f286ea1492e7"}},{"ruleId":"D1","level":"warning","message":{"text":"MediaFieldDisplayDriver.UpdateAsync (cyclomatic 16): MediaFieldDisplayDriver.UpdateAsync has cyclomatic 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, 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/OrchardCore.Modules/OrchardCore.Media/Drivers/MediaFieldDisplayDriver.cs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5b63d075dee2ef900858251cf7ed058d7f41b89a725d483e6c9d718c7ecab14"}},{"ruleId":"D1","level":"warning","message":{"text":"ManageMediaFolderAuthorizationHandler.HandleRequirementAsync (cyclomatic 16): ManageMediaFolderAuthorizationHandler.HandleRequirementAsync has cyclomatic complexity 16 (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/OrchardCore.Modules/OrchardCore.Media/Services/ManageMediaFolderAuthorizationHandler.cs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7306b15781553dffebc507784ef6a09b6d290e9dcf0a7988542bef1ea38f90e"}},{"ruleId":"D1","level":"warning","message":{"text":"SchemaService.GetSchemaAsync (cyclomatic 16): SchemaService.GetSchemaAsync 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/OrchardCore.Modules/OrchardCore.Apis.GraphQL/Services/SchemaService.cs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"4571e81b9ea0af8269b52ce2ce7dce6fcab86ce5eaf9697746daa783e27689df"}},{"ruleId":"D1","level":"warning","message":{"text":"AdminController.IndexPost (cyclomatic 16): AdminController.IndexPost 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/OrchardCore.Modules/OrchardCore.RateLimits/Controllers/AdminController.cs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"95da6e21e04c8202407c751326ca66ca8b78e30f0346a4782dfab5dac837920c"}},{"ruleId":"D1","level":"warning","message":{"text":"TypedContentTypeBuilder.Build (cyclomatic 16): TypedContentTypeBuilder.Build has cyclomatic 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, 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/OrchardCore/OrchardCore.ContentManagement.GraphQL/Queries/Types/TypedContentTypeBuilder.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3b2b675dfa3a0d3b37637c9e1365be3cfc9dea86fd80610f89796db108c786f"}},{"ruleId":"D1","level":"warning","message":{"text":"DateTimeShapes.TimeSpan (cyclomatic 16): DateTimeShapes.TimeSpan has cyclomatic complexity 16 (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/OrchardCore/OrchardCore.DisplayManagement/Shapes/DateTimeShapes.cs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"74900945e618aaaae37a9dd88956a44750b3d0972f6c1955f9bc6538480b9ffd"}},{"ruleId":"D1","level":"warning","message":{"text":"ShapeSerializer.Serialize (cyclomatic 16): ShapeSerializer.Serialize has cyclomatic complexity 16 (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/OrchardCore/OrchardCore.DisplayManagement/Shapes/ShapeSerializer.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b2bffd2288cb2c0c028de9b6ee4ed4041d1298e89b745b9466480e1f044fbd2"}},{"ruleId":"D1","level":"warning","message":{"text":"FlatPositionComparer.Compare (cyclomatic 16): FlatPositionComparer.Compare 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/OrchardCore/OrchardCore.DisplayManagement/Zones/FlatPositionComparer.cs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"f078d4dce96673f0baf87d419910c091462d9765f954833b10d1a7d25b5b957f"}},{"ruleId":"D1","level":"warning","message":{"text":"ElasticsearchClientFactory.Create (cyclomatic 16): ElasticsearchClientFactory.Create 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, 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/OrchardCore/OrchardCore.Elasticsearch.Core/Services/ElasticsearchClientFactory.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"c851b57cc30083e20a7652170949a0f3479d817982c444861447b038370ea065"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultPluralRuleProvider.DefaultPluralRuleProvider.ctor (cognitive 105): DefaultPluralRuleProvider.DefaultPluralRuleProvider.ctor has cognitive complexity 105 (threshold 15). Most of this is not in the body itself: 0 of the 105 points are its own statements and the rest belongs to 20 function literals inside it that branch (lines 38, 37, 33, \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/OrchardCore/OrchardCore.Localization.Core/DefaultPluralRuleProvider.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"297af93010a66118a0df8a7b0044e77d670355194b81d95375709e23f19de835"}},{"ruleId":"D2","level":"warning","message":{"text":"DynamicContentTypeBuilder.BuildInternal (cognitive 100): DynamicContentTypeBuilder.BuildInternal has cognitive complexity 100 (threshold 15). Of this number, 99 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/OrchardCore/OrchardCore.ContentManagement.GraphQL/Queries/Types/DynamicContentTypeBuilder.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf7a5635b17cc97fdc42b2c702f839a0ce3db0ddcac03cdc1ad08b7643bee640"}},{"ruleId":"D2","level":"warning","message":{"text":"SeoMetaSettingsHandler.GetContentItemAspectAsync (cognitive 87): SeoMetaSettingsHandler.GetContentItemAspectAsync has cognitive complexity 87 (threshold 15). Most of this is not in the body itself: 0 of the 87 points are its own statements and the rest belongs to one function literal inside it that branches (line 39). 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/OrchardCore.Modules/OrchardCore.Seo/Handlers/SeoMetaSettingsHandler.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1ca5844e93fb3a63036216485016822025846baf11d90fd8129f9d72ca94be6"}},{"ruleId":"D2","level":"warning","message":{"text":"LuceneIndexManager.CreateLuceneDocument (cognitive 84): LuceneIndexManager.CreateLuceneDocument has cognitive complexity 84 (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/OrchardCore/OrchardCore.Lucene.Core/Services/LuceneIndexManager.cs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cd7b99ae75e180507f9281d62e4326300e319ce20f5f60481a919db800b2072"}},{"ruleId":"D2","level":"warning","message":{"text":"Migrations.UpgradeAsync (cognitive 83): Migrations.UpgradeAsync has cognitive complexity 83 (threshold 15). Most of this is not in the body itself: 4 of the 83 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 152, 107, 231). 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/OrchardCore.Modules/OrchardCore.Lucene/Migrations.cs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ee32e6a28520c12b97341386c5dba945d8b76b50d60655909d03ed68fccfe02"}},{"ruleId":"D2","level":"warning","message":{"text":"DistributedShellHostedService.ExecuteAsync (cognitive 81): DistributedShellHostedService.ExecuteAsync has cognitive complexity 81 (threshold 15). Of this number, 80 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/OrchardCore/OrchardCore/Shell/Distributed/DistributedShellHostedService.cs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7c0b6adb2bc245179222caa1cc685af85a29f7133689cd185c94eb164f169a9"}},{"ruleId":"D2","level":"warning","message":{"text":"ContentAnchorTag.WriteToAsync (cognitive 79): ContentAnchorTag.WriteToAsync has cognitive complexity 79 (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/OrchardCore.Modules/OrchardCore.Contents/Liquid/ContentAnchorTag.cs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eba018066f848232631356d825bf07feaeb9b8cce8760d3408ada6ac68a63b8"}},{"ruleId":"D2","level":"warning","message":{"text":"AdminController.IndexPost (cognitive 77): AdminController.IndexPost has cognitive complexity 77 (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/OrchardCore.Modules/OrchardCore.Indexing/Controllers/AdminController.cs"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5b706438e8ad1a48528df7569db776c868dab1c525734df9978d2c83c86b0f2"}},{"ruleId":"D2","level":"warning","message":{"text":"ShapePagerTag.WriteToAsync (cognitive 73): ShapePagerTag.WriteToAsync has cognitive complexity 73 (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/OrchardCore/OrchardCore.DisplayManagement.Liquid/Tags/ShapePagerTag.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"8356f8b8f808f52dcc275bbf93de0306147d376389a51be11fc4ce9b7da770b5"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultContentsAdminListFilterProvider.Build (cognitive 71): DefaultContentsAdminListFilterProvider.Build has cognitive complexity 71 (threshold 15). Most of this is not in the body itself: 0 of the 71 points are its own statements and the rest belongs to 18 function literals inside it that branch (lines 122, 237, 22, \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/OrchardCore.Modules/OrchardCore.Contents/Services/DefaultContentsAdminListFilterProvider.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"217d9e4affbe80a99fdf44e24bde91b9f55b6f97eaa281a076d9f352c1ff7933"}},{"ruleId":"D2","level":"warning","message":{"text":"DependencyOrdering.Order (cognitive 71): DependencyOrdering.Order has cognitive complexity 71 (threshold 15). Of this number, 69 points are the body\u0027s own statements and 2 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/OrchardCore/OrchardCore/Extensions/DependencyOrdering.cs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f47c3598b12155c2f35e8f4779d466652a8883531d73e681566968cad0a454f"}},{"ruleId":"D2","level":"warning","message":{"text":"ContentItemsFieldType.BuildExpressionsInternal (cognitive 67): ContentItemsFieldType.BuildExpressionsInternal has cognitive complexity 67 (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/OrchardCore/OrchardCore.ContentManagement.GraphQL/Queries/ContentItemsFieldType.cs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"56433e223dcc842c247fae5653f210bb8d4f025544f62a3652ee42db0ef1e7d4"}},{"ruleId":"D2","level":"warning","message":{"text":"NamedIndexingService.ProcessRecordsAsync (cognitive 63): NamedIndexingService.ProcessRecordsAsync 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/OrchardCore/OrchardCore.Indexing.Core/NamedIndexingService.cs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1df15fdbf312526eca8664dcc7426afff4ebc0a320f61421936da44e9725433"}},{"ruleId":"D2","level":"warning","message":{"text":"ContainerService.QueryContainedItemsAsync (cognitive 60): ContainerService.QueryContainedItemsAsync has cognitive complexity 60 (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/OrchardCore.Modules/OrchardCore.Lists/Services/ContainerService.cs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbb9f2af5a489c7f1dc70d20771cea89f7e7b167f2c0ce8e3cd2fc76cb4be6f0"}},{"ruleId":"D2","level":"warning","message":{"text":"AzureAISearchIndexSettingsMigrations.UpdateFrom1 (cognitive 59): AzureAISearchIndexSettingsMigrations.UpdateFrom1 has cognitive complexity 59 (threshold 15). Most of this is not in the body itself: 1 of the 59 points is its own statement and the rest belongs to one function literal inside it that branches (line 56). 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/OrchardCore.Modules/OrchardCore.AzureAI/Migrations/AzureAISearchIndexSettingsMigrations.cs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"822c68d869deba57a041e7b27e26816ef974a5bb036ceb1a663f6c92f00798df"}},{"ruleId":"D2","level":"warning","message":{"text":"HttpWorkflowController.Invoke (cognitive 57): HttpWorkflowController.Invoke 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/OrchardCore.Modules/OrchardCore.Workflows/Http/Controllers/HttpWorkflowController.cs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"10883c6e409e5603f927dfb7ae39c346daa1fbac20fa4a6ff14967bfa39b2029"}},{"ruleId":"D2","level":"warning","message":{"text":"getOptions (cognitive 54): getOptions 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/OrchardCore.Modules/OrchardCore.Resources/Assets/js/list-management.js"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a319be4b6c8324d41722984ed05e333c0b54562a6d5e7e5c17890269a9ddce3"}},{"ruleId":"D2","level":"warning","message":{"text":"AzureAISearchDocumentIndexManager.CreateSearchDocument (cognitive 52): AzureAISearchDocumentIndexManager.CreateSearchDocument 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/OrchardCore/OrchardCore.AzureAI.Core/Services/AzureAISearchDocumentIndexManager.cs"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"160abc2a1d88ed67f0d1a5ec7c8748420a8718699de98c65d0bfd66519ffc898"}},{"ruleId":"D2","level":"warning","message":{"text":"PagerShapes.Pager_Links (cognitive 51): PagerShapes.Pager_Links 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/OrchardCore.Modules/OrchardCore.Navigation/PagerShapesTableProvider.cs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ef9275ef9b49b08367fa3edd64c7b2728a59b1284a7ce8126483846f4547882"}},{"ruleId":"D2","level":"warning","message":{"text":"ScriptBlock.WriteToAsync (cognitive 51): ScriptBlock.WriteToAsync 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/OrchardCore.Modules/OrchardCore.Resources/Liquid/ScriptBlock.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dcc9d2016938cd3679b5fe13f6de9a97a76f19be19982855908f94cd6a8f551"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowActionFilter.ProcessWorkflowsAsync (cognitive 51): WorkflowActionFilter.ProcessWorkflowsAsync 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/OrchardCore.Modules/OrchardCore.Workflows/Http/Filters/WorkflowActionFilter.cs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c9a0b2700d084bfde980db9322a2938530880029e73ade16d3b07bbbffdde7a"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultContentManager.ImportAsync (cognitive 50): DefaultContentManager.ImportAsync has cognitive complexity 50 (threshold 15). Of this number, 48 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/OrchardCore/OrchardCore.ContentManagement/DefaultContentManager.cs"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"4159075356971909c5b1baf513303a4b3d0a6cf160658ef0c3e661f50c639402"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenIdApplicationExtensions.UpdateDescriptorFromSettings (cognitive 49): OpenIdApplicationExtensions.UpdateDescriptorFromSettings has cognitive complexity 49 (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/OrchardCore.Modules/OrchardCore.OpenId/OpenIdApplicationSettings.cs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"b56b47c4137180ebfed25cbadf479c97cd75546a704ca21182c7150ff2d0d331"}},{"ruleId":"D2","level":"warning","message":{"text":"StyleBlock.WriteToAsync (cognitive 49): StyleBlock.WriteToAsync has cognitive complexity 49 (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/OrchardCore.Modules/OrchardCore.Resources/Liquid/StyleBlock.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd78eca8f1eedad0063e778fa99619b41fb2f9425aedce52e7e89b089a28f6b5"}},{"ruleId":"D2","level":"warning","message":{"text":"ExternalAuthenticationsController.ExternalLoginCallback (cognitive 49): ExternalAuthenticationsController.ExternalLoginCallback has cognitive complexity 49 (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/OrchardCore.Modules/OrchardCore.Users/Controllers/ExternalAuthenticationsController.cs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0e5acaed29c655489908091b0a6c4aaf8c937ba47a30d26a70d12085c350ff7"}},{"ruleId":"D2","level":"warning","message":{"text":"ContentPartAlternatesFactory.BuildAlternates (cognitive 49): ContentPartAlternatesFactory.BuildAlternates has cognitive complexity 49 (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/OrchardCore/OrchardCore.ContentManagement.Display/ContentDisplay/ContentPartAlternatesFactory.cs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b180ae5b12aefd7d8e4304ff013d6c484e62d405f8e397bed8c69d0bee4c62e"}},{"ruleId":"D2","level":"warning","message":{"text":"ExtensionManager.EnsureInitialized (cognitive 49): ExtensionManager.EnsureInitialized has cognitive complexity 49 (threshold 15). Of this number, 48 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/OrchardCore/OrchardCore/Extensions/ExtensionManager.cs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd725041891e454b635ca8db373d8d0d2ebf55fd10422e9dbc316b1c83f7ae89"}},{"ruleId":"D2","level":"warning","message":{"text":"JArray.Merge (cognitive 47): JArray.Merge 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/OrchardCore/OrchardCore.Abstractions/Json/Nodes/JArray.cs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"343ef41de8cf7103e3c84e02a9e1fd04e1028843a70b65fd97403fa7adaa2c66"}},{"ruleId":"D2","level":"warning","message":{"text":"AdminController.ListPOST (cognitive 46): AdminController.ListPOST has cognitive complexity 46 (threshold 15). Of this number, 45 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/OrchardCore.Modules/OrchardCore.Contents/Controllers/AdminController.cs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"40c9970ee8805efa2ed211c920c7c7fed219f93b3a3bacd2a080479f1890078b"}},{"ruleId":"D2","level":"warning","message":{"text":"ServiceProviderExtensions.CreateChildContainer (cognitive 46): ServiceProviderExtensions.CreateChildContainer has cognitive complexity 46 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore/OrchardCore/Shell/Builders/Extensions/ServiceProviderExtensions.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a25729f57a92d68837a63a20ad0e67636c39ae14912004d2d6aad7e02ed3c90"}},{"ruleId":"D2","level":"warning","message":{"text":"ContentItemConverter.Read (cognitive 45): ContentItemConverter.Read has cognitive complexity 45 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore/OrchardCore.ContentManagement.Abstractions/ContentItemConverter.cs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffb28e0fd215dc22e4a7fffa17e70da0226066d4df20578c0b3cc0cb66e9a097"}},{"ruleId":"D2","level":"warning","message":{"text":"AnchorTag.WriteToAsync (cognitive 45): AnchorTag.WriteToAsync has cognitive complexity 45 (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/OrchardCore/OrchardCore.DisplayManagement.Liquid/Tags/AnchorTag.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"06edfc27d627ebc593a65fa16892198bccc971be109542628b489a7333f47803"}},{"ruleId":"D2","level":"warning","message":{"text":"RolesMigrations.MigrateSystemRoles (cognitive 44): RolesMigrations.MigrateSystemRoles has cognitive complexity 44 (threshold 15). Most of this is not in the body itself: 0 of the 44 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 47, 132). 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/OrchardCore.Modules/OrchardCore.Roles/Migrations/RolesMigrations.cs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb48225ad94f0b07e7d62b9cdfaa21d84c2b948be200ff2f7bacc9cc081e2f64"}},{"ruleId":"D2","level":"warning","message":{"text":"IndexingMigrations.Create (cognitive 43): IndexingMigrations.Create has cognitive complexity 43 (threshold 15). Most of this is not in the body itself: 1 of the 43 points is its own statement and the rest belongs to one function literal inside it that branches (line 47). 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/OrchardCore.Modules/OrchardCore.Elasticsearch/Migrations/IndexingMigrations.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c967bcde2a31bb3e7ed614f9e1ecb12b30f483d55683dca4cec488b062e898f"}},{"ruleId":"D2","level":"warning","message":{"text":"LuceneRecipeEventHandler.RecipeStepExecutingAsync (cognitive 41): LuceneRecipeEventHandler.RecipeStepExecutingAsync has cognitive complexity 41 (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/OrchardCore.Modules/OrchardCore.ContentTypes/Recipes/LuceneRecipeEventHandler.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"613ee85f03299c45e9c64116c1e7bd2be9934aa45897d0c16aa3ad4d653f85d9"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenIdServerService.ValidateSettingsAsync (cognitive 41): OpenIdServerService.ValidateSettingsAsync has cognitive complexity 41 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore.Modules/OrchardCore.OpenId/Services/OpenIdServerService.cs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb50f5370ba345c8203b93362dec47a122b7f29eac83514fda74f8c45aaf9784"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenIdValidationService.ValidateSettingsAsync (cognitive 41): OpenIdValidationService.ValidateSettingsAsync has cognitive complexity 41 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 11 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/OrchardCore.Modules/OrchardCore.OpenId/Services/OpenIdValidationService.cs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e9ab36ba18d402c314731301180f6843253c1922cb9e527ecd9b5a52819827f"}},{"ruleId":"D2","level":"warning","message":{"text":"ResourceDefinition.GetTagBuilder (cognitive 41): ResourceDefinition.GetTagBuilder has cognitive complexity 41 (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/OrchardCore/OrchardCore.ResourceManagement.Abstractions/ResourceDefinition.cs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ef5a7a8e2f58619aa1b4e75241ce05be2961c56300a4dea52a0812484b3bc67"}},{"ruleId":"D2","level":"warning","message":{"text":"AdminController.List (cognitive 40): AdminController.List has cognitive complexity 40 (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/OrchardCore.Modules/OrchardCore.Contents/Controllers/AdminController.cs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4f11b87bcd4f0ff6a867461e2d4d5f836f842062501a9eb09533e8a3843ff9d"}},{"ruleId":"D2","level":"warning","message":{"text":"Startup.Configure (cognitive 40): Startup.Configure has cognitive complexity 40 (threshold 15). Most of this is not in the body itself: 1 of the 40 points is its own statement and the rest belongs to one function literal inside it that branches (line 101). 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/OrchardCore.Modules/OrchardCore.OpenApi/Startup.cs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"87c1255c165e838fa011f93f5098ab56c7f0d0eff67b94fb3eb9d1ed8058b686"}},{"ruleId":"D2","level":"warning","message":{"text":"IndexingMigrations.Create (cognitive 39): IndexingMigrations.Create has cognitive complexity 39 (threshold 15). Most of this is not in the body itself: 1 of the 39 points is its own statement and the rest belongs to one function literal inside it that branches (line 40). 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/OrchardCore.Modules/OrchardCore.Lucene/DataMigrations/IndexingMigrations.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"a55e7a4597dd67dfcbfe067048007e4df8a85c95b76c8da49ad39bb9b731c494"}},{"ruleId":"D2","level":"warning","message":{"text":"TenantValidator.ValidateAsync (cognitive 39): TenantValidator.ValidateAsync has cognitive complexity 39 (threshold 15). Of this number, 38 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/OrchardCore.Modules/OrchardCore.Tenants/Services/TenantValidator.cs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"26e0d8dc82bc10d186312098e8440268e3dc8a2158656be8d5c65be51ba772a1"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowManager.TriggerEventAsync (cognitive 39): WorkflowManager.TriggerEventAsync has cognitive complexity 39 (threshold 15). Of this number, 37 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/OrchardCore.Modules/OrchardCore.Workflows/Services/WorkflowManager.cs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"e658de0b9c5fb12a464eed422d4c87c403fae6cc1a27961324f228f9d4657668"}},{"ruleId":"D2","level":"warning","message":{"text":"ContentItemDisplayCoordinator.BuildDisplayAsync (cognitive 39): ContentItemDisplayCoordinator.BuildDisplayAsync has cognitive complexity 39 (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/OrchardCore/OrchardCore.ContentManagement.Display/ContentDisplay/ContentItemDisplayCoordinator.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"f522d7358e841e2d55cb652a77bfab5c3570a7e22939d9b594413ef55672545f"}},{"ruleId":"D2","level":"warning","message":{"text":"ShellViewFeatureProvider.PopulateFeatureInternal (cognitive 37): ShellViewFeatureProvider.PopulateFeatureInternal has cognitive complexity 37 (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/OrchardCore/OrchardCore.Mvc.Core/ShellViewFeatureProvider.cs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"58ea1fa247c0a34184f982ee3583deec631fe3941ce7ffdb8f2b1cf21a8043fe"}},{"ruleId":"D2","level":"warning","message":{"text":"TypedContentTypeBuilder.Build (cognitive 37): TypedContentTypeBuilder.Build has cognitive complexity 37 (threshold 15). Of this number, 35 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/OrchardCore/OrchardCore.ContentManagement.GraphQL/Queries/Types/TypedContentTypeBuilder.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"86321a2ed9bcca8469ee77c94a32854c2afebbdf40d2e950b21babe98b9cdc4d"}},{"ruleId":"D2","level":"warning","message":{"text":"LiquidTagHelperActivator.LiquidTagHelperActivator.ctor (cognitive 37): LiquidTagHelperActivator.LiquidTagHelperActivator.ctor has cognitive complexity 37 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 16 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/OrchardCore/OrchardCore.DisplayManagement.Liquid/TagHelpers/LiquidTagHelperActivator.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2bad12b530ff6fa64c5b1a1bf5c6ce00dff3b806861efdda4f75650af3cf698"}},{"ruleId":"D2","level":"warning","message":{"text":"ZoneShapes.ColumnGrouping (cognitive 37): ZoneShapes.ColumnGrouping has cognitive complexity 37 (threshold 15). Of this number, 36 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/OrchardCore/OrchardCore.DisplayManagement/Zones/ZoneShapes.cs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"af071b86bc4538b02922c3ba8d200b9e98ee128eaddea1b7d11bc0a3a1b96750"}},{"ruleId":"D2","level":"warning","message":{"text":"CreateOrUpdateIndexProfileStep.HandleAsync (cognitive 37): CreateOrUpdateIndexProfileStep.HandleAsync has cognitive complexity 37 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore/OrchardCore.Indexing.Core/Recipes/CreateOrUpdateIndexProfileStep.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd37001b8397e3bd1d638276870849615932da6d964cb5395a7cfa03785dcaab"}},{"ruleId":"D2","level":"warning","message":{"text":"RecipeExecutor.ExecuteAsync (cognitive 37): RecipeExecutor.ExecuteAsync has cognitive complexity 37 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore/OrchardCore.Recipes.Core/Services/RecipeExecutor.cs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"715effa0424a7fecdf86d8fc961f3f64884a558ebef4cc300c05947843723a75"}},{"ruleId":"D2","level":"warning","message":{"text":"ModularBackgroundService.RunAsync (cognitive 37): ModularBackgroundService.RunAsync has cognitive complexity 37 (threshold 15). Most of this is not in the body itself: 0 of the 37 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 100, 159). 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/OrchardCore/OrchardCore/Modules/ModularBackgroundService.cs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc18402628d84873893d5683d383859d19363d4da25c1ba452dedb6c3633d6f8"}},{"ruleId":"D2","level":"warning","message":{"text":"TenantApiController.Setup (cognitive 36): TenantApiController.Setup has cognitive complexity 36 (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/OrchardCore.Modules/OrchardCore.Tenants/Controllers/TenantApiController.cs"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"3023d0088770f62aa21a02019d8a124883cb7e1f97fbb9e88025492dee198801"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultContentManager.GetAsync (cognitive 36): DefaultContentManager.GetAsync has cognitive complexity 36 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 4 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/OrchardCore/OrchardCore.ContentManagement/DefaultContentManager.cs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf55a1a7f440520f31022499502ff08ea3b0af4fe686c062a0eef26813a889a7"}},{"ruleId":"D2","level":"warning","message":{"text":"AutoSetupMiddleware.InvokeAsync (cognitive 35): AutoSetupMiddleware.InvokeAsync 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/OrchardCore.Modules/OrchardCore.AutoSetup/AutoSetupMiddleware.cs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"86dc224ae9c46c1904a236f17d4cca6fa802917b52d7b380ea7d888cfac0b041"}},{"ruleId":"D2","level":"warning","message":{"text":"ScriptTag.WriteToAsync (cognitive 35): ScriptTag.WriteToAsync has cognitive complexity 35 (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/OrchardCore.Modules/OrchardCore.Resources/Liquid/ScriptTag.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"d60f3a44caeb4da8a1abca76125b1336a927a7b8607adcbcaa7eb443f87d2cc5"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowManager.ExecuteWorkflowAsync (cognitive 35): WorkflowManager.ExecuteWorkflowAsync 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, 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/OrchardCore.Modules/OrchardCore.Workflows/Services/WorkflowManager.cs"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"66855771f06e93dd0832bac9d332d4efb6a841383b97f0d078c79057cfc25327"}},{"ruleId":"D2","level":"warning","message":{"text":"ContentTypeQueryResourceBuilder.Build (cognitive 35): ContentTypeQueryResourceBuilder.Build 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/OrchardCore/OrchardCore.Apis.GraphQL.Client/ContentTypeQueryResourceBuilder.cs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc99516662f38da12ed809ef18c8bfc2614e286ae13ddd687b75be3e9a00eb7a"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseShapeTagHelper.ProcessAsync (cognitive 35): BaseShapeTagHelper.ProcessAsync has cognitive complexity 35 (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/OrchardCore/OrchardCore.DisplayManagement/TagHelpers/BaseShapeTagHelper.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"b32182df94a923edc133ae5b93299f3b00effd2fa232c56cb8753f30e6411720"}},{"ruleId":"D2","level":"warning","message":{"text":"ContainerService.SetInitialOrder (cognitive 34): ContainerService.SetInitialOrder has cognitive complexity 34 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 6 belong to 5 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/OrchardCore.Modules/OrchardCore.Lists/Services/ContainerService.cs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cd9a3f37a1fef481ffe56d5f9e95d5d7d55b76605477b8e6e71c3b2a9d52f10"}},{"ruleId":"D2","level":"warning","message":{"text":"UserInfoController.Me (cognitive 33): UserInfoController.Me has cognitive complexity 33 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore.Modules/OrchardCore.OpenId/Controllers/UserInfoController.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eafa1dd8b49db6d1e6eb5ca17f3811d9706598ffc2ea2438290e6e7f43983fb"}},{"ruleId":"D2","level":"warning","message":{"text":"ContentItemsFieldType.OrderBy (cognitive 33): ContentItemsFieldType.OrderBy 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/OrchardCore/OrchardCore.ContentManagement.GraphQL/Queries/ContentItemsFieldType.cs"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc9ca0cb670505ef68cfcb1fc6a931064bfe69727c55c426d2952e92f3efcd47"}},{"ruleId":"D2","level":"warning","message":{"text":"IndexingContentHandler.IndexAsync (cognitive 33): IndexingContentHandler.IndexAsync 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/OrchardCore/OrchardCore.Indexing.Core/Handlers/IndexingContentHandler.cs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"a83a240184399b445947d14375d1aaaf938a19f989bef2a3ae600c0032daf79e"}},{"ruleId":"D2","level":"warning","message":{"text":"PlacementInfoResolver.ResolvePlacement (cognitive 32): PlacementInfoResolver.ResolvePlacement has cognitive complexity 32 (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/OrchardCore.Modules/OrchardCore.Placements/Services/PlacementProvider.cs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"abe3cc74b8e35d345b054922afaf64d301707cc52f1b1b7573682ed630d56b20"}},{"ruleId":"D2","level":"warning","message":{"text":"AccountController.LoginPOST (cognitive 32): AccountController.LoginPOST 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/OrchardCore.Modules/OrchardCore.Users/Controllers/AccountController.cs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dce8a66301f25c42bd68553f41c961cca212d7620d008290623a7bc4576e2cd"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 32): (anonymous) has cognitive complexity 32 (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":".scripts/assets-manager/build.mjs"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"a69432a42ec357eb20aa5fed1db60960dd6c46139418c83b29b56e866f939a9e"}},{"ruleId":"D2","level":"warning","message":{"text":"AdminController.GetTranslatableStringsAsync (cognitive 31): AdminController.GetTranslatableStringsAsync 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/OrchardCore.Modules/OrchardCore.DataLocalization/Controllers/AdminController.cs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe3a9d8a012f66b5645758b078153d8f8871974d1a38112849ed6c9bdc9d6544"}},{"ruleId":"D2","level":"warning","message":{"text":"AdminController.ListPOST (cognitive 31): AdminController.ListPOST has cognitive complexity 31 (threshold 15). Of this number, 30 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/OrchardCore.Modules/OrchardCore.Notifications/Controllers/AdminController.cs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b09b53837d2c81d8b0b914d1add211917504a843929649d4848aa9d2749e8aa"}},{"ruleId":"D2","level":"warning","message":{"text":"StyleTag.WriteToAsync (cognitive 31): StyleTag.WriteToAsync has cognitive complexity 31 (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/OrchardCore.Modules/OrchardCore.Resources/Liquid/StyleTag.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"336c95017b06d39ec63b89d5bc1f29a3a7102ce2b79cf6aeffe4b68472d09b3b"}},{"ruleId":"D2","level":"warning","message":{"text":"ShellRemovalManager.RemoveAsync (cognitive 31): ShellRemovalManager.RemoveAsync 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, 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/OrchardCore/OrchardCore/Shell/Removing/ShellRemovalManager.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac0c485b8a9ec1e7054742342625a635fd8e1da96774335f07e7329a576dbab9"}},{"ruleId":"D2","level":"warning","message":{"text":"processSources (cognitive 31): processSources 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":".scripts/assets-manager/copy.mjs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"456957380faa69fce82b5dc86ce7758bb4cb54713f2447925186c58a3b1ad141"}},{"ruleId":"D2","level":"warning","message":{"text":"UpdateContentTask.ExecuteAsync (cognitive 30): UpdateContentTask.ExecuteAsync 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/OrchardCore.Modules/OrchardCore.Contents/Workflows/Activities/UpdateContentTask.cs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"4febce6aee86975e20d6d4f1d03b961d61e598ad007381acec78b5a954b3907e"}},{"ruleId":"D2","level":"warning","message":{"text":"SeoContentDriver.DisplayAsync (cognitive 30): SeoContentDriver.DisplayAsync has cognitive complexity 30 (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/OrchardCore.Modules/OrchardCore.Seo/Drivers/SeoContentDriver.cs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"3299b306762752a1e9bd82c7a521f705212d5d85fda6a039feb33191139ef5c4"}},{"ruleId":"D2","level":"warning","message":{"text":"ContentLinkTagHelper.ProcessAsync (cognitive 30): ContentLinkTagHelper.ProcessAsync 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/OrchardCore/OrchardCore.Contents.TagHelpers/ContentLinkTagHelper.cs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4cd13beb6031f01b10e4f181fbb9cb6691127ab5cb4f5579f6116310f901d04"}},{"ruleId":"D2","level":"warning","message":{"text":"ContentActivity.OnWorkflowRestartingAsync (cognitive 29): ContentActivity.OnWorkflowRestartingAsync has cognitive complexity 29 (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/OrchardCore.Modules/OrchardCore.Contents/Workflows/Activities/ContentActivity.cs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccd8e587c101db4ad6ed6825488870cac1e25d29d45c587589eb04f9b0ec1b63"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageShortcodeProvider.EvaluateAsync (cognitive 29): ImageShortcodeProvider.EvaluateAsync has cognitive complexity 29 (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/OrchardCore.Modules/OrchardCore.Media/Shortcodes/ImageShortcodeProvider.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b96ff8bf4c79fefe1c4dc9a08f75922f7fb3adbea790932f7e9313d8af158fc"}},{"ruleId":"D2","level":"warning","message":{"text":"SearchController.Search (cognitive 29): SearchController.Search has cognitive complexity 29 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore.Modules/OrchardCore.Search/Controllers/SearchController.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"996a9ce0f3a0159752dccf5596989c3cba8f5285f38cd18541d5e43fa03f96a4"}},{"ruleId":"D2","level":"warning","message":{"text":"RazorViewActionFilter.OnActionExecutionAsync (cognitive 29): RazorViewActionFilter.OnActionExecutionAsync has cognitive complexity 29 (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/OrchardCore/OrchardCore.DisplayManagement/Razor/RazorViewActionFilter.cs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"74c3cce56b23cea9135cde3d817ca69325c9c78ee1c5213d170086ed127068cc"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 29): (anonymous) has cognitive complexity 29 (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/OrchardCore.Modules/OrchardCore.Resources/Assets/trumbowyg/plugins/table/trumbowyg.table.js"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7f4a5e058965a15b1f2b3530841221f8d0b7b24e9716a0cb87039cd921850cf"}},{"ruleId":"D2","level":"warning","message":{"text":"RolesStep.HandleAsync (cognitive 28): RolesStep.HandleAsync has cognitive complexity 28 (threshold 15). Of this number, 26 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/OrchardCore.Modules/OrchardCore.Roles/Recipes/RolesStep.cs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"2082d765637c25d664db9ace127a42bfaafa927aea823c50275487549c6575c5"}},{"ruleId":"D2","level":"warning","message":{"text":"AdminController.IndexPOST (cognitive 28): AdminController.IndexPOST 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/OrchardCore.Modules/OrchardCore.Users/Controllers/AdminController.cs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a9fe1d826c278735c818b6b0da2dc8f436e6abec51114f0aee60d3d50145424"}},{"ruleId":"D2","level":"warning","message":{"text":"ShapeResult.ApplyImplementationAsync (cognitive 28): ShapeResult.ApplyImplementationAsync has cognitive complexity 28 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore/OrchardCore.DisplayManagement/Views/ShapeResult.cs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8f552482635e7fca09095b6fff849148b3ce4dab9b2b055f1063a39a91f1e83"}},{"ruleId":"D2","level":"warning","message":{"text":"ElasticsearchDocumentIndexManager.CreateElasticDocument (cognitive 28): ElasticsearchDocumentIndexManager.CreateElasticDocument 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/OrchardCore/OrchardCore.Elasticsearch.Core/Services/ElasticsearchDocumentIndexManager.cs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"898166ae53f3630dcf17690daab1dc5167c49c6d33dce724995157919e1277a1"}},{"ruleId":"D2","level":"warning","message":{"text":"ShellDescriptorFeaturesManager.UpdateFeaturesAsync (cognitive 28): ShellDescriptorFeaturesManager.UpdateFeaturesAsync has cognitive complexity 28 (threshold 15). Most of this is not in the body itself: 12 of the 28 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 116, 54). 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/OrchardCore/OrchardCore/Shell/ShellDescriptorFeaturesManager.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"368516081838f5e9267a9dee146777117e8b53f4f921ad21bb6e224c7924e0c2"}},{"ruleId":"D2","level":"warning","message":{"text":"LayerFilter.OnResultExecutionAsync (cognitive 27): LayerFilter.OnResultExecutionAsync 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/OrchardCore.Modules/OrchardCore.Layers/Services/LayerFilter.cs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"95fe51c9f55a68cf947d0d86065858b83a0c64e72d76fa6a93dca467e9a03856"}},{"ruleId":"D2","level":"warning","message":{"text":"UserInformationDisplayDriver.UpdateAsync (cognitive 27): UserInformationDisplayDriver.UpdateAsync has cognitive complexity 27 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore.Modules/OrchardCore.Users/Drivers/UserInformationDisplayDriver.cs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"0879998b36d76e32359067ed0886b9d72e6b5337073f2c3b47bb97d8e29c774b"}},{"ruleId":"D2","level":"warning","message":{"text":"UserRoleDisplayDriver.UpdateAsync (cognitive 27): UserRoleDisplayDriver.UpdateAsync has cognitive complexity 27 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore.Modules/OrchardCore.Users/Drivers/UserRoleDisplayDriver.cs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"34296ad8be3240a5d571570143bb753b56be0488e1913d339384ff485a3bb6bb"}},{"ruleId":"D2","level":"warning","message":{"text":"BulkRequestDescriptorExtensions.CreateElasticDocument (cognitive 27): BulkRequestDescriptorExtensions.CreateElasticDocument has cognitive complexity 27 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore/OrchardCore.Elasticsearch.Core/Services/BulkRequestDescriptorExtensions.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"56f02d82dadfe7906c7cb1b554e109e082b555ebcc4291a68d4be59feedff0bf"}},{"ruleId":"D2","level":"warning","message":{"text":"BlobFileStore.GetDirectoryContentFlatAsync (cognitive 27): BlobFileStore.GetDirectoryContentFlatAsync has cognitive complexity 27 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore/OrchardCore.FileStorage.AzureBlob/BlobFileStore.cs"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fdede615612aef20cd13105999a0aab66e5ea6054412a44679f0bd4da30f502"}},{"ruleId":"D2","level":"warning","message":{"text":"LinkFieldDisplayDriver.UpdateAsync (cognitive 26): LinkFieldDisplayDriver.UpdateAsync has cognitive complexity 26 (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/OrchardCore.Modules/OrchardCore.ContentFields/Drivers/LinkFieldDisplayDriver.cs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"d21489f4d9ad42427b9834f2cb817851f957d6b76fd94ea05b66c07494ca8e81"}},{"ruleId":"D2","level":"warning","message":{"text":"AdminController.IndexPost (cognitive 26): AdminController.IndexPost 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/OrchardCore.Modules/OrchardCore.RateLimits/Controllers/AdminController.cs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"97df41099b569f0917a9aa19da1f83c58a8821d1f30bca5735788220a1802d74"}},{"ruleId":"D2","level":"warning","message":{"text":"ExternalAuthenticationsController.RegisterExternalLogin (cognitive 26): ExternalAuthenticationsController.RegisterExternalLogin has cognitive complexity 26 (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/OrchardCore.Modules/OrchardCore.Users/Controllers/ExternalAuthenticationsController.cs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b21f461d44d02b44ce106c91cb1230b4416c574dfe5200253827d7ed408be32"}},{"ruleId":"D2","level":"warning","message":{"text":"NavigationManager.Merge (cognitive 26): NavigationManager.Merge has cognitive complexity 26 (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/OrchardCore/OrchardCore.Navigation.Core/NavigationManager.cs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"952900ba0ab0db28792cc6b83b71fba3b16fc2ac88c1a3ca73ce82d5334e9b20"}},{"ruleId":"D2","level":"warning","message":{"text":"ResourceManager.FindMatchingResource (cognitive 26): ResourceManager.FindMatchingResource has cognitive complexity 26 (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/OrchardCore/OrchardCore.ResourceManagement/ResourceManager.cs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"08e208990967a8152dd79d1eb70a1f879615d28bb11173b0c96793c8c9a5b7ac"}},{"ruleId":"D2","level":"warning","message":{"text":"Migrations.UpdateFrom3Async (cognitive 25): Migrations.UpdateFrom3Async 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/OrchardCore.Modules/OrchardCore.Html/Migrations.cs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"65cc6d5ca701c480cc21b02819caab301e654a27da86d99e015dc48efed3dac2"}},{"ruleId":"D2","level":"warning","message":{"text":"AssetUrlShortcodeProvider.EvaluateAsync (cognitive 25): AssetUrlShortcodeProvider.EvaluateAsync has cognitive complexity 25 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore.Modules/OrchardCore.Media/Shortcodes/AssetUrlShortcodeProvider.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"21264c54f41a8b94d56771bff82c40c0e015a07af7b24a661646c7916abd1b9c"}},{"ruleId":"D2","level":"warning","message":{"text":"SeoMetaPartHandler.GetContentItemAspectAsync (cognitive 25): SeoMetaPartHandler.GetContentItemAspectAsync has cognitive complexity 25 (threshold 15). Most of this is not in the body itself: 0 of the 25 points are its own statements and the rest belongs to one function literal inside it that branches (line 39). 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/OrchardCore.Modules/OrchardCore.Seo/Handlers/SeoMetaPartHandler.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd737b475e061004a6bb3f09cded9a21111088553d34bfa8329e7369c381eba9"}},{"ruleId":"D2","level":"warning","message":{"text":"HttpMethodsProvider.DeserializeRequestDataAsync (cognitive 25): HttpMethodsProvider.DeserializeRequestDataAsync 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/OrchardCore.Modules/OrchardCore.Workflows/Http/Scripting/HttpMethodsProvider.cs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"a23bc6993c1021936517c5befe19b2be9ff810e1b82482ddaa1472d677902ff1"}},{"ruleId":"D2","level":"warning","message":{"text":"DynamicJsonConverter.Read (cognitive 25): DynamicJsonConverter.Read 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/OrchardCore/OrchardCore.Abstractions/Json/Serialization/DynamicJsonConverter.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"771cd07c447ebe595768a7bafd2f56b79ca1fae6a6b15ded8c8786b074f29add"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfigurationExtensions.ToJsonNode (cognitive 25): ConfigurationExtensions.ToJsonNode has cognitive complexity 25 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore/OrchardCore.Abstractions/Shell/Configuration/Internal/ConfigurationExtensions.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"9febb542e78dd6ef14f01249a16b4c020ea29a072f777cfbfd7f015c93e00ace"}},{"ruleId":"D2","level":"warning","message":{"text":"StringValuesValue.Equals (cognitive 25): StringValuesValue.Equals 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/OrchardCore/OrchardCore.DisplayManagement.Liquid/Values/StringValuesValue.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5fa43583aecd9c4fc5951516d2d2a27b496edc746d254dca700befa7ab78f15"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultIndexProfileHandler.ValidatingAsync (cognitive 25): DefaultIndexProfileHandler.ValidatingAsync has cognitive complexity 25 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore/OrchardCore.Indexing.Core/Handlers/DefaultIndexProfileHandler.cs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"e671039447608da268ffcafd4bb0499c2bfb1ba5fef21873556524bf510938a9"}},{"ruleId":"D2","level":"warning","message":{"text":"LayerStep.HandleAsync (cognitive 24): LayerStep.HandleAsync 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/OrchardCore.Modules/OrchardCore.Layers/Recipes/LayerStep.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"e215022e4c325f4a8a9877245e57f6c7ffa3913fb6bddc00d16e13428c79514f"}},{"ruleId":"D2","level":"warning","message":{"text":"LuceneIndexStep.HandleAsync (cognitive 24): LuceneIndexStep.HandleAsync 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/OrchardCore.Modules/OrchardCore.Lucene/Recipes/LuceneIndexStep.cs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"faec9d329005151f6cb21050bc02b54daa48e058880745f06b6e1d00534cfd92"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaFieldIndexHandler.BuildIndexAsync (cognitive 24): MediaFieldIndexHandler.BuildIndexAsync 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/OrchardCore.Modules/OrchardCore.Media/Indexing/MediaFieldIndexHandler.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfbac6d39f3c2b327be163427d797685e1bfa21c23c32e445d523c7229af28fd"}},{"ruleId":"D2","level":"warning","message":{"text":"SmtpSettingsDisplayDriver.UpdateAsync (cognitive 24): SmtpSettingsDisplayDriver.UpdateAsync 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/OrchardCore.Modules/OrchardCore.Email.Smtp/Drivers/SmtpSettingsDisplayDriver.cs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e994b14211165f37f2a8f3afb398573ca3fb8341ef945bfb7f725697e868945"}},{"ruleId":"D2","level":"warning","message":{"text":"Shape.TrySetMemberImpl (cognitive 24): Shape.TrySetMemberImpl 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/OrchardCore/OrchardCore.DisplayManagement/Shapes/Shape.cs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f714b3dcfe25b1ec36aee9f32db15e6f4a9ff006abdc55ab6ada12b1c897da5"}},{"ruleId":"D2","level":"warning","message":{"text":"ElasticsearchIndexStep.HandleAsync (cognitive 24): ElasticsearchIndexStep.HandleAsync 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/OrchardCore/OrchardCore.Elasticsearch.Core/Recipes/ElasticsearchIndexStep.cs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"b09f6677049b0299b51cd52e03624f85ac7268c5f46e1a77b6337bb550a350a0"}},{"ruleId":"D2","level":"warning","message":{"text":"LuceneIndexStore.WriteAsync (cognitive 24): LuceneIndexStore.WriteAsync 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/OrchardCore/OrchardCore.Lucene.Core/LuceneIndexStore.cs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"05e652ff6216525c1bc345fa28dcc66b123a2cd8125fa07478362a0475c807e7"}},{"ruleId":"D2","level":"warning","message":{"text":"ModularBackgroundService.UpdateAsync (cognitive 24): ModularBackgroundService.UpdateAsync has cognitive complexity 24 (threshold 15). Most of this is not in the body itself: 0 of the 24 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 275, 245). 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/OrchardCore/OrchardCore/Modules/ModularBackgroundService.cs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d188b02f4c8345e2ff3c7a1b53f8e36dc8b1f79c67044af741aac4dc7a30e38"}},{"ruleId":"D2","level":"warning","message":{"text":"AutoroutePartHandler.ValidateContainedContentItemRoutesAsync (cognitive 23): AutoroutePartHandler.ValidateContainedContentItemRoutesAsync 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/OrchardCore.Modules/OrchardCore.Autoroute/Handlers/AutoroutePartHandler.cs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"a04832b2f2ccccecccd4f71f81203962c6c17d0caaf725688deb12bc1dcfff4b"}},{"ruleId":"D2","level":"warning","message":{"text":"ContainedPartHandler.GetContainedContentTypesAsync (cognitive 23): ContainedPartHandler.GetContainedContentTypesAsync 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/OrchardCore.Modules/OrchardCore.Lists/Handlers/ContainedPartHandler.cs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d8590c0bc2ac0e3f6a9f25f1ebd0957882ebe82c1a5325e763cf97ea6447301"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaFieldDisplayDriver.UpdateAsync (cognitive 23): MediaFieldDisplayDriver.UpdateAsync has cognitive complexity 23 (threshold 15). Of this number, 20 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/OrchardCore.Modules/OrchardCore.Media/Drivers/MediaFieldDisplayDriver.cs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6bf0ff2d9619d9c7034dc7309ff22b6fd427d920f2e936371bf2891cf43df84"}},{"ruleId":"D2","level":"warning","message":{"text":"Migrations.UpdateFrom1 (cognitive 23): Migrations.UpdateFrom1 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/OrchardCore.Modules/OrchardCore.Title/Migrations.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"b718b787280d4638010ce837115dd38436e183258e16379e705d60d76f99c736"}},{"ruleId":"D2","level":"warning","message":{"text":"HasPermissionFilter.ProcessAsync (cognitive 23): HasPermissionFilter.ProcessAsync 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/OrchardCore.Modules/OrchardCore.Users/Liquid/HasPermissionFilter.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"5acc32319518266b5e8e99551f22c8d761a6ddb821cdc624cf2cde883ebc49d2"}},{"ruleId":"D2","level":"warning","message":{"text":"PlacementInfo.ParseLocation (cognitive 23): PlacementInfo.ParseLocation 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/OrchardCore/OrchardCore.DisplayManagement/Descriptors/PlacementInfo.cs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e56ed6de4733ef382a89fc2b922e44e9db0e47400f141a1f52d3cb5df6657ed"}},{"ruleId":"D2","level":"warning","message":{"text":"MatchFilterProvider.CreateFilteredQuery (cognitive 23): MatchFilterProvider.CreateFilteredQuery 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/OrchardCore/OrchardCore.Lucene.Core/QueryProviders/Filters/MatchFilterProvider.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"eecd328e1f83e8d5a87799d3236cf51e8bc80e56d2f4f24706b7a3a27913a088"}},{"ruleId":"D2","level":"warning","message":{"text":"SetupService.SetupInternalAsync (cognitive 23): SetupService.SetupInternalAsync has cognitive complexity 23 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore/OrchardCore.Setup.Core/Services/SetupService.cs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbec4e0f8e9e2b053298f42f122ce5498a5aca2653aa0ee5f8e04dede05724a6"}},{"ruleId":"D2","level":"warning","message":{"text":"clean (cognitive 23): clean 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":".scripts/assets-manager/clean.mjs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"99d7509d61703c936e41561f9787a350cc8a5a5ddec87eac94dd08feb6b89566"}},{"ruleId":"D2","level":"warning","message":{"text":"ModuleProjectRazorFileProvider.Watch (cognitive 22): ModuleProjectRazorFileProvider.Watch 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/OrchardCore/OrchardCore.Mvc.Core/ModuleProjectRazorFileProvider.cs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"caa8eb432ec76587ebe2a9f6296ee053f96d924840e8432806b5a068348fb81e"}},{"ruleId":"D2","level":"warning","message":{"text":"ShellFileVersionProvider.AddFileVersionToPath (cognitive 22): ShellFileVersionProvider.AddFileVersionToPath 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/OrchardCore/OrchardCore.Mvc.Core/ShellFileVersionProvider.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fb117ebc0d699644cbeba7e52fc15f4c94e919d525e4a3dccbe1c7257860254"}},{"ruleId":"D2","level":"warning","message":{"text":"Migrations.MigrateMenuItemNodes (cognitive 22): Migrations.MigrateMenuItemNodes 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/OrchardCore.Modules/OrchardCore.AdminMenu/Migrations.cs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"7735f62522eacf49fe14db6c0c9616be75bc97b4a3fe2dbf656bfca5a0ee0ad1"}},{"ruleId":"D2","level":"warning","message":{"text":"CreateEndpoint.HandleAsync (cognitive 22): CreateEndpoint.HandleAsync 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/OrchardCore.Modules/OrchardCore.Contents/Endpoints/Api/CreateEndpoint.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"14774687eeaa4744b2d2b6960ea1abe7cfd802fd3320a1590dec928eded3e35b"}},{"ruleId":"D2","level":"warning","message":{"text":"IndexProfileDisplayDriver.UpdateAsync (cognitive 22): IndexProfileDisplayDriver.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/OrchardCore.Modules/OrchardCore.Indexing/Drivers/IndexProfileDisplayDriver.cs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f06c945b69d2de24f70f9234eb301e83f9f5a571af86e715fabcd24715966b9"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteMediaCacheBackgroundTask.DoWorkAsync (cognitive 22): RemoteMediaCacheBackgroundTask.DoWorkAsync 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/OrchardCore.Modules/OrchardCore.Media/Services/RemoteMediaCacheBackgroundTask.cs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf9f628f599cd57cf24420e1e656678087cb3849e1bb278070a08082e2bebc1d"}},{"ruleId":"D2","level":"warning","message":{"text":"SqlTranslator.CollectTableAliases (cognitive 22): SqlTranslator.CollectTableAliases 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/OrchardCore.Modules/OrchardCore.Queries/Sql/SqlTranslator.cs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"89b522453ec93bea16064db9eeb132df7e280d33dc5a8ab3472b496da3b674e5"}},{"ruleId":"D2","level":"warning","message":{"text":"TermShapes.DiscoverAsync (cognitive 22): TermShapes.DiscoverAsync has cognitive complexity 22 (threshold 15). Most of this is not in the body itself: 0 of the 22 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 30, 141). 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/OrchardCore.Modules/OrchardCore.Taxonomies/TermShapes.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fab71a99818950ced989f2406177038b2be00027ddfe2b4f92096774230bde6"}},{"ruleId":"D2","level":"warning","message":{"text":"CorsOptionsConfiguration.Configure (cognitive 22): CorsOptionsConfiguration.Configure has cognitive complexity 22 (threshold 15). Most of this is not in the body itself: 8 of the 22 points are its own statements and the rest belongs to one function literal inside it that branches (line 34). 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/OrchardCore.Modules/OrchardCore.Cors/Services/CorsOptionsConfiguration.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a50a9e3118bda7c6283405aeccc9b9aef8deb7abe59f75805381386f46b62f8"}},{"ruleId":"D2","level":"warning","message":{"text":"AzureEmailProviderBase.FromMailMessage (cognitive 22): AzureEmailProviderBase.FromMailMessage 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/OrchardCore.Modules/OrchardCore.Email.Azure/Services/AzureEmailProviderBase.cs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"0efb779737e7f2f40e0f73ab532ea0e8590643c6d3281fd402f87453d7fe4c9f"}},{"ruleId":"D2","level":"warning","message":{"text":"SetupController.IndexPOST (cognitive 22): SetupController.IndexPOST has cognitive complexity 22 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 1 belongs 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/OrchardCore.Modules/OrchardCore.Setup/Controllers/SetupController.cs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"9016b235783e9844440d325a7645987fe3f4e666a35cf492a908c748ec9c1290"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultHtmlDisplay.ExecuteAsync (cognitive 22): DefaultHtmlDisplay.ExecuteAsync has cognitive complexity 22 (threshold 15). Of this number, 19 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/OrchardCore/OrchardCore.DisplayManagement/Implementation/DefaultHtmlDisplay.cs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"de49533292a4ff8b189a3030d72708cdf9174a56f021f7959c3188ac81f0d031"}},{"ruleId":"D2","level":"warning","message":{"text":"ElasticsearchQuerySource.ExecuteQueryAsync (cognitive 22): ElasticsearchQuerySource.ExecuteQueryAsync 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/OrchardCore/OrchardCore.Elasticsearch.Core/Services/ElasticsearchQuerySource.cs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ce37729fe48834e450f861cf2f65cfddb1d2ded596e832fc18b08bee386805d"}},{"ruleId":"D2","level":"warning","message":{"text":"RangeFilterProvider.CreateFilteredQuery (cognitive 22): RangeFilterProvider.CreateFilteredQuery 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/OrchardCore/OrchardCore.Lucene.Core/QueryProviders/Filters/RangeFilterProvider.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"533a0e9472cd116885a3e0f8e8b1f5c6f7e214d40802c3bbc1429eb663bbf4da"}},{"ruleId":"D2","level":"warning","message":{"text":"MatchQueryProvider.CreateQuery (cognitive 22): MatchQueryProvider.CreateQuery 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/OrchardCore/OrchardCore.Lucene.Core/QueryProviders/MatchQueryProvider.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"83ea478be8c9db53f2607ba012b6292a1493a9799a74ae038b457384aef97dab"}},{"ruleId":"D2","level":"warning","message":{"text":"CompositionStrategy.ComposeAsync (cognitive 22): CompositionStrategy.ComposeAsync 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/OrchardCore/OrchardCore/Shell/Builders/CompositionStrategy.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"93396d4928c6093072f1a6a5156cf300a2b44b5fa4cd7b28845f08f8e8be91d1"}},{"ruleId":"D2","level":"warning","message":{"text":"SitemapsRobotsProvider.GetContentAsync (cognitive 21): SitemapsRobotsProvider.GetContentAsync 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/OrchardCore.Modules/OrchardCore.Sitemaps/Services/SitemapsRobotsProvider.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"cff2f998b1675b9dc26e237c3e9a988aa4904d2c35dcd7c32728dfbef62b5f28"}},{"ruleId":"D2","level":"warning","message":{"text":"AzureEmailSettingsDisplayDriver.UpdateAsync (cognitive 21): AzureEmailSettingsDisplayDriver.UpdateAsync 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/OrchardCore.Modules/OrchardCore.Email.Azure/Drivers/AzureEmailSettingsDisplayDriver.cs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae47f458d87bd9add8673f80c0615a84b0d103c4e2501160cdfaf6d1607a0af5"}},{"ruleId":"D2","level":"warning","message":{"text":"NavigationShapes.DiscoverAsync (cognitive 21): NavigationShapes.DiscoverAsync has cognitive complexity 21 (threshold 15). Most of this is not in the body itself: 0 of the 21 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 24, 73, 84). 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/OrchardCore.Modules/OrchardCore.Navigation/NavigationShapes.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"efc1c748b385895cc4f13debb12b2a9cd4e996aa6fb2aa0905c742b2d845895a"}},{"ruleId":"D2","level":"warning","message":{"text":"PermissionsLocalizationDataProvider.GetDescriptorsAsync (cognitive 21): PermissionsLocalizationDataProvider.GetDescriptorsAsync 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/OrchardCore.Modules/OrchardCore.Roles/Services/PermissionsLocalizationDataProvider.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"c688de90089428bcdfa34f48f81ad40293141ba18e083f6e8b585869062d3403"}},{"ruleId":"D2","level":"warning","message":{"text":"JObject.Merge (cognitive 21): JObject.Merge 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/OrchardCore/OrchardCore.Abstractions/Json/Nodes/JObject.cs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b6ef770b756b4c24c032a58eae29d7d052b7592bb6ed066dcd5cd9230959af0"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultContentManager.GetAsync (cognitive 21): DefaultContentManager.GetAsync has cognitive complexity 21 (threshold 15). Of this number, 18 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/OrchardCore/OrchardCore.ContentManagement/DefaultContentManager.cs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"36d18e252397168d22585b4575c59d09c5f24ad116caa0f3c8b5798cf5942fb6"}},{"ruleId":"D2","level":"warning","message":{"text":"DbConnectionValidator.ValidateAsync (cognitive 21): DbConnectionValidator.ValidateAsync 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/OrchardCore/OrchardCore.Data.YesSql/DbConnectionValidator.cs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbe48fadb6dbe751b5631346f82989863021614c317a4491152445586a06c70b"}},{"ruleId":"D2","level":"warning","message":{"text":"DataMigrationManager.UpdateAsync (cognitive 21): DataMigrationManager.UpdateAsync 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/OrchardCore/OrchardCore.Data.YesSql/Migration/DataMigrationManager.cs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf88cd3995c6a86518561b2a92f2a3b49f9032f85ec735cc605dda19620b1a40"}},{"ruleId":"D2","level":"warning","message":{"text":"CoreShapes.List (cognitive 21): CoreShapes.List 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/OrchardCore/OrchardCore.DisplayManagement/Shapes/CoreShapes.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"07cc9a8bd691d16c5e9536228ce0f80583532e20d203b6ac7054ad7230bf38a9"}},{"ruleId":"D2","level":"warning","message":{"text":"ShapeResult.BuildAndAddShapeAsync (cognitive 21): ShapeResult.BuildAndAddShapeAsync has cognitive complexity 21 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore/OrchardCore.DisplayManagement/Views/ShapeResult.cs"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a63ba92516dd9f7890529d890a0df1c8c6853bccaf034afe0c0b0d69d564498"}},{"ruleId":"D2","level":"warning","message":{"text":"FlatPositionComparer.Compare (cognitive 21): FlatPositionComparer.Compare 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/OrchardCore/OrchardCore.DisplayManagement/Zones/FlatPositionComparer.cs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3c01da1509cb3dd410c83fff03a1a8de9c29db25989a0d504c9bf8d915bb247"}},{"ruleId":"D2","level":"warning","message":{"text":"RangeQueryProvider.CreateQuery (cognitive 21): RangeQueryProvider.CreateQuery 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/OrchardCore/OrchardCore.Lucene.Core/QueryProviders/RangeQueryProvider.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"890e48b69b0f3ae5019709bba1c6dc8b848a89a7d4383542d9bcbb9ffeda92c1"}},{"ruleId":"D2","level":"warning","message":{"text":"RecipeExecutor.EvaluateJsonTreeAsync (cognitive 21): RecipeExecutor.EvaluateJsonTreeAsync 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/OrchardCore/OrchardCore.Recipes.Core/Services/RecipeExecutor.cs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5037857e6ea2854829280892b3353952376b9c92347130347f350a660ec7a94"}},{"ruleId":"D2","level":"warning","message":{"text":"FileProviderExtensions.GetViewFilePaths (cognitive 20): FileProviderExtensions.GetViewFilePaths has cognitive 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, 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/OrchardCore/OrchardCore.Mvc.Core/FileProviders/FileProviderExtensions.cs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"498d3628f2787a13b79a2479d14aa5fff83c107ab38de47bf083a700e9feec52"}},{"ruleId":"D2","level":"warning","message":{"text":"AutoroutePartDisplayDriver.UpdateAsync (cognitive 20): AutoroutePartDisplayDriver.UpdateAsync has cognitive 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, 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/OrchardCore.Modules/OrchardCore.Autoroute/Drivers/AutoroutePartDisplayDriver.cs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbf5cd89d06614220b3693902480ef16a3071f6a2530752e87e2083ec1595533"}},{"ruleId":"D2","level":"warning","message":{"text":"AdminController.EditTypePartPOST (cognitive 20): AdminController.EditTypePartPOST has cognitive 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, 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/OrchardCore.Modules/OrchardCore.ContentTypes/Controllers/AdminController.cs"},"region":{"startLine":984}}}],"partialFingerprints":{"codehealthFindingId/v1":"95a743d8481039bad6b38e702e184152e2ba4bfc3596afbc9c2face595fbd8cf"}},{"ruleId":"D2","level":"warning","message":{"text":"AdminController.CreatePost (cognitive 20): AdminController.CreatePost 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/OrchardCore.Modules/OrchardCore.Indexing/Controllers/AdminController.cs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"79974e0a3417789cb1f1fb9c5ee6afc02a69cd082d4909b1de2fef3711095618"}},{"ruleId":"D2","level":"warning","message":{"text":"TagController.CreatePost (cognitive 20): TagController.CreatePost has cognitive complexity 20 (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/OrchardCore.Modules/OrchardCore.Taxonomies/Controllers/TagController.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"8638d6690a1b97184e1a9eb7e53fcb3f9196b08998d56406f3e9e544c3bee013"}},{"ruleId":"D2","level":"warning","message":{"text":"MaxNumberOfResultsValidationRule.GetPreNodeVisitorAsync (cognitive 20): MaxNumberOfResultsValidationRule.GetPreNodeVisitorAsync has cognitive complexity 20 (threshold 15). Most of this is not in the body itself: 0 of the 20 points are its own statements and the rest belongs to one function literal inside it that branches (line 31). 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/OrchardCore.Modules/OrchardCore.Apis.GraphQL/ValidationRules/MaxNumberOfResultsValidationRule.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cddd723016a5a9da81fe483c68827ff4fab569bba26bf405e17e96097392306"}},{"ruleId":"D2","level":"warning","message":{"text":"RoleAuthorizationHandler.HandleRequirementAsync (cognitive 20): RoleAuthorizationHandler.HandleRequirementAsync 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/OrchardCore.Modules/OrchardCore.Users/Roles/Handlers/RoleAuthorizationHandler.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"94a223db14d424eab3da849307cde6c1362b7ec891c4151a864a568f5656c87f"}},{"ruleId":"D2","level":"warning","message":{"text":"ContentItemsFieldType.FilterWhereArgumentsAsync (cognitive 20): ContentItemsFieldType.FilterWhereArgumentsAsync 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/OrchardCore/OrchardCore.ContentManagement.GraphQL/Queries/ContentItemsFieldType.cs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd75f9e826e701d36574d9a1ce7cfc5c99d63fa951a75f0eb8ecba18a340ace8"}},{"ruleId":"D2","level":"warning","message":{"text":"PredicateQuery.GetColumnName (cognitive 20): PredicateQuery.GetColumnName 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/OrchardCore/OrchardCore.ContentManagement.GraphQL/Queries/Predicates/PredicateQuery.cs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"a31e5da76c605f5824cbaf90ca8d31745333bc99ef6871a91c7e8ef3af7010e3"}},{"ruleId":"D2","level":"warning","message":{"text":"ContentPartHandlerCoordinator.InvokeHandlers (cognitive 20): ContentPartHandlerCoordinator.InvokeHandlers 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/OrchardCore/OrchardCore.ContentManagement/Handlers/ContentPartHandlerCoordinator.cs"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"b259dc4716c1883a3b895c82537d7727c7410a76e30ed49f5adb353edd289919"}},{"ruleId":"D2","level":"warning","message":{"text":"LiquidTagHelperActivator.Create (cognitive 20): LiquidTagHelperActivator.Create 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/OrchardCore/OrchardCore.DisplayManagement.Liquid/TagHelpers/LiquidTagHelperActivator.cs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"99481955f11ed94c11abb905d109fd8d92e0761e6025a9c976a10a10c53a0ea2"}},{"ruleId":"D2","level":"warning","message":{"text":"PlacementInfoExtensions.Combine (cognitive 20): PlacementInfoExtensions.Combine 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/OrchardCore/OrchardCore.DisplayManagement/Descriptors/PlacementInfoExtensions.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"deeb832b5f7720c4d8692c1776659f6df5abe14066c2235aeff9230ad06c5c6a"}},{"ruleId":"D2","level":"warning","message":{"text":"ElasticsearchContentPickerResultProvider.Search (cognitive 20): ElasticsearchContentPickerResultProvider.Search has cognitive complexity 20 (threshold 15). Most of this is not in the body itself: 4 of the 20 points are its own statements and the rest belongs to one function literal inside it that branches (line 55). 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/OrchardCore/OrchardCore.Elasticsearch.Core/Providers/ElasticsearchContentPickerResultProvider.cs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f531b8b7d3315ea4ee8ddf90c3dac61ec2b9e926e65ff42818f4e3583ae68a2"}},{"ruleId":"D2","level":"warning","message":{"text":"BlobFileStore.GetDirectoryContentByHierarchyAsync (cognitive 20): BlobFileStore.GetDirectoryContentByHierarchyAsync 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/OrchardCore/OrchardCore.FileStorage.AzureBlob/BlobFileStore.cs"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"9419d3216df46053121331d47a8789b671fea8e763d3da71f25be08d7a2038b8"}},{"ruleId":"D2","level":"warning","message":{"text":"DocumentManager.GetInternalAsync (cognitive 20): DocumentManager.GetInternalAsync has cognitive 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, 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/OrchardCore/OrchardCore.Infrastructure/Documents/DocumentManager.cs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"815cfb1aba5ab4160b2306a299f765180f27281ae8157610acd85baa18bc429e"}},{"ruleId":"D2","level":"warning","message":{"text":"PortableObjectStringLocalizer.GetTranslation (cognitive 20): PortableObjectStringLocalizer.GetTranslation 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/OrchardCore/OrchardCore.Localization.Core/PortableObject/PortableObjectStringLocalizer.cs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5d95e02e9f4a5c9d5a74fb80f58b093084004f021ac4d686f54c7b93e8a2800"}},{"ruleId":"D2","level":"warning","message":{"text":"LuceneQueryService.SearchAsync (cognitive 20): LuceneQueryService.SearchAsync 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/OrchardCore/OrchardCore.Lucene.Core/LuceneQueryService.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"237775e99f124bb608345141e4c5a215bc25d235110f4c5218a2f9eadea84f80"}},{"ruleId":"D2","level":"warning","message":{"text":"BooleanQueryProvider.CreateFilteredQuery (cognitive 20): BooleanQueryProvider.CreateFilteredQuery has cognitive complexity 20 (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/OrchardCore/OrchardCore.Lucene.Core/QueryProviders/BooleanQueryProvider.cs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e3cbe5aad680e0098f86ee7d51f8475dd405bfe67ff42bce1590bd60ef21c04"}},{"ruleId":"D2","level":"warning","message":{"text":"UserManagerExtensions.UpdateUserPropertiesAsync (cognitive 20): UserManagerExtensions.UpdateUserPropertiesAsync has cognitive complexity 20 (threshold 15). Of this number, 18 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/OrchardCore/OrchardCore.Users.Core/UserManagerExtensions.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"652484d387bdb921e8be011e3f82a288e31177baddbcf77ca6ed0ec1def86a18"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 20): (anonymous) 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/OrchardCore.Modules/OrchardCore.Resources/Assets/trumbowyg/plugins/table/trumbowyg.table.js"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4162cc670529a575711f848139892f34db6a0eb1732bf5e406bff1d11969ac4"}},{"ruleId":"D2","level":"warning","message":{"text":"AutorouteValuesAddressScheme.FindEndpoints (cognitive 19): AutorouteValuesAddressScheme.FindEndpoints 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/OrchardCore.Modules/OrchardCore.Autoroute/Routing/AutorouteValuesAddressScheme.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed615847017833f51cf7513854b4984d90c85457b33fcc0cc01cf4c2fb24d4cd"}},{"ruleId":"D2","level":"warning","message":{"text":"CreateContentTask.ExecuteAsync (cognitive 19): CreateContentTask.ExecuteAsync 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/OrchardCore.Modules/OrchardCore.Contents/Workflows/Activities/CreateContentTask.cs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"526144e0182d2dcba4f138acf4aca5c008d26389cf4cf9fb39a8ea67e5cdc82f"}},{"ruleId":"D2","level":"warning","message":{"text":"AdminController.EditFieldPOST (cognitive 19): AdminController.EditFieldPOST 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: 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/OrchardCore.Modules/OrchardCore.ContentTypes/Controllers/AdminController.cs"},"region":{"startLine":809}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4e8daa4b9fad9c4a29145f140b46bf1d06ea3e1f0084e258b8a122140e79523"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaCommandParser.Parse (cognitive 19): MediaCommandParser.Parse has cognitive complexity 19 (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/OrchardCore.Modules/OrchardCore.Media/Processing/MediaCommandParser.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"c03fde131a700b25ac5ddcba9d3698486ba64b03d62ae11f665992b456222489"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaTusStartup.Configure (cognitive 19): MediaTusStartup.Configure 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 5 function literals inside it that branch (lines 448, 537, 484, \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/OrchardCore.Modules/OrchardCore.Media/Startup.cs"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"a89a59ce8204eeb4d981bef55b6ab28e2d2f0e3bf66a3278cc3b7f9fc99edf3a"}},{"ruleId":"D2","level":"warning","message":{"text":"SqlTranslator.TranslateIdentifierInSelectContext (cognitive 19): SqlTranslator.TranslateIdentifierInSelectContext 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/OrchardCore.Modules/OrchardCore.Queries/Sql/SqlTranslator.cs"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c2ad2e6f821500a0dc98ff07971c07d227c243acc4af2be38eb55a914745ed9"}},{"ruleId":"D2","level":"warning","message":{"text":"DynamicCacheTagHelper.ProcessContentAsync (cognitive 19): DynamicCacheTagHelper.ProcessContentAsync 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/OrchardCore.Modules/OrchardCore.DynamicCache/TagHelpers/DynamicCacheTagHelper.cs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef1372218fd49f0498401714d482b33c5f93144800145af2583f9ff7e1483613"}},{"ruleId":"D2","level":"warning","message":{"text":"PushedAuthorizationRequestsMigration.Create (cognitive 19): PushedAuthorizationRequestsMigration.Create 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 24). 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/OrchardCore.Modules/OrchardCore.OpenId/Migrations/PushedAuthorizationRequestsMigration.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee494907b90dcf8238dada70dde029ae11be6e4768025013a5ed1b1a4075191c"}},{"ruleId":"D2","level":"warning","message":{"text":"TwilioSettingsDisplayDriver.UpdateAsync (cognitive 19): TwilioSettingsDisplayDriver.UpdateAsync 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/OrchardCore.Modules/OrchardCore.Sms/Drivers/TwilioSettingsDisplayDriver.cs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c4ee6f0515899c38d532ea3551db627a82dbc09cd39459b7ae3f26c5d67e3e2"}},{"ruleId":"D2","level":"warning","message":{"text":"UrlRewritingStep.HandleAsync (cognitive 19): UrlRewritingStep.HandleAsync 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/OrchardCore.Modules/OrchardCore.UrlRewriting/Recipes/UrlRewritingStep.cs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"488f269be51f1248bf9cfef110343681e5941a5e613fc73e7b87e481b913ed6d"}},{"ruleId":"D2","level":"warning","message":{"text":"AzureAISearchDocumentIndexManager.GetNestedValue (cognitive 19): AzureAISearchDocumentIndexManager.GetNestedValue has cognitive complexity 19 (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/OrchardCore/OrchardCore.AzureAI.Core/Services/AzureAISearchDocumentIndexManager.cs"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"02980757ba7a8d7154e2471cad3b4a001829cede19e2df24fee7651091d005ad"}},{"ruleId":"D2","level":"warning","message":{"text":"ThemeViewLocationExpanderProvider.ExpandViewLocations (cognitive 19): ThemeViewLocationExpanderProvider.ExpandViewLocations 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/OrchardCore/OrchardCore.DisplayManagement/LocationExpander/ThemeViewLocationExpanderProvider.cs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"beaf28cb22994fec207277c9cf92108196097628587df03c7dce751c1c802e87"}},{"ruleId":"D2","level":"warning","message":{"text":"ElasticsearchDocumentIndexManager.AddOrUpdateDocumentsAsync (cognitive 19): ElasticsearchDocumentIndexManager.AddOrUpdateDocumentsAsync has cognitive complexity 19 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 2 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/OrchardCore/OrchardCore.Elasticsearch.Core/Services/ElasticsearchDocumentIndexManager.cs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"d99d14fee80da219fa4813eb6917e6f8fdfb1f08ac2d74e3a6f2e09dd27b3542"}},{"ruleId":"D2","level":"warning","message":{"text":"BlobStorageOptionsConfiguration.Configure (cognitive 19): BlobStorageOptionsConfiguration.Configure 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/OrchardCore/OrchardCore.FileStorage.AzureBlob/BlobStorageOptionsConfiguration.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dbb3f3b72f7f012cc2abee87ee362e19d10c993f63b55a558fc63173cdea93a"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultCommandHandler.GetInvokeParametersForMethod (cognitive 19): DefaultCommandHandler.GetInvokeParametersForMethod 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/OrchardCore/OrchardCore.Infrastructure.Abstractions/Commands/DefaultCommandHandler.cs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"65f6db41421836c87f1d5f5d6521984cf7911f90de7628d51de0a9c84186ba53"}},{"ruleId":"D2","level":"warning","message":{"text":"RunningShellTable.TryMatchInternal (cognitive 19): RunningShellTable.TryMatchInternal 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/OrchardCore/OrchardCore/Shell/RunningShellTable.cs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"1963720cd88ed5fbadbcf411d1a2073d9e4218387f68145f667a811c8f2b7103"}},{"ruleId":"D2","level":"warning","message":{"text":"AdminMenuStep.MigrateMenuItemNodes (cognitive 18): AdminMenuStep.MigrateMenuItemNodes 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/OrchardCore.Modules/OrchardCore.AdminMenu/Recipes/AdminMenuStep.cs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"556a676a2d8dd2f429f3a44644b7f7e31f1b9db0740e7a78fc168d8b40282358"}},{"ruleId":"D2","level":"warning","message":{"text":"LinkFieldHandler.ValidatingAsync (cognitive 18): LinkFieldHandler.ValidatingAsync 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/OrchardCore.Modules/OrchardCore.ContentFields/Handlers/LinkFieldHandler.cs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"bda70acd188e596838db5e2af9b018c91684881f2c9bd1207efd35539603763a"}},{"ruleId":"D2","level":"warning","message":{"text":"FullTextFilter.ProcessAsync (cognitive 18): FullTextFilter.ProcessAsync 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/OrchardCore.Modules/OrchardCore.Contents/Liquid/FullTextFilter.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e1721165e4a7fc4abe0bc94625bb83a8e7a2f70e432f8acdb0f29943c7b9b38"}},{"ruleId":"D2","level":"warning","message":{"text":"AdminController.AddFieldToPOST (cognitive 18): AdminController.AddFieldToPOST has cognitive complexity 18 (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/OrchardCore.Modules/OrchardCore.ContentTypes/Controllers/AdminController.cs"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d1c91ee86253afce009a54ea0aef9a29a4a04db3677499cf0e66dabf285c27f"}},{"ruleId":"D2","level":"warning","message":{"text":"BagPartDisplayDriver.UpdateAsync (cognitive 18): BagPartDisplayDriver.UpdateAsync 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/OrchardCore.Modules/OrchardCore.Flows/Drivers/BagPartDisplayDriver.cs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"26caaa12f6a190056b3f28abc8b047ae2c6f1a63a7aa8abb8f839f81dbdb70e5"}},{"ruleId":"D2","level":"warning","message":{"text":"FlowPartDisplayDriver.UpdateAsync (cognitive 18): FlowPartDisplayDriver.UpdateAsync 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/OrchardCore.Modules/OrchardCore.Flows/Drivers/FlowPartDisplayDriver.cs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"c89a0b1cde656c88096524aa07e15f2549de08b143f796f0fcd3a992e7099495"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaProfilesController.CreatePost (cognitive 18): MediaProfilesController.CreatePost 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/OrchardCore.Modules/OrchardCore.Media/Controllers/MediaProfilesController.cs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2027fa7f4acc5b14be41cb6461e6a108a003c2612d443126fe5afdfe7ceaa30"}},{"ruleId":"D2","level":"warning","message":{"text":"MenuShapes.ShouldCreateAsync (cognitive 18): MenuShapes.ShouldCreateAsync 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/OrchardCore.Modules/OrchardCore.Menu/MenuShapes.cs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"8599f77c8224cb6782e4a566f351466357224e4d57b3be0b6c98bdbb81b041a5"}},{"ruleId":"D2","level":"warning","message":{"text":"SitemapValuesAddressScheme.FindEndpoints (cognitive 18): SitemapValuesAddressScheme.FindEndpoints 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/OrchardCore.Modules/OrchardCore.Sitemaps/Routing/SitemapValuesAddressScheme.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"3243d51358e53c9416cfd771de9d459d519a3a22e421531ccd1cc2605241ad34"}},{"ruleId":"D2","level":"warning","message":{"text":"GraphQLMiddleware.ExecuteAsync (cognitive 18): GraphQLMiddleware.ExecuteAsync has cognitive 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, 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/OrchardCore.Modules/OrchardCore.Apis.GraphQL/GraphQLMiddleware.cs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"80b2ea34ad3edb712f7a9ea5209460c6ae5c1a0cadc9a3f95d8f600cd7148d9b"}},{"ruleId":"D2","level":"warning","message":{"text":"SchemaService.GetSchemaAsync (cognitive 18): SchemaService.GetSchemaAsync 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/OrchardCore.Modules/OrchardCore.Apis.GraphQL/Services/SchemaService.cs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"e13035e1cd13dfc28116bc1f68ff7505aef840232538700a54c88cd61488ecd6"}},{"ruleId":"D2","level":"warning","message":{"text":"AdminController.Index (cognitive 18): AdminController.Index 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/OrchardCore.Modules/OrchardCore.Tenants/Controllers/AdminController.cs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ade16e38b076dec30d8cc1785e96318bda44d3891cc050621ff5bd60224219f"}},{"ruleId":"D2","level":"warning","message":{"text":"AzureAISearchIndexManager.GetSearchFieldTemplate (cognitive 18): AzureAISearchIndexManager.GetSearchFieldTemplate 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/OrchardCore/OrchardCore.AzureAI.Core/Services/AzureAISearchIndexManager.cs"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"30523b5c71ec3ea1db959509e9bc3ccdf679902b8fe1a4e402a160e5f88acd83"}},{"ruleId":"D2","level":"warning","message":{"text":"AzureAISearchService.SearchAsync (cognitive 18): AzureAISearchService.SearchAsync has cognitive 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, 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/OrchardCore/OrchardCore.AzureAI.Core/Services/AzureAISearchService.cs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ee5edff5896e2160ab2ad538c1bf7582f87f5972a8bec69d3e8f214e9b99978"}},{"ruleId":"D2","level":"warning","message":{"text":"ContentItemDisplayCoordinator.BuildEditorAsync (cognitive 18): ContentItemDisplayCoordinator.BuildEditorAsync has cognitive complexity 18 (threshold 15). Of this number, 13 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/OrchardCore/OrchardCore.ContentManagement.Display/ContentDisplay/ContentItemDisplayCoordinator.cs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"63c9ca0e622364935f3d5d02c4c67389934ad6b255ee24177518c4da37e4b067"}},{"ruleId":"D2","level":"warning","message":{"text":"ContentItemDisplayCoordinator.UpdateEditorAsync (cognitive 18): ContentItemDisplayCoordinator.UpdateEditorAsync has cognitive complexity 18 (threshold 15). Of this number, 13 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/OrchardCore/OrchardCore.ContentManagement.Display/ContentDisplay/ContentItemDisplayCoordinator.cs"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbfef6bf9e4d2d19f8964d5fb14d069aa911f4bfcea91027123d7972cf476da7"}},{"ruleId":"D2","level":"warning","message":{"text":"ContentPartHandlerCoordinator.InvokeHandlers (cognitive 18): ContentPartHandlerCoordinator.InvokeHandlers 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/OrchardCore/OrchardCore.ContentManagement/Handlers/ContentPartHandlerCoordinator.cs"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6238526bf21bbd0551c255151441efa7fb3e438233678a8180d226d483a32e0"}},{"ruleId":"D2","level":"warning","message":{"text":"ShapeDescriptorIndex.ShapeDescriptorIndex.ctor (cognitive 18): ShapeDescriptorIndex.ShapeDescriptorIndex.ctor has cognitive complexity 18 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore/OrchardCore.DisplayManagement/Descriptors/FeatureShapeDescriptor.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeda4f10f2f0e8f1ec2147da3a17446ef9bf76038f8edafeab1765df7f634f91"}},{"ruleId":"D2","level":"warning","message":{"text":"PlacementInfo.BuildLocationString (cognitive 18): PlacementInfo.BuildLocationString 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/OrchardCore/OrchardCore.DisplayManagement/Descriptors/PlacementInfo.cs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b786095c4ed7c3631cb1efe8c2252a1ea8507cd7bb775dda6a09ad61d538ad1"}},{"ruleId":"D2","level":"warning","message":{"text":"ZoneShapes.ContentZone (cognitive 18): ZoneShapes.ContentZone has cognitive complexity 18 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 8 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/OrchardCore/OrchardCore.DisplayManagement/Zones/ZoneShapes.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"438e0e0360ae2cb5d35261234848bd3427678710b0334ab167a85a8567577dd7"}},{"ruleId":"D2","level":"warning","message":{"text":"FileCreationService.CreateAsync (cognitive 18): FileCreationService.CreateAsync 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/OrchardCore/OrchardCore.FileStorage.Abstractions/FileCreationService.cs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"36a0fd715d279d73883a75319ec0a822ca6ef8a64ada05be00405db04dc199f4"}},{"ruleId":"D2","level":"warning","message":{"text":"PathExtensions.ResolvePath (cognitive 18): PathExtensions.ResolvePath 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/OrchardCore/OrchardCore.Infrastructure.Abstractions/Files/PathExtensions.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"de7ffae242133ec48f072f6176f8e380bba0fd98eb56a28ba6db8dc93d712943"}},{"ruleId":"D2","level":"warning","message":{"text":"BooleanQueryProvider.CreateQuery (cognitive 18): BooleanQueryProvider.CreateQuery 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/OrchardCore/OrchardCore.Lucene.Core/QueryProviders/BooleanQueryProvider.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"863657afbe6a6406377d82b9f89bcd5ecd0f350e31f6dd31d5a63ff416f2dcb6"}},{"ruleId":"D2","level":"warning","message":{"text":"ShapeFactoryGenerator.GetShapeFactoryInvocationKind (cognitive 18): ShapeFactoryGenerator.GetShapeFactoryInvocationKind 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/OrchardCore/OrchardCore.SourceGenerators/ShapeFactoryGenerator.cs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca7e45786ec8476229708290bda946373eb9bc8f2fd935f35d0980a87d053579"}},{"ruleId":"D2","level":"warning","message":{"text":"getActiveClientFilters (cognitive 18): getActiveClientFilters 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/OrchardCore.Modules/OrchardCore.Resources/Assets/js/list-management.js"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"f871f29faf58e8411f9a5843a51ea01bc509b8de5e38270606a0033773912aa5"}},{"ruleId":"D2","level":"warning","message":{"text":"addProperListeners (cognitive 18): addProperListeners 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/OrchardCore.Modules/OrchardCore.Forms/Assets/js/form-visibility-rules.js"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"3df35f997fa5e8fb8b0c1725ac08f45a9b6c1f6f05c2eeae8114c372720d07ad"}},{"ruleId":"D2","level":"warning","message":{"text":"AzureAISearchDefaultSettingsDisplayDriver.UpdateAsync (cognitive 17): AzureAISearchDefaultSettingsDisplayDriver.UpdateAsync 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/OrchardCore.Modules/OrchardCore.AzureAI/Drivers/AzureAISearchDefaultSettingsDisplayDriver.cs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"34584e483d5d837cbf9cad4debfecb88e7b758aad7b2efa0fce9f946864ca007"}},{"ruleId":"D2","level":"warning","message":{"text":"NumericFieldDisplayDriver.UpdateAsync (cognitive 17): NumericFieldDisplayDriver.UpdateAsync 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/OrchardCore.Modules/OrchardCore.ContentFields/Drivers/NumericFieldDisplayDriver.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2b328de6431e439bdd5acf2698147ac4b8f4d049c8143fea4e5dadc3b46fb3e"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultContentsAdminListQueryService.QueryAsync (cognitive 17): DefaultContentsAdminListQueryService.QueryAsync 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/OrchardCore.Modules/OrchardCore.Contents/Services/DefaultContentsAdminListQueryService.cs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"5455d9231bd2fa3940b240dcbf25c0efdb37cff09368536b53e0f81826e4e84a"}},{"ruleId":"D2","level":"warning","message":{"text":"ContentTypesSitemapSourceBuilder.BuildSourceAsync (cognitive 17): ContentTypesSitemapSourceBuilder.BuildSourceAsync 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/OrchardCore.Modules/OrchardCore.Contents/Sitemaps/ContentTypesSitemapSourceBuilder.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3e3fcbf2280995ab519a4d06c7fc85a24b732fbdb5383fdc58704f602c1f506"}},{"ruleId":"D2","level":"warning","message":{"text":"ContentVersionPruningService.PruneVersionsAsync (cognitive 17): ContentVersionPruningService.PruneVersionsAsync has cognitive complexity 17 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, 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/OrchardCore.Modules/OrchardCore.Contents/VersionPruning/Services/ContentVersionPruningService.cs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a006389623aa3ccac134b83ff91bb12bef315df8b136017c6a7173db1897384"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaFieldQueryObjectType.MediaFieldQueryObjectType.ctor (cognitive 17): MediaFieldQueryObjectType.MediaFieldQueryObjectType.ctor has cognitive complexity 17 (threshold 15). Most of this is not in the body itself: 1 of the 17 points is its own statement and the rest belongs to 5 function literals inside it that branch (lines 76, 22, 35, \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/OrchardCore.Modules/OrchardCore.Media/GraphQL/MediaFieldQueryObjectType.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"73bd8a2821e53c67200c4237484922eda8cb366acf431ac868ec64b530551b93"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaProfileService.GetMediaProfileCommands (cognitive 17): MediaProfileService.GetMediaProfileCommands 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/OrchardCore.Modules/OrchardCore.Media/Services/MediaProfileService.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"5989e78f22c43aefe7ade53dd7fdc305d3b289899395e2fcde666636eeaaeeb5"}},{"ruleId":"D2","level":"warning","message":{"text":"MenuShapes.DiscoverAsync (cognitive 17): MenuShapes.DiscoverAsync has cognitive complexity 17 (threshold 15). Most of this is not in the body itself: 0 of the 17 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 22, 105). 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/OrchardCore.Modules/OrchardCore.Menu/MenuShapes.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"b59d69c81d8a8f4a93be3928d0fc4fa790176aca482046b38bd5e5e48d602470"}},{"ruleId":"D2","level":"warning","message":{"text":"GeoPointFieldDisplayDriver.UpdateAsync (cognitive 17): GeoPointFieldDisplayDriver.UpdateAsync 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/OrchardCore.Modules/OrchardCore.Spatial/Drivers/GeoPointFieldDisplayDriver.cs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7abb3640b7efd33d82a5858e49e515af5d296db36e4e78973ab34a0c67f2b9b"}},{"ruleId":"D2","level":"warning","message":{"text":"ImportController.Import (cognitive 17): ImportController.Import 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/OrchardCore.Modules/OrchardCore.Deployment/Controllers/ImportController.cs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"d855378b068da02e66e428b4ce8b80dcabd743309790c5c27e181f2b685715c9"}},{"ruleId":"D2","level":"warning","message":{"text":"PagerShapesTableProvider.DiscoverAsync (cognitive 17): PagerShapesTableProvider.DiscoverAsync has cognitive complexity 17 (threshold 15). Most of this is not in the body itself: 0 of the 17 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 31, 47, 56, \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/OrchardCore.Modules/OrchardCore.Navigation/PagerShapesTableProvider.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1c6c77544e729e011567d0a09a580bc010588d0284542f3b6a4c50780b1bade"}},{"ruleId":"D2","level":"warning","message":{"text":"SetupTenantTask.ExecuteAsync (cognitive 17): SetupTenantTask.ExecuteAsync has cognitive complexity 17 (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/OrchardCore.Modules/OrchardCore.Tenants/Workflows/Activities/SetupTenantTask.cs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"84685d04f0e0eacf650236549238f6b8dd005694548df0eee78c1862830ff03c"}},{"ruleId":"D2","level":"warning","message":{"text":"AdminController.SetCurrentTheme (cognitive 17): AdminController.SetCurrentTheme has cognitive complexity 17 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore.Modules/OrchardCore.Themes/Controllers/AdminController.cs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"905c5ab2ea8f29e809e3c73d8d05a0739e4c2c92a6b5d3ed94fc20d351575609"}},{"ruleId":"D2","level":"warning","message":{"text":"ExternalAuthenticationsController.LinkExternalLogin (cognitive 17): ExternalAuthenticationsController.LinkExternalLogin 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/OrchardCore.Modules/OrchardCore.Users/Controllers/ExternalAuthenticationsController.cs"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"44a3bc18383f479648d6d10ab34c7f128cd9425677037b4fe71cb7fe5beca117"}},{"ruleId":"D2","level":"warning","message":{"text":"HttpWorkflowController.Trigger (cognitive 17): HttpWorkflowController.Trigger 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/OrchardCore.Modules/OrchardCore.Workflows/Http/Controllers/HttpWorkflowController.cs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5fbeb6b98d22fbbacdc03332489941c5f7840cb9fb549bcc828a500ddf3989b"}},{"ruleId":"D2","level":"warning","message":{"text":"CacheTag.WriteToAsync (cognitive 17): CacheTag.WriteToAsync 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/OrchardCore/OrchardCore.DisplayManagement.Liquid/Cache/CacheTag.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"116e0ca7f5dcced87cd26b965a0a3dd921f0321e637394bc5875dfb48effefc0"}},{"ruleId":"D2","level":"warning","message":{"text":"ShapeCacheTag.WriteToAsync (cognitive 17): ShapeCacheTag.WriteToAsync 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/OrchardCore/OrchardCore.DisplayManagement.Liquid/Tags/ShapeCacheTag.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"d670ddf4d2de14a74a29ebc59336ecebd190f46a51bdb30b85edbb20220b3dfc"}},{"ruleId":"D2","level":"warning","message":{"text":"ShapeAttributeBindingStrategy.CreateDelegate (cognitive 17): ShapeAttributeBindingStrategy.CreateDelegate has cognitive complexity 17 (threshold 15). Most of this is not in the body itself: 4 of the 17 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 79, 92, 105, \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/OrchardCore/OrchardCore.DisplayManagement/Descriptors/ShapeAttributeStrategy/ShapeAttributeBindingStrategy.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"1795b47665e26572fb1bec752211f73a3bc21cecc4f75362dba16a8b84adfd2e"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultHtmlDisplay.GetShapeBindingAsync (cognitive 17): DefaultHtmlDisplay.GetShapeBindingAsync has cognitive complexity 17 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore/OrchardCore.DisplayManagement/Implementation/DefaultHtmlDisplay.cs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"e36efb8d05cbce0408aa3e5b990d25df5c2159c5bf1baa227e9b3797a135f60e"}},{"ruleId":"D2","level":"warning","message":{"text":"ShapeSerializer.Serialize (cognitive 17): ShapeSerializer.Serialize has cognitive complexity 17 (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/OrchardCore/OrchardCore.DisplayManagement/Shapes/ShapeSerializer.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"38d45713878351e7465a00f1402025d4ee0c7fb01702a527ff174e6d2947a9f9"}},{"ruleId":"D2","level":"warning","message":{"text":"ElasticsearchIndexRebuildStep.HandleAsync (cognitive 17): ElasticsearchIndexRebuildStep.HandleAsync 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/OrchardCore/OrchardCore.Elasticsearch.Core/Recipes/ElasticsearchIndexRebuildStep.cs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"dadc6d566b1cac13ad438a7141a339a70536dbf0a5b1f84d6b1332cb044ac7a1"}},{"ruleId":"D2","level":"warning","message":{"text":"ContentIndexingService.BeforeProcessingTasksAsync (cognitive 17): ContentIndexingService.BeforeProcessingTasksAsync has cognitive complexity 17 (threshold 15). Of this number, 15 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/OrchardCore/OrchardCore.Indexing.Core/ContentIndexingService.cs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"386b4537bc1ca04e6a814a139790cdc3e4c70c62936d4d3255c13533e6510837"}},{"ruleId":"D2","level":"warning","message":{"text":"SlugService.Slugify (cognitive 17): SlugService.Slugify 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/OrchardCore/OrchardCore/Modules/Services/SlugService.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c25caa2e2d0b55c9b3eff5357ca8eb5e3b35a230e70088913c4087b920ea179"}},{"ruleId":"D2","level":"warning","message":{"text":"validateRule (cognitive 17): validateRule 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/OrchardCore.Modules/OrchardCore.Forms/Assets/js/form-visibility-rules.js"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bdfa1fe3da1a542bc1f8e9c7d2f34f6837e3a635dcdc300d5d54d1b0142c4e8"}},{"ruleId":"D2","level":"warning","message":{"text":"ModuleProjectRazorFileProvider.ModuleProjectRazorFileProvider.ctor (cognitive 16): ModuleProjectRazorFileProvider.ModuleProjectRazorFileProvider.ctor 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/OrchardCore/OrchardCore.Mvc.Core/ModuleProjectRazorFileProvider.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"793390b770d510e4b51c57039b4e6f1948439db66f5e388ab95d25d115ff4525"}},{"ruleId":"D2","level":"warning","message":{"text":"LuceneIndexRebuildStep.HandleAsync (cognitive 16): LuceneIndexRebuildStep.HandleAsync 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/OrchardCore.Modules/OrchardCore.Lucene/Recipes/LuceneIndexRebuildStep.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"b368d86d21915c4f69ca9547bf1d9b60935f73cfd97f0a4b187089b3186fb2f1"}},{"ruleId":"D2","level":"warning","message":{"text":"LuceneIndexResetStep.HandleAsync (cognitive 16): LuceneIndexResetStep.HandleAsync 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/OrchardCore.Modules/OrchardCore.Lucene/Recipes/LuceneIndexResetStep.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c9fa6e4b805d1cdac55aeba7e6b0ae8ecff8f60dcad0f3a8fd71533e37f46a"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaBlobContainerTenantEvents.RemovingAsync (cognitive 16): MediaBlobContainerTenantEvents.RemovingAsync 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/OrchardCore.Modules/OrchardCore.Media.Azure/Services/MediaBlobContainerTenantEvents.cs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"7664593d8dc3261edb49d2c7e89b2899b14e52fe9685fd187020b9b1abb8f07a"}},{"ruleId":"D2","level":"warning","message":{"text":"MoveAttachedMediaFieldsStepExecutor.ProcessContentTypeAsync (cognitive 16): MoveAttachedMediaFieldsStepExecutor.ProcessContentTypeAsync has cognitive complexity 16 (threshold 15). Of this number, 14 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/OrchardCore.Modules/OrchardCore.Media/Recipes/MoveAttachedMediaFieldsStepExecutor.cs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"566ba06680f1f5592b03479d078b7b69cd6ae63ffac5eee5b130bd39b1936f2b"}},{"ruleId":"D2","level":"warning","message":{"text":"ViewMediaFolderAuthorizationHandler.HandleRequirementAsync (cognitive 16): ViewMediaFolderAuthorizationHandler.HandleRequirementAsync 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/OrchardCore.Modules/OrchardCore.Media/Services/ViewMediaFolderAuthorizationHandler.cs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b555cf51572798538036ca9e7f41166564de0bb30eedcacc309fcb0c8a29ad0"}},{"ruleId":"D2","level":"warning","message":{"text":"SitemapIndexTypeUpdateHandler.UpdateSitemapAsync (cognitive 16): SitemapIndexTypeUpdateHandler.UpdateSitemapAsync 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/OrchardCore.Modules/OrchardCore.Sitemaps/Handlers/SitemapIndexTypeUpdateHandler.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"05a52d38b3f0ef38d56338bd31ee535bbb2746b420720993a7d07e3215c89ee0"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenIdServerConfiguration.Configure (cognitive 16): OpenIdServerConfiguration.Configure 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/OrchardCore.Modules/OrchardCore.OpenId/Configuration/OpenIdServerConfiguration.cs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eb53577814bc6475b5a24d179fa28284ddf36614ac04867f67cdc88e0e54c3e"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenIdClientSettingsDisplayDriver.UpdateAsync (cognitive 16): OpenIdClientSettingsDisplayDriver.UpdateAsync 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/OrchardCore.Modules/OrchardCore.OpenId/Drivers/OpenIdClientSettingsDisplayDriver.cs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"98732672b2787b327f424fcdda375479f0e8dbb50ada87e222539084df8a0aa8"}},{"ruleId":"D2","level":"warning","message":{"text":"AzureSettingsDisplayDriver.UpdateAsync (cognitive 16): AzureSettingsDisplayDriver.UpdateAsync 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/OrchardCore.Modules/OrchardCore.Sms.Azure/Drivers/AzureSettingsDisplayDriver.cs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"f45846fef590725d7d9856cffa113967e389e02623c5a7c7ea49739c14263529"}},{"ruleId":"D2","level":"warning","message":{"text":"ShellScope.BeforeDisposeAsync (cognitive 16): ShellScope.BeforeDisposeAsync has cognitive 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, 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/OrchardCore/OrchardCore.Abstractions/Shell/Scope/ShellScope.cs"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb9728f5ff54ba775ae5693cd19f3fdc92754369f52a2d5b057187b024bb8172"}},{"ruleId":"D2","level":"warning","message":{"text":"ContentFieldAlternatesFactory.BuildAlternates (cognitive 16): ContentFieldAlternatesFactory.BuildAlternates 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/OrchardCore/OrchardCore.ContentManagement.Display/ContentDisplay/ContentFieldAlternatesFactory.cs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cd6b857dbf7046b4b96de7bca3b38934e276f822e47e18aec8f98f9c7bedaa1"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultRequiredAttributeParser.AddRequiredAttributes (cognitive 16): DefaultRequiredAttributeParser.AddRequiredAttributes has cognitive complexity 16 (threshold 15). Most of this is not in the body itself: 4 of the 16 points are its own statements and the rest belongs to one function literal inside it that branches (line 59). 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/OrchardCore/OrchardCore.DisplayManagement.Liquid/TagHelpers/RequiredAttributeParser.cs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ced4046dd00c4058450cf3244302d1598ef4e5ffa78f2ead4ad90818d79e4b3"}},{"ruleId":"D2","level":"warning","message":{"text":"ShapeTag.WriteToAsync (cognitive 16): ShapeTag.WriteToAsync 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/OrchardCore/OrchardCore.DisplayManagement.Liquid/Tags/ShapeTag.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"111a1e0c8de4487067a60fd9a18f50846d81400daa119fe9f6856e5339b5e52f"}},{"ruleId":"D2","level":"warning","message":{"text":"ElasticsearchIndexResetStep.HandleAsync (cognitive 16): ElasticsearchIndexResetStep.HandleAsync 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/OrchardCore/OrchardCore.Elasticsearch.Core/Recipes/ElasticsearchIndexResetStep.cs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"27c8532aff89e1de552faeaee61c15f90b9b7e3dcfbdd7fbdc5439d204c432ff"}},{"ruleId":"D2","level":"warning","message":{"text":"RebuildIndexStep.HandleAsync (cognitive 16): RebuildIndexStep.HandleAsync has cognitive complexity 16 (threshold 15). Most of this is not in the body itself: 4 of the 16 points are its own statements and the rest belongs to one function literal inside it that branches (line 34). 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/OrchardCore/OrchardCore.Indexing.Core/Recipes/RebuildIndexStep.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"19d5fdd6100f2ca96fbb8d963177b11e0a3069d2ed746b6c50dc7c61bcd82de1"}},{"ruleId":"D2","level":"warning","message":{"text":"NavigationHelper.GetHighestPrioritySelectedMenuItem (cognitive 16): NavigationHelper.GetHighestPrioritySelectedMenuItem 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/OrchardCore/OrchardCore.Navigation.Core/NavigationHelper.cs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d8499f073f8d38301f9d06b01001ee391d1f3551690eab170c709483b873ddb"}},{"ruleId":"D2","level":"warning","message":{"text":"ResourceManager.ExpandDependenciesImplementation (cognitive 16): ResourceManager.ExpandDependenciesImplementation 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/OrchardCore/OrchardCore.ResourceManagement/ResourceManager.cs"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"103c3a09bfd8f1cdcf5c1efd48ee505275a51112b400a31aed8061f28b4ef799"}},{"ruleId":"D2","level":"warning","message":{"text":"navigateToSearchAction (cognitive 16): navigateToSearchAction 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/OrchardCore.Modules/OrchardCore.Resources/Assets/js/list-management.js"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"58c2f0135dcd091e304cd09ddfeeef511558476ae4f6432ff00349b1dac32b19"}},{"ruleId":"D2","level":"warning","message":{"text":"update (cognitive 16): update 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/OrchardCore.Modules/OrchardCore.Resources/Assets/js/list-management.js"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5b40ce6438d7a506ce2310a51b2fd416d0799eac171358d44815ba6433f6983"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: JsonDynamicValue: TooManyMethods \u2014 351 significant lines (blank, comment-only and punctuation-only lines excluded), 112 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/OrchardCore/OrchardCore.Abstractions/Json/Dynamic/JsonDynamicValue.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a75b69a7eea4be4564e0cecce6825021423cd7a73f2e7e3e29fa9c82f07f313"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ResourceManagementOptionsConfiguration: ClassTooLong \u2014 978 significant lines (blank, comment-only and punctuation-only lines excluded), 3 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/OrchardCore.Modules/OrchardCore.Resources/ResourceManagementOptionsConfiguration.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a91e725bd5446cb2d3af2b06a25b3fc5b25857dba65a2e755439a8bc0b54aa7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: UserStore: TooManyMethods \u2014 408 significant lines (blank, comment-only and punctuation-only lines excluded), 61 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/OrchardCore/OrchardCore.Users.Core/Services/UserStore.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0093580276a7d4557e898523d8e9e5e5e93e7d546efe488c8ae13eaf11a5158e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: OrchardCore.Resources/ResourceManagementOptionsConfiguration.cs: FileTooLong \u2014 984 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/OrchardCore.Modules/OrchardCore.Resources/ResourceManagementOptionsConfiguration.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"43a340803051a20f966cdb93b98147fdee245a88b940d70bc5ebe78158f58c90"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ContentPartHandler: TooManyMethods \u2014 142 significant lines (blank, comment-only and punctuation-only lines excluded), 56 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/OrchardCore/OrchardCore.ContentManagement.Abstractions/Handlers/ContentPartHandler.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5415a639f994c4339f7518ad2510e627d67a6ad8e031d6f6ebffd9ade2beac42"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ContentFieldHandler: TooManyMethods \u2014 134 significant lines (blank, comment-only and punctuation-only lines excluded), 54 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/OrchardCore/OrchardCore.ContentManagement.Abstractions/Handlers/ContentFieldHandler.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7d7c127b5a5bfa597969bb2818ee8edec60fa79648cdbe35906272ea74c4679"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: OpenIdApplicationStore: TooManyMethods \u2014 208 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/OrchardCore/OrchardCore.OpenId.Core/YesSql/Stores/OpenIdApplicationStore.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7447dc6a259c0c7ff9d035e3a30ec5e8732a7e4f028f841aab753ed803a2c9e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: OpenIdTokenStore: TooManyMethods \u2014 288 significant lines (blank, comment-only and punctuation-only lines excluded), 46 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/OrchardCore/OrchardCore.OpenId.Core/YesSql/Stores/OpenIdTokenStore.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c4f8456360bd403afab7869604e60f7bd89348074fe3ad87177f2bd11758308"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DefaultContentManager: ClassTooLong \u2014 599 significant lines (blank, comment-only and punctuation-only lines excluded), 28 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore/OrchardCore.ContentManagement/DefaultContentManager.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1e47bb6f6bddd846817f39a6ba47936c2add7bca3c8fb33755d2ff69c2e84f8"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ShapeFactoryGenerator: ClassTooLong \u2014 574 significant lines (blank, comment-only and punctuation-only lines excluded), 26 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/OrchardCore/OrchardCore.SourceGenerators/ShapeFactoryGenerator.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"348a866ba1f26483ee288195f9dad5a4073a06d382c35f4eaf0636d453204017"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Migrations: ClassTooLong \u2014 554 significant lines (blank, comment-only and punctuation-only lines excluded), 6 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/OrchardCore.Modules/OrchardCore.ContentFields/Indexing/SQL/Migrations.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5778fafc696ee3c92f392316cc32656b5307257eebbf2f4221392b62f0cb1854"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AdminController: TooManyMethods \u2014 490 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/OrchardCore.Modules/OrchardCore.RateLimits/Controllers/AdminController.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d88140d78bc2fa77101d9235ccf4a29f909ae07d43affda867e595eb76b9f686"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ResourceManager: TooManyMethods \u2014 326 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/OrchardCore/OrchardCore.ResourceManagement/ResourceManager.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"999edc104cb3925f7313882d8315464febd5106ec29ae320621b7c3dd5e1ce85"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AdminController: ClassTooLong \u2014 506 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/OrchardCore.Modules/OrchardCore.Contents/Controllers/AdminController.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4da706be7fce34fb76255809f4286a96fc3a70864a4b099e9439691bd639d4b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: OrchardCore.ContentManagement/DefaultContentManager.cs: FileTooLong \u2014 615 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/OrchardCore/OrchardCore.ContentManagement/DefaultContentManager.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc1feb3b5208cacae727f5ad2aa4994f8adb3c61084e9712eb2ac0df8ba33360"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Controllers/AdminController.cs: FileTooLong \u2014 602 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/OrchardCore.Modules/OrchardCore.ContentTypes/Controllers/AdminController.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2da027bd3adb0fa1669af79e224b5b523ac8ac4652adc038444a9181bf42d7e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AdminController: TooManyMethods \u2014 583 significant lines (blank, comment-only and punctuation-only lines excluded), 36 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/OrchardCore.Modules/OrchardCore.ContentTypes/Controllers/AdminController.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"829001e7e69f624245575c026f8112932f7e938f79a1dca07854bacf5183e0de"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ShellScope: TooManyMethods \u2014 210 significant lines (blank, comment-only and punctuation-only lines excluded), 36 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/OrchardCore/OrchardCore.Abstractions/Shell/Scope/ShellScope.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d9d093a0a5e4d44fa91b3a8a318cf02989d55b4e95b9e13d5ae2429d2ae71f0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: OrchardCore.SourceGenerators/ShapeFactoryGenerator.cs: FileTooLong \u2014 599 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/OrchardCore/OrchardCore.SourceGenerators/ShapeFactoryGenerator.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea5a1ca5ec706965ba14ff94dff2f6bd9a04d4b8d8a82cf3f90dfef4b7b827f1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SqlTranslator: TooManyMethods \u2014 401 significant lines (blank, comment-only and punctuation-only lines excluded), 35 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore.Modules/OrchardCore.Queries/Sql/SqlTranslator.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e80709b911847b226389494c48ac42793c7e6033a1a2f4d5759beeaed07f4dca"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: OpenIdAuthorizationStore: TooManyMethods \u2014 252 significant lines (blank, comment-only and punctuation-only lines excluded), 35 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore/OrchardCore.OpenId.Core/YesSql/Stores/OpenIdAuthorizationStore.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ed496438377b379219ebb61bf17c84661c00e0d453318d184305efa70ec9629"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: SQL/Migrations.cs: FileTooLong \u2014 559 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/OrchardCore.Modules/OrchardCore.ContentFields/Indexing/SQL/Migrations.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"563f6c1d4ff21952b65f0bf34fca750c0d3182818388f9e79f33f4d06acf11f0"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AdminController: ClassTooLong \u2014 437 significant lines (blank, comment-only and punctuation-only lines excluded), 17 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/OrchardCore.Modules/OrchardCore.Tenants/Controllers/AdminController.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3564b6d0e96949301e51d23f67a5cbed39b2ee5dcc2cd7c537fa22edf2c9c759"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Controllers/AdminController.cs: FileTooLong \u2014 534 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/OrchardCore.Modules/OrchardCore.Contents/Controllers/AdminController.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2143344b26a61b305957611a12f216d286cbd9353d381d96a4a1a6796528681e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ContentPartHandlerCoordinator: TooManyMethods \u2014 287 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/OrchardCore/OrchardCore.ContentManagement/Handlers/ContentPartHandlerCoordinator.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7464994aaa03b16bac57deef6ef4fbaf5225d85409f80f757aae8c822b1f1f93"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ContentDefinitionManager: TooManyMethods \u2014 237 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/OrchardCore/OrchardCore.ContentManagement/ContentDefinitionManager.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9af7f8ba3667f92bdde1d5c68ffc8b9572312ec39b3d60a5bd83b15bc5a8625d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: OpenIdScopeStore: TooManyMethods \u2014 141 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/OrchardCore/OrchardCore.OpenId.Core/YesSql/Stores/OpenIdScopeStore.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8e3cc555ac46cb505c2b4a0bc1f66b9daf8c17cca82a85b84512f2ffe0f0fac"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Controllers/AdminController.cs: FileTooLong \u2014 515 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/OrchardCore.Modules/OrchardCore.RateLimits/Controllers/AdminController.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c23d6be9db45b840d7ad36303fa4d375fc2f38fa81e3e916cea257faa8251df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2): src/OrchardCore.Modules/OrchardCore.ContentFields/Indexing/SQL/Migrations.cs:41-96 | src/OrchardCore.Modules/OrchardCore.ContentFields/Indexing/SQL/Migrations.cs:478-522 \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/OrchardCore.Modules/OrchardCore.ContentFields/Indexing/SQL/Migrations.cs:41\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/OrchardCore.Modules/OrchardCore.ContentFields/Indexing/SQL/Migrations.cs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"3402306f34d71344278584e3f0e6c5324c437c0b1d688f00fc0859da03054c6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): src/OrchardCore/OrchardCore.ContentManagement/Records/Migrations.cs:34-70 | src/OrchardCore/OrchardCore.ContentManagement/Records/Migrations.cs:189-225 \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/OrchardCore/OrchardCore.ContentManagement/Records/Migrations.cs:34\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/OrchardCore/OrchardCore.ContentManagement/Records/Migrations.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"600974d4714c4743f721fccb2cce172bbbc3bee16a8f0ab5cd724352231da50b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): src/OrchardCore/OrchardCore.OpenId.Core/YesSql/Stores/OpenIdAuthorizationStore.cs:311-335 | src/OrchardCore/OrchardCore.OpenId.Core/YesSql/Stores/OpenIdTokenStore.cs:353-377 \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/OrchardCore/OrchardCore.OpenId.Core/YesSql/Stores/OpenIdAuthorizationStore.cs:311\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/OrchardCore/OrchardCore.OpenId.Core/YesSql/Stores/OpenIdAuthorizationStore.cs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"4062cd0385f2bd6eda94d2a56080de19f4ab1fbff005c5b4aa1757f8de42b2f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): src/OrchardCore.Modules/OrchardCore.Contents/Workflows/Activities/DeleteContentTask.cs:35-57 | src/OrchardCore.Modules/OrchardCore.Contents/Workflows/Activities/UnpublishContentTask.cs:36-58 \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/OrchardCore.Modules/OrchardCore.Contents/Workflows/Activities/DeleteContentTask.cs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"79cd2bc60696dc2e231936683a943fb169917977b92e77eb67c7d3fb04523dce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): src/OrchardCore.Modules/OrchardCore.RateLimits/Controllers/LimiterController.cs:63-85 | src/OrchardCore.Modules/OrchardCore.RateLimits/Controllers/LimiterController.cs:108-130 \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/OrchardCore.Modules/OrchardCore.RateLimits/Controllers/LimiterController.cs:63\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore.Modules/OrchardCore.RateLimits/Controllers/LimiterController.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"05028ff2c6022411b3f5607f833a4252e79c18bd3f4ef3b0957c70af5882d698"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): src/OrchardCore/OrchardCore.Elasticsearch.Core/Services/BulkRequestDescriptorExtensions.cs:96-119 | src/OrchardCore/OrchardCore.Elasticsearch.Core/Services/ElasticsearchDocumentIndexManager.cs:324-346 \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/OrchardCore/OrchardCore.Elasticsearch.Core/Services/BulkRequestDescriptorExtensions.cs:96\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/OrchardCore/OrchardCore.Elasticsearch.Core/Services/BulkRequestDescriptorExtensions.cs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"2df8ce07ef13db5f0d586f1b4668c225041528a6e9d128f8046e27248c7015cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): src/OrchardCore.Modules/OrchardCore.Liquid/Filters/LocalTimeZoneFilter.cs:31-52 | src/OrchardCore.Modules/OrchardCore.Liquid/Filters/UtcTimeZoneFilter.cs:31-52 \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/OrchardCore.Modules/OrchardCore.Liquid/Filters/LocalTimeZoneFilter.cs:31\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/OrchardCore.Modules/OrchardCore.Liquid/Filters/LocalTimeZoneFilter.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd80fe7870b0d7426f9ff70f8ef283111f99aa61f3714200ae72f74537828115"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): src/OrchardCore.Modules/OrchardCore.OpenId/Controllers/AccessController.cs:57-81 | src/OrchardCore.Modules/OrchardCore.OpenId/Controllers/AccessController.cs:309-330 \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/OrchardCore.Modules/OrchardCore.OpenId/Controllers/AccessController.cs:57\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/OrchardCore.Modules/OrchardCore.OpenId/Controllers/AccessController.cs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"da171231a54d4db192bc735f3fd7cf9929d61e8ee05d3e7a1fc44f7ac97dce62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/OrchardCore/OrchardCore.Mvc.Core/Utilities/StringExtensions.cs:137-157 | src/OrchardCore/OrchardCore.ContentManagement.Abstractions/Utilities/StringExtensions.cs:106-126 \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/OrchardCore/OrchardCore.Mvc.Core/Utilities/StringExtensions.cs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"04b5fa45177a440fe7aa7de023a94e17caa4d99b8cd9cdedb1d00b1dae0fe844"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/OrchardCore.Modules/OrchardCore.Lucene/Migrations.cs:158-178 | src/OrchardCore.Modules/OrchardCore.Lucene/Migrations.cs:195-215 \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/OrchardCore.Modules/OrchardCore.Lucene/Migrations.cs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2be11a95a627046b2398b19a523ef62295495e59da57e97d2e11c1b50f50a7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/OrchardCore.Modules/OrchardCore.Menu/MenuShapes.cs:242-262 | src/OrchardCore.Modules/OrchardCore.Taxonomies/TermShapes.cs:253-273 \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/OrchardCore.Modules/OrchardCore.Menu/MenuShapes.cs:242\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/OrchardCore.Modules/OrchardCore.Menu/MenuShapes.cs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca65c4c57e070df5b58c4b60ddc29c7f719e58330f5098c3a7d4e19a6faedca5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): src/OrchardCore.Modules/OrchardCore.Lucene/Migrations.cs:117-136 | src/OrchardCore.Modules/OrchardCore.Lucene/Migrations.cs:162-181 | src/OrchardCore.Modules/OrchardCore.Lucene/Migrations.cs:199-218 \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/OrchardCore.Modules/OrchardCore.Lucene/Migrations.cs:117\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/OrchardCore.Modules/OrchardCore.Lucene/Migrations.cs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e63bd4e8889c0c09739e978b625c62ff2b399c37b9dde9cdc675269a360e2b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/OrchardCore/OrchardCore.Mvc.Core/Utilities/StringExtensions.cs:56-75 | src/OrchardCore/OrchardCore.ContentManagement.Abstractions/Utilities/StringExtensions.cs:68-88 \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/OrchardCore/OrchardCore.Mvc.Core/Utilities/StringExtensions.cs:56\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/OrchardCore/OrchardCore.Mvc.Core/Utilities/StringExtensions.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cfdc67c3cefd2c2bb8c7e7aa8bfa177dc55a2a3daa554341767d966823f2d52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/OrchardCore/OrchardCore/Shell/Distributed/DistributedShellHostedService.cs:419-438 | src/OrchardCore/OrchardCore/Shell/Distributed/DistributedShellHostedService.cs:536-555 \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/OrchardCore/OrchardCore/Shell/Distributed/DistributedShellHostedService.cs:419\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/OrchardCore/OrchardCore/Shell/Distributed/DistributedShellHostedService.cs"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"935863f2f4a2b1dbaba166cda87999807f6f9f3e0c28bea22c574adbb8602f38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/OrchardCore.Modules/OrchardCore.Elasticsearch/Extensions/ElasticsearchOptionsExtensions.cs:13-31 | src/OrchardCore.Modules/OrchardCore.Elasticsearch/Extensions/ElasticsearchOptionsExtensions.cs:51-69 \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/OrchardCore.Modules/OrchardCore.Elasticsearch/Extensions/ElasticsearchOptionsExtensions.cs:13\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore.Modules/OrchardCore.Elasticsearch/Extensions/ElasticsearchOptionsExtensions.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"961db88fd35ffd0a44ef9bf32438224e769b06e21cdcc99e12ebf4650964dcc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/OrchardCore.Modules/OrchardCore.Indexing/Controllers/AdminController.cs:157-175 | src/OrchardCore.Modules/OrchardCore.Indexing/Controllers/AdminController.cs:192-210 \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/OrchardCore.Modules/OrchardCore.Indexing/Controllers/AdminController.cs:157\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/OrchardCore.Modules/OrchardCore.Indexing/Controllers/AdminController.cs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bfadd758f55be9d42fdd666f33421ebf2db12b55561289410562db38509f38f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/OrchardCore.Modules/OrchardCore.Taxonomies/Controllers/AdminController.cs:234-252 | src/OrchardCore.Modules/OrchardCore.Taxonomies/Controllers/AdminController.cs:314-332 \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/OrchardCore.Modules/OrchardCore.Taxonomies/Controllers/AdminController.cs:234\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/OrchardCore.Modules/OrchardCore.Taxonomies/Controllers/AdminController.cs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9e3be30d7e03db3c6a30a7bbbd2e1ff2d7f0f743bcfe05454a350682f5ef7d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/OrchardCore.Modules/OrchardCore.UrlRewriting/Controllers/AdminController.cs:102-120 | src/OrchardCore.Modules/OrchardCore.UrlRewriting/Controllers/AdminController.cs:138-156 \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/OrchardCore.Modules/OrchardCore.UrlRewriting/Controllers/AdminController.cs:102\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/OrchardCore.Modules/OrchardCore.UrlRewriting/Controllers/AdminController.cs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f1fa5439f3e77e2593cbe5144903250260fb5c55e8411225027255ff7f887a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/OrchardCore/OrchardCore.ContentManagement.Display/ContentItemDisplayManager.cs:109-127 | src/OrchardCore/OrchardCore.ContentManagement.Display/ContentItemDisplayManager.cs:154-172 \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/OrchardCore/OrchardCore.ContentManagement.Display/ContentItemDisplayManager.cs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"c386be84bd19bc82b60eada985a9dd2b65139f18d6e4f88c99b9434cc559a76c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/OrchardCore/OrchardCore.ResourceManagement/TagHelpers/ScriptTagHelper.cs:264-282 | src/OrchardCore/OrchardCore.ResourceManagement/TagHelpers/StyleTagHelper.cs:260-278 \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/OrchardCore/OrchardCore.ResourceManagement/TagHelpers/ScriptTagHelper.cs:264\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/OrchardCore/OrchardCore.ResourceManagement/TagHelpers/ScriptTagHelper.cs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"d494d1baf7b0244da8019bc93e6273a8d10a2ec9ee3972abffb2ba35961f55ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/OrchardCore/OrchardCore.Mvc.Core/Utilities/StringExtensions.cs:365-382 | src/OrchardCore/OrchardCore.ContentManagement.Abstractions/Utilities/StringExtensions.cs:289-306 \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/OrchardCore/OrchardCore.Mvc.Core/Utilities/StringExtensions.cs:365\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/OrchardCore/OrchardCore.Mvc.Core/Utilities/StringExtensions.cs"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ebd70117ec8a8ffa301df903b36f5db284a8b30eed4dd0fdba3a06e6b0540ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/OrchardCore.Modules/OrchardCore.ContentTypes/Controllers/AdminController.cs:1117-1134 | src/OrchardCore.Modules/OrchardCore.ContentTypes/Controllers/AdminController.cs:1145-1162 \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/OrchardCore.Modules/OrchardCore.ContentTypes/Controllers/AdminController.cs:1117\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/OrchardCore.Modules/OrchardCore.ContentTypes/Controllers/AdminController.cs"},"region":{"startLine":1117}}}],"partialFingerprints":{"codehealthFindingId/v1":"bad3eb12311271b40c549955476d5ee1935bb443e1da6e70d9e59a379d1c6b7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/OrchardCore.Modules/OrchardCore.Elasticsearch/GraphQL/ElasticsearchQueryFieldTypeProvider.cs:73-90 | src/OrchardCore.Modules/OrchardCore.Queries/Sql/GraphQL/SqlQueryFieldTypeProvider.cs:77-94 \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/OrchardCore.Modules/OrchardCore.Elasticsearch/GraphQL/ElasticsearchQueryFieldTypeProvider.cs:73\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore.Modules/OrchardCore.Elasticsearch/GraphQL/ElasticsearchQueryFieldTypeProvider.cs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eed5b6804d5492f7fc3d76dd9289d6f3e3021057086f504ac3fb32ac6aafb50"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/OrchardCore.Modules/OrchardCore.Lucene/Recipes/LuceneIndexRebuildStep.cs:43-60 | src/OrchardCore/OrchardCore.Elasticsearch.Core/Recipes/ElasticsearchIndexRebuildStep.cs:44-61 \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/OrchardCore.Modules/OrchardCore.Lucene/Recipes/LuceneIndexRebuildStep.cs:43\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/OrchardCore.Modules/OrchardCore.Lucene/Recipes/LuceneIndexRebuildStep.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"71636b0f6d3926d9d19da9c4e654d01dc0eaf2d3b1f3449f8275279f036076a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/OrchardCore.Modules/OrchardCore.Lucene/Recipes/LuceneIndexResetStep.cs:43-60 | src/OrchardCore/OrchardCore.Elasticsearch.Core/Recipes/ElasticsearchIndexResetStep.cs:44-61 \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/OrchardCore.Modules/OrchardCore.Lucene/Recipes/LuceneIndexResetStep.cs:43\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/OrchardCore.Modules/OrchardCore.Lucene/Recipes/LuceneIndexResetStep.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3bf46b621694b7b7da1a67b63dd7afce5877a3f524a6fd0dfe324a032f017aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/OrchardCore.Modules/OrchardCore.Taxonomies/Controllers/AdminController.cs:185-202 | src/OrchardCore.Modules/OrchardCore.Taxonomies/Controllers/AdminController.cs:243-260 \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/OrchardCore.Modules/OrchardCore.Taxonomies/Controllers/AdminController.cs:185\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/OrchardCore.Modules/OrchardCore.Taxonomies/Controllers/AdminController.cs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c8bfc3044c67da06047694d8b950b53f479b2db30a4c0b5399c3ff6ec180d7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/OrchardCore.Modules/OrchardCore.RateLimits/Controllers/LimiterController.cs:155-172 | src/OrchardCore.Modules/OrchardCore.RateLimits/Controllers/LimiterController.cs:187-204 \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/OrchardCore.Modules/OrchardCore.RateLimits/Controllers/LimiterController.cs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"650d47618009803a84262cdee561053840e13366a96af0a8e91ef4d05113935e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/OrchardCore.Modules/OrchardCore.Tenants/Workflows/Activities/DisableTenantTask.cs:35-52 | src/OrchardCore.Modules/OrchardCore.Tenants/Workflows/Activities/EnableTenantTask.cs:36-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore.Modules/OrchardCore.Tenants/Workflows/Activities/DisableTenantTask.cs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7cd74d1b43970daf5ea8f643dd30e3b0e4145dc201d9959d20ae2bcbbd04eb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/OrchardCore/OrchardCore.Elasticsearch.Core/Services/ElasticsearchIndexManager.cs:130-147 | src/OrchardCore/OrchardCore.Elasticsearch.Core/Services/ElasticsearchIndexManager.cs:279-297 \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/OrchardCore/OrchardCore.Elasticsearch.Core/Services/ElasticsearchIndexManager.cs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5c132f4bf16abdff14a897ce2a112d8653c551ab43275d956f9b08f22613f52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/OrchardCore/OrchardCore.ResourceManagement/TagHelpers/ScriptTagHelper.cs:111-128 | src/OrchardCore/OrchardCore.ResourceManagement/TagHelpers/StyleTagHelper.cs:112-129 \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/OrchardCore/OrchardCore.ResourceManagement/TagHelpers/ScriptTagHelper.cs:111\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/OrchardCore/OrchardCore.ResourceManagement/TagHelpers/ScriptTagHelper.cs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"75ac501aa6c7540fed1c4a3dc67df1dba13d9bbd0dd63ac2044f732bad289079"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/OrchardCore/OrchardCore.Shells.Azure/Configuration/BlobShellConfigurationSources.cs:67-84 | src/OrchardCore/OrchardCore/Shell/Configuration/ShellConfigurationSources.cs:40-57 \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/OrchardCore/OrchardCore.Shells.Azure/Configuration/BlobShellConfigurationSources.cs:67\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/OrchardCore/OrchardCore.Shells.Azure/Configuration/BlobShellConfigurationSources.cs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"31e9e3fbdee91c1ec24f550e6beab09d4d98d818f786f7ad1fcab631ffdc1ff2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): src/OrchardCore/OrchardCore.OpenId.Core/YesSql/Stores/OpenIdTokenStore.cs:455-471 | src/OrchardCore/OrchardCore.OpenId.Core/YesSql/Stores/OpenIdTokenStore.cs:488-504 | src/OrchardCore/OrchardCore.OpenId.Core/YesSql/Stores/OpenIdTokenStore.cs:520-536 \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/OrchardCore/OrchardCore.OpenId.Core/YesSql/Stores/OpenIdTokenStore.cs:455\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/OrchardCore/OrchardCore.OpenId.Core/YesSql/Stores/OpenIdTokenStore.cs"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"99598bc674342f2cc88bc3a099b9f78210b168fc5057350053d8ba0a18e8598a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/OrchardCore/OrchardCore.Mvc.Core/ModuleProjectRazorFileProvider.cs:135-151 | src/OrchardCore/OrchardCore.Abstractions/Modules/ModuleEmbeddedFileProvider.cs:69-85 \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/OrchardCore/OrchardCore.Mvc.Core/ModuleProjectRazorFileProvider.cs:135\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/OrchardCore/OrchardCore.Mvc.Core/ModuleProjectRazorFileProvider.cs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"549477329f95cd1594aa7ff28da5035774110dbe22037005b48fea9a8ae48a99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/OrchardCore.Modules/OrchardCore.AdminMenu/Controllers/NodeController.cs:257-273 | src/OrchardCore.Modules/OrchardCore.AdminMenu/Controllers/NodeController.cs:292-308 \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/OrchardCore.Modules/OrchardCore.AdminMenu/Controllers/NodeController.cs:257\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/OrchardCore.Modules/OrchardCore.AdminMenu/Controllers/NodeController.cs"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"13040666ba1af6550c2db417910dcb834fc19145880e669f7e658dbf6d8eb6fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/OrchardCore.Modules/OrchardCore.Menu/Controllers/AdminController.cs:80-96 | src/OrchardCore.Modules/OrchardCore.Taxonomies/Controllers/AdminController.cs:102-118 \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/OrchardCore.Modules/OrchardCore.Menu/Controllers/AdminController.cs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7dc6c8399aec240acd27484966502c15893c540a706bbcaa46dfd7127a32739"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/OrchardCore.Modules/OrchardCore.Sitemaps/Controllers/AdminController.cs:308-324 | src/OrchardCore.Modules/OrchardCore.Sitemaps/Controllers/SitemapIndexController.cs:310-326 \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/OrchardCore.Modules/OrchardCore.Sitemaps/Controllers/AdminController.cs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"df7b3f4edb6c8698f45f8fb7170554ca2399a20fdd609110866a7e9d3055d163"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/OrchardCore.Modules/OrchardCore.Taxonomies/Controllers/AdminController.cs:53-69 | src/OrchardCore.Modules/OrchardCore.Taxonomies/Controllers/AdminController.cs:84-100 \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/OrchardCore.Modules/OrchardCore.Taxonomies/Controllers/AdminController.cs:53\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/OrchardCore.Modules/OrchardCore.Taxonomies/Controllers/AdminController.cs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"da0fc260a681843e0c211f2363d7234604a6d3097957512606d8146524d9e3fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/OrchardCore.Modules/OrchardCore.Features/Controllers/AdminController.cs:110-126 | src/OrchardCore.Modules/OrchardCore.Features/Controllers/AdminController.cs:150-166 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/OrchardCore.Modules/OrchardCore.Features/Controllers/AdminController.cs:110\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/OrchardCore.Modules/OrchardCore.Features/Controllers/AdminController.cs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"533ce31ab5fdec273ee6ad85c9c899c468ee192f7e26bef4b4ea7297965b47cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/OrchardCore/OrchardCore.DisplayManagement/Razor/RazorPage.cs:70-87 | src/OrchardCore/OrchardCore.DisplayManagement/RazorPages/Page.cs:67-83 \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/OrchardCore/OrchardCore.DisplayManagement/Razor/RazorPage.cs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"afacd15b7e901d69fa7bdce286541fc9f272e41e3d81ef70c05aa5471ebd9c65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/OrchardCore/OrchardCore.Infrastructure/Shells.Database/Configuration/DatabaseShellsSettingsSources.cs:77-94 | src/OrchardCore/OrchardCore/Shell/Configuration/ShellsSettingsSources.cs:35-51 \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/OrchardCore/OrchardCore.Infrastructure/Shells.Database/Configuration/DatabaseShellsSettingsSources.cs:77\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/OrchardCore/OrchardCore.Infrastructure/Shells.Database/Configuration/DatabaseShellsSettingsSources.cs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"df3a2bb94fe1b883feb37300122eb2670f74dbaa093d0fecb07258c510fd9b2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/OrchardCore/OrchardCore.OpenId.Core/YesSql/Migrations/OpenIdMigrations.cs:27-43 | src/OrchardCore/OrchardCore.OpenId.Core/YesSql/Migrations/OpenIdMigrations.cs:406-422 \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/OrchardCore/OrchardCore.OpenId.Core/YesSql/Migrations/OpenIdMigrations.cs:27\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/OrchardCore/OrchardCore.OpenId.Core/YesSql/Migrations/OpenIdMigrations.cs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"07ebc1d5e0bc52564e24fe02267da7828604ccd3a97e309b6f6c35042cfc0bb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/OrchardCore/OrchardCore.OpenId.Core/YesSql/Migrations/OpenIdMigrations.cs:98-114 | src/OrchardCore/OrchardCore.OpenId.Core/YesSql/Migrations/OpenIdMigrations.cs:449-465 \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/OrchardCore/OrchardCore.OpenId.Core/YesSql/Migrations/OpenIdMigrations.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/OrchardCore/OrchardCore.OpenId.Core/YesSql/Migrations/OpenIdMigrations.cs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"731d4de773d7537f17817a1a55c47177fee771e92382877d70fcb877b8e19dd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/OrchardCore/OrchardCore.OpenId.Core/YesSql/Stores/OpenIdAuthorizationStore.cs:415-431 | src/OrchardCore/OrchardCore.OpenId.Core/YesSql/Stores/OpenIdAuthorizationStore.cs:448-464 \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/OrchardCore/OrchardCore.OpenId.Core/YesSql/Stores/OpenIdAuthorizationStore.cs:415\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/OrchardCore/OrchardCore.OpenId.Core/YesSql/Stores/OpenIdAuthorizationStore.cs"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"65e67d6d1c62e56c0f2664a40b5714864f234749a106ac8cf4465aff104b6a16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/OrchardCore/OrchardCore/Shell/Removing/ShellSiteFolderRemovingHandler.cs:34-50 | src/OrchardCore/OrchardCore/Shell/Removing/ShellWebRootRemovingHandler.cs:38-54 \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/OrchardCore/OrchardCore/Shell/Removing/ShellSiteFolderRemovingHandler.cs:34\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/OrchardCore/OrchardCore/Shell/Removing/ShellSiteFolderRemovingHandler.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"29421321aa8ed1f330ea12e1d789319e022c044a5a92ae2bfdad1859f113631f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/OrchardCore/OrchardCore.Mvc.Core/Utilities/StringExtensions.cs:322-337 | src/OrchardCore/OrchardCore.ContentManagement.Abstractions/Utilities/StringExtensions.cs:251-266 \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/OrchardCore/OrchardCore.Mvc.Core/Utilities/StringExtensions.cs:322\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/OrchardCore/OrchardCore.Mvc.Core/Utilities/StringExtensions.cs"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"39819dac02f5aa1e4da8b77c44b78e2d1814c7a40440216ccc8b052d50e35db4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/OrchardCore/OrchardCore.Mvc.Core/Utilities/StringExtensions.cs:346-361 | src/OrchardCore/OrchardCore.ContentManagement.Abstractions/Utilities/StringExtensions.cs:270-285 \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/OrchardCore/OrchardCore.Mvc.Core/Utilities/StringExtensions.cs:346\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/OrchardCore/OrchardCore.Mvc.Core/Utilities/StringExtensions.cs"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b6bfe4e7cf8f1f71e4a0b06c345e65b7bac0cbb7aab0ff21aa110f431eb8ab3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/OrchardCore.Modules/OrchardCore.AzureAI/Migrations/AzureAISearchIndexSettingsMigrations.cs:267-282 | src/OrchardCore.Modules/OrchardCore.Elasticsearch/Migrations/IndexingMigrations.cs:242-257 \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/OrchardCore.Modules/OrchardCore.AzureAI/Migrations/AzureAISearchIndexSettingsMigrations.cs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"51949c1c113b9143f26c3003fabde7573df212a26c94a7c8ad639c4405cc811d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/OrchardCore.Modules/OrchardCore.Contents/Deployment/Download/DownloadController.cs:30-45 | src/OrchardCore.Modules/OrchardCore.Contents/Deployment/Download/DownloadController.cs:61-76 \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/OrchardCore.Modules/OrchardCore.Contents/Deployment/Download/DownloadController.cs:30\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/OrchardCore.Modules/OrchardCore.Contents/Deployment/Download/DownloadController.cs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"e90ec9d5971704154c6c9c38f7dd51909f2ba627f95b195549ed206637aa4b95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/OrchardCore.Modules/OrchardCore.Contents/Sitemaps/ContentTypesSitemapSourceUpdateHandler.cs:37-54 | src/OrchardCore.Modules/OrchardCore.Sitemaps/Handlers/SitemapIndexTypeUpdateHandler.cs:40-55 \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/OrchardCore.Modules/OrchardCore.Contents/Sitemaps/ContentTypesSitemapSourceUpdateHandler.cs:37\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/OrchardCore.Modules/OrchardCore.Contents/Sitemaps/ContentTypesSitemapSourceUpdateHandler.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"7abbe9dfcdeeba09fdbcff67d74f2daac8e3cb6ab06ba358db00dc7e9a522094"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/OrchardCore.Modules/OrchardCore.Lucene/Recipes/LuceneIndexStep.cs:32-47 | src/OrchardCore/OrchardCore.Elasticsearch.Core/Recipes/ElasticsearchIndexStep.cs:34-49 \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/OrchardCore.Modules/OrchardCore.Lucene/Recipes/LuceneIndexStep.cs:32\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/OrchardCore.Modules/OrchardCore.Lucene/Recipes/LuceneIndexStep.cs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b86006f15723f8291c6c082a91e9149a8876ecaa044145c348f0d1226609cf5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/OrchardCore.Modules/OrchardCore.Sitemaps/Controllers/AdminController.cs:81-96 | src/OrchardCore.Modules/OrchardCore.Sitemaps/Controllers/SitemapIndexController.cs:75-90 \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/OrchardCore.Modules/OrchardCore.Sitemaps/Controllers/AdminController.cs:81\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/OrchardCore.Modules/OrchardCore.Sitemaps/Controllers/AdminController.cs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6c4d9ea4d540b5029f17027fab63ebb21c7701611d8130cb93ee98fadd8f36c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/OrchardCore.Modules/OrchardCore.Sitemaps/Controllers/AdminController.cs:285-300 | src/OrchardCore.Modules/OrchardCore.Sitemaps/Controllers/SitemapIndexController.cs:287-302 \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/OrchardCore.Modules/OrchardCore.Sitemaps/Controllers/AdminController.cs:285\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/OrchardCore.Modules/OrchardCore.Sitemaps/Controllers/AdminController.cs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"a535422b5be1c727e5e9c94a9fd639216679a5772f7d4002436b5388d1a9d686"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/OrchardCore.Modules/OrchardCore.Templates/Services/AdminPreviewTemplatesProvider.cs:22-37 | src/OrchardCore.Modules/OrchardCore.Templates/Services/PreviewTemplatesProvider.cs:22-37 \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/OrchardCore.Modules/OrchardCore.Templates/Services/AdminPreviewTemplatesProvider.cs:22\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/OrchardCore.Modules/OrchardCore.Templates/Services/AdminPreviewTemplatesProvider.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e5ee3542c86dccac541755d6db78bb497eddb5806ca483037f7007ae2d20cff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/OrchardCore.Modules/OrchardCore.Tenants/Controllers/AdminController.cs:598-613 | src/OrchardCore.Modules/OrchardCore.Tenants/Controllers/AdminController.cs:633-648 \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. 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/OrchardCore.Modules/OrchardCore.Tenants/Controllers/AdminController.cs"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"7be80aaa6742c0beb0ce6661119e661d110adaa1d6f9119bd97a5aa4a99e18d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/OrchardCore.Modules/OrchardCore.Tenants/Controllers/TenantApiController.cs:239-254 | src/OrchardCore.Modules/OrchardCore.Tenants/Controllers/TenantApiController.cs:269-284 \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/OrchardCore.Modules/OrchardCore.Tenants/Controllers/TenantApiController.cs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d74292fc792d4d2c1af84ef88543a5997b26e175c32bff662682b64155c13f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/OrchardCore/OrchardCore.AzureAI.Core/Handlers/AzureAISearchIndexProfileHandler.cs:95-110 | src/OrchardCore/OrchardCore.Elasticsearch.Core/Handlers/ElasticsearchIndexProfileHandler.cs:129-144 \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/OrchardCore/OrchardCore.AzureAI.Core/Handlers/AzureAISearchIndexProfileHandler.cs:95\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/OrchardCore/OrchardCore.AzureAI.Core/Handlers/AzureAISearchIndexProfileHandler.cs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"4731fcadbe01fd6d10861c18c972802faefb843738e1d8f447e999406297d902"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/OrchardCore/OrchardCore.UrlRewriting.Core/Services/UrlRedirectRuleSource.cs:34-49 | src/OrchardCore/OrchardCore.UrlRewriting.Core/Services/UrlRewriteRuleSource.cs:34-49 \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/OrchardCore/OrchardCore.UrlRewriting.Core/Services/UrlRedirectRuleSource.cs:34\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/OrchardCore/OrchardCore.UrlRewriting.Core/Services/UrlRedirectRuleSource.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a5d96a460a2271af2b96df91d702a538c5a5a85355178794b5f37bf694d83b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): src/OrchardCore.Modules/OrchardCore.Tenants/Controllers/AdminController.cs:441-455 | src/OrchardCore.Modules/OrchardCore.Tenants/Controllers/AdminController.cs:597-611 | src/OrchardCore.Modules/OrchardCore.Tenants/Controllers/AdminController.cs:632-646 | src/OrchardCore.Modules/OrchardCore.Tenants/Controllers/AdminController.cs:661-675 \u2014 all 4 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/OrchardCore.Modules/OrchardCore.Tenants/Controllers/AdminController.cs:441\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/OrchardCore.Modules/OrchardCore.Tenants/Controllers/AdminController.cs"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"d26ec3c0da81f70f8018414f5771d2c3f02c3d8fdfbb254db585a337fbdb66e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): src/OrchardCore/OrchardCore.AuditTrail.Abstractions/Services/AuditTrailFilterEngineModelBinder.cs:16-30 | src/OrchardCore/OrchardCore.Contents.Core/Services/ContentItemFilterEngineModelBinder.cs:16-30 | src/OrchardCore/OrchardCore.Notifications.Core/Services/NotificationFilterEngineModelBinder.cs:16-30 | src/OrchardCore/OrchardCore.Users.Core/Services/UserFilterEngineModelBinder.cs:16-30 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore/OrchardCore.AuditTrail.Abstractions/Services/AuditTrailFilterEngineModelBinder.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"81d7a0713a800dfb4e38be6c9f4bad49d56ff5d25cd6b2b597b6c3ee5721f1f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): src/OrchardCore/OrchardCore.AzureAI.Core/Services/AzureAISearchIndexManager.cs:133-147 | src/OrchardCore/OrchardCore.Elasticsearch.Core/Services/ElasticsearchIndexManager.cs:244-258 | src/OrchardCore/OrchardCore.Lucene.Core/Services/LuceneIndexManager.cs:97-111 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/OrchardCore/OrchardCore.AzureAI.Core/Services/AzureAISearchIndexManager.cs:133\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/OrchardCore/OrchardCore.AzureAI.Core/Services/AzureAISearchIndexManager.cs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa9654b58a273f5abddc4b66d32bf06df126b24023812090dbe78c01ced33c66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/OrchardCore.Modules/OrchardCore.Html/Migrations.cs:69-83 | src/OrchardCore.Modules/OrchardCore.Title/Migrations.cs:47-61 \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/OrchardCore.Modules/OrchardCore.Html/Migrations.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/OrchardCore.Modules/OrchardCore.Html/Migrations.cs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e54a7c830152b35228a95febb12fcc12700b1882a395ee836f277d477c83d13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/OrchardCore.Modules/OrchardCore.Media/Liquid/MediaAnchorTag.cs:80-94 | src/OrchardCore/OrchardCore.DisplayManagement.Liquid/Tags/AnchorTag.cs:184-198 \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/OrchardCore.Modules/OrchardCore.Media/Liquid/MediaAnchorTag.cs:80\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/OrchardCore.Modules/OrchardCore.Media/Liquid/MediaAnchorTag.cs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"90d50f1783c495658c20119d028f61b862fd8b736cf0f190cb3631fa104d9fe5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/OrchardCore.Modules/OrchardCore.Taxonomies/Drivers/TaxonomyFieldDisplayDriver.cs:48-62 | src/OrchardCore.Modules/OrchardCore.Taxonomies/Drivers/TaxonomyFieldTagsDisplayDriver.cs:50-64 \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/OrchardCore.Modules/OrchardCore.Taxonomies/Drivers/TaxonomyFieldDisplayDriver.cs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f842e7be59222ece77cc59705300b13d558b6b990699b290fb1197f16db1595"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/OrchardCore.Modules/OrchardCore.BackgroundTasks/Controllers/BackgroundTaskController.cs:229-243 | src/OrchardCore.Modules/OrchardCore.BackgroundTasks/Controllers/BackgroundTaskController.cs:258-272 \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/OrchardCore.Modules/OrchardCore.BackgroundTasks/Controllers/BackgroundTaskController.cs:229\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/OrchardCore.Modules/OrchardCore.BackgroundTasks/Controllers/BackgroundTaskController.cs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bc8f14e5bb27519a5f7ce75362bb0e08fe381a1979f2c47d02d27f818b9fa3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/OrchardCore.Modules/OrchardCore.Email.Azure/Services/AzureEmailProviderBase.cs:113-127 | src/OrchardCore.Modules/OrchardCore.Email.Smtp/Services/SmtpEmailProviderBase.cs:49-64 \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/OrchardCore.Modules/OrchardCore.Email.Azure/Services/AzureEmailProviderBase.cs:113\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/OrchardCore.Modules/OrchardCore.Email.Azure/Services/AzureEmailProviderBase.cs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"36e4ce0d0b10636b6c5254df691bf71b63a43bdd144a2efe4e1703ad559ac410"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/OrchardCore.Modules/OrchardCore.OpenId/Controllers/ServerConfigurationController.cs:80-94 | src/OrchardCore.Modules/OrchardCore.OpenId/Controllers/ValidationConfigurationController.cs:80-94 \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/OrchardCore.Modules/OrchardCore.OpenId/Controllers/ServerConfigurationController.cs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"e477106bef6e65215de45fb3efd95ec770c5f0920e678a368a5798fa16ebf971"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/OrchardCore.Modules/OrchardCore.Resources/Liquid/ScriptBlock.cs:22-36 | src/OrchardCore.Modules/OrchardCore.Resources/Liquid/StyleBlock.cs:22-36 \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/OrchardCore.Modules/OrchardCore.Resources/Liquid/ScriptBlock.cs:22\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. 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/OrchardCore.Modules/OrchardCore.Resources/Liquid/ScriptBlock.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ff91be4ea1e9b9510094af266af0f8d044ce11f29e22e6ae1171d80aa65bad7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/OrchardCore.Modules/OrchardCore.Resources/Liquid/ScriptTag.cs:25-39 | src/OrchardCore.Modules/OrchardCore.Resources/Liquid/StyleTag.cs:25-39 \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/OrchardCore.Modules/OrchardCore.Resources/Liquid/ScriptTag.cs:25\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/OrchardCore.Modules/OrchardCore.Resources/Liquid/ScriptTag.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a010aeb36dd5a9176dbf6ee9f85329a2c7fce11d732e1adfe7da61e89e1e2a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/OrchardCore/OrchardCore.AzureAI.Core/Recipes/AzureAISearchIndexRebuildStep.cs:20-34 | src/OrchardCore/OrchardCore.AzureAI.Core/Recipes/AzureAISearchIndexResetStep.cs:20-34 \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/OrchardCore/OrchardCore.AzureAI.Core/Recipes/AzureAISearchIndexRebuildStep.cs:20\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/OrchardCore/OrchardCore.AzureAI.Core/Recipes/AzureAISearchIndexRebuildStep.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"3142b2ea9de831520ec9070aa67abe663243d55ae578a3107dac06b15522aeee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/OrchardCore/OrchardCore.DisplayManagement.Liquid/Cache/CacheExpiresAfterTag.cs:15-29 | src/OrchardCore/OrchardCore.DisplayManagement.Liquid/Cache/CacheExpiresSlidingTag.cs:15-29 \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/OrchardCore/OrchardCore.DisplayManagement.Liquid/Cache/CacheExpiresAfterTag.cs:15\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/OrchardCore/OrchardCore.DisplayManagement.Liquid/Cache/CacheExpiresAfterTag.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"459d419e98240522e630ef919bad013278c14fc6595bff245328a76ed47a35cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/OrchardCore/OrchardCore.Lucene.Core/QueryProviders/BooleanQueryProvider.cs:88-102 | src/OrchardCore/OrchardCore.Lucene.Core/QueryProviders/BooleanQueryProvider.cs:107-121 \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/OrchardCore/OrchardCore.Lucene.Core/QueryProviders/BooleanQueryProvider.cs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"68da6c466e67e083039028e853d4aea2e4f79a0034e8e27c59ef143be5635cf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/OrchardCore/OrchardCore.ResourceManagement/TagHelpers/ScriptTagHelper.cs:239-253 | src/OrchardCore/OrchardCore.ResourceManagement/TagHelpers/StyleTagHelper.cs:238-252 \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/OrchardCore/OrchardCore.ResourceManagement/TagHelpers/ScriptTagHelper.cs:239\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/OrchardCore/OrchardCore.ResourceManagement/TagHelpers/ScriptTagHelper.cs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f2f3465615b0787c879523c1295e4d88fa57dd6b2e20d9883d9bbea3b442cdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): src/OrchardCore.Modules/OrchardCore.Workflows/Controllers/WorkflowController.cs:167-180 | src/OrchardCore.Modules/OrchardCore.Workflows/Controllers/WorkflowController.cs:232-245 | src/OrchardCore.Modules/OrchardCore.Workflows/Controllers/WorkflowController.cs:253-266 \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/OrchardCore.Modules/OrchardCore.Workflows/Controllers/WorkflowController.cs:167\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/OrchardCore.Modules/OrchardCore.Workflows/Controllers/WorkflowController.cs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"10659b03fe577f8ed6272366e35a978edf7ed12bb56a708c3d687679d67b2234"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/OrchardCore.Modules/OrchardCore.AdminMenu/Controllers/NodeController.cs:83-96 | src/OrchardCore.Modules/OrchardCore.AdminMenu/Controllers/NodeController.cs:160-174 \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/OrchardCore.Modules/OrchardCore.AdminMenu/Controllers/NodeController.cs:83\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/OrchardCore.Modules/OrchardCore.AdminMenu/Controllers/NodeController.cs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"41bfec4d6242ece80e03f2be2af686aa154e27de83afbb5cebb8fb24798ac135"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/OrchardCore.Modules/OrchardCore.Contents/Endpoints/Api/DeleteEndpoint.cs:31-44 | src/OrchardCore.Modules/OrchardCore.Contents/Endpoints/Api/GetEndpoint.cs:31-44 \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/OrchardCore.Modules/OrchardCore.Contents/Endpoints/Api/DeleteEndpoint.cs:31\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore.Modules/OrchardCore.Contents/Endpoints/Api/DeleteEndpoint.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"471a70fa9ad2dd5925a0aad3c1ead389a2dd65813d58b1f16d9a3ba9b8af39fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/OrchardCore.Modules/OrchardCore.Contents/Liquid/ContentAnchorTag.cs:200-213 | src/OrchardCore.Modules/OrchardCore.Media/Liquid/MediaAnchorTag.cs:79-92 \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/OrchardCore.Modules/OrchardCore.Contents/Liquid/ContentAnchorTag.cs:200\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/OrchardCore.Modules/OrchardCore.Contents/Liquid/ContentAnchorTag.cs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"88525c80f55979b7c417f01c7ddcb082aa1b4cb5cf7638ae3d3c94f991aa9797"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/OrchardCore.Modules/OrchardCore.Media/Endpoints/Api/GetDirectoryContentEndpoint.cs:41-54 | src/OrchardCore.Modules/OrchardCore.Media/Endpoints/Api/GetMediaItemsEndpoint.cs:43-56 \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/OrchardCore.Modules/OrchardCore.Media/Endpoints/Api/GetDirectoryContentEndpoint.cs:41\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/OrchardCore.Modules/OrchardCore.Media/Endpoints/Api/GetDirectoryContentEndpoint.cs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"96b521ba1eeafad680c446fb406b56b0c402fa7c8392275c69c77136339c06ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/OrchardCore.Modules/OrchardCore.Deployment/Controllers/StepController.cs:124-137 | src/OrchardCore.Modules/OrchardCore.Deployment/Controllers/StepController.cs:202-215 \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/OrchardCore.Modules/OrchardCore.Deployment/Controllers/StepController.cs:124\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore.Modules/OrchardCore.Deployment/Controllers/StepController.cs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f68686aa3ca85da5686387b32b0cd2598062e6a5ab9066a44110ab1e9cdcf0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/OrchardCore.Modules/OrchardCore.OpenId/Services/OpenIdServerService.cs:313-326 | src/OrchardCore.Modules/OrchardCore.OpenId/Services/OpenIdServerService.cs:385-398 \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/OrchardCore.Modules/OrchardCore.OpenId/Services/OpenIdServerService.cs:313\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore.Modules/OrchardCore.OpenId/Services/OpenIdServerService.cs"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"25aae56a8c61c477d73d6650c9024e4e712e5a0b394ea0c311ec376fadf805fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/OrchardCore/OrchardCore.DisplayManagement/Descriptors/PlacementInfo.cs:412-425 | src/OrchardCore/OrchardCore.DisplayManagement/Descriptors/PlacementInfo.cs:442-455 \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/OrchardCore/OrchardCore.DisplayManagement/Descriptors/PlacementInfo.cs"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"acba124939962821c64a847d48322e7c88bec22f7059164cefad42301174b079"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): src/OrchardCore.Modules/OrchardCore.Tenants/Workflows/Activities/CreateTenantTask.cs:90-102 | src/OrchardCore.Modules/OrchardCore.Tenants/Workflows/Activities/DisableTenantTask.cs:30-42 | src/OrchardCore.Modules/OrchardCore.Tenants/Workflows/Activities/EnableTenantTask.cs:31-43 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore.Modules/OrchardCore.Tenants/Workflows/Activities/CreateTenantTask.cs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca3aaa902872732c26c6922dd24fde0045da09f36e1d2973351698135590440"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): src/OrchardCore/OrchardCore.ResourceManagement/ResourceManager.cs:558-570 | src/OrchardCore/OrchardCore.ResourceManagement/ResourceManager.cs:596-608 | src/OrchardCore/OrchardCore.ResourceManagement/ResourceManager.cs:633-645 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore/OrchardCore.ResourceManagement/ResourceManager.cs"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a00ff937f1c58daae9c1c68a2b5df5bc9cb6d01600d015f3b0542d7585828b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/OrchardCore/OrchardCore.Mvc.Core/Utilities/StringExtensions.cs:288-300 | src/OrchardCore/OrchardCore.ContentManagement.Abstractions/Utilities/StringExtensions.cs:217-229 \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/OrchardCore/OrchardCore.Mvc.Core/Utilities/StringExtensions.cs"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"2654a2eda8270146eac79a8d77b3eb0191492cfaaa6e581d2602f29795ca3550"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/OrchardCore/OrchardCore.Mvc.Core/Utilities/StringExtensions.cs:305-317 | src/OrchardCore/OrchardCore.ContentManagement.Abstractions/Utilities/StringExtensions.cs:234-246 \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/OrchardCore/OrchardCore.Mvc.Core/Utilities/StringExtensions.cs"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"c901500a03fd8ef5f0e24b460005b95389b41deb421559996a6eb5cd9162aac6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/OrchardCore.Modules/OrchardCore.Contents/AuditTrail/Drivers/AuditTrailContentEventDisplayDriver.cs:64-76 | src/OrchardCore.Modules/OrchardCore.Contents/AuditTrail/Drivers/AuditTrailContentEventDisplayDriver.cs:91-103 \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/OrchardCore.Modules/OrchardCore.Contents/AuditTrail/Drivers/AuditTrailContentEventDisplayDriver.cs:64\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/OrchardCore.Modules/OrchardCore.Contents/AuditTrail/Drivers/AuditTrailContentEventDisplayDriver.cs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0887c8fa5ec313fc1762680af98500506f23b275bd636cdfb601e65d4fa4ecb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/OrchardCore.Modules/OrchardCore.Contents/Controllers/AdminController.cs:405-417 | src/OrchardCore.Modules/OrchardCore.Contents/Controllers/AdminController.cs:505-517 \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/OrchardCore.Modules/OrchardCore.Contents/Controllers/AdminController.cs:405\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/OrchardCore.Modules/OrchardCore.Contents/Controllers/AdminController.cs"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fc91c0663141d86a27492d897955cf8bb15a5cc4f4e5bdb0d369630416a6eca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/OrchardCore.Modules/OrchardCore.Contents/Endpoints/Api/CreateEndpoint.cs:81-93 | src/OrchardCore.Modules/OrchardCore.Contents/Endpoints/Api/CreateEndpoint.cs:109-121 \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/OrchardCore.Modules/OrchardCore.Contents/Endpoints/Api/CreateEndpoint.cs:81\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/OrchardCore.Modules/OrchardCore.Contents/Endpoints/Api/CreateEndpoint.cs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"37e1fa71a6a8382233c612da0c89dfbadbc39482281da56b7beedbfd74910b89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/OrchardCore.Modules/OrchardCore.Notifications/Controllers/AdminController.cs:189-201 | src/OrchardCore.Modules/OrchardCore.Notifications/Controllers/AdminController.cs:211-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/OrchardCore.Modules/OrchardCore.Notifications/Controllers/AdminController.cs:189\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/OrchardCore.Modules/OrchardCore.Notifications/Controllers/AdminController.cs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"2022661e8d25665f0725b041f6d815c8aa07da5762890c9d57d3000f91828072"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/OrchardCore.Modules/OrchardCore.Themes/Controllers/AdminController.cs:189-201 | src/OrchardCore.Modules/OrchardCore.Themes/Controllers/AdminController.cs:212-224 \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/OrchardCore.Modules/OrchardCore.Themes/Controllers/AdminController.cs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"380dae4fe85462c884a30ee3429bd2dccd8f7c08d042a11513c58b7b9af108e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/OrchardCore/OrchardCore.ContentManagement.GraphQL/Extensions/DataLoaderExtensions.cs:40-52 | src/OrchardCore/OrchardCore.ContentManagement.GraphQL/Queries/ContentItemsFieldType.cs:236-248 \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/OrchardCore/OrchardCore.ContentManagement.GraphQL/Extensions/DataLoaderExtensions.cs:40\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/OrchardCore/OrchardCore.ContentManagement.GraphQL/Extensions/DataLoaderExtensions.cs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"58906a2a515acea1dbb9737c369b6b48ee9f380c056e802b87edd6b96b8242fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/OrchardCore/OrchardCore.Elasticsearch.Core/Handlers/ElasticsearchIndexProfileHandler.cs:95-107 | src/OrchardCore/OrchardCore.Lucene.Core/Handlers/LuceneContentIndexProfileHandler.cs:86-98 \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/OrchardCore/OrchardCore.Elasticsearch.Core/Handlers/ElasticsearchIndexProfileHandler.cs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"61810d74c3967dad5dbbaaaece89db2dbbcfa541aae03ca5426ad6f45d20ab6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/OrchardCore/OrchardCore.ResourceManagement/TagHelpers/ScriptTagHelper.cs:175-187 | src/OrchardCore/OrchardCore.ResourceManagement/TagHelpers/StyleTagHelper.cs:172-184 \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/OrchardCore/OrchardCore.ResourceManagement/TagHelpers/ScriptTagHelper.cs:175\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/OrchardCore/OrchardCore.ResourceManagement/TagHelpers/ScriptTagHelper.cs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"70202c7205557a85eeca351bb9640ec0fbbd85ded29368a7c54bc643fcd91a14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 6): src/OrchardCore.Modules/OrchardCore.Elasticsearch/GraphQL/ElasticsearchQueryFieldTypeProvider.cs:165-176 | src/OrchardCore.Modules/OrchardCore.Elasticsearch/GraphQL/ElasticsearchQueryFieldTypeProvider.cs:206-217 | src/OrchardCore.Modules/OrchardCore.Lucene/GraphQL/LuceneQueryFieldTypeProvider.cs:166-177 | src/OrchardCore.Modules/OrchardCore.Lucene/GraphQL/LuceneQueryFieldTypeProvider.cs:207-218 | src/OrchardCore.Modules/OrchardCore.Queries/Sql/GraphQL/SqlQueryFieldTypeProvider.cs:168-179 | src/OrchardCore.Modules/OrchardCore.Queries/Sql/GraphQL/SqlQueryFieldTypeProvider.cs:208-219 \u2014 there are 6 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 6 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/OrchardCore.Modules/OrchardCore.Elasticsearch/GraphQL/ElasticsearchQueryFieldTypeProvider.cs:165\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/OrchardCore.Modules/OrchardCore.Elasticsearch/GraphQL/ElasticsearchQueryFieldTypeProvider.cs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf634bbc3d485208cd6de0adf492dfa0b14dc552f3ea74fcc18c820ad0bb8bed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): src/OrchardCore/OrchardCore.SourceGenerators/ShapeFactoryGenerator.cs:741-752 | src/OrchardCore/OrchardCore.SourceGenerators/ShapeFactoryGenerator.cs:762-773 | src/OrchardCore/OrchardCore.SourceGenerators/ShapeFactoryGenerator.cs:784-795 \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. 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/OrchardCore/OrchardCore.SourceGenerators/ShapeFactoryGenerator.cs"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"16e9b8d372a8da111b92589ef9b3e79984975701079058d620fab2b1e35347ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/OrchardCore/OrchardCore.Mvc.Core/Utilities/StringExtensions.cs:16-27 | src/OrchardCore/OrchardCore.ContentManagement.Abstractions/Utilities/StringExtensions.cs:31-42 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/OrchardCore/OrchardCore.Mvc.Core/Utilities/StringExtensions.cs:16\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore/OrchardCore.Mvc.Core/Utilities/StringExtensions.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a197be524ff833a9ceb9825ca3bb1351c073293696cd2818a69e454b4088db7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/OrchardCore.Modules/OrchardCore.Autoroute/Services/ContentAutorouteShapeTableProvider.cs:12-23 | src/OrchardCore.Modules/OrchardCore.Autoroute/Services/WidgetAutorouteShapeTableProvider.cs:12-23 \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/OrchardCore.Modules/OrchardCore.Autoroute/Services/ContentAutorouteShapeTableProvider.cs:12\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/OrchardCore.Modules/OrchardCore.Autoroute/Services/ContentAutorouteShapeTableProvider.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"404776472bf760763c64751ef201540006cc997a60705f6f3d0a441b748ba10f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/OrchardCore.Modules/OrchardCore.ContentLocalization/Handlers/ContentLocalizationPartHandlerCoordinator.cs:30-41 | src/OrchardCore.Modules/OrchardCore.ContentLocalization/Handlers/ContentLocalizationPartHandlerCoordinator.cs:51-62 \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/OrchardCore.Modules/OrchardCore.ContentLocalization/Handlers/ContentLocalizationPartHandlerCoordinator.cs:30\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/OrchardCore.Modules/OrchardCore.ContentLocalization/Handlers/ContentLocalizationPartHandlerCoordinator.cs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc8f016b25dc7fd35b3ac61c0001c74daf24d08da7877fa9e7be25d7c779ed0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/OrchardCore.Modules/OrchardCore.Sitemaps/Controllers/AdminController.cs:333-344 | src/OrchardCore.Modules/OrchardCore.Sitemaps/Controllers/SitemapIndexController.cs:335-346 \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/OrchardCore.Modules/OrchardCore.Sitemaps/Controllers/AdminController.cs:333\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/OrchardCore.Modules/OrchardCore.Sitemaps/Controllers/AdminController.cs"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6480bd12997922bc6aa9603838290544453a4c2684004de984c1d668b0134c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/OrchardCore.Modules/OrchardCore.Deployment.Remote/Controllers/RemoteClientController.cs:74-85 | src/OrchardCore.Modules/OrchardCore.Deployment.Remote/Controllers/RemoteInstanceController.cs:67-78 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore.Modules/OrchardCore.Deployment.Remote/Controllers/RemoteClientController.cs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ed8276dd2c12147675d76d5b715ca574dfbe5aab43f787b0fbd8c46b25d45d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/OrchardCore.Modules/OrchardCore.RateLimits/Drivers/FixedWindowRateLimiterDisplayDriver.cs:50-61 | src/OrchardCore.Modules/OrchardCore.RateLimits/Drivers/SlidingWindowRateLimiterDisplayDriver.cs:51-62 \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/OrchardCore.Modules/OrchardCore.RateLimits/Drivers/FixedWindowRateLimiterDisplayDriver.cs:50\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/OrchardCore.Modules/OrchardCore.RateLimits/Drivers/FixedWindowRateLimiterDisplayDriver.cs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ffb746dc77fd63c98197bb2810229a143d5105326f55f2c90b46a6cabc07038"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/OrchardCore.Modules/OrchardCore.Contents/AuditTrail/Extensions/ContentOrchardHelperExtensions.cs:30-40 | src/OrchardCore/OrchardCore.DisplayManagement/Descriptors/ShapeAttributeStrategy/ShapeAttributeBindingStrategy.cs:271-281 \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/OrchardCore.Modules/OrchardCore.Contents/AuditTrail/Extensions/ContentOrchardHelperExtensions.cs:30\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/OrchardCore.Modules/OrchardCore.Contents/AuditTrail/Extensions/ContentOrchardHelperExtensions.cs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"57ffd528d839c554148a0ae75ad2fc52319081c0ca1ed93eb51083ba3b056bd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/OrchardCore.Modules/OrchardCore.Elasticsearch/Drivers/ElasticsearchQueryDisplayDriver.cs:80-90 | src/OrchardCore.Modules/OrchardCore.Lucene/Drivers/LuceneQueryDisplayDriver.cs:81-91 \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/OrchardCore.Modules/OrchardCore.Elasticsearch/Drivers/ElasticsearchQueryDisplayDriver.cs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"95a5c5da6930d71e55f9922326db2369ea1dfaadb991dcb38aa5da604cbfa952"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/OrchardCore.Modules/OrchardCore.Lucene/Migrations.cs:105-115 | src/OrchardCore.Modules/OrchardCore.Lucene/Migrations.cs:150-160 \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/OrchardCore.Modules/OrchardCore.Lucene/Migrations.cs:105\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/OrchardCore.Modules/OrchardCore.Lucene/Migrations.cs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"0971d9a586a9f43339b6a323843cd17a530f8b7b5bf3a32efd54e3617ca00172"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/OrchardCore.Modules/OrchardCore.Navigation/PagerShapesTableProvider.cs:23-33 | src/OrchardCore.Modules/OrchardCore.Navigation/PagerShapesTableProvider.cs:39-49 \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/OrchardCore.Modules/OrchardCore.Navigation/PagerShapesTableProvider.cs:23\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/OrchardCore.Modules/OrchardCore.Navigation/PagerShapesTableProvider.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"1775330ab4afdba46e8bf5792dfb1dcdd524e907cb2c8dc92043a0d7c2dc3875"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/OrchardCore.Modules/OrchardCore.Roles/Services/RoleUpdater.cs:59-69 | src/OrchardCore.Modules/OrchardCore.Roles/Services/RoleUpdater.cs:103-113 \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. 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/OrchardCore.Modules/OrchardCore.Roles/Services/RoleUpdater.cs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"1543ff489329a3f5c8e813eef2887ac3071b0cdfe8aead85d251c98854742ef5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/OrchardCore/OrchardCore.UrlRewriting.Core/Handlers/UrlRedirectRuleHandler.cs:43-53 | src/OrchardCore/OrchardCore.UrlRewriting.Core/Handlers/UrlRewriteRuleHandler.cs:43-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/OrchardCore/OrchardCore.UrlRewriting.Core/Handlers/UrlRedirectRuleHandler.cs:43\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/OrchardCore/OrchardCore.UrlRewriting.Core/Handlers/UrlRedirectRuleHandler.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"86f87d97cd2971dad3b57ca5e7f0da393e2711f84f345a760c65baaf083deb03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): src/OrchardCore/OrchardCore.DisplayManagement/Descriptors/ShapeAttributeStrategy/ShapeAttributeBindingStrategy.cs:78-87 | src/OrchardCore/OrchardCore.DisplayManagement/Descriptors/ShapeAttributeStrategy/ShapeAttributeBindingStrategy.cs:91-100 | src/OrchardCore/OrchardCore.DisplayManagement/Descriptors/ShapeAttributeStrategy/ShapeAttributeBindingStrategy.cs:104-113 \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/OrchardCore/OrchardCore.DisplayManagement/Descriptors/ShapeAttributeStrategy/ShapeAttributeBindingStrategy.cs:78\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/OrchardCore/OrchardCore.DisplayManagement/Descriptors/ShapeAttributeStrategy/ShapeAttributeBindingStrategy.cs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2df9deb8220f7cb6f0405c36b6162c3c6b910d8ecd26870f6497f30589d0408"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/OrchardCore.Modules/OrchardCore.Contents/AdminNodes/ContentTypesAdminNodeNavigationBuilder.cs:72-81 | src/OrchardCore.Modules/OrchardCore.Lists/AdminNodes/ListsAdminNodeNavigationBuilder.cs:73-82 \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/OrchardCore.Modules/OrchardCore.Contents/AdminNodes/ContentTypesAdminNodeNavigationBuilder.cs:72\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/OrchardCore.Modules/OrchardCore.Contents/AdminNodes/ContentTypesAdminNodeNavigationBuilder.cs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"53e59580d609cbf32b3fb3d460e39f81f28bf6a4188ad19483458076f3806332"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/OrchardCore/OrchardCore.AzureAI.Core/Recipes/AzureAISearchIndexRebuildStep.cs:35-44 | src/OrchardCore/OrchardCore.AzureAI.Core/Recipes/AzureAISearchIndexResetStep.cs:34-43 \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/OrchardCore/OrchardCore.AzureAI.Core/Recipes/AzureAISearchIndexRebuildStep.cs:35\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/OrchardCore/OrchardCore.AzureAI.Core/Recipes/AzureAISearchIndexRebuildStep.cs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bcedf001bf40618db44f1e5046390a5833cf951052abf637c636a2a01d5c5d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/OrchardCore/OrchardCore.SourceGenerators/ShapeFactoryGenerator.cs:799-808 | src/OrchardCore/OrchardCore.SourceGenerators/ShapeFactoryGenerator.cs:812-821 \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/OrchardCore/OrchardCore.SourceGenerators/ShapeFactoryGenerator.cs"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1edbd4709a0ed475b265b59d5c97b3101dfc02308e8dba4d1293f6dde0992bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/OrchardCore.Modules/OrchardCore.Features/Services/ModuleService.cs:60-68 | src/OrchardCore.Modules/OrchardCore.Themes/Services/ThemeService.cs:111-119 \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/OrchardCore.Modules/OrchardCore.Features/Services/ModuleService.cs:60\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/OrchardCore.Modules/OrchardCore.Features/Services/ModuleService.cs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"cccaf0a437f0020e2bdd93ef3bb81b57f0247a76a28c770436bf650be3f003c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/OrchardCore.Modules/OrchardCore.Features/Services/ModuleService.cs:87-95 | src/OrchardCore.Modules/OrchardCore.Themes/Services/ThemeService.cs:138-146 \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/OrchardCore.Modules/OrchardCore.Features/Services/ModuleService.cs:87\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/OrchardCore.Modules/OrchardCore.Features/Services/ModuleService.cs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ef646b9b91d33ad3fb404eae79b399ed7e22a4c9982e60f2fd91bd16a5645e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/OrchardCore/OrchardCore.Lucene.Core/QueryProviders/Filters/GeoBoundingBoxFilterProvider.cs:54-62 | src/OrchardCore/OrchardCore.Lucene.Core/QueryProviders/Filters/GeoDistanceFilterProvider.cs:77-85 \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/OrchardCore/OrchardCore.Lucene.Core/QueryProviders/Filters/GeoBoundingBoxFilterProvider.cs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"376f57439e3c6a539576264d7ee6e92fdf120564102c09902edefe31c2afb7f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/OrchardCore/OrchardCore.OpenId.Core/YesSql/Stores/OpenIdAuthorizationStore.cs:72-80 | src/OrchardCore/OrchardCore.OpenId.Core/YesSql/Stores/OpenIdAuthorizationStore.cs:88-96 \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/OrchardCore/OrchardCore.OpenId.Core/YesSql/Stores/OpenIdAuthorizationStore.cs:72\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/OrchardCore/OrchardCore.OpenId.Core/YesSql/Stores/OpenIdAuthorizationStore.cs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"31b1526839a7f5f84553f9fbd5f1ca2e27a9bf9410948a868a4d1db1bb744a1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/OrchardCore/OrchardCore.OpenId.Core/YesSql/Stores/OpenIdAuthorizationStore.cs:345-353 | src/OrchardCore/OrchardCore.OpenId.Core/YesSql/Stores/OpenIdAuthorizationStore.cs:361-369 \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/OrchardCore/OrchardCore.OpenId.Core/YesSql/Stores/OpenIdAuthorizationStore.cs:345\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/OrchardCore/OrchardCore.OpenId.Core/YesSql/Stores/OpenIdAuthorizationStore.cs"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5ed7e1bdeb7c4e666db94b627572c41936c9c4ee5d9e0acbb45fb6beb7d091d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/OrchardCore/OrchardCore.OpenId.Core/YesSql/Stores/OpenIdTokenStore.cs:70-78 | src/OrchardCore/OrchardCore.OpenId.Core/YesSql/Stores/OpenIdTokenStore.cs:86-94 \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/OrchardCore/OrchardCore.OpenId.Core/YesSql/Stores/OpenIdTokenStore.cs:70\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/OrchardCore/OrchardCore.OpenId.Core/YesSql/Stores/OpenIdTokenStore.cs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6387c20c50b722b8d35b3bb0fe666d38631f21718af08d6720aa11aa84d9068"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/OrchardCore/OrchardCore.OpenId.Core/YesSql/Stores/OpenIdTokenStore.cs:387-395 | src/OrchardCore/OrchardCore.OpenId.Core/YesSql/Stores/OpenIdTokenStore.cs:403-411 \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/OrchardCore/OrchardCore.OpenId.Core/YesSql/Stores/OpenIdTokenStore.cs:387\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/OrchardCore/OrchardCore.OpenId.Core/YesSql/Stores/OpenIdTokenStore.cs"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"fae62a0679d0d66dff3b71c7f56b401152a3b8a02eed24ede8d479e6aa892048"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/OrchardCore/OrchardCore.SourceGenerators/ShapeFactoryGenerator.cs:692-700 | src/OrchardCore/OrchardCore.SourceGenerators/ShapeFactoryGenerator.cs:707-715 \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/OrchardCore/OrchardCore.SourceGenerators/ShapeFactoryGenerator.cs"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"055dbeba4d667934a8646ca2036e4d086d03a8efb4a6a21a47628bccffe9718e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): src/OrchardCore.Modules/OrchardCore.AzureAI/Migrations/PermissionMigrations.cs:41-48 | src/OrchardCore.Modules/OrchardCore.Elasticsearch/Migrations/PermissionMigrations.cs:38-45 | src/OrchardCore.Modules/OrchardCore.Lucene/DataMigrations/PermissionMigrations.cs:38-45 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore.Modules/OrchardCore.AzureAI/Migrations/PermissionMigrations.cs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"47ac0afb57e88a8b2f033288add5ab11760b073cc0e55b194e01ab3252bd42b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/OrchardCore.Modules/OrchardCore.ContentLocalization/Drivers/ContentCulturePickerNavbarDisplayDriver.cs:30-37 | src/OrchardCore.Modules/OrchardCore.Localization/Drivers/AdminCulturePickerNavbarDisplayDriver.cs:29-37 \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/OrchardCore.Modules/OrchardCore.ContentLocalization/Drivers/ContentCulturePickerNavbarDisplayDriver.cs:30\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/OrchardCore.Modules/OrchardCore.ContentLocalization/Drivers/ContentCulturePickerNavbarDisplayDriver.cs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"c25ebfad6ab5641f4ac446c4c62da213dc3e76c951739ed4706413826c009831"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/OrchardCore.Modules/OrchardCore.Lists/RemotePublishing/MetaWeblogHandler.cs:99-107 | src/OrchardCore.Modules/OrchardCore.Lists/RemotePublishing/MetaWeblogHandler.cs:123-130 \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/OrchardCore.Modules/OrchardCore.Lists/RemotePublishing/MetaWeblogHandler.cs:99\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/OrchardCore.Modules/OrchardCore.Lists/RemotePublishing/MetaWeblogHandler.cs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"f12cdc816ade24d2cceda572292a2a65dab9a29af15eb721eb3e203522428a4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/OrchardCore.Modules/OrchardCore.Lists/RemotePublishing/MetaWeblogHandler.cs:111-118 | src/OrchardCore.Modules/OrchardCore.Lists/RemotePublishing/MetaWeblogHandler.cs:133-140 \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/OrchardCore.Modules/OrchardCore.Lists/RemotePublishing/MetaWeblogHandler.cs:111\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore.Modules/OrchardCore.Lists/RemotePublishing/MetaWeblogHandler.cs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bab7c04cba1d044f07d60165fd361e2f7fa5ef413702c035eec2de0a8fa212a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/OrchardCore/OrchardCore.Elasticsearch.Core/Recipes/ElasticsearchIndexRebuildStep.cs:34-41 | src/OrchardCore/OrchardCore.Elasticsearch.Core/Recipes/ElasticsearchIndexResetStep.cs:34-41 \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/OrchardCore/OrchardCore.Elasticsearch.Core/Recipes/ElasticsearchIndexRebuildStep.cs:34\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/OrchardCore/OrchardCore.Elasticsearch.Core/Recipes/ElasticsearchIndexRebuildStep.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4fde657e5cdd64209e4916b174c2874be6a2b1335b0f62824875e9291b5a0cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/OrchardCore/OrchardCore.Infrastructure/Shell/ShellOrchardCoreBuilderExtensions.cs:30-37 | src/OrchardCore/OrchardCore/Modules/Extensions/OrchardCoreBuilderExtensions.cs:62-69 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/OrchardCore/OrchardCore.Infrastructure/Shell/ShellOrchardCoreBuilderExtensions.cs:30\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/OrchardCore/OrchardCore.Infrastructure/Shell/ShellOrchardCoreBuilderExtensions.cs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f30e38f9668ff60a509de7a18c6b8caaa8d17a1935eb64cf318146c525284a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/OrchardCore/OrchardCore.Shells.Azure/Extensions/BlobShellsOrchardCoreBuilderExtensions.cs:42-49 | src/OrchardCore/OrchardCore.Shells.Azure/Extensions/BlobShellsOrchardCoreBuilderExtensions.cs:52-59 \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/OrchardCore/OrchardCore.Shells.Azure/Extensions/BlobShellsOrchardCoreBuilderExtensions.cs:42\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/OrchardCore/OrchardCore.Shells.Azure/Extensions/BlobShellsOrchardCoreBuilderExtensions.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"79a6369417c6ce3bc994674efd88914549fd6b8ae2effc22d886a7d44ee148a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/OrchardCore.Modules/OrchardCore.Lucene/Migrations.cs:43-49 | src/OrchardCore.Modules/OrchardCore.Users/Migrations.cs:241-247 \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/OrchardCore.Modules/OrchardCore.Lucene/Migrations.cs:43\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/OrchardCore.Modules/OrchardCore.Lucene/Migrations.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"227211e7ab7466f5cd1d31344d61e51388d3998922592d22275afdea303df165"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/OrchardCore.Modules/OrchardCore.Widgets/ContentCardShapes.cs:27-33 | src/OrchardCore.Modules/OrchardCore.Widgets/ContentCardShapes.cs:64-70 \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/OrchardCore.Modules/OrchardCore.Widgets/ContentCardShapes.cs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"eec05b2df2bcb636e998954f7c2e37c893d136dcc569961a263b65081fc41cd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/OrchardCore.Modules/OrchardCore.Navigation/NavigationShapes.cs:72-78 | src/OrchardCore.Modules/OrchardCore.Navigation/NavigationShapes.cs:83-89 \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/OrchardCore.Modules/OrchardCore.Navigation/NavigationShapes.cs:72\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/OrchardCore.Modules/OrchardCore.Navigation/NavigationShapes.cs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1015a54871691a7dc20298ff6c7e0c4c982d7296cbec81dad836a10715c36d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/OrchardCore/OrchardCore.SourceGenerators/ShapeFactoryGenerator.cs:823-829 | src/OrchardCore/OrchardCore.SourceGenerators/ShapeFactoryGenerator.cs:833-839 \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/OrchardCore/OrchardCore.SourceGenerators/ShapeFactoryGenerator.cs"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"42dfa4a184f124b92422820fa27cf410cb92ea81db6edef78592d3b427848435"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project OrchardCore.AzureAI: OrchardCore.AzureAI has instability 0.80 with 8 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6ea45e857ccb60c1037907db8fd4cc47b69d8bceea4a82c479e1db2b195fb927"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project OrchardCore.ContentFields: OrchardCore.ContentFields has instability 0.81 with 8 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9c8802f4fab76d580bb4bbcd70aa4e8bae051196c5f5c8c43b1344729096a2ce"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project OrchardCore.Elasticsearch: OrchardCore.Elasticsearch has instability 0.81 with 8 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"39627d598d1f2d79703c50ffbc2f0d787b36d0682e40accfc4603e643a7f8cfb"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project OrchardCore.Lucene: OrchardCore.Lucene has instability 0.82 with 8 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8891d3a066fb86cd68262392bfa9141a7ede2d7e56c03fcb74e33d64e6c8f19b"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project OrchardCore.Media.AmazonS3: OrchardCore.Media.AmazonS3 has instability 0.82 with 9 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6b10e093b8fcf6186e44e6d317ef055a8c7ff03056b347734f93128426eed660"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project OrchardCore.Media.Azure: OrchardCore.Media.Azure has instability 0.82 with 9 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3e6fbfbcada3ce04bd7813173000cf461dca33c9ff606c9ff67a0d39c8b2f0cb"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project OrchardCore.Media.ImageSharpV3: OrchardCore.Media.ImageSharpV3 has instability 0.83 with 8 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0966ece12ff03e428099e520581730db448c8ed8fde404b5891a021b40ae4d75"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project OrchardCore.Seo: OrchardCore.Seo has instability 0.81 with 8 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"12e79355a6015acbcc02834d54da18e0efd489595221709b1b2af29df9221c0a"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project OrchardCore.OpenApi: OrchardCore.OpenApi has instability 0.84 with 8 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9a29200415f7bb2cfd03c23f03f58f7b572e1dabca4008b9750c91b80a5d869c"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project OrchardCore.Sms: OrchardCore.Sms has instability 0.80 with 8 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dd7cad30e9e2bba2019dc329170e9dbe94d5b96e24011c8e532f854ab004a466"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project OrchardCore.Users: OrchardCore.Users has instability 0.82 with 9 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"04abc5c476b8da67158bc52e293c02ddfdef59418a006021e2c4a939055e798d"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project TheAdmin: TheAdmin has instability 0.87 with 8 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3549034e604a3be9e7a01acbebf35b9b835ee65188ae3c1813087a026cc3e001"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project TheBlogTheme: TheBlogTheme has instability 0.84 with 6 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b5807434ba64e89dbfdead500cde8b3eb0d5a263fc2bcaa7de386a348e2a95df"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project TheTheme: TheTheme has instability 0.89 with 6 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"56e094b114ca9da2f4ddfa57749d5f20c56f18de7abfb580e49fb614d70acf28"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project OrchardCore.Application.Cms.Core.Targets: OrchardCore.Application.Cms.Core.Targets has instability 0.96 with 7 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"48427d0ab6bca169cf8d84ba819fa8c77832f4e32fb9c6b55a94abd7d17c57f6"}},{"ruleId":"D5","level":"error","message":{"text":"Layer violation: Domain \u2192 Infrastructure: OrchardCore.Notifications.Core (Domain) references OrchardCore.Infrastructure (Infrastructure) \u2014 dependencies must point inward (Web \u2192 Application \u2192 Domain; Infrastructure implements inner interfaces, nothing depends outward on it)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1550d2478ebea10225b72624e3117cfaa89c2a176a33f53138d8959458a6a848"}},{"ruleId":"D5","level":"error","message":{"text":"Layer violation: Domain \u2192 Infrastructure: OrchardCore.OpenId.Core (Domain) references OrchardCore.Data.YesSql (Infrastructure) \u2014 dependencies must point inward (Web \u2192 Application \u2192 Domain; Infrastructure implements inner interfaces, nothing depends outward on it)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f56b938d4e69e656f8ac014a76cf3e79fb6db91c4a4b0cb1e7cf0a11d7004300"}},{"ruleId":"D5","level":"error","message":{"text":"Layer violation: Domain \u2192 Infrastructure: OrchardCore.RateLimits.Core (Domain) references OrchardCore.Infrastructure (Infrastructure) \u2014 dependencies must point inward (Web \u2192 Application \u2192 Domain; Infrastructure implements inner interfaces, nothing depends outward on it)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5de8e927b06bd6e296458f72e340677942ceabae413d87b74b6c3878dc7b2dcc"}},{"ruleId":"D5","level":"error","message":{"text":"Layer violation: Domain \u2192 Infrastructure: OrchardCore.Users.Core (Domain) references OrchardCore.Data.YesSql (Infrastructure) \u2014 dependencies must point inward (Web \u2192 Application \u2192 Domain; Infrastructure implements inner interfaces, nothing depends outward on it)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f69418f8ffa62b6786fa8d6af6062a7acf354938ef4d761a48f6e7ffa29eeca6"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: OrchardCore.ContentPreview.Abstractions: OrchardCore.ContentPreview.Abstractions: abstractness 0.00, instability 0.00, distance 1.00 \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":"6e52c7853168b6075de3c5a34eb26d41e75c0e581ff47b2841e893b4f79cbfeb"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: OrchardCore.ResourceManagement.Core: OrchardCore.ResourceManagement.Core: abstractness 0.00, instability 0.02, distance 0.98 \u2014 zone of pain \u2014 concrete and depended on by 80 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"555d044fbf0019a67a7741c2d80a2076a15ad3415fcb89cadf7765616c86ec22"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: OrchardCore.Data: OrchardCore.Data: abstractness 0.00, instability 0.03, distance 0.97 \u2014 zone of pain \u2014 concrete and depended on by 69 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4e410649196e4cb773e597631901e69d80f53f17b20acfc27718fa8881ab0599"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: OrchardCore.ResourceManagement: OrchardCore.ResourceManagement: abstractness 0.00, instability 0.04, distance 0.96 \u2014 zone of pain \u2014 concrete and depended on by 78 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"93a5c0f660619e4ea2b523df87684fb49ad16a3ff1f69a2fc6726114aaa23e46"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: OrchardCore.Data.YesSql: OrchardCore.Data.YesSql: abstractness 0.00, instability 0.06, distance 0.94 \u2014 zone of pain \u2014 concrete and depended on by 67 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a417f08108fa78d9351ce0ecbeffc00c6e0dff240e4e22a6e94c3a7acdb4a520"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: OrchardCore.Mvc.Core: OrchardCore.Mvc.Core: abstractness 0.05, instability 0.02, distance 0.94 \u2014 zone of pain \u2014 concrete and depended on by 124 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"302dd9822add75dcb5a0eddffcd4181a6f426b49b8fe9909b8fa72cb48c8415b"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: OrchardCore.ResourceManagement.Abstractions: OrchardCore.ResourceManagement.Abstractions: abstractness 0.17, instability 0.00, distance 0.83 \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":"7cf946b35e947e019d107bda48d568a834a757eb0ce3a751a9f85615d58fbd8d"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: OrchardCore.Admin.Abstractions: OrchardCore.Admin.Abstractions: abstractness 0.14, instability 0.05, 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":"f129ccf7b693aeaa492af44404b0fa96c69c35e6d0034c10ea8bbd06067724ac"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: OrchardCore.Roles.Core: OrchardCore.Roles.Core: abstractness 0.00, instability 0.21, distance 0.79 \u2014 zone of pain \u2014 concrete and depended on by 19 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9e61bda3c524ed07c288f45d5f58db4f77f01d64451123fd501ba7e38fd88b46"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: OrchardCore.ContentManagement: OrchardCore.ContentManagement: abstractness 0.00, instability 0.21, distance 0.79 \u2014 zone of pain \u2014 concrete and depended on by 59 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"60c35be7f1c884c6fc3845c61e41bd08163ff66bf5b176add97a76e5961f6964"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: OrchardCore.ContentFields.Core: OrchardCore.ContentFields.Core: abstractness 0.00, instability 0.22, distance 0.78 \u2014 zone of pain \u2014 concrete and depended on by 14 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"80421dba3c9f98feaf0fd3e597481e7d7b660a27d4e801389deef54fdf706c95"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: OrchardCore.Liquid.Abstractions: OrchardCore.Liquid.Abstractions: abstractness 0.22, instability 0.01, distance 0.77 \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":"6fe194de2a8d915cfc08ca0639ef8cf14f8f6254eadb0407a27df33a3e07065f"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: OrchardCore.ContentManagement.Abstractions: OrchardCore.ContentManagement.Abstractions: abstractness 0.22, instability 0.03, distance 0.75 \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":"546af6005fe7e143f746b18666b2cf0e54200f4297b49b7d3e60db7ddd1df60d"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: OrchardCore: OrchardCore: abstractness 0.01, instability 0.25, distance 0.74 \u2014 zone of pain \u2014 concrete and depended on by 15 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"2ad340e264c646da0a36189c8fb93ac160dffd88c8b8c074a4564c65442d393e"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: OrchardCore.Feeds.Core: OrchardCore.Feeds.Core: abstractness 0.00, instability 0.29, distance 0.71 \u2014 zone of pain \u2014 concrete and depended on by 5 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"caa61e94c8e3749b7017eb6406153fe527da2916bf3f9dd3af5fea5352f84960"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: UserStore (LCOM4 41): UserStore\u0027s methods form 41 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/OrchardCore/OrchardCore.Users.Core/Services/UserStore.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e770ad1c997087031be0daadf0e4c965fb71bafa0fef009d7b096206fd28e87"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: OpenIdApplicationStore (LCOM4 33): OpenIdApplicationStore\u0027s methods form 33 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/OrchardCore/OrchardCore.OpenId.Core/YesSql/Stores/OpenIdApplicationStore.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5b76eda8a121799a0874dc715847a0e330ef647c6e858cc44188640d98b203f"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: OpenIdTokenStore (LCOM4 25): OpenIdTokenStore\u0027s methods form 25 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/OrchardCore/OrchardCore.OpenId.Core/YesSql/Stores/OpenIdTokenStore.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d69d55b954e1e52db6ccca5063b8be395f3c85b3ff0267d067ab034db377da0"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: OpenIdScopeStore (LCOM4 17): OpenIdScopeStore\u0027s methods form 17 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/OrchardCore/OrchardCore.OpenId.Core/YesSql/Stores/OpenIdScopeStore.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"471942370b760f1fbae87539a74e9cdf318ed4c1621f61e52302abdea293361c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: OpenIdAuthorizationStore (LCOM4 16): OpenIdAuthorizationStore\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/OrchardCore/OrchardCore.OpenId.Core/YesSql/Stores/OpenIdAuthorizationStore.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1efb1b0ed3170ea7aa271f8aaba28819a6ceae14a0aa3481504b504f1801fb1"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: RoleStore (LCOM4 9): RoleStore\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/OrchardCore.Modules/OrchardCore.Roles/Services/RoleStore.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff02d0fee7c747954bcd05035048d509f73e752ff330c4bef0c8dc5f892306ef"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ViewBufferTextWriterContent (LCOM4 6): ViewBufferTextWriterContent\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/OrchardCore/OrchardCore.DisplayManagement.Liquid/ViewBufferTextWriterContent.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d160be72c58978574f412430399aae9e7da1378cd1d7e1d04881ab494512ce3"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ZoneOnDemand (LCOM4 6): ZoneOnDemand\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/OrchardCore/OrchardCore.DisplayManagement/Zones/ZoneOnDemand.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"a63a6c49e75a6412a9de2eb88800dde60cc921aaec9c53b10599493c69ffa38f"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: HomeController (LCOM4 4): HomeController\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/OrchardCore.Modules/OrchardCore.Demo/Controllers/HomeController.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"83ee816fbda2d47a1451f182e8585031a88cec81d9ee0f12bb4bf1739df2c592"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: TwoFactorAuthenticationController (LCOM4 4): TwoFactorAuthenticationController\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/OrchardCore.Modules/OrchardCore.Users/Controllers/TwoFactorAuthenticationController.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"e51fba910d2229f32d3c251333ca4e686373065d6f0effb876349905f3b3c3ac"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ShapeMetadata (LCOM4 4): ShapeMetadata\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/OrchardCore/OrchardCore.DisplayManagement/Shapes/ShapeMetadata.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"7723c2db46b03f076a8853e3015fa8a561919bd349f025197841b35c3291e0b5"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ContentIndexProfileHandler (LCOM4 4): ContentIndexProfileHandler\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/OrchardCore/OrchardCore.Indexing.Core/Handlers/ContentIndexProfileHandler.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"73d7cc860e9bc2ff53c7db8fc388aa1d95ec53c87344a6e1bcc616e41d9e6f46"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: ScopesCanBeEnteredAndExited_Default_Succeeds: Test method exercises code but verifies nothing \u2014 add an assertion."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/OrchardCore.Tests/OrchardCore.Environment.Cache/CacheScopeManagerTests.cs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a8bbf5d29d88580c83645cea939f97d5a43e63b109f2a23536423743e7b7a6b"}},{"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":"D14","level":"error","message":{"text":"Banned license: NetVips.Native: NetVips.Native 8.18.4 is licensed LGPL-3.0-or-later (banned by policy)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"678ff897b8c70b6975768076a5bbd167fda67d0cc1febc1c1c9004a87ee0cec3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/OrchardCore.Modules/OrchardCore.Users/Controllers/ExternalAuthenticationsController.cs: src/OrchardCore.Modules/OrchardCore.Users/Controllers/ExternalAuthenticationsController.cs changed 6 times in last 90 days, max complexity 25. 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/OrchardCore.Modules/OrchardCore.Users/Controllers/ExternalAuthenticationsController.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0d9359881f901f9850ff786b3d4c63f84707fc0441a4791ffebe2f1c63ed60c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/OrchardCore.Modules/OrchardCore.Media/Startup.cs: src/OrchardCore.Modules/OrchardCore.Media/Startup.cs changed 6 times in last 90 days, max complexity 17. 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/OrchardCore.Modules/OrchardCore.Media/Startup.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0ef319389a55f51d12acd1dc80809517895afb64e6216c51c1b3f5dbde6a47c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/OrchardCore/OrchardCore.DisplayManagement.Liquid/Tags/AnchorTag.cs: src/OrchardCore/OrchardCore.DisplayManagement.Liquid/Tags/AnchorTag.cs changed 2 times in last 90 days, max complexity 48. 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/OrchardCore/OrchardCore.DisplayManagement.Liquid/Tags/AnchorTag.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d910991ba27451d15a53d42f59a1e3b30339b8932ca50eab56d5805446b3962"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/OrchardCore.Modules/OrchardCore.Security/Views/PermissionsPolicySettings.Edit.cshtml: src/OrchardCore.Modules/OrchardCore.Security/Views/PermissionsPolicySettings.Edit.cshtml changed 3 times in last 90 days, max complexity 31. 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/OrchardCore.Modules/OrchardCore.Security/Views/PermissionsPolicySettings.Edit.cshtml"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0c37929be7a81f91e8fd0de3d4d050c500778002be03e2c916c2a8d95fea444"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/OrchardCore.Modules/OrchardCore.Tenants/Controllers/TenantApiController.cs: src/OrchardCore.Modules/OrchardCore.Tenants/Controllers/TenantApiController.cs changed 2 times in last 90 days, max complexity 33. 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/OrchardCore.Modules/OrchardCore.Tenants/Controllers/TenantApiController.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ce1f60f9ab6eb9b39acf96ff1155611f9ae5d4e7ad3918ddf78358aa0fe9df5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/OrchardCore.Modules/OrchardCore.Users/Startup.cs: src/OrchardCore.Modules/OrchardCore.Users/Startup.cs changed 4 times in last 90 days, max complexity 16. 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/OrchardCore.Modules/OrchardCore.Users/Startup.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"21a3010a52b03bb462105c422622367f030c81c7f2a2b734c80a040d748a8ee9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/OrchardCore.Modules/OrchardCore.Setup/Controllers/SetupController.cs: src/OrchardCore.Modules/OrchardCore.Setup/Controllers/SetupController.cs changed 3 times in last 90 days, max complexity 19. 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/OrchardCore.Modules/OrchardCore.Setup/Controllers/SetupController.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8209205b988fcbdb6792f03af4bda607adfa60f197465b919e3d40deb8c23d5c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/OrchardCore.Modules/OrchardCore.Contents/Controllers/AdminController.cs: src/OrchardCore.Modules/OrchardCore.Contents/Controllers/AdminController.cs changed 2 times in last 90 days, max complexity 28. 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/OrchardCore.Modules/OrchardCore.Contents/Controllers/AdminController.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"652c7b85f51b713f4993a2e5f27b0fa670c2dca79cdf3a1c3b9b045dc63ede0d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/OrchardCore/OrchardCore/Extensions/ExtensionManager.cs: src/OrchardCore/OrchardCore/Extensions/ExtensionManager.cs changed 2 times in last 90 days, max complexity 21. 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/OrchardCore/OrchardCore/Extensions/ExtensionManager.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"63287a578511a0d68fb26e365d9d9fcfc731c86c56488b39fca9f4d64b055480"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/OrchardCore.Modules/OrchardCore.Tenants/Controllers/AdminController.cs: src/OrchardCore.Modules/OrchardCore.Tenants/Controllers/AdminController.cs changed 2 times in last 90 days, max complexity 20. 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/OrchardCore.Modules/OrchardCore.Tenants/Controllers/AdminController.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4debe499cd2a4bbdf96a230d58124d469c49eb2cb1be096408e51a16e1952ffc"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 29 significant file(s) lose their only recent owner: src/OrchardCore/OrchardCore.Lucene.Core/Services/LuceneIndexManager.cs, src/OrchardCore/OrchardCore.AzureAI.Core/Services/AzureAISearchDocumentIndexManager.cs, src/OrchardCore/OrchardCore.Elasticsearch.Core/Services/ElasticsearchDocumentIndexManager.cs, src/OrchardCore.Modules/OrchardCore.Media/Recipes/MoveAttachedMediaFieldsStepExecutor.cs, src/OrchardCore/OrchardCore.Media.Core/Services/ChunkFileUploadService.cs, src/OrchardCore/OrchardCore.Indexing.Core/Handlers/DefaultIndexProfileHandler.cs, src/OrchardCore/OrchardCore.Indexing.Core/IndexingTaskManager.cs, src/OrchardCore.Modules/OrchardCore.Features/Services/ModuleService.cs (\u002B21 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dfd4edb7ff8307049f7f1db28a4ec3af300542df1a8a84dc20fbd89ee43cee5a"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 24 significant file(s) lose their only recent owner: src/OrchardCore/OrchardCore.Abstractions/Modules/Extensions/InvokeExtensions.cs, src/OrchardCore/OrchardCore.DisplayManagement/Descriptors/ShapeAttributeStrategy/ShapeAttributeBindingStrategy.cs, src/OrchardCore.Modules/OrchardCore.Media/Services/ViewMediaFolderAuthorizationHandler.cs, src/OrchardCore.Modules/OrchardCore.Workflows/Migrations.cs, src/OrchardCore/OrchardCore.DisplayManagement/IShape.cs, src/OrchardCore/OrchardCore.DisplayManagement/Descriptors/FeatureShapeDescriptor.cs, src/OrchardCore/OrchardCore/Locking/LocalLock.cs, src/OrchardCore/OrchardCore.DisplayManagement/Shapes/Shape.cs (\u002B16 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9852479e452611ffa519a3aa90be7c2d8865abe4f2024827af14828efc2cf353"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #3: If anonymized user #3 becomes unavailable, 5 significant file(s) lose their only recent owner: src/OrchardCore.Modules/OrchardCore.DynamicCache/TagHelpers/DynamicCacheTagHelper.cs, src/OrchardCore/OrchardCore.Localization.Core/PortableObject/PoParser.cs, src/OrchardCore.Modules/OrchardCore.Contents/AdminNodes/ContentTypesAdminNodeDriver.cs, src/OrchardCore.Modules/OrchardCore.Resources/Liquid/LinkTag.cs, src/OrchardCore.Modules/OrchardCore.Sms/HealthChecks/SmsHealthCheck.cs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8ccbada4838941aea325c15dc3f5bbc973628056e9b1c0cbf7f4494a8fa91e4f"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 5 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 (67 single-owned of 1064 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 #4 (2 file(s)), anonymized user #5 (2 file(s)), anonymized user #6 (2 file(s)), anonymized user #7 (1 file(s)), anonymized user #8 (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":"warning","message":{"text":"TodoComment: // Todo: This logic can be shared by all TreeNodeNavigationBuilders. \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/OrchardCore.Modules/OrchardCore.AdminMenu/AdminNodes/LinkAdminNodeNavigationBuilder.cs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"2370ca89af3f5216634bd4b39f88334f10b849d2aab925ae4c920b69b6fdbea2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: this logic can be shared by all TreeNodeNavigationBuilders \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/OrchardCore.Modules/OrchardCore.AdminMenu/AdminNodes/PlaceholderAdminNodeNavigationBuilder.cs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"a552fdd63dfb9c5b6d332d46fd962521072ea6eb7211c4e7f1058711f86cbe32"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: handle the case where there is a deserialization exception on some of the presets. \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/OrchardCore.Modules/OrchardCore.AdminMenu/Controllers/MenuController.cs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"6049658ec30aaae7d1ad4b7dddd53b52b4ce7c6ffc0a966dc02790d56604c857"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: custom argument name? \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/OrchardCore.Modules/OrchardCore.Apis.GraphQL/OrchardFieldNameConverter.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"0098fbd5d061ea1b2b184969e734a4267b9f0aab3ba43c7693108abd59023706"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: check functionality. \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/OrchardCore.Modules/OrchardCore.Apis.GraphQL/OrchardFieldNameConverter.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"46e9233077a96cbadddb87734cf1c3e4d2a6664610558718ea0892e01dedc477"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //   AuthorizeNodePermissionAsync(fieldAst, fieldDef.ResolvedType.GetNamedType(), validationContext, userContext).GetAwaiter().GetResult(); // TODO: need to think of something to avoid 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/OrchardCore.Modules/OrchardCore.Apis.GraphQL/ValidationRules/RequiresPermissionValidationRule.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1e7ae02fcb64752526b8615cebf1c753c6a5c5ec0cf9afd04072e7de9dc9dcc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO add a context property to the mapping func. \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/OrchardCore.Modules/OrchardCore.AuditTrail/Services/DefaultAuditTrailAdminListFilterProvider.cs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"acfeef390ea23bff2a81f2bfe7a93026375a799b1a2cf9eddb35362697ae5131"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO add a context property to the mapping func. \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/OrchardCore.Modules/OrchardCore.AuditTrail/Services/DefaultAuditTrailAdminListFilterProvider.cs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ecf64623c2ce8a77a14952785c11faa206c2b88cced13892e7b342e9db51076"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: we should probably get this value from the main editor as it might impact validators. \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/OrchardCore.Modules/OrchardCore.ContentPreview/Controllers/PreviewController.cs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"5acf37663e350bcbc1fbe33c5940c92fbd0c31495241ab068bc1b488b081e6cd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Put in its own feature to be able to execute this recipe without having to enable \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/OrchardCore.Modules/OrchardCore.ContentTypes/Startup.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aae07cf7d7943876173dca18e5886ea1f467da7506b47a55b7b08838608d3ea"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Batch and create separate content files in the 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/OrchardCore.Modules/OrchardCore.Contents/Deployment/ContentDeploymentSource.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a69c29a54ce5a99a958d48d0991ce4416c1cdb276cc8772b5ee27ee139d503a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Move this editor to a user picker. \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/OrchardCore.Modules/OrchardCore.Contents/Drivers/OwnerEditorDriver.cs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7b43d83d0e0b776708345fb5019a16a402cc0a3af3037b6afa9be0db4a3e7ce"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] ContentRazorHelperExtensions"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore.Modules/OrchardCore.Contents/Razor/ContentRazorHelperExtensions.cs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a26e2f935ab2e2e1f5cb868cf434208eae58bacb18aedb1f1c1364cb61221a3"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore.Modules/OrchardCore.Contents/ViewModels/PublishContentViewModel.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"91e3bab0a0485a9323623adf4a90af728d5c90dda70afd98efe5713c22cbe445"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore.Modules/OrchardCore.Features/Services/ModuleService.cs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf7b3f2987474d23d52c59f07eaddf8c60f1c5b130a4af7cd89519b1e0997c19"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/OrchardCore.Abstractions.Tests/Modules/Manifest/FeatureAttributeTests.cs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc78593f7f6fec485c6d14e88806b6e84aaad795a46509495f8fa519a88cce6b"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/OrchardCore.Abstractions.Tests/Modules/Manifest/FeatureAttributeTests.cs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"3779389e0d91f0d0589b89481e611fab009139661e9457b00fec333f6dc10910"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/OrchardCore.Abstractions.Tests/Modules/Manifest/FeatureAttributeTests.cs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"3373d5cb268731dd865212d0457f5a6edadc39f5961e61c4963695adf3f66469"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/OrchardCore.Abstractions.Tests/Modules/Manifest/ModuleMarkerAttributeTests.cs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"efd924df3e674ff1164d5999107e3ce195afa03bf8cbdd8ddb4ff485bc4cfdc0"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/OrchardCore.Abstractions.Tests/Modules/Manifest/ModuleMarkerAttributeTests.cs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"9887ad010994b39f4f72cd1d5bbca475673e70fbaed678879118855cc0b3e30d"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/OrchardCore.Abstractions.Tests/Modules/Manifest/ModuleMarkerAttributeTests.cs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ffda59119201eac129a3202cb71937c6c80f477186e93afe0a2f0c78540c9aa"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/OrchardCore.Abstractions.Tests/Modules/Manifest/ModuleMarkerAttributeTests.cs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"fba69c9201baedc9174f4f8e86bd8b1ad566899be3859b985eed17d8a1701585"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/OrchardCore.Abstractions.Tests/Modules/Manifest/ModuleMarkerAttributeTests.cs"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"08b7ee1f0e21ae0b34ceb74c4416e98c60ea0b30e216181c308d9464246b6165"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/OrchardCore.Abstractions.Tests/Modules/Manifest/ModuleMarkerAttributeTests.cs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"b75ba60667c5e232cf68ca76193db6b3655421e0362ea17a14cf327206163e49"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/OrchardCore.Abstractions.Tests/Modules/Manifest/ModuleMarkerAttributeTests.cs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"5731f56154cc6011530cb4d698703d8934cc751e2eed626734524b3991ba4d87"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/OrchardCore.Abstractions.Tests/Modules/Manifest/ModuleMarkerAttributeTests.cs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b47654c095dd64cfcc21480b0752b0fe8696efb1ae7ba1c3a9f864d8dfbb8d"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/OrchardCore.Abstractions.Tests/Modules/Manifest/ModuleMarkerAttributeTests.cs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"16949e162dbb34f80436157a7ed7b2675b198d0766d637524ee7226920f19574"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/OrchardCore.Abstractions.Tests/Modules/Manifest/ModuleMarkerAttributeTests.cs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e2185f6cb01de7f2f4b4237f8761bdc228d5dadcc6a6569a3f1bed7b6203997"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/OrchardCore.Abstractions.Tests/Modules/Manifest/ModuleMarkerAttributeTests.cs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"077c24062281438c3c1dcec73f04c4431a4079ddd3eaa454ca01658a6496066e"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/OrchardCore.Abstractions.Tests/Modules/Manifest/ModuleMarkerAttributeTests.cs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"11e2ccd243c169cafce1a65632c37f643986fe5c73487215ca7137ebf4538b25"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/OrchardCore.Abstractions.Tests/Modules/Manifest/ModuleMarkerAttributeTests.cs"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"081d27a713dd5dd5a2f0eeb70c6928b2bcb4e0a3bd386c8d444c60b7ef360d0e"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/OrchardCore.Abstractions.Tests/Modules/Manifest/ModuleMarkerAttributeTests.cs"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3705f86c23bd5c4191675ced9959ca96eec46e73fa525f00f452ec8c2f20d64"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/OrchardCore.Abstractions.Tests/Modules/Manifest/ModuleMarkerAttributeTests.cs"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fe5ae448e593a51f8681520c5ddd8093280d5570aaaf4fd6aa9b51db368d0d8"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/OrchardCore.Abstractions.Tests/Modules/Manifest/ModuleMarkerAttributeTests.cs"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1a622f069f32a947ba92f76c812c227c9e1813ef0e862d53916e6f4706bb61e"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/OrchardCore.Abstractions.Tests/Modules/Manifest/ModuleMarkerAttributeTests.cs"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7eea689c44152e8041ffae56ecad7367a7d1c3ead08ea4b5b381782209c1897"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/OrchardCore.Abstractions.Tests/Modules/Manifest/ModuleMarkerAttributeTests.cs"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c367862ccb75df6b4375f473530d6c0cf3afa5e4a6d99ffa7bc59fcdd58af8b"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/OrchardCore.Abstractions.Tests/Modules/Manifest/ModuleMarkerAttributeTests.cs"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"50af24f11915aceb00e4f8264bb6980ea4e4eb85a41146ce8bb97f9ccce6c84f"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/OrchardCore.Abstractions.Tests/Modules/Manifest/ModuleMarkerAttributeTests.cs"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdf4b0a6f49a2ae88b0f22044e5d3fce0220f6b7312995f42f9cf7e5612f399b"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/OrchardCore.Tests/ContentDefinition/ContentDefinitionManagerTests.cs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"164fad62835353101640b2ad92e297a4aae472dc3262afc4e17c4309cbaa26fc"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/OrchardCore.Tests/ContentDefinition/ContentDefinitionManagerTests.cs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"2879b772cdbfd63f3c36044a72db8efd53dc80885af9e473a6a2288d789fe1fc"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/OrchardCore.Tests/DisplayManagement/Descriptors/DefaultShapeTableManagerTests.cs"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"8824adb844677c4f5aaef9585ebdfcba7e53e03437018432f876f8dec331c281"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/OrchardCore.Tests/DisplayManagement/SubsystemTests.cs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"422fc7c4b22769c156839c19ee9750ede472dd3f9c423a8a49b3476e70e1f52c"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] GetSettingsType"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore.Modules/OrchardCore.CustomSettings/Services/CustomSettingsService.cs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"b72608bdd0af8a5a4f8bbdee959d5686d679c2f71172fa13fa59dfa8770388ab"}},{"ruleId":"D17","level":"warning","message":{"text":"BareSuppressMessage: System.Diagnostics.CodeAnalysis.SuppressMessage \u2014 the suppression records no reason: either it carries no justification argument at all, or one that states nothing a reader can weigh (\u0022OK\u0022, \u0022By design\u0022). A suppression is a decision somebody made, and without the reason the next reader cannot tell a considered exception from an unexamined one, so it is never revisited. Write what makes this site legitimately different \u2014 the invariant that holds, the framework contract that forces the shape \u2014 or remove the suppression and fix what it hides."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore.Modules/OrchardCore.Elasticsearch/Migrations/ElasticsearchQueryMigrations.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"aad0998501569074011a77740bf12d232f75fe2075ae7e3a5c5ad52a4bbdd64d"}},{"ruleId":"D17","level":"warning","message":{"text":"BareSuppressMessage: System.Diagnostics.CodeAnalysis.SuppressMessage \u2014 the suppression records no reason: either it carries no justification argument at all, or one that states nothing a reader can weigh (\u0022OK\u0022, \u0022By design\u0022). A suppression is a decision somebody made, and without the reason the next reader cannot tell a considered exception from an unexamined one, so it is never revisited. Write what makes this site legitimately different \u2014 the invariant that holds, the framework contract that forces the shape \u2014 or remove the suppression and fix what it hides."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore.Modules/OrchardCore.Lucene/DataMigrations/LuceneQueryMigrations.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb1a4932b2efd722b1980a0025e153c3cebd5d81af68613903cb7a4457458aab"}},{"ruleId":"D17","level":"warning","message":{"text":"BareSuppressMessage: System.Diagnostics.CodeAnalysis.SuppressMessage \u2014 the suppression records no reason: either it carries no justification argument at all, or one that states nothing a reader can weigh (\u0022OK\u0022, \u0022By design\u0022). A suppression is a decision somebody made, and without the reason the next reader cannot tell a considered exception from an unexamined one, so it is never revisited. Write what makes this site legitimately different \u2014 the invariant that holds, the framework contract that forces the shape \u2014 or remove the suppression and fix what it hides."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore.Modules/OrchardCore.Queries/Sql/Migrations/SqlQueryMigrations.cs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e413bdba39ae9fb1706fe42c8539b867a87e637ac9a0faf02cbc5b758c52fa9"}},{"ruleId":"D17","level":"warning","message":{"text":"BareSuppressMessage: System.Diagnostics.CodeAnalysis.SuppressMessage \u2014 the suppression records no reason: either it carries no justification argument at all, or one that states nothing a reader can weigh (\u0022OK\u0022, \u0022By design\u0022). A suppression is a decision somebody made, and without the reason the next reader cannot tell a considered exception from an unexamined one, so it is never revisited. Write what makes this site legitimately different \u2014 the invariant that holds, the framework contract that forces the shape \u2014 or remove the suppression and fix what it hides."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/OrchardCore.Tests/DisplayManagement/Descriptors/DefaultShapeTableManagerBindingsTests.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"71b3c185c2686dd16459443a23d8e311f967ba459f238e96fed143a1ea816df9"}},{"ruleId":"D17","level":"warning","message":{"text":"BareSuppressMessage: SuppressMessage \u2014 the suppression records no reason: either it carries no justification argument at all, or one that states nothing a reader can weigh (\u0022OK\u0022, \u0022By design\u0022). A suppression is a decision somebody made, and without the reason the next reader cannot tell a considered exception from an unexamined one, so it is never revisited. Write what makes this site legitimately different \u2014 the invariant that holds, the framework contract that forces the shape \u2014 or remove the suppression and fix what it hides."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore.Modules/OrchardCore.Elasticsearch/Migrations/IndexingMigrations.cs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"08c5aa7ee01e7c95266d6d9e461e885e9136416230b7c50ecf9bb43c496f1110"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] ConfigureEmailSettings"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore.Modules/OrchardCore.Email/Extensions/OrchardCoreBuilderExtensions.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ef5b54b2a1cdd095d21507765c54da29071c44baad15eda0d0e8377900ba1f3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add support for the following format: Jack Bauer\[e-mail redacted]\u003E, ... \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/OrchardCore.Modules/OrchardCore.Email/Workflows/Activities/EmailTask.cs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"e58c12911f5650c22f06c334e9a76482e65d0d3092e4ceba64aa8467234e9cae"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] IsHtmlBody"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore.Modules/OrchardCore.Email/Workflows/Activities/EmailTask.cs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"14b4faa8796fa33fac4007187c99e40eb09bfc05678b6521718856790457987a"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] IsHtmlBody"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore/OrchardCore.Email.Abstractions/MailMessage.cs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"073ef2af85c2aa3f9297ea339d2d2339c75d8614312aea96f25a51e0f0b1e33d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO, some how here contentItems should be sorted by a defined order \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/OrchardCore.Modules/OrchardCore.Flows/Drivers/BagPartDisplayDriver.cs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"48d92e682313ba29b20f1d5bcd4856989b7079ced9a3724c26483a77bbe9f7ab"}},{"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/OrchardCore.Modules/OrchardCore.Forms/Drivers/FormInputElementVisibilityPartDisplayDriver.cs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d784adea7e76815e95f5ba87ffd97863ce79a05593f1b990e898c1d42fd3db6"}},{"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/OrchardCore.Modules/OrchardCore.Liquid/Filters/DataProtectionFilters.cs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"10d036224d1e2c78a6a260eb01e3a47e4030c73ad419957109452c1fc4ef28b5"}},{"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/OrchardCore.Modules/OrchardCore.Workflows/Services/SecurityTokenService.cs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfc6bfcce493bcc12b2cffa6d6b840ea3d43ab237731172ecae9f7bc360fd2fa"}},{"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/OrchardCore/OrchardCore.Abstractions/Json/Dynamic/JsonDynamicValue.cs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"e094d7eb96a86b2cbb7f354a0cbf4379e2325c5500e32c64451a8886cb277074"}},{"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/OrchardCore/OrchardCore.Data.YesSql/DbConnectionValidator.cs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"81fd46bbff3c275168976b8a810cd463016817c7b5e2300df03c50cb57e239a1"}},{"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/OrchardCore/OrchardCore.Lucene.Core/LuceneIndexStore.cs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"15b70834a1dd0817eefbafd75adc2e49420dd8d597363c7d44a9b8858eaaa2b7"}},{"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/OrchardCore/OrchardCore/Shell/Distributed/DistributedShellHostedService.cs"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"86e5df52ebede72ffc61248cadf23617b6223363d1a6101a5c7b8b8c3de3f002"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add the ability to configure various types of validators. \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/OrchardCore.Modules/OrchardCore.Forms/Workflows/Activities/ValidateFormFieldTask.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"72a67423c474f9448ba18a287f0bb1009fe7bf87a9f0292ff6bdb7c32b74bc80"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: remove this check and change the handler to target ContainedPart when issue 3890 is fixed \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore.Modules/OrchardCore.Lists/Handlers/ContainedPartLocalizationHandler.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3214f57029c8fd1b2113615fb67c9091cc7119e504145bf391ff8d0e32edca5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: provide context argument (optional on this helper as with the liquid helper?). \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/OrchardCore.Modules/OrchardCore.Markdown/Razor/ContentRazorHelperExtensions.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"a22dbf4d45c7b06d3aa5b4c6374e2a6e262b84e071ca34b12bd6c901753a8937"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable CA1707 // Remove the underscores from member name \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/OrchardCore.Modules/OrchardCore.Navigation/PagerShapesTableProvider.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9908b0aac989ef530b69ff017fa9cddfe568403463d85d327d44c7830f61705c"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable CA1816 \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/OrchardCore.Modules/OrchardCore.Roles/Services/RoleStore.cs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"db997e06261c57f1890f7bd3154c1dfd010b97b56f67e4f63081dbb65d576f1f"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable CA1816 \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/OrchardCore/OrchardCore.Roles.Core/Services/NullRoleStore.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"0af45c89f44e67ce2598b6deb7a72c889542df1a2f06c1b022f649f44ce4d3dd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add Encryption Settings in. \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/OrchardCore.Modules/OrchardCore.Settings/Services/SetupEventHandler.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"803c2bc86117b65ad6a10e22b4d45942949230d29fd7fb4bd4756ac89746c00b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Also add the parents of each term, probably as a separate field \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/OrchardCore.Modules/OrchardCore.Taxonomies/Indexing/TaxonomyFieldIndexHandler.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"62e34b137c62a4ac03f132afc08c16ebc074eb04b289cfe44a26b1ea02881a53"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Create a Terms Index independent of the standard index, which can index taxonomy terms by their display text"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore.Modules/OrchardCore.Taxonomies/Services/TaxonomyContentsAdminListFilter.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b3889b32ce6fdc62dca0d92c067801e7cec910015d2274601f03c6531fe7e24"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: MWP: probably follow on issue: should this be recursive? maybe with a depth limit? i.e. base3-\u003Ebase2-\u003Ebase1 ... \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/OrchardCore.Modules/OrchardCore.Themes/Services/ThemeService.cs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"8535eb230dfb842936d44891bc3a4d7a49d7c2cda342efcd18114834be8ca08a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Candidate for dynamic localization. \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/OrchardCore.Modules/OrchardCore.Users/Controllers/AdminController.cs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"da57ce20c47052dcf7036bcd2470e627237c5355ea6b45dc784356f3c06efe9e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // Todo: check permissions for each settings type \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/OrchardCore.Modules/OrchardCore.Users/Deployment/CustomUserSettingsDeploymentSource.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a5206b9f07229be0bce92fc619f96666c1b9eae1c068e824382f9edeb06ef7b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // Todo: Use \u0027IdentityOptions.ClaimsIdentity.EmailClaimType\u0027 that will be supported in a future version. \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/OrchardCore.Modules/OrchardCore.Users/Liquid/UserEmailFilter.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc8f742c291975a873627fb90bc49c6cfb8ec495413931b02b632fc83c745ba5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO These should have defaults. on SQL Server they will fall at 255. Exceptions are currently thrown if you go over that. \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/OrchardCore.Modules/OrchardCore.Users/Migrations.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce7a6059669a12c52d9ee57f3390fe4d8f5d7486ae54fc522115bcc1d1bb1c7b"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] UserRegistrationType"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore.Modules/OrchardCore.Users/Models/UserRegistrationType.cs"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"2770ac9a2aab51116ee5caeb558faf56291c99ad8bbb53ae413e9759a65f4cdf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // Todo: In a future version the base implementation will generate the email claim if the user store is an \u0027IUserEmailStore\u0027, \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/OrchardCore.Modules/OrchardCore.Users/Services/EmailClaimsProvider.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff7347b932a72f82249fbe5ab8d2354fb97a919116accd9c689277db62a55c64"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] UpdateAsync"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore.Modules/OrchardCore.Users/TimeZone/Services/IUserTimeZoneService.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b1aef7c29c4983eedc669588c4f374b7e2834270f7c900856f87c465db6a832"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement nested scopes. See https://github.com/OrchardCMS/OrchardCore/projects/4#card-6992776"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore.Modules/OrchardCore.Workflows/Activities/ForEachTask.cs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6260e8e79c902d17b4699033325b90eeadf6f0a564896413b7d96ca723fafaf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Consider moving this to a more common package so that it\u0027s available without a dependency on Workflows. \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/OrchardCore.Modules/OrchardCore.Workflows/Http/Scripting/HttpMethodsProvider.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"f435a89ca76243ffd53d1ff55dfe8dbd39293479937550e313b3c91f9f993639"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add support for arbitrary route values. \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/OrchardCore.Modules/OrchardCore.Workflows/Http/ViewModels/HttpRequestFilterEventViewModel.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"137ef3a5f24f0878c8b0888b84d08868786d9efc29f28d3566a47cf402f868ed"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] DecodedToStream"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore/OrchardCore.Abstractions/Base64.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"75ac2a18bd02ac51a125fa03467a2d14839aedbd86e3f2953fea519f955ed95c"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] HandleException"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore/OrchardCore.Abstractions/Modules/Extensions/InvokeExtensions.cs"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"0925998bd44367351ef2109576c5ca1ef3cd44fadf83224ffa727a3a07095d16"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: MWP: trace back to usage, etc... \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/OrchardCore/OrchardCore.Abstractions/Modules/Module.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"90e1ee93c37964845091fc111a851989a8681884bfb86563d64a51cd683acc34"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: MWP: perhaps we filter up front so we are not discovering all this during ctor... \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/OrchardCore/OrchardCore.Abstractions/Modules/Module.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"e765400e23f5971f0a265447cbb852f7f8e512d914dcd6294033c416157dbbd4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: MWP: \u0027that\u0027 being the Module Context, etc... \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/OrchardCore/OrchardCore.Abstractions/Modules/Module.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"79a8776cede636687404e29e6235fdc85e9d1bd177e53e6c6cf8c2169061ee99"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: MWP: so we are \u0027aware\u0027 multiple instances are popping up, then... \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/OrchardCore/OrchardCore.Abstractions/Modules/Module.cs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2149a4fe550a079b1a5cd8509152f2bfc899cf7c1a7568bbaa7b1b8881c6dd4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: avoid this check by having a single TreeNode as a property of the content tree preset. \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/OrchardCore/OrchardCore.AdminMenu.Abstractions/Models/AdminMenu.cs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cfa7fdd87077f31f32e0e007a832eb3c6446b5f1164accf299212fff191d0f4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Understand if locking is the best solution to https://github.com/OrchardCMS/OrchardCore/issues/15308"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore/OrchardCore.Apis.GraphQL.Abstractions/Extensions/GraphQLTypeExtensions.cs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"e350cf3250fc65573e7565083043678a1b8bea658f68d4ad945417cd209bdc84"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO this requires more work, and interface changes to support contained content 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/OrchardCore/OrchardCore.Autoroute.Core/Services/AutorouteHandleProvider.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"9de5979eb5f7fd3e2fd88b3a2acf47e7ece415a16099159102e7d45b446fd94d"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] UpdateValidateAndCreateAsync"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore/OrchardCore.ContentManagement.Abstractions/ContentManagerExtensions.cs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"690d667f7c60e0d0c6064962b9be5498a3f832b8da1c5d5810b4a3b7e5208467"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] DisplayedAs"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore/OrchardCore.ContentManagement.Abstractions/Metadata/Builders/ContentTypeDefinitionBuilder.cs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d6510008cfd17c92f2b88e7d2ef62db112afdae36ab343699b182b40c4b2b63"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] AddLiquidViews"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore/OrchardCore.DisplayManagement.Liquid/OrchardCoreBuilderExtensions.cs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ac6873c94fdcbdabda0eb020c915f2e7f1f8e40f5b21ac79799446b49dcba4b"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] GetZones"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore/OrchardCore.DisplayManagement/Descriptors/PlacementInfo.cs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"29dc5ef13dee0eb09242e2fbece90eae8aad77d66d830c6f5dc758786e548440"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] GetPosition"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore/OrchardCore.DisplayManagement/Descriptors/PlacementInfo.cs"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"f617dc652407c652a42d6cf789da386251750f4f752db5f032b4000a06f9dca3"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] GetGroup"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore/OrchardCore.DisplayManagement/Descriptors/PlacementInfo.cs"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cfa9ce84408d47fc10880c0e6562d84dba0d6af16e21b3a9605032d8ba89e3c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO : (ngm) Replace with configuration Provider and read from that. \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/OrchardCore/OrchardCore.DisplayManagement/Descriptors/ShapePlacementStrategy/ShapePlacementParsingStrategy.cs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"be418e1c359eff530fd5f90a19a058065364849c07125f26b14b6d66799aa53d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // Todo: create result from all child shapes. \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/OrchardCore/OrchardCore.DisplayManagement/Implementation/DefaultHtmlDisplay.cs"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a455b25ea140306bbcb6da0070bbb403f8ed9370f07a6946c8da1159bd1aec9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: MWP: do we need a \u0027type\u0027 version? probably not... \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/OrchardCore/OrchardCore.DisplayManagement/Manifest/ThemeAttribute.cs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b41d23a046d19c4e85a5942c08debdc2b0e87f79c52c97552582a6a16119143"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] GetElasticIndexPermission"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore/OrchardCore.Elasticsearch.Core/ElasticsearchIndexPermissionHelper.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8735c3a6f9c73cc321e40055c2fa9d9ac2101dc44fd04e75c288d2b1647ac6f"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] ElasticSettings"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore/OrchardCore.Elasticsearch.Core/Models/ElasticSettings.cs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"27809654a47970987dce7e2f0214ced8afebc5ade41527ef80060c265e6739c4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO : get ContentItemVersionId from docs.Fields \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/OrchardCore/OrchardCore.Elasticsearch.Core/Services/ElasticsearchQuerySource.cs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f287cb5b25c68799b24a7b4557c53540f0f69856171d146af7676c451b82d8b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: (ngm) fix this 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/OrchardCore/OrchardCore.Infrastructure.Abstractions/Commands/DefaultCommandHandler.cs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a177bbb665c16f0a577b8944a0dc2fa536242749d53ed3ceefa8cb09da3d193"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // Todo: does this belong in dynamic 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/OrchardCore/OrchardCore.Infrastructure/Cache/CacheScopeManager.cs"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"8860e6a3a6520d295e6de9bd13dd69ec9f0fcbaf1ebea923d4039bd450f5b1ae"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: read \u0022analyzer\u0022 property \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/OrchardCore/OrchardCore.Lucene.Core/QueryProviders/Filters/MatchPhraseFilterProvider.cs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ad3a0c5cc0b6d4212280735236269b870c97f486409540d0e3f33a59fcf464e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: read \u0022analyzer\u0022 property \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/OrchardCore/OrchardCore.Lucene.Core/QueryProviders/MatchPhraseQueryProvider.cs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"155231a26c13e56069687d055afb5f3f7ab6ec5030796999d92ed71aa7b7f6e4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Support flags \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/OrchardCore/OrchardCore.Lucene.Core/QueryProviders/RegexpQueryProvider.cs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a0a45d7f5f5d0cdfdbae3a960e2cd14304e7a782fe88e983c5c2d084b744d6a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO demo lookup by detail distance. \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/OrchardCore/OrchardCore.Lucene.Core/Services/LuceneIndexManager.cs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"84eb7f86af5971580453c9b0ae5d50ef2f99629f31b67169308b97996a9a98b2"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] Bmp"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore/OrchardCore.Media.Abstractions/Processing/Format.cs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab20f8f59a710b94524d32e5ea0d0674b98ade4f99a9c0f5b567c26fc11fc7ab"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] Tga"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore/OrchardCore.Media.Abstractions/Processing/Format.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"554d4d9238ec8e1907eb79b16193a9a890c46c47b3a5a9bdf37e1b919bf7a5d4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove this registration and update dependent code to create ActionContext directly \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/OrchardCore/OrchardCore.Mvc.Core/Startup.cs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d50566f97cd8bbef11421f32e05389f08fc4c199070691915d012682a67ec74"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] ReplaceNewLinesWith"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore/OrchardCore.Mvc.Core/Utilities/StringExtensions.cs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"712ed21c8543946671bd2ac97cbc50ada6e8f39cbcc2167a96acd63561f27133"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] IsLetter"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore/OrchardCore.Mvc.Core/Utilities/StringExtensions.cs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c2319c9f463c00ea198beb9195d543a80a0244ec440f8122d576ca587746e48"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] IsSpace"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore/OrchardCore.Mvc.Core/Utilities/StringExtensions.cs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"c14245ecd57e3af7928116e0cf46be1e90e0728fc806179ee7dd80f8a9c09385"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Attach actual user and remove this clause. \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/OrchardCore/OrchardCore.Navigation.Core/NavigationManager.cs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed35cdeb07005882850b4900bd1a1e535294094971b8c01644cf6524b8e77dd2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: change the property type to JsonWebKeySet after migrating to System.Text.Json. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore/OrchardCore.OpenId.Core/YesSql/Models/OpenIdApplication.cs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"d89b9f9897fcba764da65e242cb2ad93ca4ad9ec3eb10f8c1581baa5e29e1351"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Try to optimize by only reading the required metadata instead of the whole file. \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/OrchardCore/OrchardCore.Recipes.Core/Services/RecipeReader.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c195a1bf088446c49a27e7fff08706a8d952f4b82ae937c7d43496172bfc8db"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] GetRoleNamesAsync"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore/OrchardCore.Roles.Core/Services/RoleService.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c7d7ccfdd81c71718460abd311c105daf5ae482b873917afaa107b3c90907ee"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] SystemRoleNameProviderExtensions"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore/OrchardCore.Roles.Core/SystemRoleNameProviderExtensions.cs"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"9adf585726215c62286f680649d56556e7fae0e7fbecbb24a7d43ff9355d9965"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] AddCondition"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore/OrchardCore.Rules.Abstractions/ServiceCollectionExtensions.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f540854903c7ba51face2685f4bd810237cbbb8b37947412a72b25458f4c736"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Should this be moved to a more central library? \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/OrchardCore/OrchardCore.Workflows.Abstractions/Converters/LocalizedStringConverter.cs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9c269f482ec40dafa68ec4c79f9338df4b5736c8df4f469d958b1fc11c33284"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore/OrchardCore/Modules/Overrides/HttpClient/TenantHttpClientFactory.cs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e3b56f12a3d939f9560b58fc38c0ac748b6f468d463c8f582a58316b5a9fb4e"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/OrchardCore.Benchmarks/ShapeFactoryBenchmark.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ebe0bd78cc5126efd1fa22c4b3e81984046d10b8e970080abf02cb7bcd4d8ac"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/OrchardCore.Tests/ContentDefinition/ContentDefinitionManagerTests.cs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"274615a72afcccf096b4cf5e7b0c777e45ca90db3fa24f37c21c994302e96fb2"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/OrchardCore.Tests/DisplayManagement/Descriptors/DefaultShapeTableManagerTests.cs"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"37a9296c2dc58df8759c09489f23f7788d09904931c482f453a08bf144726ac4"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/OrchardCore.Tests/DisplayManagement/SubsystemTests.cs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc638d8f2c1515e559b273a8e3b070e71a03ab30dad233cbf70d4b8a98e5cd8a"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/OrchardCore.Tests/Modules/OrchardCore.DataLocalization/Services/ContentTypeDataLocalizationProviderTests.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"0225e47d307347d227f74a258c81334f8e1eb4bb764f5848d66b70d8b38189a3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: TBD: now to test I want to look at actually doing this in a demo-assembly if possible... \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":"test/OrchardCore.Abstractions.Tests/Modules/Manifest/FeatureAttributeTests.Attribute.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"032e0cadfa1691a2518cbfef2fb77c27e362668462e4d38c09a5350925fc2107"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: TBD: which will be a bit tricky considering ModuleAttribute can appear exactly once... \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":"test/OrchardCore.Abstractions.Tests/Modules/Manifest/FeatureAttributeTests.Attribute.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"6701e326aa88d90b7c0a06aebffd18fc92d93284468cbea72b43fd052ae3108d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: TBD: testing via the CSPROJ aspect... i.e. to load the assembly in reference and check that it \u0027works\u0027 ... \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":"test/OrchardCore.Abstractions.Tests/Modules/Manifest/FeatureAttributeTests.Attribute.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9fc6975d0d83d679085066ce652d2fe7bb7b7af1e564d5cadd937c2757cedae"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: TBD: in addition to constructors... should be able to still set properties in the same way... \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":"test/OrchardCore.Abstractions.Tests/Modules/Manifest/FeatureAttributeTests.Attribute.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2161d9b3af15d83606bcfaf51183b292e0e0bcf2a6a138a51b382cee959e5bb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: TBD: in effect the constructors are \u0027sugar\u0027 after a sort that provide some shorthand \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":"test/OrchardCore.Abstractions.Tests/Modules/Manifest/FeatureAttributeTests.Attribute.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7ded61f9d2e1d79be20561a1fb04c51e92d370daf57200f117b8318003ccd77"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: MWP: the danger in providing a predicate such as this, we potentially mask the issues such as ModuleMarker\u002BModule... \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":"test/OrchardCore.Abstractions.Tests/Modules/Manifest/FeatureAttributeTests.Attribute.cs"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"69127a4d7bd9e17be5998df1755eda9687c9b3c5893e3f76de2bb981d71caf1c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //// TODO: MWP: devote a bit of thought to how better to test these... \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":"test/OrchardCore.Abstractions.Tests/Modules/Manifest/FeatureAttributeTests.cs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"376b0c1875251e515f8b5caba1a7503c16aab947f16588e847701a96a5638dcf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //// TODO: MWP: note that targets are mining for project properties and are also injecting a ModuleMarkerAttribute... \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":"test/OrchardCore.Abstractions.Tests/Modules/Manifest/FeatureAttributeTests.cs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"74374df4f315dfe44d5329a130556a3926c5523fe1e7ffb720185045a777a545"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //// TODO: MWP: ...which is also a \u0027Module\u0027, which is a possible source of confusion, spoofing, counterfeit, fraud, etc \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":"test/OrchardCore.Abstractions.Tests/Modules/Manifest/FeatureAttributeTests.cs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"5adb2169ed4eef049a8d3125344d4722ea62ff48538aaee63a11fa64a9794275"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: TBD: also for attributes created using property initializers \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":"test/OrchardCore.Abstractions.Tests/Modules/Manifest/FeatureAttributeTests.cs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"1515307fc8e595da5c9b371361e09f7284fe7ff8e57f5d2a4598ab8b183e7e2c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: TBD: also for attributes created using property initializers \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":"test/OrchardCore.Abstractions.Tests/Modules/Manifest/FeatureAttributeTests.cs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"207c2be18a14a330dfa8b00df0db4049897276900a79fb0461a4ba584b3a1e50"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: TBD: also for attributes created using property initializers \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":"test/OrchardCore.Abstractions.Tests/Modules/Manifest/FeatureAttributeTests.cs"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"5749c7b15ff9aeff5eec603f5b6469d1a4cf1b07df22f77a55728324f86f0e7b"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 12 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/OrchardCore.Abstractions.Tests/Modules/Manifest/FeatureAttributeTests.cs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad51b3e8fb662238f45e14dfb80995f1950b8ba3691f3033c6186795aacc24cb"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 12 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/OrchardCore.Tests/DisplayManagement/SubsystemTests.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2b0e380d16d36c48fa9462c25ee64fa1756a9214546b1a1c5cd75837e2f4704"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: TBD: add tests that help us expose non-named ctor args... \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":"test/OrchardCore.Abstractions.Tests/Modules/Manifest/ModuleAttributeTests.cs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"dee8f0589c24bfa4fa3ec11413f880c64a833ab0c5d121ec66ec16d3a01e8aa0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: TBD: i.e. avoid ambiguous args... \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":"test/OrchardCore.Abstractions.Tests/Modules/Manifest/ModuleAttributeTests.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef6a1a3bd365e24dd4c3f6ff155af30ae1d51c4084712ae9d9ce94d28e35d216"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: TBD: also include tests which verify known project/assembly references \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":"test/OrchardCore.Abstractions.Tests/Modules/Manifest/ModuleAttributeTests.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"c17dbeec08fc5581bdc097cb06706697e73c16395d49f93d9aa27b4a32462a91"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: TBD: with the idea that we introduce them in the csproj like we might otherwise expect \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":"test/OrchardCore.Abstractions.Tests/Modules/Manifest/ModuleAttributeTests.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb89509c0b2d0bcb66d9833964df3253f35e80189a13c57777af5193eb73a9a3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: MWP: could probably separate this between classes, Theory at one level, InlineData at another... \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":"test/OrchardCore.Abstractions.Tests/Modules/Manifest/ModuleAttributeTests.cs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4a8b2834cad6dc7d12f8ca69b825321cee4a470add57f7fc18c3cb52911cf38"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: MWP: plus separate out DisplayManagement tests to its own assembly, potentially... \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":"test/OrchardCore.Abstractions.Tests/Modules/Manifest/ModuleAttributeTests.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"7669389cd7f667751b50c040b97a589e868a0af09dc9711d9fe2f1c879be742e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: TBD: add the ArgumentException path for the bool (object) variations... \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":"test/OrchardCore.Abstractions.Tests/Modules/Manifest/ModuleAttributeTests.cs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa4f85593a3d3f063e1efba654d3d8cf218ef4f684eed2105b15dafc70e31ec1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /////// TODO: MWP: so far so good... review, rinse, and repeat with ThemeAttribute in view..."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/OrchardCore.Abstractions.Tests/Modules/Manifest/ModuleAttributeTests.cs"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"0083d1804bc47dae6acd791b301240b03584213c9d971292044899dcc06cfec5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /////// TODO: MWP: then need to (re-)consider whether ModuleMarkerAttribute is a desirable thing after all?"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/OrchardCore.Abstractions.Tests/Modules/Manifest/ModuleAttributeTests.cs"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"d012ebe8bad31fa85ee8c42eab3625b939cea80a2665be3a42587adc64604eba"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /////// TODO: MWP: what purpose d(oes/id) it serve, would a simple ctor on ModuleAttribute itself be sufficient?"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/OrchardCore.Abstractions.Tests/Modules/Manifest/ModuleAttributeTests.cs"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"37f074c73cd8b51d2948070724cc6ecf1742390053482b973e55c204bf7de66d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: ///// TODO: MWP: possible xUnit issue discovering this as a Theory... / https://github.com/xunit/xunit/discussions/2508"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/OrchardCore.Abstractions.Tests/Modules/Manifest/ModuleAttributeTests.cs"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"faaf58608714e5465c113c6cec0b155bd8225a24cf9052bf9e9c121253ffc06a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: MWP: verify as well, if there are services, contexts, infos, etc, that are more actively involved... \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":"test/OrchardCore.Abstractions.Tests/Modules/Manifest/ModuleAttributeTests.cs"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"4edb7a7ba6c9b44f5e82630dbbb8e5b41eafbc180ef35845311eb6855ee7b04b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: MWP: involved how, discovering, dissecting, disseminating, distributing, bits of Module details \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":"test/OrchardCore.Abstractions.Tests/Modules/Manifest/ModuleAttributeTests.cs"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"a15eabde0ce1377dd62d88b536e62eb552839564ba9115c69d0cad689e20c2c7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: MWP: note that targets are mining for project properties and are also injecting a ModuleMarkerAttribute... \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":"test/OrchardCore.Abstractions.Tests/Modules/Manifest/ModuleAttributeTests.cs"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a9122c701179b7e5c6671f39f7daf9ee0bc075e691c1b3545223cb8cd9c06fe"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: MWP: note that targets are mining for project properties and are also injecting a ModuleMarkerAttribute... \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":"test/OrchardCore.Abstractions.Tests/Modules/Manifest/ModuleAttributeTests.cs"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd86c408e598e4cd611ac4a14f5d913f47a086797033c1180c5911cbffdb5b1d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: MWP: note that targets are mining for project properties and are also injecting a ModuleMarkerAttribute... \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":"test/OrchardCore.Abstractions.Tests/Modules/Manifest/ModuleAttributeTests.cs"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ae00c9b25d4058e0beb609c2fb01d4e0961119d40b07c7012cc27d293c2f7a8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: MWP: note that targets are mining for project properties and are also injecting a ModuleMarkerAttribute... \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":"test/OrchardCore.Abstractions.Tests/Modules/Manifest/ModuleAttributeTests.cs"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9ca8d14ef8a1295a3e4c6e0bacb98fc8a7c30dcac7e7e09f089e166e114b1de"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: MWP: note that targets are mining for project properties and are also injecting a ModuleMarkerAttribute... \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":"test/OrchardCore.Abstractions.Tests/Modules/Manifest/ThemeAttributeTests.cs"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"cab97c2ca58d64a69cc80af0517378ed2d7d19bb40eeda37a232996501644644"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: MWP: note that targets are mining for project properties and are also injecting a ModuleMarkerAttribute... \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":"test/OrchardCore.Abstractions.Tests/Modules/Manifest/ThemeAttributeTests.cs"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"35b913910893f9f4f8a4e32a6cb7e5995c931689a1c04308ab98e08023148856"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: MWP: note that targets are mining for project properties and are also injecting a ModuleMarkerAttribute... \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":"test/OrchardCore.Abstractions.Tests/Modules/Manifest/ThemeAttributeTests.cs"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c947ca8ce45669b907ec40df600d64b66c24d59896f24634277aa8e6f772420"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: MWP: note that targets are mining for project properties and are also injecting a ModuleMarkerAttribute... \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":"test/OrchardCore.Abstractions.Tests/Modules/Manifest/ThemeAttributeTests.cs"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"393e619ff523206ec58a9e48bb6a81fe6832507768faa2283cab16ebbe1bd208"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: MWP: ...which is also a \u0027Module\u0027, which is a possible source of confusion, spoofing, counterfeit, fraud, etc \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":"test/OrchardCore.Abstractions.Tests/Modules/Manifest/ModuleAttributeTests.cs"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"66e90269d88eb485b037c64a4eb942a5e712dde632f941732d970f915771adea"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: MWP: ...which is also a \u0027Module\u0027, which is a possible source of confusion, spoofing, counterfeit, fraud, etc \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":"test/OrchardCore.Abstractions.Tests/Modules/Manifest/ModuleAttributeTests.cs"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"136abee2e34562ba903233c5901d4ab6e12ace4c679af313b8a6ff6d5587041d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: MWP: ...which is also a \u0027Module\u0027, which is a possible source of confusion, spoofing, counterfeit, fraud, etc \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":"test/OrchardCore.Abstractions.Tests/Modules/Manifest/ModuleAttributeTests.cs"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"5539c0f759bbd5941b89647e32d788e15dfa53036eb9fd132e3d2d28a6835d33"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: MWP: ...which is also a \u0027Module\u0027, which is a possible source of confusion, spoofing, counterfeit, fraud, etc \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":"test/OrchardCore.Abstractions.Tests/Modules/Manifest/ModuleAttributeTests.cs"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4740600d003e1a0bc8b0598f6dbd5002cb5710549e5b322a485381e70a31e02"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: MWP: ...which is also a \u0027Module\u0027, which is a possible source of confusion, spoofing, counterfeit, fraud, etc \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":"test/OrchardCore.Abstractions.Tests/Modules/Manifest/ThemeAttributeTests.cs"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"e81e177730ef86a69856e7aed7e83ccbc159d57001603f8b2108837fe74a0652"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: MWP: ...which is also a \u0027Module\u0027, which is a possible source of confusion, spoofing, counterfeit, fraud, etc \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":"test/OrchardCore.Abstractions.Tests/Modules/Manifest/ThemeAttributeTests.cs"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"37513d87792e63027200ca6e507c637c6e96cb354843434273f5d25a2a0e3535"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: MWP: ...which is also a \u0027Module\u0027, which is a possible source of confusion, spoofing, counterfeit, fraud, etc \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":"test/OrchardCore.Abstractions.Tests/Modules/Manifest/ThemeAttributeTests.cs"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ccbdce0c5825e342bf887e6ab126cee4e277b5cd78a99358090ec39c5dd6bd9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: MWP: ...which is also a \u0027Module\u0027, which is a possible source of confusion, spoofing, counterfeit, fraud, etc \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":"test/OrchardCore.Abstractions.Tests/Modules/Manifest/ThemeAttributeTests.cs"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"a335e2111082a8841715e66c6178f02597cfd2d96dab8427c0b9f799882bd865"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: TBD: may report what is being tested also for Module, Features, etc... \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":"test/OrchardCore.Abstractions.Tests/Modules/Manifest/ModuleAttributeTests.cs"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"45942f5a8d940943e37fa15ffce1513653dfcf19f8bca031cfa30938887ee530"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: TBD: may report what is being tested also for Module, Features, etc... \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":"test/OrchardCore.Abstractions.Tests/Modules/Manifest/ThemeAttributeTests.cs"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3c56455534f5127216e3d5da3099518b4385e6d8ffe0485bb05bf14b224ac90"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /* TODO: TBD: might be interesting to add tests that allow projects to be built in\n     * process, and to gauge the status codes in response accordingly... The supporting\n     * projects are \u0027there\u0027 already, and all we would need to do is load them in an\n     * appropriate Build context, try to build, and monitor.\n     */ \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":"test/OrchardCore.Abstractions.Tests/Modules/Manifest/ModuleAttributeTests.cs"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"f49613dee4d3a5ef6e1fa3c0a5fecdd0fc83afca454b62fee2ffe67c6bb76d2d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //// TODO: MWP: will circle around on this one... \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":"test/OrchardCore.Abstractions.Tests/Modules/Manifest/ModuleMarkerAttributeTests.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b12e9587222702e025f32bc38288c60ca237c0bb679058ac906fc4a6ae1df7b8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //// TODO: MWP: rinse and repeat for module marker ... \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":"test/OrchardCore.Abstractions.Tests/Modules/Manifest/ModuleMarkerAttributeTests.cs"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8ae492d7ea9b3c073d2774e380dae1a9eb9c5d5e3852dc8d29b0887ed1d2f0c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: MWP: will circle around on this one... \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":"test/OrchardCore.Abstractions.Tests/Modules/Manifest/ThemeAttributeTests.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5212e2e88f940a0d4ef6b71b729cdd1b7368f0cb275b99cf1bb9fa8ff7544e6c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: MWP: rinse and repeat for module marker ... \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":"test/OrchardCore.Abstractions.Tests/Modules/Manifest/ThemeAttributeTests.cs"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"3848a26a4275475ea1b47f541143e36bcf85f91fe249cf4d85c43e05273ceea5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: TBD: ditto ModuleAttributeTests re: in process Build scaffold \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":"test/OrchardCore.Abstractions.Tests/Modules/Manifest/ThemeAttributeTests.cs"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a9c7c8df1459ed85d3fa3cd3c57966066d1ac35c0ea95aef0b002fa067eaae3"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable repeated 14 times in one file: The identical BarePragmaDisable (\u0060#pragma warning disable CA1822\u0060) appears 14 times in one file \u2014 one decision applied repeatedly (e.g. the same rule silenced on every overload of a fluent API), not 14 independent debts. Decide it once \u2014 at the type or project level, or by fixing the underlying pattern \u2014 rather than occurrence-by-occurrence. (Every occurrence still counts toward the score and metrics.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/OrchardCore.Benchmarks/ArgumentsBenchmark.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"e958cf9c2844228e9a964bd333d3cf3c8d9eff8b0221cf531d16f17e2800c8d7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO this benchmark is meaningless as the benchmark noops as the input is not a shape. \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":"test/OrchardCore.Benchmarks/ShapeFactoryBenchmark.cs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"99d2d45119ca1d6606c6543fb50eacee2cf36bfc44430bd25da6a333ce8739b5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: MWP: would be better if perhaps we could verify a BUILD cycle from code \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":"test/OrchardCore.Tests.Modules/Errors.OrchardCoreModules.TwoPlus/Root.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"70fd52c6e2c962ad8691418e112477c5a91501d0293b5d35c0d3719408fd31d5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: MWP: would be better if perhaps we could verify a BUILD cycle from code \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":"test/OrchardCore.Tests.Themes/Errors.OrchardCoreThemes.ThemeAndModule/Root.cs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"95cfd3db590c9b04e51f229964fd3befe8f02105948ac25e290a7d2d7587a4a9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: MWP: would be better if perhaps we could verify a BUILD cycle from code \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":"test/OrchardCore.Tests.Themes/Errors.OrchardCoreThemes.TwoPlus/Root.cs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"6244a65667548bb67889bac48836cf4421d5367e332300dd6510119e76c29c08"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: MWP: but this would also require a bit of xUnit scaffold to support \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":"test/OrchardCore.Tests.Modules/Errors.OrchardCoreModules.TwoPlus/Root.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"03994c124c69c0930555c5de6d69841c3ed9bb7d325e3ae6369ce68919df5f30"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: MWP: but this would also require a bit of xUnit scaffold to support \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":"test/OrchardCore.Tests.Themes/Errors.OrchardCoreThemes.ThemeAndModule/Root.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"c533b1175b78d9fd7ac024c890a265888129ea586690c3de759ab2255b525825"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: MWP: but this would also require a bit of xUnit scaffold to support \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":"test/OrchardCore.Tests.Themes/Errors.OrchardCoreThemes.TwoPlus/Root.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a4ae0cad2b14ba6394171cf03c76b3884c46ccaa9cf0bf5ad0f97c9b7adbe1e"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable 660,661 \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":"test/OrchardCore.Tests/Commands/CommandHandlerDescriptorBuilderTests.cs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cd258af48f04f19c409b4ce86abff337a2d8b6380ade29a51a7f3979981b7db"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 11 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/OrchardCore.Tests/ContentDefinition/ContentDefinitionManagerTests.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"93756bbd325b3b92cacc2eee7550e52c0af549a0fb7f3f0aac7b70fa07ed2241"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/OrchardCore.Tests/ContentDefinition/ContentDefinitionManagerTests.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"a33a7fb0efab16a054cc071bb04f431f717de3666ad58958d394f974542011dd"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/OrchardCore.Tests/ContentDefinition/ContentDefinitionManagerTests.cs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"5078625635170186b54f61944d299d1a8141f5903caedfef1e40aff55d41881b"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/OrchardCore.Tests/ContentDefinition/ContentDefinitionManagerTests.cs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"51a7722b471866b46168019d65b08534b513b33dd4175f7d851276fb230e9304"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 10 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/OrchardCore.Tests/ContentDefinition/ContentDefinitionManagerTests.cs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"e48a3278431d14cce09c7391e49a9b6287e0dcb9d6a9e064c4ab5dfa2e1bcfd5"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 10 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/OrchardCore.Tests/ContentDefinition/ContentDefinitionManagerTests.cs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"88e590782a4297210c19c1ce02e43a47e6c06dee34b4363393e5409a13778313"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 6 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/OrchardCore.Tests/ContentDefinition/ContentDefinitionManagerTests.cs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fbf0a77d5e63d77d577a6f051c26e7e970bb87b35ee1253f8c6d07df4939e16"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: (sebros) find a way to \u0027use\u0027 the current implementation in DefaultContentDisplay.BindPlacement instead of emulating it \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":"test/OrchardCore.Tests/DisplayManagement/Descriptors/DefaultShapeTableManagerTests.cs"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a5d010817c8aa11cba555a66e20549f16f01bbf0c1540169911c845b5260659"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 22 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/OrchardCore.Tests/DisplayManagement/SubsystemTests.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c56e40874e01ad9072053560bb856eddbedefe839088934fe3a089f76928c62"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 8 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/OrchardCore.Tests/DisplayManagement/SubsystemTests.cs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"35e967a1983e0b5885054518bd8c736ad3d4e1491c16a5f2a091a68fa80a5785"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: CA1707 \u2014 this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or \u2014 if some occurrences really are legitimate \u2014 narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/OpenApiClientGenerator/OpenApiClientGenerator.csproj"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb8ea29d34da24b4d922201921c68bc550a37ab13aacc0001cb1cacc569bd9d6"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: CA1707 \u2014 this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or \u2014 if some occurrences really are legitimate \u2014 narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/OrchardCore.Tests/OrchardCore.Tests.csproj"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fba8691510d9513b8689e0cac9e4a0fe6f518a232009f3b3da347698f258cd9"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: CA1707 \u2014 this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or \u2014 if some occurrences really are legitimate \u2014 narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/OrchardCore.Tests.Integration/OrchardCore.Tests.Integration.csproj"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"8183ad82d7d9a01706b4912e74a0d1e0f7b30a5e4d9d609aba27c4e24b9fa504"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: CA1707 \u2014 this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or \u2014 if some occurrences really are legitimate \u2014 narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/OrchardCore.Tests.Functional/OrchardCore.Tests.Functional.csproj"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d475ca956aa5f314d0bd85bfe5b0d48a6bc07f2645e72fb4c80d2358c75c3e0"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: CA1707 \u2014 this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or \u2014 if some occurrences really are legitimate \u2014 narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/OrchardCore.Benchmarks/OrchardCore.Benchmarks.csproj"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"c62941ac4c21ef353a112115f77b5f3b0facbcc75f87b2e4b0062c838abd6aad"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: CA1707 \u2014 this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or \u2014 if some occurrences really are legitimate \u2014 narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/OrchardCore.Abstractions.Tests/OrchardCore.Abstractions.Tests.csproj"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4646fe7b9a1b1e6af16114cd4a38ade3f08ed75cef2411beba8e8f2475d7a58"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: EnableGenerateDocumentationFile \u2014 this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or \u2014 if some occurrences really are legitimate \u2014 narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/OrchardCore.Tests/OrchardCore.Tests.csproj"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"63ce7f4aa8402d65030c116018c905fdce5ee8550836ac9f970e7b3e5e7ad753"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: EnableGenerateDocumentationFile \u2014 this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or \u2014 if some occurrences really are legitimate \u2014 narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/OrchardCore.Tests.Integration/OrchardCore.Tests.Integration.csproj"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f7b7c9d3c0046359aacb1f9495dd8e4eceb507cb78e8a9180f80f5bd5bed172"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: EnableGenerateDocumentationFile \u2014 this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or \u2014 if some occurrences really are legitimate \u2014 narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/OrchardCore.Benchmarks/OrchardCore.Benchmarks.csproj"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"39498a4cb9e56f8b7c2843d325fab8b8df220446cb9c82f4b10b165d7ca6023a"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: EnableGenerateDocumentationFile \u2014 this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or \u2014 if some occurrences really are legitimate \u2014 narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/OrchardCore.Abstractions.Tests/OrchardCore.Abstractions.Tests.csproj"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"45b8d452ab1b140eab68cde2e885611d446d544062a77c90f778b3eb77589888"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: EnableGenerateDocumentationFile \u2014 this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or \u2014 if some occurrences really are legitimate \u2014 narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/OrchardCore.Tests.Pages/OrchardCore.Application.Pages/OrchardCore.Application.Pages.csproj"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7a529854d9057ddb333f957e2487bcf78628b4fc9521bdb40636b0795b67a57"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: CS1591 \u2014 this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or \u2014 if some occurrences really are legitimate \u2014 narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore.Mvc.Web/OrchardCore.Mvc.Web.csproj"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"bab06d8b2762019bc7e3e59ee329e5b85ea682521afad50d46a7fd948a72b660"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: CS1591 \u2014 this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or \u2014 if some occurrences really are legitimate \u2014 narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore.Cms.Web/OrchardCore.Cms.Web.csproj"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"11b3ba9293de187c4a3a92785c2416d6aac33b0434b30fdc6d7bf1c69a3886f4"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: CS1591 \u2014 this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or \u2014 if some occurrences really are legitimate \u2014 narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Directory.Build.props"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c6cf013ebcd83fa872593934c268e28398f82f69bdf0bf4e308fd53ad94985"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: CS1591 \u2014 this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or \u2014 if some occurrences really are legitimate \u2014 narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore.Build/OrchardCore.Commons.props"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5bb83f776a6b932c1426619425ef52086788c9929c6b856bea8115644813266"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: CS8021 \u2014 this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or \u2014 if some occurrences really are legitimate \u2014 narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Templates/OrchardCore.ProjectTemplates/OrchardCore.ProjectTemplates.csproj"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"87e82d63c955c377b1ebcc6ab7b60e47d4d949b9b05e9a2aa9f6d1d048199c65"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: CS2008 \u2014 this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or \u2014 if some occurrences really are legitimate \u2014 narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Templates/OrchardCore.ProjectTemplates/OrchardCore.ProjectTemplates.csproj"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"a30c3d54969fe887b455095041169dfc9bf2aefb902829a1e6f4c17c1697bcfb"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: CA1016 \u2014 this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or \u2014 if some occurrences really are legitimate \u2014 narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Templates/OrchardCore.ProjectTemplates/OrchardCore.ProjectTemplates.csproj"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"4684043a1b6deb92cc6dc45e6426947baaa7e8577e04c2a153e5f0a50831cfa8"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: CA1304 \u2014 this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or \u2014 if some occurrences really are legitimate \u2014 narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Directory.Build.props"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfd41b8104da1f38ac743cea248c07f0dc802a16b69c5a0eb9c6edd987c3b9d8"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: CA1305 \u2014 this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or \u2014 if some occurrences really are legitimate \u2014 narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Directory.Build.props"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"85a0e85ad756e7d0f6ce8373e44434e006cc9b0de13bce0f36bcef9388d79083"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: CA1310 \u2014 this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or \u2014 if some occurrences really are legitimate \u2014 narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Directory.Build.props"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"c897a23d627588d266ef6480261ed15f578971586fe045107e6302c209f8e891"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: CA1311 \u2014 this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or \u2014 if some occurrences really are legitimate \u2014 narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Directory.Build.props"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"209eaca39a34c7c8fc22def6d0a8528840667ed459ba3a145ad941a5b329b231"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: CA1000 \u2014 this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or \u2014 if some occurrences really are legitimate \u2014 narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Directory.Build.props"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"05b97e8cbe72c97ec67182538674a22b82f66eaa769a442da1521c1e5da3b130"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: CA1848 \u2014 this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or \u2014 if some occurrences really are legitimate \u2014 narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Directory.Build.props"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d9605198d91207eb26ef9263c4733ff9fe0c2d8ea5302462dbca863caa8a5d5"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: CA1720 \u2014 this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or \u2014 if some occurrences really are legitimate \u2014 narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Directory.Build.props"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"d891202f3931a280ed04004a261f5528625ba59d8e35d39280640984ce6ef9ab"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: CA1051 \u2014 this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or \u2014 if some occurrences really are legitimate \u2014 narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Directory.Build.props"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbd441404ba344570e2090be09d65d751da663fb68e205b01f7303d7b2504ae3"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: CA1200 \u2014 this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or \u2014 if some occurrences really are legitimate \u2014 narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Directory.Build.props"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff08f32ce835b267a92b7025c4d1dee16d20d68061ce403bdc8c1bf1d85fbb78"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: CA1711 \u2014 this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or \u2014 if some occurrences really are legitimate \u2014 narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Directory.Build.props"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"96efa480dea879e8f69edf960b7c8107d08035c86dcd5921e2a74c4d539fc922"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: CA1725 \u2014 this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or \u2014 if some occurrences really are legitimate \u2014 narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Directory.Build.props"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fa8f7c4b6e1f17b283e35d53127f4004ab8eff3885f92171d9f7657644ea598"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: CA1716 \u2014 this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or \u2014 if some occurrences really are legitimate \u2014 narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Directory.Build.props"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d1549e5ca0f3110321ab1065ac39bdf16a8ab7d0c4d14b261a15e40d7db5db3"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: CA1001 \u2014 this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or \u2014 if some occurrences really are legitimate \u2014 narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Directory.Build.props"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"cddd8159c802b407da28ea364cffcae9ad067bbdb16ed6954fd783dbe7038e45"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: CA2201 \u2014 this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or \u2014 if some occurrences really are legitimate \u2014 narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Directory.Build.props"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"f983984b32e416d6c1f16367b81b6d416f3c19e5c2fa0b1a600b9e04bdc5e01b"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: SA0001 \u2014 this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or \u2014 if some occurrences really are legitimate \u2014 narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Directory.Build.props"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef33a3ee88549315507406054c2dc8da8277fc182a608695261a42b5f2121ff2"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: CS1573 \u2014 this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or \u2014 if some occurrences really are legitimate \u2014 narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Directory.Build.props"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"51a1b6075b2a4bff2382b0f8f2164a8c945afde63c08bc1f810fbbd2bb6c2ddd"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: CS1712 \u2014 this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or \u2014 if some occurrences really are legitimate \u2014 narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Directory.Build.props"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bdcfb64f43ce4c1adfef4c728f598cb0c951e66a22ce07c535b2208b66f46a4"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: 0436 \u2014 this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or \u2014 if some occurrences really are legitimate \u2014 narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore/OrchardCore.Module.Targets/OrchardCore.Module.Targets.targets"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"5341bc001d19d6feb71c4f85f9b3b41fd40bc9e9e5c7e196684748127b9cc475"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: 0436 \u2014 this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or \u2014 if some occurrences really are legitimate \u2014 narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore/OrchardCore.Application.Targets/OrchardCore.Application.Targets.targets"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c2d530cfcb979368e7338303851da22d4a588510500906cb060c1881dac65f8"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: CookieOptionsConfiguration: NamedType CookieOptionsConfiguration \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore.Modules/OrchardCore.Microsoft.Authentication/Configuration/CookieOptionsConfiguration.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed5dae48a4f2c1777c37d71692a7910ef3a9e41e8bf250ecf728d7fb1d214ebd"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: Deconstruct: Method Deconstruct \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/OrchardCore.Abstractions.Tests/Modules/Manifest/FeatureAttributeTests.Attribute.cs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"7deca98abddc2be083702698a628e83c3acd357c7943a6f90ff61c370c42712f"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: Deconstruct: Method Deconstruct \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/OrchardCore.Abstractions.Tests/Modules/Manifest/FeatureAttributeTests.Attribute.cs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c4565ddaada992068a7d503af8af7a2a9c1ad9b14c6aefec2560e16e9bf1855"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: TestModuleInitializer: NamedType TestModuleInitializer \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/OrchardCore.Tests.Functional/Helpers/TestModuleInitializer.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8dde2efce8684e837111e18d74d29be86dc29c9cb6256f9dbd6bca578a8cd94"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: StubResourceManifestProvider: NamedType StubResourceManifestProvider \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/OrchardCore.Tests/ResourceManagement/ResourceManagerTests.cs"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"96cff5c59a5d59d56ae4cfaa3b260b9977645da65a0cf08d108aeeac6a9119e5"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: JintHostContractVerification: NamedType JintHostContractVerification \u2014 no references found in solution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/OrchardCore.Tests/Scripting/JintHostContractVerification.cs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5ae65ee8faeba80c20f4969a80d138dd8dd2f708b49617876ae5bc85c476831"}},{"ruleId":"D18","level":"note","message":{"text":"Shell project: OrchardCore.ContentPreview.Abstractions: \u0060OrchardCore.ContentPreview.Abstractions\u0060 contributes only 6 significant line(s) \u2014 an empty/placeholder project is structural noise. Remove it or fold its contents into a real project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore/OrchardCore.ContentPreview.Abstractions/OrchardCore.ContentPreview.Abstractions.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0964a6ce6b9d0e6e37ac65a8799ecb60aa54b07eedbbc4f9e19242d9f89f9dc3"}},{"ruleId":"D18","level":"note","message":{"text":"Shell project: OrchardCore.Markdown.Abstractions: \u0060OrchardCore.Markdown.Abstractions\u0060 contributes only 5 significant line(s) \u2014 an empty/placeholder project is structural noise. Remove it or fold its contents into a real project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore/OrchardCore.Markdown.Abstractions/OrchardCore.Markdown.Abstractions.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"420997f9024e78230c5c3d4e857264d7650de0e2d840bd7836eae3b183f114b9"}},{"ruleId":"D18","level":"note","message":{"text":"Thin analysable surface across projects: 10 project(s) carry only a thin slice of real code (e.g. \u0060BaseThemeSample2\u0060 with 10 significant line(s)). The mean analysable-surface weight is 33 %, lowering Solution Shape by about 5.39 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 233636 LoC spread over 235 projects the codebase is both very 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":"Projects may be oversized for their cohesion: 9 of 235 project(s) overshoot their size bounds, lowering Project Cohesion to 9.3/10. The most over is \u0060OrchardCore.Abstractions\u0060 (9328 LoC, 221 public types across 47 namespaces). Review these for cohesion \u2014 split a project that spans unrelated responsibilities."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D31","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":"1f51a163f26d94ce6b6f473117dde579d091c8cbf9e59810475c94d9fc921120"}},{"ruleId":"D32","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"daa8f26a2b22fd5adf59e9601c0bbeea0d68b441f0bfd70bbf1a7f67c9662c8d"}},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 45 of 1064 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/OrchardCore.Modules/OrchardCore.UrlRewriting/Controllers/AdminController.cs, src/OrchardCore.Modules/OrchardCore.Lucene/GraphQL/LuceneQueryFieldTypeProvider.cs, src/OrchardCore/OrchardCore/Shell/Removing/ShellRemovalManager.cs (and 42 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":"error","message":{"text":"Boundary-crossing change coupling: LocalizationEntries.cs \u2194 AutorouteEntries.cs: \u0060src/OrchardCore.Modules/OrchardCore.ContentLocalization/Services/LocalizationEntries.cs\u0060 (context OrchardCore.Modules) and \u0060src/OrchardCore/OrchardCore.Autoroute.Core/Services/AutorouteEntries.cs\u0060 (context OrchardCore) sit in DIFFERENT parts of the tree yet change together 53% of the time (8 of the 15 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore.Modules/OrchardCore.ContentLocalization/Services/LocalizationEntries.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"888e349037250c9dd04323539ef51392f029740a3d173e805865a7eb0bced6bb"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: EmailTask.cs \u2194 EmailTaskViewModel.cs: \u0060src/OrchardCore.Modules/OrchardCore.Email/Workflows/Activities/EmailTask.cs\u0060 and \u0060src/OrchardCore.Modules/OrchardCore.Email/Workflows/ViewModels/EmailTaskViewModel.cs\u0060 change together 73% of the time (8 of the 11 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/OrchardCore.Modules/OrchardCore.Email/Workflows/Activities/EmailTask.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8300d7672da381cccf5cf728ed29a5306c63156a699e53461baa8b91e4b09e8a"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: AccountController.cs \u2194 RegistrationSettings.cs: \u0060src/OrchardCore.Modules/OrchardCore.Users/Controllers/AccountController.cs\u0060 and \u0060src/OrchardCore.Modules/OrchardCore.Users/Models/RegistrationSettings.cs\u0060 change together 53% of the time (8 of the 15 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/OrchardCore.Modules/OrchardCore.Users/Controllers/AccountController.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f738392bd898b2e6265cdc46b913e75f3fedd17ebd0deb141b8926556f1d0bf"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: AdminController.cs \u2194 EditUserViewModel.cs: \u0060src/OrchardCore.Modules/OrchardCore.Users/Controllers/AdminController.cs\u0060 and \u0060src/OrchardCore.Modules/OrchardCore.Users/ViewModels/EditUserViewModel.cs\u0060 change together 52% of the time (11 of the 21 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/OrchardCore.Modules/OrchardCore.Users/Controllers/AdminController.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e16a7cb80ca354baf56301e0ba78f2d86b270fc8924bad41c5a748dbb57f316"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: OrchardRazorHelperExtensions.cs \u2194 ImageResizeTagHelper.cs: \u0060src/OrchardCore.Modules/OrchardCore.Media/Razor/OrchardRazorHelperExtensions.cs\u0060 and \u0060src/OrchardCore.Modules/OrchardCore.Media/TagHelpers/ImageResizeTagHelper.cs\u0060 change together 50% of the time (7 of the 14 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/OrchardCore.Modules/OrchardCore.Media/Razor/OrchardRazorHelperExtensions.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eef371bc4034c2caa40962e8ecf611a10987902d952a2c5103ce0587d4ece406"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ServiceCollectionExtensions.cs \u2194 AzureAISearchIndexManager.cs: \u0060src/OrchardCore/OrchardCore.AzureAI.Core/Extensions/ServiceCollectionExtensions.cs\u0060 and \u0060src/OrchardCore/OrchardCore.AzureAI.Core/Services/AzureAISearchIndexManager.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/OrchardCore/OrchardCore.AzureAI.Core/Extensions/ServiceCollectionExtensions.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"660a8e825fe1f4b426e7e51792cc70cac5a38de045fdfd9db2e0330b3ee81398"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ScheduledArchivingBackgroundTask.cs \u2194 ScheduledPublishingBackgroundTask.cs: \u0060src/OrchardCore.Modules/OrchardCore.ArchiveLater/Services/ScheduledArchivingBackgroundTask.cs\u0060 and \u0060src/OrchardCore.Modules/OrchardCore.PublishLater/Services/ScheduledPublishingBackgroundTask.cs\u0060 change together 50% of the time (5 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/OrchardCore.Modules/OrchardCore.ArchiveLater/Services/ScheduledArchivingBackgroundTask.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"618176c751af8a361f98cc7059206f5306d840c327fad99b9b83dc95da245982"}},{"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":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"}},{"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":"0752d0df7434000fcabf1048e2de30a7a1a8b982b3db9a19898c4dec199856b4"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d657599f6f99da1927d3377533dfc0888b34c4d84aa7d5579841fd72d0e39bce"}},{"ruleId":"D38","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":"165653a1e9c5a5c1db42ba98ed19c631b3a17ce643af1f24b3ee623ca8933a5d"}},{"ruleId":"D38","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":"b5e07f0f952feb4688dc6d940b07ddef15003bd9f1a9f7d6d2007ae088b0b8f5"}},{"ruleId":"D38","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":"f795ced4f02246dfeb617980c21a81599d3830f823144b9e628d71c980ad9be9"}},{"ruleId":"D38","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":"2ae8ef8843b47c240c0398a559fa0fd7dd800fbf46f1a8adb84b2fc4dc62e7dd"}},{"ruleId":"D38","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":"453085c982f925cc8ddd97ee96c10d5da34d7bb0843e3540de0b64191ae39a62"}},{"ruleId":"D38","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":"f8b1fa30af31a0e4439a90de9e01c19e66d51909d18ea15f4c790ba1116c1f8c"}},{"ruleId":"D38","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":"f723a0b05e0a966dd939d3c1f2e4f03cf9145ddeb73d2bc9b628b434a3246509"}},{"ruleId":"D38","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":"d4aefd868c4876fd086b555a221b4dd50d4c0a261a3bfe169a33133c5d248184"}},{"ruleId":"D38","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":"5d72773e2160c0058796a74d85a3e09d8ee59ce49e736a946d50f3ab97f960a2"}},{"ruleId":"D38","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":"3126ffe15d5b9331c452c5520c457eddf231fba902fbcd62656d5f28307e6ce8"}},{"ruleId":"D38","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":"7423dbf6adcc310cc4558590a7fbc905570fdba77429b9e4b64e5fa542ffe7d2"}},{"ruleId":"D38","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":"b6e4cdcb6806baaf43cb38cfa38794e973a94ab95e6a5c39d17249b14550eeef"}},{"ruleId":"D38","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":"34c03cd528ebcda5469f119d10f0f7610584621d1c170c9156d20fdace892c15"}},{"ruleId":"D38","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":"3fe338046e25f4f8c8b8bccf480feed84cd027073afb8f9d292241963bcda6ad"}},{"ruleId":"D38","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":"ed58e00f4bcb9d28a85da20d9696053f658efca9e80f2308f3ab7d954ade13cc"}},{"ruleId":"D38","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":"62195632c71e5e0f3739dce071b2fa417e7aeab184c0abfaf60e5c61d39ca89f"}},{"ruleId":"D38","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":"66d3f127b5fb1e411f4b9bd75476895c26f6cd120ca774b1866632f9c0361efd"}},{"ruleId":"D38","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":"3bc01a68260f7cee73db1537fa1dbe51e77ea674727cb34e59db97e8c834a1ac"}},{"ruleId":"D38","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":"4d7634937836b6def44935510b7d7626537e6c595c58e7db97dae7c343f8dd62"}},{"ruleId":"D38","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":"5c85652cb5b8275ef9b504c5a7c3ee0e77f47b8a9185ca94a73ef2cf74ee1083"}},{"ruleId":"D38","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":"24d9da4ff9da83e685133420e1102ce03c40a6f5c5522afbb3a4cadcfb3aa706"}},{"ruleId":"D38","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":"97bccaa3dfeb90f797a70b451e699732774153e3d8c3d5f42ed4411f3fcc94b0"}},{"ruleId":"D38","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":"b93456fd85d1c4f251a816789ba2ae1bfe2af6bbe3d6bb2ce6fe64e47f217451"}},{"ruleId":"D38","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":"dd9467ff4745460795b9c43627a136b18d08963d613cb7d3d24023e4da228c25"}},{"ruleId":"D38","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":"e8868d4125b0743c018e78a0fc4434a7674468e064001d1cc41516a19d225174"}},{"ruleId":"D38","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":"57866a7e1707fc6900573eed0f27eef45efea4d302ac8dd27b49124f996d5d11"}},{"ruleId":"D38","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":"9cbf3068c497b9171d965b7560a25c1974b35b39b539ab32cfefcb740a45bf00"}},{"ruleId":"D38","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":"3fd84761b1c4b2c3fd2912ca3bca11ec92caf3c0623ffae80fed8ef867818394"}},{"ruleId":"D38","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":"4d7c4cac7f5ec80b899ea94924397feb77f4fdcfd8bf6ca6f7239a6139acdffe"}},{"ruleId":"D38","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":"2fef465b3a18cdb512d440889396cb114e6bb1f5db1c595a056a86206df79b80"}},{"ruleId":"D38","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":"eccd748e74aa0e14e31290c08c873afd8703a177eff7435ae8355f1da00ddbfb"}},{"ruleId":"D38","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":"83c654d200d4bec865f24f1daf9d8cc7c7c000736186d25fb06d2ca380202d7e"}},{"ruleId":"D38","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":"b3e963d5c354cbc4b3682c575719e582cd91a083537ee60541d2e7efb44fb079"}},{"ruleId":"D38","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":"ceabe49a4f7ed083d47c12cce29c064a9b00eaa5f3cf517678ec2faf6e182b38"}},{"ruleId":"D38","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":"00cce6bd1de8e0c451b3058391d41a417217c148f3becc0a75e7dde2ff04e577"}},{"ruleId":"D38","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":"889e2efc91a1dd28902a23b0db7797de1bfa42bd37cd4eff351f95683b6c122d"}},{"ruleId":"D38","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":"088cbecc01689c9d928f01c60c4bef0bf317e331d98bb824f20f2dbd2b409d7d"}},{"ruleId":"D38","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":"bb1aeeb677a9b784ddbb0f74cde3008b2973865b8988eea325912a59ad77f936"}},{"ruleId":"D38","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":"5a826b6ef4cd6c6a5d33bcf3c354cdae487983dc3b5b0cb8934e267f179866f3"}},{"ruleId":"D38","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":"37ed797941942e76c14cd19233b3db84abc7cc065fee11ca193e6624a82d0310"}},{"ruleId":"D38","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":"93e550f1748a725b1ce2f4f127ba82fcdab402b79ce3ebdb4c3c48941081209d"}},{"ruleId":"D38","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":"2c4fe1a9a87cdb9e707f2d7507f88729e98561a704380404e711014323216df1"}},{"ruleId":"D38","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":"e000f26606d27ca0e3a4c58ec4849f53107537dd6ca7b5300e36e1e1691f8573"}},{"ruleId":"D38","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":"399f92ac0c62f19046553ea608e07723f1bd7856c6cfbe8be8f33d654bef82d4"}},{"ruleId":"D38","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":"d25a7c8f88adbea11177ad46d187921267019de239a8a54f47fa5e53957bc468"}},{"ruleId":"D38","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":"4015b97ba2830f88aef540b31e5eb83d88702be456d57f26772830d7b8ea9410"}},{"ruleId":"D38","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":"fb82a3a08f4c676bd4675e4dd5139c22557f0ad4506e60e85ae3ed98b2070ecf"}},{"ruleId":"D38","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":"b9a4ce8d4a6e7f0a1e63aa72803cc63bc3d845374c39f47be2470b5eec09077d"}},{"ruleId":"D38","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":"3d85c7f50595e073cdcd0a4df34aa53923d2fe1e94eec3a231812eacd1d2713e"}},{"ruleId":"D38","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":"12a886602f6240fe0f46e5de7a0ad033c9483b25eef24ad88fd9a97ca0207bf9"}},{"ruleId":"D39","level":"note","message":{"text":"IL efficiency: 32 authored method(s) exceed the IL budget: 32 of 19512 first-party methods compile to oversized IL bodies (\u003E 250 instructions); worst: OrchardCore.Resources.ResourceManagementOptionsConfiguration.BuildManifest @ src/OrchardCore.Modules/OrchardCore.Resources/ResourceManagementOptionsConfiguration.cs:37, 1426 IL instructions; large bodies don\u0027t JIT-inline, which pulled this dimension to 10.0/10; splitting the hottest bodies recovers the most."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/OrchardCore.Modules/OrchardCore.Resources/ResourceManagementOptionsConfiguration.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"b52158bb20c1e92419690f2c98548b12114f767511c45faa6336e3d907d797da"}}],"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-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-200","guid":"b0ce3b1d-7a29-fe50-8aab-9aba899d2988","name":"Exposure of Sensitive Information to an Unauthorized Actor","shortDescription":{"text":"Exposure of Sensitive Information to an Unauthorized Actor"},"helpUri":"https://cwe.mitre.org/data/definitions/200.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-312","guid":"96724ece-b0b2-a45c-83f9-0869fa3f6bea","name":"Cleartext Storage of Sensitive Information","shortDescription":{"text":"Cleartext Storage of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/312.html"},{"id":"CWE-359","guid":"b7dfe5b0-0351-645b-a311-b936102c2929","name":"Exposure of Private Personal Information to an Unauthorized Actor","shortDescription":{"text":"Exposure of Private Personal Information to an Unauthorized Actor"},"helpUri":"https://cwe.mitre.org/data/definitions/359.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Command Injection","shortDescription":{"text":"Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"OS Command Injection","shortDescription":{"text":"OS Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Cross-site Scripting (XSS)","shortDescription":{"text":"Cross-site Scripting (XSS)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"SQL Injection","shortDescription":{"text":"SQL Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.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":57,"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."]}]}