< Summary - CoreWCF Coverage — PR #1766

Information
Class: CoreWCF.IdentityModel.Tokens.SecurityTokenException
Assembly: CoreWCF.Primitives
File(s): /home/runner/work/CoreWCF/CoreWCF/src/CoreWCF.Primitives/src/CoreWCF/IdentityModel/Tokens/SecurityTokenException.cs
Line coverage
25%
Covered lines: 2
Uncovered lines: 6
Coverable lines: 8
Total lines: 31
Line coverage: 25%
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%
.ctor(...)100%11100%
.ctor(...)100%110%
.ctor(...)100%110%

File(s)

/home/runner/work/CoreWCF/CoreWCF/src/CoreWCF.Primitives/src/CoreWCF/IdentityModel/Tokens/SecurityTokenException.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 System;
 5using System.Runtime.Serialization;
 6
 7namespace CoreWCF.IdentityModel.Tokens
 8{
 9    public class SecurityTokenException : Exception
 10    {
 11        public SecurityTokenException()
 012            : base()
 13        {
 014        }
 15
 16        public SecurityTokenException(string message)
 917            : base(message)
 18        {
 919        }
 20
 21        public SecurityTokenException(string message, Exception innerException)
 022            : base(message, innerException)
 23        {
 024        }
 25
 26        protected SecurityTokenException(SerializationInfo info, StreamingContext context)
 027            : base(info, context)
 28        {
 029        }
 30    }
 31}