< Summary

Information
Class: Elsa.Connections.Services.DenyAllConnectionUseAuthorizer
Assembly: Elsa.Connections
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Connections/Services/DenyAllConnectionUseAuthorizer.cs
Line coverage
100%
Covered lines: 1
Uncovered lines: 0
Coverable lines: 1
Total lines: 8
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
AuthorizeAsync(...)100%11100%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Connections/Services/DenyAllConnectionUseAuthorizer.cs

#LineLine coverage
 1using Elsa.Connections.Contracts;
 2
 3namespace Elsa.Connections.Services;
 4
 5public sealed class DenyAllConnectionUseAuthorizer : IConnectionUseAuthorizer
 6{
 27    public Task<bool> AuthorizeAsync(ConnectionUseRequest request, CancellationToken cancellationToken = default) => Tas
 8}