< Summary - CoreWCF Coverage — PR #1766

Information
Class: CoreWCF.JsonGlobals
Assembly: CoreWCF.WebHttp
File(s): /home/runner/work/CoreWCF/CoreWCF/src/CoreWCF.WebHttp/src/CoreWCF/JsonGlobals.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 3
Coverable lines: 3
Total lines: 22
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
.cctor()100%110%

File(s)

/home/runner/work/CoreWCF/CoreWCF/src/CoreWCF.WebHttp/src/CoreWCF/JsonGlobals.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.Xml;
 5
 6namespace CoreWCF
 7{
 8    internal static class JsonGlobals
 9    {
 010        public static readonly XmlDictionaryString DDictionaryString = new XmlDictionary().Add("d");
 011        public static readonly XmlDictionaryString ItemDictionaryString = new XmlDictionary().Add("item");
 012        public static readonly XmlDictionaryString RootDictionaryString = new XmlDictionary().Add("root");
 13        public const string ApplicationJsonMediaType = "application/json";
 14        public const string TextJsonMediaType = "text/json";
 15        public const string DString = "d";
 16        public const string ItemString = "item";
 17        public const string NullString = "null";
 18        public const string ObjectString = "object";
 19        public const string RootString = "root";
 20        public const string TypeString = "type";
 21    }
 22}

Methods/Properties

.cctor()