< Summary

Information
Class: ProjectTemplate.Infrastructure.Data.SystemCurrentActorAccessor
Assembly: ProjectTemplate.Infrastructure
File(s): /home/runner/work/NetCoreApplicationTemplate/NetCoreApplicationTemplate/src/ProjectTemplate.Infrastructure/Data/SystemCurrentActorAccessor.cs
Line coverage
100%
Covered lines: 1
Uncovered lines: 0
Coverable lines: 1
Total lines: 12
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
get_CurrentActor()100%11100%

File(s)

/home/runner/work/NetCoreApplicationTemplate/NetCoreApplicationTemplate/src/ProjectTemplate.Infrastructure/Data/SystemCurrentActorAccessor.cs

#LineLine coverage
 1namespace ProjectTemplate.Infrastructure.Data;
 2
 3/// <summary>
 4/// Provides a default actor value for non-HTTP infrastructure consumers such as workers,
 5/// CLI tools, test harnesses, and system modules.
 6/// </summary>
 7public sealed class SystemCurrentActorAccessor : ICurrentActorAccessor
 8{
 9    public const string ActorName = "System";
 10
 211    public string CurrentActor => ActorName;
 12}

Methods/Properties

get_CurrentActor()