Json.NET
Code Coverage Statistics for Class

Newtonsoft.Json.Tests.PerformanceTests

Symbol Coverage: 91.46% (182 of 199)

Branch Coverage: 92.50% (37 of 40)

Method Coverage: 96.00% (24 of 25)

Cyclomatic Complexity Avg: 1.68 Max:6

Methods: 25


Methods

Method Symbol Coverage Branch Coverage Method Coverage Cyclomatic Complexity
SerializeJsonNet(System.Object value) : System.String  0.00% : 0 of 15
0.00% : 0 of 1
0.00% : 0 of 1
1
Deserialize<T>(Newtonsoft.Json.Tests.PerformanceTests+SerializeMethod method,System.Object json) : T  88.89% : 8 of 9
66.67% : 2 of 3
100.00% : 1 of 1
6
Serialize(Newtonsoft.Json.Tests.PerformanceTests+SerializeMethod method,System.Object value) : System.String  95.00% : 19 of 20
66.67% : 2 of 3
100.00% : 1 of 1
6
BenchmarkDeserializeMethod<T>(Newtonsoft.Json.Tests.PerformanceTests+SerializeMethod method,System.Object json) : void  100.00% : 14 of 14
100.00% : 3 of 3
100.00% : 1 of 1
2
BenchmarkSerializeMethod(Newtonsoft.Json.Tests.PerformanceTests+SerializeMethod method,System.Object value) : void  100.00% : 14 of 14
100.00% : 3 of 3
100.00% : 1 of 1
2
CreateSerializationObject() : Newtonsoft.Json.Tests.TestClass  100.00% : 17 of 17
100.00% : 1 of 1
100.00% : 1 of 1
1
Deserialize() : void  100.00% : 7 of 7
100.00% : 1 of 1
100.00% : 1 of 1
1
DeserializeBinaryFormatter<T>(System.Byte[] bytes) : T  100.00% : 3 of 3
100.00% : 1 of 1
100.00% : 1 of 1
1
DeserializeDataContract<T>(System.String xml) : T  100.00% : 4 of 4
100.00% : 1 of 1
100.00% : 1 of 1
1
DeserializeDataContractJson<T>(System.String json) : T  100.00% : 4 of 4
100.00% : 1 of 1
100.00% : 1 of 1
1
DeserializeJsonNet<T>(System.String json) : T  100.00% : 7 of 7
100.00% : 1 of 1
100.00% : 1 of 1
1
DeserializeJsonNetBinary<T>(System.Byte[] bson) : T  100.00% : 7 of 7
100.00% : 1 of 1
100.00% : 1 of 1
1
DeserializeWebExtensions<T>(System.String json) : T  100.00% : 3 of 3
100.00% : 1 of 1
100.00% : 1 of 1
1
.cctor() : void [static]  100.00% : 1 of 1
N/A : 0 of 0
100.00% : 1 of 1
1
Serialize() : void  100.00% : 8 of 8
100.00% : 1 of 1
100.00% : 1 of 1
1
SerializeBinaryFormatter(System.Object value) : System.String  100.00% : 6 of 6
100.00% : 1 of 1
100.00% : 1 of 1
1
SerializeDataContract(System.Object value) : System.String  100.00% : 7 of 7
100.00% : 2 of 2
100.00% : 1 of 1
2
SerializeDataContractJson(System.Object value) : System.String  100.00% : 7 of 7
100.00% : 2 of 2
100.00% : 1 of 1
2
SerializeLargeObject() : void  100.00% : 13 of 13
100.00% : 7 of 7
100.00% : 1 of 1
4
SerializeSize(System.Object value) : void  100.00% : 12 of 12
100.00% : 1 of 1
100.00% : 1 of 1
1
SerializeSizeData() : void  100.00% : 7 of 7
100.00% : 1 of 1
100.00% : 1 of 1
1
SerializeSizeNormal() : void  100.00% : 2 of 2
100.00% : 1 of 1
100.00% : 1 of 1
1
SerializeWebExtensions(System.Object value) : System.String  100.00% : 3 of 3
100.00% : 1 of 1
100.00% : 1 of 1
1
TimeOperation<T>(System.Func<T> operation,System.String name) : T  100.00% : 9 of 9
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