< Summary - CoreWCF Coverage — PR #1766

Information
Class: CoreWCF.Security.SecurityProtocolCorrelationState
Assembly: CoreWCF.Primitives
File(s): /home/runner/work/CoreWCF/CoreWCF/src/CoreWCF.Primitives/src/CoreWCF/Security/SecurityProtocolCorrelationState.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 5
Coverable lines: 5
Total lines: 27
Line coverage: 0%
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%110%

File(s)

/home/runner/work/CoreWCF/CoreWCF/src/CoreWCF.Primitives/src/CoreWCF/Security/SecurityProtocolCorrelationState.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
 4using CoreWCF.IdentityModel.Tokens;
 5
 6namespace CoreWCF.Security
 7{
 8    internal class SecurityProtocolCorrelationState
 9    {
 10        // ServiceModelActivity activity;
 11
 012        public SecurityProtocolCorrelationState(SecurityToken token)
 13        {
 014            Token = token;
 15            //  this.activity = DiagnosticUtility.ShouldUseActivity ? ServiceModelActivity.Current : null;
 016        }
 17
 018        public SecurityToken Token { get; }
 19
 020        internal SignatureConfirmations SignatureConfirmations { get; set; }
 21
 22        //internal ServiceModelActivity Activity
 23        //{
 24        //    get { return this.activity; }
 25        //}
 26    }
 27}