< Summary

Information
Class: Elsa.Alterations.Core.Models.ActivityFilter
Assembly: Elsa.Alterations.Core
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Alterations.Core/Models/ActivityFilter.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 5
Coverable lines: 5
Total lines: 36
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_ActivityId()100%210%
get_ActivityInstanceId()100%210%
get_NodeId()100%210%
get_Name()100%210%
get_Status()100%210%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Alterations.Core/Models/ActivityFilter.cs

#LineLine coverage
 1using Elsa.Workflows;
 2using JetBrains.Annotations;
 3
 4namespace Elsa.Alterations.Core.Models;
 5
 6/// <summary>
 7/// Represents a filter for activities.
 8/// </summary>
 9[UsedImplicitly]
 10public class ActivityFilter
 11{
 12    /// <summary>
 13    /// The ID of the activity.
 14    /// </summary>
 015    public string? ActivityId { get; set; }
 16
 17    /// <summary>
 18    /// The ID of the activity instance.
 19    /// </summary>
 020    public string? ActivityInstanceId { get; set; }
 21
 22    /// <summary>
 23    /// The node ID of the activity.
 24    /// </summary>
 025    public string? NodeId { get; set; }
 26
 27    /// <summary>
 28    /// The name of the activity.
 29    /// </summary>
 030    public string? Name { get; set; }
 31
 32    /// <summary>
 33    /// The status of the activity.
 34    /// </summary>
 035    public ActivityStatus? Status { get; set; }
 36}