< Summary

Line coverage
88%
Covered lines: 748
Uncovered lines: 97
Coverable lines: 845
Total lines: 1162
Line coverage: 88.5%
Branch coverage
60%
Covered branches: 240
Total branches: 397
Branch coverage: 60.4%
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
File 1: GetDmsRouteRegex()100%210%
File 1: GetWebDavRouteRegex()100%210%
File 2: .cctor()100%11100%
File 2: StartCoreWeb(...)50%6690.9%
File 2: TryMarkCoreWebStarted(...)50%2283.33%
File 2: StartCoreHostedServices(...)50%66100%
File 2: EnsureCoreDatabasesMigrated(...)100%88100%
File 2: EnsureCoreDatabasesMigrated(...)100%88100%
File 2: EnsureCoreDatabasesMigrated(...)100%88100%
File 2: AcquireStartupMigrationLock(...)50%2255.55%
File 2: AcquireStartupMigrationLock(...)50%2255.55%
File 2: AcquireStartupMigrationLock(...)50%2255.55%
File 2: BuildStartupMigrationLockName(...)100%11100%
File 2: BuildStartupMigrationLockName(...)100%11100%
File 2: BuildStartupMigrationLockName(...)100%11100%
File 2: ResolveDatabaseName(...)50%5466.66%
File 2: ResolveDatabaseName(...)50%5466.66%
File 2: ResolveDatabaseName(...)50%5466.66%
File 2: .ctor(...)100%11100%
File 2: .ctor(...)100%11100%
File 2: .ctor(...)100%11100%
File 2: Dispose()100%11100%
File 2: Dispose()100%11100%
File 2: Dispose()100%11100%
File 3: HandleUnhandledException()0%210140%
File 4: UseCoreApiDocumentation(...)50%6694.44%
File 4: UseCoreApiDocumentation(...)75%22100%
File 5: ListenToExternalEvents(...)100%11100%
File 5: ListenToExternalEvents(...)100%11100%
File 5: UseCoreEventHandlers(...)100%11100%
File 5: UseCoreEventHandlers(...)100%11100%
File 5: UseSecurityAccountEmailEventHandlers(...)100%11100%
File 5: UsePackageImportEventHandler(...)100%11100%
File 5: UseServiceBusAppDeleteForwarder(...)50%2258.33%
File 5: UseSecurityAccountEmailEventHandlers(...)100%11100%
File 5: UseServiceBusAppDeleteForwarder(...)50%2258.33%
File 5: UseMailHostedServiceEventHandlers(...)100%22100%
File 5: UseHostedServicesServiceBusEventBridge(...)50%3245.45%
File 5: UseMailHostedServiceEventHandlers(...)100%22100%
File 5: ListenToLocalEventHub(...)100%210%
File 5: UseHostedServicesServiceBusEventBridge(...)50%3245.45%
File 5: ListenToLocalEventHub(...)100%210%
File 6: UseCoreApiShell(...)50%2283.72%
File 6: UseDocumentManagementExposure(...)0%620%
File 6: IsCacheableStaticAsset(...)50%88100%
File 6: UseWorkflowExposure(...)0%620%
File 6: IsCacheableStaticAsset(...)50%88100%
File 6: UseDocumentManagementExposure(...)0%620%
File 6: UseDocumentManagementExposure(...)0%620%
File 6: UseWorkflowExposure(...)0%620%
File 6: UseWorkflowExposure(...)0%620%
File 7: UseCoreApi(...)100%11100%
File 8: UseCoreCaching(...)0%2040%
File 8: UseCoreDefaultCors(...)100%11100%
File 8: UseCoreExceptionHandling(...)100%11100%
File 9: UseCoreSecurityHeaders(...)50%22100%
File 9: UseCoreSecurityHeaders(...)50%22100%
File 9: UseCoreSecurityHeaders(...)50%22100%
File 9: UseCoreSecurityHeaders(...)50%22100%
File 9: UseCoreMetadataAuthorization(...)50%8896.2%
File 9: CreateContentSecurityPolicy(...)50%22100%
File 9: CreateContentSecurityPolicy(...)100%22100%
File 9: CreateContentSecurityPolicy(...)50%22100%
File 9: CreateContentSecurityPolicy(...)100%22100%
File 9: UseCoreMetadataAuthorization(...)50%8896.2%
File 9: UseCoreMetadataAuthorization(...)50%88100%
File 9: UseCoreMetadataAuthorization(...)50%88100%
File 9: UseCoreMetadataAuthorization(...)50%88100%
File 9: AuthorizeApiMetadataRequest(...)83.33%6688.23%
File 9: AuthorizeApiMetadataRequest(...)83.33%6688.23%
File 9: AuthorizeApiMetadataRequest(...)83.33%6688.23%
File 9: AuthorizeApiMetadataRequest(...)83.33%6688.23%
File 9: AuthorizeApiMetadataRequest(...)83.33%6688.23%
File 9: ShouldExposeApiSurface(...)100%22100%
File 9: PopulateSecurityMetadataTypeCache(...)50%2296.29%
File 9: ShouldExposeApiSurface(...)100%22100%
File 9: SecurityEntity()100%11100%
File 9: ShouldExposeApiSurface(...)100%22100%
File 9: PopulateSecurityMetadataTypeCache(...)50%2296.29%
File 9: PopulateSecurityMetadataTypeCache(...)50%2296.29%
File 9: ShouldExposeApiSurface(...)100%22100%
File 9: ShouldExposeApiSurface(...)100%22100%
File 9: PopulateSecurityMetadataTypeCache(...)50%2296.29%
File 9: PopulateSecurityMetadataTypeCache(...)50%2296.29%
File 9: SecurityEntity()100%11100%
File 9: SecurityEntity()100%11100%
File 9: CreateSecurityExtendedMetadataContainer(...)50%44100%
File 9: SecurityEntity()100%11100%
File 9: SecurityEntity()100%11100%
File 9: CreateSecurityExtendedMetadataContainer(...)50%44100%
File 9: CreateSecurityExtendedMetadataContainer(...)50%44100%
File 9: CreateSecurityPropertyContainer(...)100%1212100%
File 9: CreateSecurityPropertyContainer(...)100%1212100%
File 9: CreateSecurityPropertyContainer(...)100%1212100%
File 9: GetSecurityCSharpTypeName(...)100%22100%
File 9: GetSecurityCSharpTypeName(...)100%22100%
File 9: GetSecurityMetadataTypeName(...)63.63%1123358.33%
File 9: GetSecurityCSharpTypeName(...)100%22100%
File 9: GetSecurityMetadataTypeName(...)63.63%1123358.33%
File 9: GetSecurityMetadataTypeName(...)63.63%1123358.33%

File(s)

C:/Services/GitHubRunner/_work/ccoder.Core/ccoder.Core/ccoder.Core/src/cCoder.Core/obj/Release/net10.0/System.Text.RegularExpressions.Generator/System.Text.RegularExpressions.Generator.RegexGenerator/RegexGenerator.g.cs

File 'C:/Services/GitHubRunner/_work/ccoder.Core/ccoder.Core/ccoder.Core/src/cCoder.Core/obj/Release/net10.0/System.Text.RegularExpressions.Generator/System.Text.RegularExpressions.Generator.RegexGenerator/RegexGenerator.g.cs' does not exist (any more).

C:/Services/GitHubRunner/_work/ccoder.Core/ccoder.Core/ccoder.Core/src/cCoder.Core/WebApplicationExtensions.cs

File 'C:/Services/GitHubRunner/_work/ccoder.Core/ccoder.Core/ccoder.Core/src/cCoder.Core/WebApplicationExtensions.cs' does not exist (any more).

C:/Services/GitHubRunner/_work/ccoder.Core/ccoder.Core/ccoder.Core/src/cCoder.Core/WebApplicationExtensions.Diagnostics.cs

File 'C:/Services/GitHubRunner/_work/ccoder.Core/ccoder.Core/ccoder.Core/src/cCoder.Core/WebApplicationExtensions.Diagnostics.cs' does not exist (any more).

C:/Services/GitHubRunner/_work/ccoder.Core/ccoder.Core/ccoder.Core/src/cCoder.Core/WebApplicationExtensions.Documentation.cs

File 'C:/Services/GitHubRunner/_work/ccoder.Core/ccoder.Core/ccoder.Core/src/cCoder.Core/WebApplicationExtensions.Documentation.cs' does not exist (any more).

C:/Services/GitHubRunner/_work/ccoder.Core/ccoder.Core/ccoder.Core/src/cCoder.Core/WebApplicationExtensions.Events.cs

File 'C:/Services/GitHubRunner/_work/ccoder.Core/ccoder.Core/ccoder.Core/src/cCoder.Core/WebApplicationExtensions.Events.cs' does not exist (any more).

C:/Services/GitHubRunner/_work/ccoder.Core/ccoder.Core/ccoder.Core/src/cCoder.Core/WebApplicationExtensions.Exposures.cs

File 'C:/Services/GitHubRunner/_work/ccoder.Core/ccoder.Core/ccoder.Core/src/cCoder.Core/WebApplicationExtensions.Exposures.cs' does not exist (any more).

C:/Services/GitHubRunner/_work/ccoder.Core/ccoder.Core/ccoder.Core/src/cCoder.Core/WebApplicationExtensions.Pipeline.cs

File 'C:/Services/GitHubRunner/_work/ccoder.Core/ccoder.Core/ccoder.Core/src/cCoder.Core/WebApplicationExtensions.Pipeline.cs' does not exist (any more).

C:/Services/GitHubRunner/_work/ccoder.Core/ccoder.Core/ccoder.Core/src/cCoder.Core/WebApplicationExtensions.Runtime.cs

File 'C:/Services/GitHubRunner/_work/ccoder.Core/ccoder.Core/ccoder.Core/src/cCoder.Core/WebApplicationExtensions.Runtime.cs' does not exist (any more).

C:/Services/GitHubRunner/_work/ccoder.Core/ccoder.Core/ccoder.Core/src/cCoder.Core/WebApplicationExtensions.Security.cs

File 'C:/Services/GitHubRunner/_work/ccoder.Core/ccoder.Core/ccoder.Core/src/cCoder.Core/WebApplicationExtensions.Security.cs' does not exist (any more).

Methods/Properties

GetDmsRouteRegex()
GetWebDavRouteRegex()
.cctor()
StartCoreWeb(Microsoft.AspNetCore.Builder.WebApplication)
TryMarkCoreWebStarted(Microsoft.AspNetCore.Builder.WebApplication)
StartCoreHostedServices(Microsoft.AspNetCore.Builder.WebApplication)
EnsureCoreDatabasesMigrated(Microsoft.AspNetCore.Builder.WebApplication,Microsoft.Extensions.Logging.ILogger)
EnsureCoreDatabasesMigrated(Microsoft.AspNetCore.Builder.WebApplication,Microsoft.Extensions.Logging.ILogger)
EnsureCoreDatabasesMigrated(Microsoft.AspNetCore.Builder.WebApplication,Microsoft.Extensions.Logging.ILogger)
AcquireStartupMigrationLock(System.String,System.String)
AcquireStartupMigrationLock(System.String,System.String)
AcquireStartupMigrationLock(System.String,System.String)
BuildStartupMigrationLockName(System.String,System.String)
BuildStartupMigrationLockName(System.String,System.String)
BuildStartupMigrationLockName(System.String,System.String)
ResolveDatabaseName(System.String)
ResolveDatabaseName(System.String)
ResolveDatabaseName(System.String)
.ctor(System.Threading.Mutex)
.ctor(System.Threading.Mutex)
.ctor(System.Threading.Mutex)
Dispose()
Dispose()
Dispose()
HandleUnhandledException()
UseCoreApiDocumentation(Microsoft.AspNetCore.Builder.WebApplication)
UseCoreApiDocumentation(Microsoft.AspNetCore.Builder.WebApplication,System.String[])
ListenToExternalEvents(Microsoft.AspNetCore.Builder.WebApplication)
ListenToExternalEvents(Microsoft.AspNetCore.Builder.WebApplication)
UseCoreEventHandlers(Microsoft.AspNetCore.Builder.WebApplication)
UseCoreEventHandlers(Microsoft.AspNetCore.Builder.WebApplication)
UseSecurityAccountEmailEventHandlers(Microsoft.AspNetCore.Builder.WebApplication)
UsePackageImportEventHandler(Microsoft.AspNetCore.Builder.WebApplication)
UseServiceBusAppDeleteForwarder(Microsoft.AspNetCore.Builder.WebApplication)
UseSecurityAccountEmailEventHandlers(Microsoft.AspNetCore.Builder.WebApplication)
UseServiceBusAppDeleteForwarder(Microsoft.AspNetCore.Builder.WebApplication)
UseMailHostedServiceEventHandlers(Microsoft.AspNetCore.Builder.WebApplication)
UseHostedServicesServiceBusEventBridge(Microsoft.AspNetCore.Builder.WebApplication)
UseMailHostedServiceEventHandlers(Microsoft.AspNetCore.Builder.WebApplication)
ListenToLocalEventHub(cCoder.Eventing.AzureServiceBus.IAzureServiceBusEventHub,System.String)
UseHostedServicesServiceBusEventBridge(Microsoft.AspNetCore.Builder.WebApplication)
ListenToLocalEventHub(cCoder.Eventing.AzureServiceBus.IAzureServiceBusEventHub,System.String)
UseCoreApiShell(Microsoft.AspNetCore.Builder.WebApplication)
UseDocumentManagementExposure(Microsoft.AspNetCore.Builder.WebApplication,Microsoft.Extensions.Logging.ILogger)
IsCacheableStaticAsset(Microsoft.AspNetCore.Http.PathString)
UseWorkflowExposure(Microsoft.AspNetCore.Builder.WebApplication,Microsoft.Extensions.Logging.ILogger)
IsCacheableStaticAsset(Microsoft.AspNetCore.Http.PathString)
UseDocumentManagementExposure(Microsoft.AspNetCore.Builder.WebApplication,Microsoft.Extensions.Logging.ILogger)
UseDocumentManagementExposure(Microsoft.AspNetCore.Builder.WebApplication,Microsoft.Extensions.Logging.ILogger)
UseWorkflowExposure(Microsoft.AspNetCore.Builder.WebApplication,Microsoft.Extensions.Logging.ILogger)
UseWorkflowExposure(Microsoft.AspNetCore.Builder.WebApplication,Microsoft.Extensions.Logging.ILogger)
UseCoreApi(Microsoft.AspNetCore.Builder.WebApplication,Microsoft.Extensions.Logging.ILogger)
UseCoreCaching(Microsoft.AspNetCore.Builder.WebApplication)
UseCoreDefaultCors(Microsoft.AspNetCore.Builder.WebApplication)
UseCoreExceptionHandling(Microsoft.AspNetCore.Builder.WebApplication,Microsoft.AspNetCore.Http.RequestDelegate)
UseCoreSecurityHeaders(Microsoft.AspNetCore.Builder.WebApplication)
UseCoreSecurityHeaders(Microsoft.AspNetCore.Builder.WebApplication)
UseCoreSecurityHeaders(Microsoft.AspNetCore.Builder.WebApplication)
UseCoreSecurityHeaders(Microsoft.AspNetCore.Builder.WebApplication)
UseCoreMetadataAuthorization(Microsoft.AspNetCore.Builder.WebApplication)
CreateContentSecurityPolicy(System.Boolean)
CreateContentSecurityPolicy(System.Boolean,System.String)
CreateContentSecurityPolicy(System.Boolean)
CreateContentSecurityPolicy(System.Boolean,System.String)
UseCoreMetadataAuthorization(Microsoft.AspNetCore.Builder.WebApplication)
UseCoreMetadataAuthorization(Microsoft.AspNetCore.Builder.WebApplication)
UseCoreMetadataAuthorization(Microsoft.AspNetCore.Builder.WebApplication)
UseCoreMetadataAuthorization(Microsoft.AspNetCore.Builder.WebApplication)
AuthorizeApiMetadataRequest(Microsoft.AspNetCore.Http.HttpContext)
AuthorizeApiMetadataRequest(Microsoft.AspNetCore.Http.HttpContext)
AuthorizeApiMetadataRequest(Microsoft.AspNetCore.Http.HttpContext)
AuthorizeApiMetadataRequest(Microsoft.AspNetCore.Http.HttpContext)
AuthorizeApiMetadataRequest(Microsoft.AspNetCore.Http.HttpContext)
ShouldExposeApiSurface(System.Nullable`1<System.Boolean>,System.Boolean)
PopulateSecurityMetadataTypeCache(Microsoft.AspNetCore.Builder.WebApplication)
ShouldExposeApiSurface(System.Nullable`1<System.Boolean>,System.Boolean)
SecurityEntity()
ShouldExposeApiSurface(System.Nullable`1<System.Boolean>,System.Boolean)
PopulateSecurityMetadataTypeCache(Microsoft.AspNetCore.Builder.WebApplication)
PopulateSecurityMetadataTypeCache(Microsoft.AspNetCore.Builder.WebApplication)
ShouldExposeApiSurface(System.Nullable`1<System.Boolean>,System.Boolean)
ShouldExposeApiSurface(System.Nullable`1<System.Boolean>,System.Boolean)
PopulateSecurityMetadataTypeCache(Microsoft.AspNetCore.Builder.WebApplication)
PopulateSecurityMetadataTypeCache(Microsoft.AspNetCore.Builder.WebApplication)
SecurityEntity()
SecurityEntity()
CreateSecurityExtendedMetadataContainer(System.Type)
SecurityEntity()
SecurityEntity()
CreateSecurityExtendedMetadataContainer(System.Type)
CreateSecurityExtendedMetadataContainer(System.Type)
CreateSecurityPropertyContainer(System.Reflection.PropertyInfo)
CreateSecurityPropertyContainer(System.Reflection.PropertyInfo)
CreateSecurityPropertyContainer(System.Reflection.PropertyInfo)
GetSecurityCSharpTypeName(System.Type)
GetSecurityCSharpTypeName(System.Type)
GetSecurityMetadataTypeName(System.Type)
GetSecurityCSharpTypeName(System.Type)
GetSecurityMetadataTypeName(System.Type)
GetSecurityMetadataTypeName(System.Type)