Json.NET
Code Coverage Statistics for Class

Newtonsoft.Json.JsonSerializer

Symbol Coverage: 88.34% (144 of 163)

Branch Coverage: 74.34% (84 of 113)

Method Coverage: 93.33% (42 of 45)

Cyclomatic Complexity Avg: 1.78 Max:7

Methods: 45


Methods

Method Symbol Coverage Branch Coverage Method Coverage Cyclomatic Complexity
set_Binder(System.Runtime.Serialization.SerializationBinder value) : void  0.00% : 0 of 4
0.00% : 0 of 3
0.00% : 0 of 1
2
set_ReferenceResolver(Newtonsoft.Json.Serialization.IReferenceResolver value) : void  0.00% : 0 of 4
0.00% : 0 of 3
0.00% : 0 of 1
2
set_ConstructorHandling(Newtonsoft.Json.ConstructorHandling value) : void  75.00% : 3 of 4
60.00% : 3 of 5
100.00% : 1 of 1
3
set_DefaultValueHandling(Newtonsoft.Json.DefaultValueHandling value) : void  75.00% : 3 of 4
60.00% : 3 of 5
100.00% : 1 of 1
3
set_MissingMemberHandling(Newtonsoft.Json.MissingMemberHandling value) : void  75.00% : 3 of 4
60.00% : 3 of 5
100.00% : 1 of 1
3
set_NullValueHandling(Newtonsoft.Json.NullValueHandling value) : void  75.00% : 3 of 4
60.00% : 3 of 5
100.00% : 1 of 1
3
set_ObjectCreationHandling(Newtonsoft.Json.ObjectCreationHandling value) : void  75.00% : 3 of 4
60.00% : 3 of 5
100.00% : 1 of 1
3
set_PreserveReferencesHandling(Newtonsoft.Json.PreserveReferencesHandling value) : void  75.00% : 3 of 4
60.00% : 3 of 5
100.00% : 1 of 1
3
set_ReferenceLoopHandling(Newtonsoft.Json.ReferenceLoopHandling value) : void  75.00% : 3 of 4
60.00% : 3 of 5
100.00% : 1 of 1
3
set_TypeNameAssemblyFormat(System.Runtime.Serialization.Formatters.FormatterAssemblyStyle value) : void  75.00% : 3 of 4
60.00% : 3 of 5
100.00% : 1 of 1
3
set_TypeNameHandling(Newtonsoft.Json.TypeNameHandling value) : void  75.00% : 3 of 4
60.00% : 3 of 5
100.00% : 1 of 1
3
Create(Newtonsoft.Json.JsonSerializerSettings settings) : Newtonsoft.Json.JsonSerializer [static]  91.67% : 22 of 24
84.62% : 11 of 13
100.00% : 1 of 1
7
Deserialize(Newtonsoft.Json.JsonReader reader) : System.Object  100.00% : 2 of 2
100.00% : 1 of 1
100.00% : 1 of 1
1
Deserialize(Newtonsoft.Json.JsonReader reader,System.Type objectType) : System.Object  100.00% : 2 of 2
100.00% : 1 of 1
100.00% : 1 of 1
1
Deserialize(System.IO.TextReader reader,System.Type objectType) : System.Object  100.00% : 2 of 2
100.00% : 1 of 1
100.00% : 1 of 1
1
Deserialize<T>(Newtonsoft.Json.JsonReader reader) : T  100.00% : 2 of 2
100.00% : 1 of 1
100.00% : 1 of 1
1
DeserializeInternal(Newtonsoft.Json.JsonReader reader,System.Type objectType) : System.Object  100.00% : 4 of 4
100.00% : 1 of 1
100.00% : 1 of 1
1
get_Binder() : System.Runtime.Serialization.SerializationBinder  100.00% : 2 of 2
100.00% : 1 of 1
100.00% : 1 of 1
1
get_ConstructorHandling() : Newtonsoft.Json.ConstructorHandling  100.00% : 2 of 2
100.00% : 1 of 1
100.00% : 1 of 1
1
get_Context() : System.Runtime.Serialization.StreamingContext  100.00% : 2 of 2
100.00% : 1 of 1
100.00% : 1 of 1
1
get_ContractResolver() : Newtonsoft.Json.Serialization.IContractResolver  100.00% : 4 of 4
100.00% : 3 of 3
100.00% : 1 of 1
2
get_Converters() : Newtonsoft.Json.JsonConverterCollection  100.00% : 4 of 4
100.00% : 3 of 3
100.00% : 1 of 1
2
get_DefaultValueHandling() : Newtonsoft.Json.DefaultValueHandling  100.00% : 2 of 2
100.00% : 1 of 1
100.00% : 1 of 1
1
get_MissingMemberHandling() : Newtonsoft.Json.MissingMemberHandling  100.00% : 2 of 2
100.00% : 1 of 1
100.00% : 1 of 1
1
get_NullValueHandling() : Newtonsoft.Json.NullValueHandling  100.00% : 2 of 2
100.00% : 1 of 1
100.00% : 1 of 1
1
get_ObjectCreationHandling() : Newtonsoft.Json.ObjectCreationHandling  100.00% : 2 of 2
100.00% : 1 of 1
100.00% : 1 of 1
1
get_PreserveReferencesHandling() : Newtonsoft.Json.PreserveReferencesHandling  100.00% : 2 of 2
100.00% : 1 of 1
100.00% : 1 of 1
1
get_ReferenceLoopHandling() : Newtonsoft.Json.ReferenceLoopHandling  100.00% : 2 of 2
100.00% : 1 of 1
100.00% : 1 of 1
1
get_ReferenceResolver() : Newtonsoft.Json.Serialization.IReferenceResolver  100.00% : 4 of 4
100.00% : 3 of 3
100.00% : 1 of 1
2
get_TypeNameAssemblyFormat() : System.Runtime.Serialization.Formatters.FormatterAssemblyStyle  100.00% : 2 of 2
100.00% : 1 of 1
100.00% : 1 of 1
1
get_TypeNameHandling() : Newtonsoft.Json.TypeNameHandling  100.00% : 2 of 2
100.00% : 1 of 1
100.00% : 1 of 1
1
GetMatchingConverter(System.Collections.Generic.IList<Newtonsoft.Json.JsonConverter> converters,System.Type objectType) : Newtonsoft.Json.JsonConverter [static]  100.00% : 10 of 10
100.00% : 6 of 6
100.00% : 1 of 1
4
GetMatchingConverter(System.Type type) : Newtonsoft.Json.JsonConverter  100.00% : 2 of 2
100.00% : 1 of 1
100.00% : 1 of 1
1
.ctor() : void  100.00% : 12 of 12
100.00% : 1 of 1
100.00% : 1 of 1
1
OnError(Newtonsoft.Json.Serialization.ErrorEventArgs e) : void  100.00% : 4 of 4
100.00% : 2 of 2
100.00% : 1 of 1
2
Populate(Newtonsoft.Json.JsonReader reader,System.Object target) : void  100.00% : 2 of 2
100.00% : 1 of 1
100.00% : 1 of 1
1
Populate(System.IO.TextReader reader,System.Object target) : void  100.00% : 2 of 2
100.00% : 1 of 1
100.00% : 1 of 1
1
PopulateInternal(Newtonsoft.Json.JsonReader reader,System.Object target) : void  100.00% : 5 of 5
100.00% : 1 of 1
100.00% : 1 of 1
1
Serialize(Newtonsoft.Json.JsonWriter jsonWriter,System.Object value) : void  100.00% : 2 of 2
100.00% : 1 of 1
100.00% : 1 of 1
1
Serialize(System.IO.TextWriter textWriter,System.Object value) : void  100.00% : 2 of 2
100.00% : 1 of 1
100.00% : 1 of 1
1
SerializeInternal(Newtonsoft.Json.JsonWriter jsonWriter,System.Object value) : void  100.00% : 4 of 4
100.00% : 1 of 1
100.00% : 1 of 1
1
set_Context(System.Runtime.Serialization.StreamingContext value) : void  100.00% : 2 of 2
100.00% : 1 of 1
100.00% : 1 of 1
1
set_ContractResolver(Newtonsoft.Json.Serialization.IContractResolver value) : void  100.00% : 2 of 2
100.00% : 1 of 1
100.00% : 1 of 1
1
add_Error(System.EventHandler<Newtonsoft.Json.Serialization.ErrorEventArgs> value) : void  N/A : 0 of 0
100.00% : 3 of 3
100.00% : 1 of 1
2
remove_Error(System.EventHandler<Newtonsoft.Json.Serialization.ErrorEventArgs> value) : void  N/A : 0 of 0
0.00% : 0 of 3
0.00% : 0 of 1
2