Json.NET
Code Coverage Statistics for Class

Newtonsoft.Json.Linq.JTokenReader

Symbol Coverage: 90.91% (100 of 110)

Branch Coverage: 95.74% (45 of 47)

Method Coverage: 100.00% (13 of 13)

Cyclomatic Complexity Avg: 3.92 Max:14

Methods: 13


Methods

Method Symbol Coverage Branch Coverage Method Coverage Cyclomatic Complexity
GetEndToken(Newtonsoft.Json.Linq.JContainer c) : System.Nullable<Newtonsoft.Json.JsonToken>  71.43% : 5 of 7
66.67% : 2 of 3
100.00% : 1 of 1
4
SetToken(Newtonsoft.Json.Linq.JToken token) : void  77.42% : 24 of 31
50.00% : 1 of 2
100.00% : 1 of 1
14
ReadOver(Newtonsoft.Json.Linq.JToken t) : System.Boolean  90.91% : 10 of 11
100.00% : 7 of 7
100.00% : 1 of 1
6
get_IsEndElement() : System.Boolean  100.00% : 2 of 2
100.00% : 1 of 1
100.00% : 1 of 1
1
Newtonsoft.Json.IJsonLineInfo.get_LineNumber() : System.Int32  100.00% : 7 of 7
100.00% : 5 of 5
100.00% : 1 of 1
4
Newtonsoft.Json.IJsonLineInfo.get_LinePosition() : System.Int32  100.00% : 7 of 7
100.00% : 5 of 5
100.00% : 1 of 1
4
Newtonsoft.Json.IJsonLineInfo.HasLineInfo() : System.Boolean  100.00% : 5 of 5
100.00% : 6 of 6
100.00% : 1 of 1
4
.ctor(Newtonsoft.Json.Linq.JToken token) : void  100.00% : 5 of 5
100.00% : 1 of 1
100.00% : 1 of 1
1
Read() : System.Boolean  100.00% : 8 of 8
100.00% : 5 of 5
100.00% : 1 of 1
4
ReadAsBytes() : System.Byte[]  100.00% : 9 of 9
100.00% : 7 of 7
100.00% : 1 of 1
4
ReadInto(Newtonsoft.Json.Linq.JContainer c) : System.Boolean  100.00% : 8 of 8
100.00% : 2 of 2
100.00% : 1 of 1
2
ReadToEnd() : System.Boolean  100.00% : 2 of 2
100.00% : 1 of 1
100.00% : 1 of 1
1
SetEnd(Newtonsoft.Json.Linq.JContainer c) : System.Boolean  100.00% : 8 of 8
100.00% : 2 of 2
100.00% : 1 of 1
2