< Summary

Information
Class: Elsa.Workflows.Api.Endpoints.ActivityExecutions.Report.Response
Assembly: Elsa.Workflows.Api
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Api/Endpoints/ActivityExecutions/Report/Models.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 1
Coverable lines: 1
Total lines: 24
Line coverage: 0%
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_Stats()100%210%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Api/Endpoints/ActivityExecutions/Report/Models.cs

#LineLine coverage
 1using Elsa.Workflows.Runtime;
 2
 3namespace Elsa.Workflows.Api.Endpoints.ActivityExecutions.Report;
 4
 5/// <summary>
 6/// Represents a request for a list of activity execution log records for a given activity in a workflow instance.
 7/// </summary>
 8internal class Request
 9{
 10    /// <summary>
 11    /// The ID of the workflow instance to get the execution log for.
 12    /// </summary>
 13    public string WorkflowInstanceId { get; set; } = null!;
 14
 15    /// <summary>
 16    /// The node IDs of the activities to get the execution records for.
 17    /// </summary>
 18    public ICollection<string> ActivityNodeIds { get; set; } = null!;
 19}
 20
 21internal class Response
 22{
 023    public ICollection<ActivityExecutionStats> Stats { get; set; } = new List<ActivityExecutionStats>();
 24}

Methods/Properties

get_Stats()