Json.NET
Code Coverage Statistics for Class

Newtonsoft.Json.Linq.Extensions

Symbol Coverage: 83.05% (49 of 59)

Branch Coverage: 86.21% (25 of 29)

Method Coverage: 80.95% (17 of 21)

Cyclomatic Complexity Avg: 1.43 Max:6

Methods: 21


Methods

Method Symbol Coverage Branch Coverage Method Coverage Cyclomatic Complexity
<Ancestors>b__0<T>(T j) : System.Collections.Generic.IEnumerable<Newtonsoft.Json.Linq.JToken> [static]  0.00% : 0 of 1
N/A : 0 of 0
0.00% : 0 of 1
1
<Descendants>b__1<T>(T j) : System.Collections.Generic.IEnumerable<Newtonsoft.Json.Linq.JToken> [static]  0.00% : 0 of 1
N/A : 0 of 0
0.00% : 0 of 1
1
Ancestors<T>(System.Collections.Generic.IEnumerable<T> source) : Newtonsoft.Json.Linq.IJEnumerable<Newtonsoft.Json.Linq.JToken> [static]  0.00% : 0 of 3
0.00% : 0 of 1
0.00% : 0 of 1
1
Descendants<T>(System.Collections.Generic.IEnumerable<T> source) : Newtonsoft.Json.Linq.IJEnumerable<Newtonsoft.Json.Linq.JToken> [static]  0.00% : 0 of 3
0.00% : 0 of 1
0.00% : 0 of 1
1
Value<T,U>(System.Collections.Generic.IEnumerable<T> value) : U [static]  83.33% : 5 of 6
66.67% : 2 of 3
100.00% : 1 of 1
2
Convert<T,U>(T token,System.Boolean cast) : U [static]  92.86% : 13 of 14
87.50% : 7 of 8
100.00% : 1 of 1
6
<Children>b__e<T,U>(T c) : System.Collections.Generic.IEnumerable<Newtonsoft.Json.Linq.JToken> [static]  100.00% : 1 of 1
N/A : 0 of 0
100.00% : 1 of 1
1
<Properties>b__2(Newtonsoft.Json.Linq.JObject d) : System.Collections.Generic.IEnumerable<Newtonsoft.Json.Linq.JProperty> [static]  100.00% : 1 of 1
N/A : 0 of 0
100.00% : 1 of 1
1
AsJEnumerable(System.Collections.Generic.IEnumerable<Newtonsoft.Json.Linq.JToken> source) : Newtonsoft.Json.Linq.IJEnumerable<Newtonsoft.Json.Linq.JToken> [static]  100.00% : 2 of 2
100.00% : 1 of 1
100.00% : 1 of 1
1
AsJEnumerable<T>(System.Collections.Generic.IEnumerable<T> source) : Newtonsoft.Json.Linq.IJEnumerable<T> [static]  100.00% : 6 of 6
100.00% : 3 of 3
100.00% : 1 of 1
3
Children<T,U>(System.Collections.Generic.IEnumerable<T> source) : System.Collections.Generic.IEnumerable<U> [static]  100.00% : 3 of 3
100.00% : 1 of 1
100.00% : 1 of 1
1
Children<T>(System.Collections.Generic.IEnumerable<T> source) : Newtonsoft.Json.Linq.IJEnumerable<Newtonsoft.Json.Linq.JToken> [static]  100.00% : 2 of 2
100.00% : 1 of 1
100.00% : 1 of 1
1
Convert<T,U>(T token) : U [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.JObject> source) : Newtonsoft.Json.Linq.IJEnumerable<Newtonsoft.Json.Linq.JProperty> [static]  100.00% : 3 of 3
100.00% : 2 of 2
100.00% : 1 of 1
2
Value<U>(System.Collections.Generic.IEnumerable<Newtonsoft.Json.Linq.JToken> value) : U [static]  100.00% : 2 of 2
100.00% : 1 of 1
100.00% : 1 of 1
1
Values(System.Collections.Generic.IEnumerable<Newtonsoft.Json.Linq.JToken> source) : Newtonsoft.Json.Linq.IJEnumerable<Newtonsoft.Json.Linq.JToken> [static]  100.00% : 2 of 2
100.00% : 1 of 1
100.00% : 1 of 1
1
Values(System.Collections.Generic.IEnumerable<Newtonsoft.Json.Linq.JToken> source,System.Object key) : Newtonsoft.Json.Linq.IJEnumerable<Newtonsoft.Json.Linq.JToken> [static]  100.00% : 2 of 2
100.00% : 1 of 1
100.00% : 1 of 1
1
Values<U>(System.Collections.Generic.IEnumerable<Newtonsoft.Json.Linq.JToken> source) : System.Collections.Generic.IEnumerable<U> [static]  100.00% : 2 of 2
100.00% : 1 of 1
100.00% : 1 of 1
1
Values<U>(System.Collections.Generic.IEnumerable<Newtonsoft.Json.Linq.JToken> source,System.Object key) : System.Collections.Generic.IEnumerable<U> [static]  100.00% : 2 of 2
100.00% : 1 of 1
100.00% : 1 of 1
1
Convert<T,U>(System.Collections.Generic.IEnumerable<T> source) : System.Collections.Generic.IEnumerable<U> [static]  N/A : 0 of 0
100.00% : 1 of 1
100.00% : 1 of 1
1
Values<T,U>(System.Collections.Generic.IEnumerable<T> source,System.Object key) : System.Collections.Generic.IEnumerable<U> [static]  N/A : 0 of 0
100.00% : 1 of 1
100.00% : 1 of 1
1