< Summary

Line coverage
86%
Covered lines: 606
Uncovered lines: 97
Coverable lines: 703
Total lines: 1270
Line coverage: 86.2%
Branch coverage
55%
Covered branches: 139
Total branches: 252
Branch coverage: 55.1%
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(...)3.12%1993245.34%
File 1: RenderComponentComponentRenderParams(...)100%11100%
File 1: DefaultReplacements(...)57.69%525297.5%
File 1: ProcessContentString(...)60%101086.95%
File 1: ValidateRenderParams(...)75%141277.77%
File 1: SplitMatch(...)100%11100%
File 1: Component(...)50%66100%
File 1: BuildComponentMarkup(...)25%5466.66%
File 1: Script(...)50%8893.75%
File 1: ExecuteAsync(...)50%44100%
File 1: Dms(...)50%22100%
File 1: Resource(...)75%2020100%
File 1: FindResourceInCache(...)75%44100%
File 1: FindResourceInCacheForKey(...)83.33%6688.88%
File 1: Meta(...)100%11100%
File 1: TryGetThemeDictionary(...)75%4485.71%
File 1: BuildThemeReplacements(...)70%131070%
File 1: BuildObjectThemeReplacements(...)50%7670%
File 1: BuildIEnumerableThemeReplacements(...)62.5%13856%
File 1: BuildJObjectThemeReplacements(...)0%22840%
File 1: BuildDynamicThemeReplacements(...)75%8887.5%
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%11100%
File 1: GetTagName(...)100%11100%
File 1: ThrowIf(...)100%22100%
File 1: ExecuteGetClosestCulturalMatchResource(...)80%1010100%
File 1: GetApps()100%11100%
File 1: GetComponents()100%11100%
File 1: GetResources()100%11100%
File 1: GetScripts()100%11100%
File 1: GetComponent(...)100%11100%
File 1: GetScript(...)100%11100%
File 1: GetResource(...)100%11100%
File 1: GetMetadata(...)100%11100%
File 1: GetLatestTextContent(...)100%11100%
File 1: Serialize(...)100%11100%
File 1: IsRuntimeValueType(...)100%11100%
File 1: GetStringValue(...)100%11100%
File 1: SerializeIgnoringReferences(...)100%11100%
File 1: ParseJson(...)100%11100%
File 1: IsJsonObject(...)100%11100%
File 1: IsJsonValue(...)100%11100%
File 1: GetJsonProperties(...)100%11100%
File 1: ExecuteWorkflow(...)100%11100%
File 1: ReplaceRegularExpression(...)100%11100%
File 1: ForEachRegularExpressionMatch(...)100%11100%
File 1: ExecuteRenderComponentComponentRenderParams(...)100%1175%
File 1: ExecuteSectionForCultureResources(...)85.71%1414100%
File 1: FindFirst(...)100%66100%
File 1: FindRequired(...)50%22100%
File 1: RemoveInvalidReplacements(...)16.66%11650%
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 3: Validate(...)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.Services.Foundations.Rendering.IComponentRenderService,cCoder.ContentManagement.Models.ContentManagementConfiguration)
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.Models.PageRendering.MarkupReplacement>)
ValidateRenderParams(cCoder.ContentManagement.Models.RenderParams,System.Collections.Generic.IEnumerable`1<cCoder.ContentManagement.Models.PageRendering.MarkupReplacement>)
SplitMatch(cCoder.ContentManagement.Models.RegularExpressions.RegularExpressionMatch)
Component(System.String,cCoder.ContentManagement.Models.RenderParams,System.Collections.Generic.IEnumerable`1<cCoder.ContentManagement.Models.PageRendering.MarkupReplacement>,System.String)
BuildComponentMarkup(cCoder.Data.Models.CMS.Component,System.ValueTuple`3<System.String,System.String,System.String[]>,System.Collections.Generic.IEnumerable`1<cCoder.ContentManagement.Models.PageRendering.MarkupReplacement>,cCoder.ContentManagement.Models.RenderParams)
Script(System.String,System.String,cCoder.ContentManagement.Models.RenderParams,System.Collections.Generic.IEnumerable`1<cCoder.ContentManagement.Models.PageRendering.MarkupReplacement>)
ExecuteAsync(System.String,System.String,cCoder.ContentManagement.Models.RenderParams,System.Collections.Generic.IEnumerable`1<cCoder.ContentManagement.Models.PageRendering.MarkupReplacement>)
Dms(System.String,System.String,cCoder.ContentManagement.Models.ComponentRenderParams,System.Collections.Generic.IEnumerable`1<cCoder.ContentManagement.Models.PageRendering.MarkupReplacement>)
Resource(System.String,System.String,cCoder.ContentManagement.Models.RenderParams,System.Collections.Generic.IEnumerable`1<cCoder.ContentManagement.Models.PageRendering.MarkupReplacement>)
FindResourceInCache(System.String,System.String,System.String)
FindResourceInCacheForKey(System.String,System.String,System.String)
Meta(System.String,System.String)
TryGetThemeDictionary(System.Object,System.Collections.Generic.IDictionary`2<System.String,System.Object>&)
BuildThemeReplacements(System.Object,System.String)
BuildObjectThemeReplacements(System.Collections.IEnumerable,System.String)
BuildIEnumerableThemeReplacements(System.Object,System.String)
BuildJObjectThemeReplacements(System.Object,System.String)
BuildDynamicThemeReplacements(System.Collections.Generic.IDictionary`2<System.String,System.Object>,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.String,System.String,System.Func`2<cCoder.ContentManagement.Models.RegularExpressions.RegularExpressionMatch,System.String>)
RegexMatch(System.String,System.String,System.Action`1<cCoder.ContentManagement.Models.RegularExpressions.RegularExpressionMatch>)
GetTagName(cCoder.ContentManagement.Models.RegularExpressions.RegularExpressionMatch)
ThrowIf(System.Boolean,System.String)
ExecuteGetClosestCulturalMatchResource(System.Collections.Generic.IEnumerable`1<cCoder.Data.Models.CMS.Resource>,System.String)
GetApps()
GetComponents()
GetResources()
GetScripts()
GetComponent(System.String)
GetScript(System.String)
GetResource(System.String)
GetMetadata(System.String,System.String)
GetLatestTextContent(System.Int32,System.String)
Serialize(System.Object)
IsRuntimeValueType(System.Object)
GetStringValue(System.Object)
SerializeIgnoringReferences(System.Object)
ParseJson(System.String)
IsJsonObject(System.Object)
IsJsonValue(System.Object)
GetJsonProperties(System.Object)
ExecuteWorkflow(System.String,System.String)
ReplaceRegularExpression(System.String,System.String,System.Func`3<System.String,System.Collections.Generic.IReadOnlyDictionary`2<System.String,System.String>,System.String>)
ForEachRegularExpressionMatch(System.String,System.String,System.Action`2<System.String,System.Collections.Generic.IReadOnlyDictionary`2<System.String,System.String>>)
ExecuteRenderComponentComponentRenderParams(cCoder.Data.Models.CMS.Component,cCoder.ContentManagement.Models.ComponentRenderParams)
ExecuteSectionForCultureResources(System.Collections.Generic.IEnumerable`1<cCoder.Data.Models.CMS.Resource>,System.String,System.String)
FindFirst(System.Collections.Generic.IEnumerable`1<T>,System.Func`2<T,System.Boolean>)
FindRequired(System.Collections.Generic.IEnumerable`1<T>,System.Func`2<T,System.Boolean>)
RemoveInvalidReplacements(System.Collections.Generic.List`1<cCoder.ContentManagement.Models.PageRendering.MarkupReplacement>)
TryCatch(System.Action)
TryCatch(System.Func`1<TResult>)
TryCatch()
TryCatch()
TryCatch()
TryCatch()
ValidateRenderComponentOperation(System.Object[])
ValidateRenderUser(System.Object[])
ValidateRenderComponentComponentRenderParams(System.Object[])
Validate(System.Object[])