< Summary

Information
Class: Elsa.Workflows.DefaultActivityInputEvaluator
Assembly: Elsa.Workflows.Core
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Core/Services/DefaultActivityInputEvaluator.cs
Line coverage
100%
Covered lines: 5
Uncovered lines: 0
Coverable lines: 5
Total lines: 14
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
EvaluateAsync()100%11100%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Core/Services/DefaultActivityInputEvaluator.cs

#LineLine coverage
 1using Elsa.Extensions;
 2
 3namespace Elsa.Workflows;
 4
 5public class DefaultActivityInputEvaluator : IActivityInputEvaluator
 6{
 7    public async Task<object?> EvaluateAsync(ActivityInputEvaluatorContext context)
 8    {
 25089        var wrappedInput = context.Input;
 250810        var evaluator = context.ExpressionEvaluator;
 250811        var expressionExecutionContext = context.ExpressionExecutionContext;
 250812        return await evaluator.EvaluateAsync(wrappedInput, expressionExecutionContext);
 250313    }
 14}

Methods/Properties

EvaluateAsync()