< Summary - CoreWCF Coverage — PR #1766

Information
Class: CoreWCF.DBNull
Assembly: CoreWCF.Primitives
File(s): /home/runner/work/CoreWCF/CoreWCF/src/CoreWCF.Primitives/src/CoreWCF/DBNull.cs
Line coverage
100%
Covered lines: 3
Uncovered lines: 0
Coverable lines: 3
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 Cyclomatic complexity NPath complexity Sequence coverage
.ctor()100%11100%
.cctor()100%11100%

File(s)

/home/runner/work/CoreWCF/CoreWCF/src/CoreWCF.Primitives/src/CoreWCF/DBNull.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.
 3
 4namespace CoreWCF
 5{
 6    // This class is a substitute for System.DBNull. It's only use with WCF is to allow HopperCache to tell the
 7    // difference between a non-existent value and a null value.
 8    public sealed class DBNull
 9    {
 10        //Package private constructor
 311        private DBNull()
 12        {
 313        }
 14
 315        public static readonly DBNull Value = new DBNull();
 16    }
 17}

Methods/Properties

.ctor()
.cctor()