Json.NET
Code Coverage Statistics for Namespace

Newtonsoft.Json.Tests.Serialization

Symbol Coverage: 93.08% (1828 of 1964)

Branch Coverage: 79.40% (420 of 529)

Method Coverage: 87.77% (445 of 507)

Cyclomatic Complexity Avg: 1.07 Max:4

Classes: 61

Methods: 507


Classes

Class Symbol Coverage Branch Coverage Method Coverage Cycl. Complexity
<>c__DisplayClass39  0.00% : 0 of 1
0.00% : 0 of 1
0.00% : 0 of 2
Avg: 1.00 Max: 1
<>c__DisplayClasse  0.00% : 0 of 1
100.00% : 1 of 1
50.00% : 1 of 2
Avg: 1.00 Max: 1
A  0.00% : 0 of 4
40.00% : 2 of 5
40.00% : 2 of 5
Avg: 1.00 Max: 1
B  0.00% : 0 of 4
28.57% : 2 of 7
28.57% : 2 of 7
Avg: 1.00 Max: 1
DictionaryWithNoDefaultConstructor  0.00% : 0 of 6
0.00% : 0 of 4
0.00% : 0 of 1
Avg: 3.00 Max: 3
ModelStateDictionary`1  25.93% : 14 of 54
20.69% : 6 of 29
30.00% : 6 of 20
Avg: 1.30 Max: 4
ThisGenericTest`1  52.17% : 12 of 23
61.54% : 8 of 13
63.64% : 7 of 11
Avg: 1.18 Max: 2
User  57.14% : 8 of 14
70.00% : 7 of 10
70.00% : 7 of 10
Avg: 1.00 Max: 1
ShouldSerializeTestClass  66.67% : 2 of 3
85.71% : 6 of 7
85.71% : 6 of 7
Avg: 1.00 Max: 1
PosConverter  75.00% : 6 of 8
60.00% : 3 of 5
75.00% : 3 of 4
Avg: 1.25 Max: 2
PosDoubleConverter  75.00% : 6 of 8
60.00% : 3 of 5
75.00% : 3 of 4
Avg: 1.25 Max: 2
StringAppenderConverter  75.00% : 6 of 8
75.00% : 3 of 4
75.00% : 3 of 4
Avg: 1.00 Max: 1
StringListAppenderConverter  84.62% : 11 of 13
83.33% : 5 of 6
75.00% : 3 of 4
Avg: 1.25 Max: 2
ConstructorHandlingTests  88.24% : 15 of 17
60.00% : 3 of 5
100.00% : 5 of 5
Avg: 1.00 Max: 1
MissingMemberHandlingTests  94.74% : 36 of 38
71.43% : 5 of 7
100.00% : 6 of 6
Avg: 1.17 Max: 2
JsonSerializerTest  95.80% : 981 of 1024
82.19% : 120 of 146
97.86% : 137 of 140
Avg: 1.04 Max: 4
PopulateTests  96.67% : 29 of 30
83.33% : 5 of 6
100.00% : 6 of 6
Avg: 1.00 Max: 1
PreserveReferencesHandlingTests  97.55% : 159 of 163
83.33% : 20 of 24
100.00% : 24 of 24
Avg: 1.00 Max: 1
TypeNameHandlingTests  97.78% : 88 of 90
84.62% : 11 of 13
100.00% : 13 of 13
Avg: 1.00 Max: 1
<>c__DisplayClass13  100.00% : 2 of 2
100.00% : 1 of 1
100.00% : 2 of 2
Avg: 1.50 Max: 2
<>c__DisplayClassa  100.00% : 2 of 2
100.00% : 1 of 1
100.00% : 2 of 2
Avg: 1.00 Max: 1
AA  100.00% : 12 of 12
100.00% : 14 of 14
100.00% : 14 of 14
Avg: 1.00 Max: 1
BB  100.00% : 14 of 14
100.00% : 18 of 18
100.00% : 18 of 18
Avg: 1.00 Max: 1
CamelCasePropertyNamesContractResolverTests  100.00% : 37 of 37
100.00% : 5 of 5
100.00% : 5 of 5
Avg: 1.00 Max: 1
CircularReferenceClassConverter  100.00% : 21 of 21
100.00% : 5 of 5
100.00% : 4 of 4
Avg: 1.25 Max: 2
ConstructorCompexIgnoredProperty  100.00% : 4 of 4
85.71% : 6 of 7
85.71% : 6 of 7
Avg: 1.00 Max: 1
ContractResolverTests  100.00% : 6 of 6
100.00% : 2 of 2
100.00% : 2 of 2
Avg: 1.00 Max: 1
DataContractPrivateMembers  100.00% : 10 of 10
90.91% : 10 of 11
90.91% : 10 of 11
Avg: 1.00 Max: 1
DefaultValueHandlingTests  100.00% : 15 of 15
100.00% : 3 of 3
100.00% : 3 of 3
Avg: 1.00 Max: 1
DictionaryKey  100.00% : 4 of 4
100.00% : 5 of 5
100.00% : 5 of 5
Avg: 1.00 Max: 1
DynamicContractResolver  100.00% : 8 of 8
100.00% : 2 of 2
100.00% : 3 of 3
Avg: 1.00 Max: 1
Employee  100.00% : 2 of 2
100.00% : 6 of 6
100.00% : 6 of 6
Avg: 1.00 Max: 1
EntitiesSerializationTests  100.00% : 66 of 66
100.00% : 5 of 5
100.00% : 5 of 5
Avg: 1.00 Max: 1
ExistingValueClass  100.00% : 4 of 4
100.00% : 5 of 5
100.00% : 5 of 5
Avg: 1.00 Max: 1
GenericListTestClass  100.00% : 3 of 3
100.00% : 3 of 3
100.00% : 3 of 3
Avg: 1.00 Max: 1
Human  100.00% : 2 of 2
100.00% : 4 of 4
100.00% : 4 of 4
Avg: 1.00 Max: 1
ISerializableTestObject  100.00% : 46 of 46
100.00% : 3 of 3
100.00% : 3 of 3
Avg: 1.00 Max: 1
KVPair`2  100.00% : 4 of 4
100.00% : 5 of 5
100.00% : 5 of 5
Avg: 1.00 Max: 1
MyClass  100.00% : 3 of 3
100.00% : 3 of 3
100.00% : 3 of 3
Avg: 1.00 Max: 1
NullValueHandlingTests  100.00% : 21 of 21
100.00% : 3 of 3
100.00% : 3 of 3
Avg: 1.00 Max: 1
SendHttpRequest  100.00% : 4 of 4
35.29% : 6 of 17
35.29% : 6 of 17
Avg: 1.00 Max: 1
SerializationErrorHandlingTests  100.00% : 68 of 68
100.00% : 11 of 11
100.00% : 10 of 10
Avg: 1.10 Max: 2
SerializationEventAttributeTests  100.00% : 95 of 95
100.00% : 7 of 7
100.00% : 7 of 7
Avg: 1.00 Max: 1
SerializationEventContextTestObject  100.00% : 2 of 2
100.00% : 4 of 4
100.00% : 4 of 4
Avg: 1.00 Max: 1
Animal  N/A : 0 of 0
100.00% : 1 of 1
100.00% : 1 of 1
Avg: 1.00 Max: 1
Book  N/A : 0 of 0
100.00% : 11 of 11
100.00% : 11 of 11
Avg: 1.00 Max: 1
CircularDictionary  N/A : 0 of 0
100.00% : 1 of 1
100.00% : 1 of 1
Avg: 1.00 Max: 1
CircularList  N/A : 0 of 0
100.00% : 1 of 1
100.00% : 1 of 1
Avg: 1.00 Max: 1
ClassWithTimeSpan  N/A : 0 of 0
100.00% : 1 of 1
100.00% : 1 of 1
Avg: 1.00 Max: 1
ClientMap  N/A : 0 of 0
100.00% : 5 of 5
100.00% : 5 of 5
Avg: 1.00 Max: 1
DataContractJsonSerializerTestClass  N/A : 0 of 0
100.00% : 9 of 9
100.00% : 9 of 9
Avg: 1.00 Max: 1
JRawValueTestObject  N/A : 0 of 0
100.00% : 3 of 3
100.00% : 3 of 3
Avg: 1.00 Max: 1
KeyValueId  N/A : 0 of 0
100.00% : 7 of 7
100.00% : 7 of 7
Avg: 1.00 Max: 1
OptInClass  N/A : 0 of 0
100.00% : 7 of 7
100.00% : 7 of 7
Avg: 1.00 Max: 1
OptInClassMetadata  N/A : 0 of 0
0.00% : 0 of 7
0.00% : 0 of 7
Avg: 1.00 Max: 1
Pos  N/A : 0 of 0
100.00% : 5 of 5
100.00% : 5 of 5
Avg: 1.00 Max: 1
PosDouble  N/A : 0 of 0
100.00% : 5 of 5
100.00% : 5 of 5
Avg: 1.00 Max: 1
TestClass  N/A : 0 of 0
80.00% : 4 of 5
80.00% : 4 of 5
Avg: 1.00 Max: 1
TypeNameProperty  N/A : 0 of 0
100.00% : 5 of 5
100.00% : 5 of 5
Avg: 1.00 Max: 1
XmlNodeTestObject  N/A : 0 of 0
100.00% : 3 of 3
100.00% : 3 of 3
Avg: 1.00 Max: 1
XNodeTestObject  N/A : 0 of 0
100.00% : 5 of 5
100.00% : 5 of 5
Avg: 1.00 Max: 1