Json.NET
Code Coverage Statistics for Class

Newtonsoft.Json.Tests.Linq.LinqToJsonTest

Symbol Coverage: 98.37% (181 of 184)

Branch Coverage: 92.68% (38 of 41)

Method Coverage: 100.00% (35 of 35)

Cyclomatic Complexity Avg: 1.51 Max:11

Methods: 35


Methods

Method Symbol Coverage Branch Coverage Method Coverage Cyclomatic Complexity
JArrayStringIndex() : void  66.67% : 2 of 3
0.00% : 0 of 1
100.00% : 1 of 1
1
JConstructorStringIndex() : void  66.67% : 2 of 3
0.00% : 0 of 1
100.00% : 1 of 1
1
JObjectIntIndex() : void  66.67% : 2 of 3
0.00% : 0 of 1
100.00% : 1 of 1
1
<CreateJTokenTreeNested>b__10(System.Linq.IGrouping<System.String,System.String> g) : System.Int32 [static]  100.00% : 1 of 1
N/A : 0 of 0
100.00% : 1 of 1
1
<CreateJTokenTreeNested>b__11(System.Linq.IGrouping<System.String,System.String> g) : <>f__AnonymousType0<System.String,System.Int32> [static]  100.00% : 1 of 1
N/A : 0 of 0
100.00% : 1 of 1
1
<CreateJTokenTreeNested>b__b(Newtonsoft.Json.Tests.Linq.LinqToJsonTest+Post p) : System.String [static]  100.00% : 1 of 1
N/A : 0 of 0
100.00% : 1 of 1
1
<CreateJTokenTreeNested>b__c(Newtonsoft.Json.Tests.Linq.LinqToJsonTest+Post p) : Newtonsoft.Json.Linq.JObject [static]  100.00% : 1 of 1
N/A : 0 of 0
100.00% : 1 of 1
2
<CreateJTokenTreeNested>b__d(System.String c) : Newtonsoft.Json.Linq.JValue [static]  100.00% : 1 of 1
N/A : 0 of 0
100.00% : 1 of 1
1
<CreateJTokenTreeNested>b__e(Newtonsoft.Json.Linq.JToken p) : System.String [static]  100.00% : 1 of 1
N/A : 0 of 0
100.00% : 1 of 1
1
<CreateJTokenTreeNested>b__f(System.String c) : System.String [static]  100.00% : 1 of 1
N/A : 0 of 0
100.00% : 1 of 1
1
<FromAnonDictionary>b__21(Newtonsoft.Json.Tests.Linq.LinqToJsonTest+Post p) : System.String [static]  100.00% : 1 of 1
N/A : 0 of 0
100.00% : 1 of 1
1
<FromAnonDictionary>b__22(Newtonsoft.Json.Tests.Linq.LinqToJsonTest+Post p) : <>f__AnonymousType1<System.String,System.String,System.String,System.Collections.Generic.IList<System.String>> [static]  100.00% : 1 of 1
N/A : 0 of 0
100.00% : 1 of 1
1
<FromObject>b__1b(Newtonsoft.Json.Tests.Linq.LinqToJsonTest+Post p) : System.String [static]  100.00% : 1 of 1
N/A : 0 of 0
100.00% : 1 of 1
1
<FromObject>b__1c(Newtonsoft.Json.Tests.Linq.LinqToJsonTest+Post p) : <>f__AnonymousType1<System.String,System.String,System.String,System.Collections.Generic.IList<System.String>> [static]  100.00% : 1 of 1
N/A : 0 of 0
100.00% : 1 of 1
1
<ObjectParse>b__0(Newtonsoft.Json.Linq.JProperty p) : System.Boolean [static]  100.00% : 1 of 1
N/A : 0 of 0
100.00% : 1 of 1
1
<ObjectParse>b__1(Newtonsoft.Json.Linq.JProperty p) : System.Object [static]  100.00% : 1 of 1
N/A : 0 of 0
100.00% : 1 of 1
1
AsJEnumerable() : void  100.00% : 11 of 11
100.00% : 1 of 1
100.00% : 1 of 1
1
BasicQuerying() : void  100.00% : 10 of 10
100.00% : 1 of 1
100.00% : 1 of 1
1
ChildrenExtension() : void  100.00% : 5 of 5
100.00% : 1 of 1
100.00% : 1 of 1
1
CreateJTokenTree() : void  100.00% : 7 of 7
100.00% : 1 of 1
100.00% : 1 of 1
1
CreateJTokenTreeNested() : void  100.00% : 14 of 14
100.00% : 13 of 13
100.00% : 1 of 1
11
CreateLongArray() : void  100.00% : 6 of 6
100.00% : 1 of 1
100.00% : 1 of 1
1
DateTimeOffset() : void  100.00% : 6 of 6
100.00% : 2 of 2
100.00% : 1 of 1
2
DoubleValue() : void  100.00% : 6 of 6
100.00% : 1 of 1
100.00% : 1 of 1
1
FromAnonDictionary() : void  100.00% : 11 of 11
100.00% : 3 of 3
100.00% : 1 of 1
3
FromObject() : void  100.00% : 11 of 11
100.00% : 3 of 3
100.00% : 1 of 1
3
GetPosts() : System.Collections.Generic.List<Newtonsoft.Json.Tests.Linq.LinqToJsonTest+Post>  100.00% : 2 of 2
100.00% : 1 of 1
100.00% : 1 of 1
1
GoogleSearchAPI() : void  100.00% : 13 of 13
100.00% : 1 of 1
100.00% : 1 of 1
1
JTokenToString() : void  100.00% : 10 of 10
100.00% : 1 of 1
100.00% : 1 of 1
1
JTokenToStringTypes() : void  100.00% : 14 of 14
100.00% : 1 of 1
100.00% : 1 of 1
1
LinqToJsonDeserialize() : void  100.00% : 5 of 5
100.00% : 1 of 1
100.00% : 1 of 1
1
Manual() : void  100.00% : 7 of 7
100.00% : 1 of 1
100.00% : 1 of 1
1
ObjectParse() : void  100.00% : 14 of 14
100.00% : 3 of 3
100.00% : 1 of 1
3
ToStringJsonConverter() : void  100.00% : 10 of 10
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