Json.NET
Code Coverage Statistics for Class

Newtonsoft.Json.Linq.JObject

Symbol Coverage: 95.36% (144 of 151)

Branch Coverage: 86.27% (88 of 102)

Method Coverage: 88.64% (39 of 44)

Cyclomatic Complexity Avg: 1.80 Max:7

Methods: 44


Methods

Method Symbol Coverage Branch Coverage Method Coverage Cyclomatic Complexity
System.Collections.Generic.IDictionary<System.String,Newtonsoft.Json.Linq.JToken>.get_Keys() : System.Collections.Generic.ICollection<System.String>  0.00% : 0 of 1
0.00% : 0 of 1
0.00% : 0 of 1
1
System.Collections.Generic.IDictionary<System.String,Newtonsoft.Json.Linq.JToken>.get_Values() : System.Collections.Generic.ICollection<Newtonsoft.Json.Linq.JToken>  0.00% : 0 of 1
0.00% : 0 of 1
0.00% : 0 of 1
1
System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,Newtonsoft.Json.Linq.JToken>>.get_IsReadOnly() : System.Boolean  0.00% : 0 of 2
0.00% : 0 of 1
0.00% : 0 of 1
1
FromObject(System.Object o,Newtonsoft.Json.JsonSerializer jsonSerializer) : Newtonsoft.Json.Linq.JObject [static]  80.00% : 4 of 5
60.00% : 3 of 5
100.00% : 1 of 1
3
Load(Newtonsoft.Json.JsonReader reader) : Newtonsoft.Json.Linq.JObject [static]  84.62% : 11 of 13
77.78% : 7 of 9
100.00% : 1 of 1
5
<PropertyValues>b__3(Newtonsoft.Json.Linq.JProperty p) : Newtonsoft.Json.Linq.JToken [static]  100.00% : 1 of 1
N/A : 0 of 0
100.00% : 1 of 1
1
Add(System.String propertyName,Newtonsoft.Json.Linq.JToken value) : void  100.00% : 2 of 2
100.00% : 1 of 1
100.00% : 1 of 1
1
CloneToken() : Newtonsoft.Json.Linq.JToken  100.00% : 2 of 2
100.00% : 1 of 1
100.00% : 1 of 1
1
DeepEquals(Newtonsoft.Json.Linq.JToken node) : System.Boolean  100.00% : 3 of 3
66.67% : 2 of 3
100.00% : 1 of 1
2
FromObject(System.Object o) : Newtonsoft.Json.Linq.JObject [static]  100.00% : 2 of 2
100.00% : 1 of 1
100.00% : 1 of 1
1
get_Count() : System.Int32  100.00% : 2 of 2
100.00% : 1 of 1
100.00% : 1 of 1
1
get_Item(System.Object key) : Newtonsoft.Json.Linq.JToken  100.00% : 6 of 6
100.00% : 3 of 3
100.00% : 1 of 1
2
get_Item(System.String propertyName) : Newtonsoft.Json.Linq.JToken  100.00% : 4 of 4
100.00% : 3 of 3
100.00% : 1 of 1
2
get_Type() : Newtonsoft.Json.Linq.JTokenType  100.00% : 2 of 2
100.00% : 1 of 1
100.00% : 1 of 1
1
GetDeepHashCode() : System.Int32  100.00% : 2 of 2
100.00% : 1 of 1
100.00% : 1 of 1
1
InternalPropertyChanged(Newtonsoft.Json.Linq.JProperty childProperty) : void  100.00% : 3 of 3
100.00% : 1 of 1
100.00% : 1 of 1
1
InternalPropertyChanging(Newtonsoft.Json.Linq.JProperty childProperty) : void  100.00% : 2 of 2
100.00% : 1 of 1
100.00% : 1 of 1
1
.ctor() : void  100.00% : 2 of 2
100.00% : 1 of 1
100.00% : 1 of 1
1
.ctor(Newtonsoft.Json.Linq.JObject other) : void  100.00% : 2 of 2
100.00% : 1 of 1
100.00% : 1 of 1
1
.ctor(System.Object content) : void  100.00% : 3 of 3
100.00% : 1 of 1
100.00% : 1 of 1
1
.ctor(System.Object[] content) : void  100.00% : 2 of 2
100.00% : 1 of 1
100.00% : 1 of 1
1
System.Collections.Generic.IDictionary<System.String,Newtonsoft.Json.Linq.JToken>.ContainsKey(System.String key) : System.Boolean  100.00% : 2 of 2
100.00% : 1 of 1
100.00% : 1 of 1
1
System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,Newtonsoft.Json.Linq.JToken>>.Add(System.Collections.Generic.KeyValuePair<System.String,Newtonsoft.Json.Linq.JToken> item) : void  100.00% : 2 of 2
100.00% : 1 of 1
100.00% : 1 of 1
1
System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,Newtonsoft.Json.Linq.JToken>>.Clear() : void  100.00% : 2 of 2
100.00% : 1 of 1
100.00% : 1 of 1
1
System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,Newtonsoft.Json.Linq.JToken>>.Contains(System.Collections.Generic.KeyValuePair<System.String,Newtonsoft.Json.Linq.JToken> item) : System.Boolean  100.00% : 5 of 5
100.00% : 2 of 2
100.00% : 1 of 1
2
System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,Newtonsoft.Json.Linq.JToken>>.CopyTo(System.Collections.Generic.KeyValuePair<System.String,Newtonsoft.Json.Linq.JToken>[] array,System.Int32 arrayIndex) : void  100.00% : 15 of 15
100.00% : 12 of 12
100.00% : 1 of 1
7
System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,Newtonsoft.Json.Linq.JToken>>.Remove(System.Collections.Generic.KeyValuePair<System.String,Newtonsoft.Json.Linq.JToken> item) : System.Boolean  100.00% : 5 of 5
100.00% : 2 of 2
100.00% : 1 of 1
2
OnPropertyChanged(System.String propertyName) : void  100.00% : 3 of 3
100.00% : 2 of 2
100.00% : 1 of 1
2
OnPropertyChanging(System.String propertyName) : void  100.00% : 3 of 3
100.00% : 2 of 2
100.00% : 1 of 1
2
Parse(System.String json) : Newtonsoft.Json.Linq.JObject [static]  100.00% : 3 of 3
100.00% : 1 of 1
100.00% : 1 of 1
1
Properties() : System.Collections.Generic.IEnumerable<Newtonsoft.Json.Linq.JProperty>  100.00% : 2 of 2
100.00% : 1 of 1
100.00% : 1 of 1
1
Property(System.String name) : Newtonsoft.Json.Linq.JProperty  100.00% : 2 of 2
100.00% : 1 of 1
100.00% : 1 of 1
1
PropertyValues() : Newtonsoft.Json.Linq.JEnumerable<Newtonsoft.Json.Linq.JToken>  100.00% : 2 of 2
100.00% : 2 of 2
100.00% : 1 of 1
2
Remove(System.String propertyName) : System.Boolean  100.00% : 6 of 6
100.00% : 2 of 2
100.00% : 1 of 1
2
set_Item(System.Object key,Newtonsoft.Json.Linq.JToken value) : void  100.00% : 6 of 6
100.00% : 3 of 3
100.00% : 1 of 1
2
set_Item(System.String propertyName,Newtonsoft.Json.Linq.JToken value) : void  100.00% : 7 of 7
100.00% : 2 of 2
100.00% : 1 of 1
2
TryGetValue(System.String propertyName,byref Newtonsoft.Json.Linq.JToken value) : System.Boolean  100.00% : 7 of 7
100.00% : 2 of 2
100.00% : 1 of 1
2
ValidateToken(Newtonsoft.Json.Linq.JToken o,Newtonsoft.Json.Linq.JToken existing) : void  100.00% : 10 of 10
100.00% : 10 of 10
100.00% : 1 of 1
6
WriteTo(Newtonsoft.Json.JsonWriter writer,Newtonsoft.Json.JsonConverter[] converters) : void  100.00% : 7 of 7
100.00% : 4 of 4
100.00% : 1 of 1
3
add_PropertyChanged(System.ComponentModel.PropertyChangedEventHandler value) : void  N/A : 0 of 0
100.00% : 3 of 3
100.00% : 1 of 1
2
add_PropertyChanging(System.ComponentModel.PropertyChangingEventHandler value) : void  N/A : 0 of 0
100.00% : 3 of 3
100.00% : 1 of 1
2
GetEnumerator() : System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<System.String,Newtonsoft.Json.Linq.JToken>>  N/A : 0 of 0
100.00% : 1 of 1
100.00% : 1 of 1
1
remove_PropertyChanged(System.ComponentModel.PropertyChangedEventHandler value) : void  N/A : 0 of 0
0.00% : 0 of 3
0.00% : 0 of 1
2
remove_PropertyChanging(System.ComponentModel.PropertyChangingEventHandler value) : void  N/A : 0 of 0
0.00% : 0 of 3
0.00% : 0 of 1
2