< Summary

Line coverage
75%
Covered lines: 444
Uncovered lines: 143
Coverable lines: 587
Total lines: 1029
Line coverage: 75.6%
Branch coverage
48%
Covered branches: 111
Total branches: 230
Branch coverage: 48.2%
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
File 1: .ctor(...)100%11100%
File 1: RenderComponentRenderOperation(...)50%2294.11%
File 1: RenderUser(...)0%871634.72%
File 1: RenderComponentComponentRenderParams(...)100%11100%
File 1: DefaultReplacements(...)58%505097.61%
File 1: ProcessContentString(...)60%101084.21%
File 1: ValidateRenderParams(...)75%141277.77%
File 1: SplitMatch(...)100%11100%
File 1: Component(...)50%88100%
File 1: BuildComponentMarkup(...)100%11100%
File 1: Script(...)50%101093.75%
File 1: ExecuteAsync(...)50%44100%
File 1: SerializeForOData(...)100%11100%
File 1: Dms(...)50%22100%
File 1: Resource(...)45%2020100%
File 1: FindResourceInCache(...)100%44100%
File 1: FindResourceInCacheForKey(...)100%66100%
File 1: Meta(...)100%11100%
File 1: TryGetThemeDictionary(...)75%4485.71%
File 1: BuildThemeReplacements(...)60%161060%
File 1: BuildObjectThemeReplacements(...)0%4260%
File 1: BuildIEnumerableThemeReplacements(...)0%506220%
File 1: BuildJObjectThemeReplacements(...)0%7280%
File 1: BuildDynamicThemeReplacements(...)50%1010100%
File 1: ValidateComponent(...)100%22100%
File 1: ValidateComponentRenderParams(...)50%2266.66%
File 1: ValidateAppId(...)100%11100%
File 1: ValidateName(...)100%11100%
File 1: ValidateTheme(...)100%11100%
File 1: ValidateUser(...)50%2266.66%
File 1: RegexReplace(...)100%11100%
File 1: RegexMatch(...)100%22100%
File 1: GetTagName(...)100%11100%
File 1: ThrowIf(...)100%22100%
File 1: ExecuteGetClosestCulturalMatchResource(...)80%1010100%
File 1: ExecuteRenderComponentComponentRenderParams(...)100%1175%
File 1: ExecuteSectionForCultureResource(...)83.33%66100%
File 2: TryCatch(...)100%1189.47%
File 2: TryCatch(...)100%11100%
File 2: TryCatch()100%1189.47%
File 2: TryCatch()100%1194.44%
File 2: TryCatch()100%1189.47%
File 2: TryCatch()100%1194.44%
File 3: ValidateRenderComponentOperation(...)100%11100%
File 3: ValidateRenderUser(...)100%11100%
File 3: ValidateRenderComponentComponentRenderParams(...)100%11100%

File(s)

C:/actions-runner/_work/cCoder.ContentManagement/cCoder.ContentManagement/src/cCoder.ContentManagement/Services/Processings/ComponentRenderProcessingService.cs

File 'C:/actions-runner/_work/cCoder.ContentManagement/cCoder.ContentManagement/src/cCoder.ContentManagement/Services/Processings/ComponentRenderProcessingService.cs' does not exist (any more).

C:/actions-runner/_work/cCoder.ContentManagement/cCoder.ContentManagement/src/cCoder.ContentManagement/Services/Processings/ComponentRenderProcessingService.Exceptions.cs

File 'C:/actions-runner/_work/cCoder.ContentManagement/cCoder.ContentManagement/src/cCoder.ContentManagement/Services/Processings/ComponentRenderProcessingService.Exceptions.cs' does not exist (any more).

C:/actions-runner/_work/cCoder.ContentManagement/cCoder.ContentManagement/src/cCoder.ContentManagement/Services/Processings/ComponentRenderProcessingService.Validations.cs

File 'C:/actions-runner/_work/cCoder.ContentManagement/cCoder.ContentManagement/src/cCoder.ContentManagement/Services/Processings/ComponentRenderProcessingService.Validations.cs' does not exist (any more).

Methods/Properties

.ctor(cCoder.ContentManagement.Rendering.Brokers.IMetadataReaderBroker,cCoder.ContentManagement.Rendering.Brokers.ICommonObjectReaderBroker,cCoder.ContentManagement.Brokers.IJsonBroker,cCoder.ContentManagement.Models.ContentManagementConfiguration,cCoder.ContentManagement.Services.Foundations.Rendering.IComponentRenderService,cCoder.ContentManagement.Brokers.IWorkflowExecutionBroker)
RenderComponentRenderOperation(cCoder.ContentManagement.Models.ComponentRenderOperation)
RenderUser(System.Int32,System.String,cCoder.Data.Models.Security.User,System.String,System.String)
RenderComponentComponentRenderParams(cCoder.Data.Models.CMS.Component,cCoder.ContentManagement.Models.ComponentRenderParams)
DefaultReplacements(cCoder.ContentManagement.Models.RenderParams)
ProcessContentString(System.String,cCoder.ContentManagement.Models.RenderParams,System.String,System.Collections.Generic.IEnumerable`1<cCoder.ContentManagement.Dependencies.ReplacementDependency>)
ValidateRenderParams(cCoder.ContentManagement.Models.RenderParams,System.Collections.Generic.IEnumerable`1<cCoder.ContentManagement.Dependencies.ReplacementDependency>)
SplitMatch(System.Text.RegularExpressions.Match)
Component(System.String,cCoder.ContentManagement.Models.RenderParams,System.Collections.Generic.IEnumerable`1<cCoder.ContentManagement.Dependencies.ReplacementDependency>,System.Text.StringBuilder)
BuildComponentMarkup(cCoder.Data.Models.CMS.Component,System.ValueTuple`3<System.String,System.String,System.String[]>,System.Collections.Generic.IEnumerable`1<cCoder.ContentManagement.Dependencies.ReplacementDependency>,cCoder.ContentManagement.Models.RenderParams)
Script(System.String,System.Text.StringBuilder,cCoder.ContentManagement.Models.RenderParams,System.Collections.Generic.IEnumerable`1<cCoder.ContentManagement.Dependencies.ReplacementDependency>)
ExecuteAsync(System.String,System.Text.StringBuilder,cCoder.ContentManagement.Models.RenderParams,System.Collections.Generic.IEnumerable`1<cCoder.ContentManagement.Dependencies.ReplacementDependency>)
SerializeForOData(System.Object)
Dms(System.String,System.Text.StringBuilder,cCoder.ContentManagement.Models.ComponentRenderParams,System.Collections.Generic.IEnumerable`1<cCoder.ContentManagement.Dependencies.ReplacementDependency>)
Resource(System.String,System.Text.StringBuilder,cCoder.ContentManagement.Models.RenderParams,System.Collections.Generic.IEnumerable`1<cCoder.ContentManagement.Dependencies.ReplacementDependency>)
FindResourceInCache(System.String,System.String,System.String)
FindResourceInCacheForKey(System.String,System.String,System.String)
Meta(System.Text.StringBuilder,System.String)
TryGetThemeDictionary(System.Object,System.Collections.Generic.IDictionary`2<System.String,System.Object>&)
BuildThemeReplacements(T,System.String)
BuildObjectThemeReplacements(T,System.String)
BuildIEnumerableThemeReplacements(T,System.String)
BuildJObjectThemeReplacements(T,System.String)
BuildDynamicThemeReplacements(T,System.String)
ValidateComponent(cCoder.Data.Models.CMS.Component,System.String)
ValidateComponentRenderParams(cCoder.ContentManagement.Models.ComponentRenderParams,System.String)
ValidateAppId(System.Int32,System.String)
ValidateName(System.String,System.String)
ValidateTheme(System.String,System.String)
ValidateUser(cCoder.Data.Models.Security.User,System.String)
RegexReplace(System.Text.StringBuilder,System.String,System.Func`2<System.Text.RegularExpressions.Match,System.String>)
RegexMatch(System.Text.StringBuilder,System.String,System.Action`1<System.Text.RegularExpressions.Match>)
GetTagName(System.Text.RegularExpressions.Match)
ThrowIf(System.Boolean,System.String)
ExecuteGetClosestCulturalMatchResource(System.Collections.Generic.IEnumerable`1<cCoder.Data.Models.CMS.Resource>,System.String)
ExecuteRenderComponentComponentRenderParams(cCoder.Data.Models.CMS.Component,cCoder.ContentManagement.Models.ComponentRenderParams)
ExecuteSectionForCultureResource(System.Collections.Generic.IEnumerable`1<cCoder.Data.Models.CMS.Resource>,System.String,System.String)
TryCatch(System.Action)
TryCatch(System.Func`1<TResult>)
TryCatch()
TryCatch()
TryCatch()
TryCatch()
ValidateRenderComponentOperation(System.Object[])
ValidateRenderUser(System.Object[])
ValidateRenderComponentComponentRenderParams(System.Object[])