Json.NET
Code Coverage Statistics for Class

Newtonsoft.Json.Tests.Serialization.PreserveReferencesHandlingTests

Symbol Coverage: 97.55% (159 of 163)

Branch Coverage: 83.33% (20 of 24)

Method Coverage: 100.00% (24 of 24)

Cyclomatic Complexity Avg: 1.00 Max:1

Methods: 24


Methods

Method Symbol Coverage Branch Coverage Method Coverage Cyclomatic Complexity
DeserializeArraysWithPreserveObjectReferences() : void  66.67% : 2 of 3
0.00% : 0 of 1
100.00% : 1 of 1
1
UnexpectedEnd() : void  66.67% : 2 of 3
0.00% : 0 of 1
100.00% : 1 of 1
1
SerializeCircularDictionarysError() : void  80.00% : 4 of 5
0.00% : 0 of 1
100.00% : 1 of 1
1
SerializeCircularListsError() : void  83.33% : 5 of 6
0.00% : 0 of 1
100.00% : 1 of 1
1
DeserializeCircularReference() : void  100.00% : 7 of 7
100.00% : 1 of 1
100.00% : 1 of 1
1
DeserializeCircularReferencesWithConverter() : void  100.00% : 7 of 7
100.00% : 1 of 1
100.00% : 1 of 1
1
DeserializeDictionarysWithPreserveObjectReferences() : void  100.00% : 6 of 6
100.00% : 1 of 1
100.00% : 1 of 1
1
DeserializeEmployeeReference() : void  100.00% : 7 of 7
100.00% : 1 of 1
100.00% : 1 of 1
1
DeserializeListsWithPreserveObjectReferences() : void  100.00% : 9 of 9
100.00% : 1 of 1
100.00% : 1 of 1
1
DeserializeReferenceInDictionary() : void  100.00% : 10 of 10
100.00% : 1 of 1
100.00% : 1 of 1
1
DeserializeReferenceInList() : void  100.00% : 10 of 10
100.00% : 1 of 1
100.00% : 1 of 1
1
DeserializeTypeWithDubiousGetHashcode() : void  100.00% : 8 of 8
100.00% : 1 of 1
100.00% : 1 of 1
1
ExampleWith() : void  100.00% : 13 of 13
100.00% : 1 of 1
100.00% : 1 of 1
1
ExampleWithout() : void  100.00% : 6 of 6
100.00% : 1 of 1
100.00% : 1 of 1
1
SerializeCircularDictionarysIgnore() : void  100.00% : 6 of 6
100.00% : 1 of 1
100.00% : 1 of 1
1
SerializeCircularListsIgnore() : void  100.00% : 7 of 7
100.00% : 1 of 1
100.00% : 1 of 1
1
SerializeCircularReference() : void  100.00% : 9 of 9
100.00% : 1 of 1
100.00% : 1 of 1
1
SerializeCircularReferencesWithConverter() : void  100.00% : 9 of 9
100.00% : 1 of 1
100.00% : 1 of 1
1
SerializeDictionarysWithPreserveObjectReferences() : void  100.00% : 6 of 6
100.00% : 1 of 1
100.00% : 1 of 1
1
SerializeEmployeeReference() : void  100.00% : 6 of 6
100.00% : 1 of 1
100.00% : 1 of 1
1
SerializeListsWithPreserveObjectReferences() : void  100.00% : 8 of 8
100.00% : 1 of 1
100.00% : 1 of 1
1
SerializeReferenceInDictionary() : void  100.00% : 6 of 6
100.00% : 1 of 1
100.00% : 1 of 1
1
SerializeReferenceInList() : void  100.00% : 6 of 6
100.00% : 1 of 1
100.00% : 1 of 1
1
.ctor() : void  N/A : 0 of 0
100.00% : 1 of 1
100.00% : 1 of 1
1