< Summary

Information
Class: ProjectTemplate.Web.Options.ConcurrencyRateLimitingOptions
Assembly: ProjectTemplate.Web
File(s): /home/runner/work/NetCoreApplicationTemplate/NetCoreApplicationTemplate/src/ProjectTemplate.Web/Options/ConcurrencyRateLimitingOptions.cs
Line coverage
100%
Covered lines: 2
Uncovered lines: 0
Coverable lines: 2
Total lines: 17
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
get_PermitLimit()100%11100%
get_QueueLimit()100%11100%

File(s)

/home/runner/work/NetCoreApplicationTemplate/NetCoreApplicationTemplate/src/ProjectTemplate.Web/Options/ConcurrencyRateLimitingOptions.cs

#LineLine coverage
 1namespace ProjectTemplate.Web.Options;
 2
 3/// <summary>
 4/// Represents concurrency rate limiting configuration.
 5/// </summary>
 6public sealed class ConcurrencyRateLimitingOptions
 7{
 8    /// <summary>
 9    /// The maximum number of concurrent permits allowed.
 10    /// </summary>
 207811    public int PermitLimit { get; set; } = 10;
 12
 13    /// <summary>
 14    /// The maximum number of requests allowed to wait in the queue.
 15    /// </summary>
 155816    public int QueueLimit { get; set; }
 17}

Methods/Properties

get_PermitLimit()
get_QueueLimit()