< Summary - CoreWCF Coverage — PR #1766

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

File(s)

/home/runner/work/CoreWCF/CoreWCF/src/CoreWCF.Primitives/src/CoreWCF/Security/SecurityStateEncoder.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.Security
 5{
 6    // The rationale for making abstract methods protected instead of public is following:
 7    // 1. No scenarios for making them public.
 8    // 2. Reduction of threat area (other assemblies on the channel can't call these methods other than through reflecti
 9    // 3. Reduction of test area (feature is testable only through other high-level features).
 10    public abstract class SecurityStateEncoder
 11    {
 12212        protected SecurityStateEncoder() { }
 13
 14        protected internal abstract byte[] DecodeSecurityState(byte[] data);
 15        protected internal abstract byte[] EncodeSecurityState(byte[] data);
 16    }
 17}
 18

Methods/Properties

.ctor()