< Summary - CoreWCF Coverage — PR #1766

Information
Class: CoreWCF.Queue.Common.QueueOptions
Assembly: CoreWCF.Queue
File(s): /home/runner/work/CoreWCF/CoreWCF/src/CoreWCF.Queue/src/CoreWCF/Queue/Common/QueueOptions.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 5
Coverable lines: 5
Total lines: 21
Line coverage: 0%
Branch coverage
0%
Covered branches: 0
Total branches: 2
Branch coverage: 0%
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Cyclomatic complexity NPath complexity Sequence coverage
.ctor()100%110%

File(s)

/home/runner/work/CoreWCF/CoreWCF/src/CoreWCF.Queue/src/CoreWCF/Queue/Common/QueueOptions.cs

#LineLine coverage
 1// Licensed to the .NET Foundation under one or more agreements.
 2// The .NET Foundation licenses this file to you under the MIT license.
 3using System;
 4
 5namespace CoreWCF.Queue.Common
 6{
 7    public class QueueOptions
 8    {
 09        private int _concurrencyLevel = 1;
 10
 11        public int ConcurrencyLevel
 12        {
 013            get { return _concurrencyLevel; }
 14            set
 15            {
 016                if (value < 1) throw new ArgumentOutOfRangeException(nameof(ConcurrencyLevel), SR.ValueMustBeGreaterThan
 017                _concurrencyLevel = value;
 018            }
 19        }
 20    }
 21}