< Summary

Information
Class: Elsa.Common.RecurringTask
Assembly: Elsa.Common
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Common/Contracts/RecurringTask.cs
Line coverage
66%
Covered lines: 2
Uncovered lines: 1
Coverable lines: 3
Total lines: 8
Line coverage: 66.6%
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
ExecuteAsync(...)100%210%
StartAsync(...)100%11100%
StopAsync(...)100%11100%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Common/Contracts/RecurringTask.cs

#LineLine coverage
 1namespace Elsa.Common;
 2
 3public abstract class RecurringTask : IRecurringTask
 4{
 05    public virtual Task ExecuteAsync(CancellationToken cancellationToken) => Task.CompletedTask;
 26    public virtual Task StartAsync(CancellationToken cancellationToken) => Task.CompletedTask;
 27    public virtual Task StopAsync(CancellationToken cancellationToken) => Task.CompletedTask;
 8}