Json.NET
Code Coverage Statistics for Class

Newtonsoft.Json.Tests.Linq.JPathTests

Symbol Coverage: 92.00% (115 of 125)

Branch Coverage: 65.52% (19 of 29)

Method Coverage: 100.00% (29 of 29)

Cyclomatic Complexity Avg: 1.10 Max:4

Methods: 29


Methods

Method Symbol Coverage Branch Coverage Method Coverage Cyclomatic Complexity
BadCharactersInIndexer() : void  50.00% : 1 of 2
0.00% : 0 of 1
100.00% : 1 of 1
1
EmptyIndexer() : void  50.00% : 1 of 2
0.00% : 0 of 1
100.00% : 1 of 1
1
IndexerCloseInProperty() : void  50.00% : 1 of 2
0.00% : 0 of 1
100.00% : 1 of 1
1
MissingDotAfterIndexer() : void  50.00% : 1 of 2
0.00% : 0 of 1
100.00% : 1 of 1
1
UnclosedIndexer() : void  50.00% : 1 of 2
0.00% : 0 of 1
100.00% : 1 of 1
1
EvaluateIndexerOnConstructorWithError() : void  66.67% : 2 of 3
0.00% : 0 of 1
100.00% : 1 of 1
1
EvaluateIndexerOnObjectWithError() : void  66.67% : 2 of 3
0.00% : 0 of 1
100.00% : 1 of 1
1
EvaluateMissingPropertyWithError() : void  66.67% : 2 of 3
0.00% : 0 of 1
100.00% : 1 of 1
1
EvaluateOutOfBoundsIndxerWithError() : void  66.67% : 2 of 3
0.00% : 0 of 1
100.00% : 1 of 1
1
EvaluatePropertyOnArrayWithError() : void  66.67% : 2 of 3
0.00% : 0 of 1
100.00% : 1 of 1
1
<Example>b__0(Newtonsoft.Json.Linq.JToken s) : System.String [static]  100.00% : 1 of 1
N/A : 0 of 0
100.00% : 1 of 1
1
<Example>b__1(Newtonsoft.Json.Linq.JToken m) : System.String [static]  100.00% : 1 of 1
N/A : 0 of 0
100.00% : 1 of 1
1
<Example>b__2(Newtonsoft.Json.Linq.JToken m) : System.Decimal [static]  100.00% : 1 of 1
N/A : 0 of 0
100.00% : 1 of 1
1
AdditionalDots() : void  100.00% : 9 of 9
100.00% : 1 of 1
100.00% : 1 of 1
1
AdjacentIndexers() : void  100.00% : 7 of 7
100.00% : 1 of 1
100.00% : 1 of 1
1
EvaluateArray() : void  100.00% : 6 of 6
100.00% : 1 of 1
100.00% : 1 of 1
1
EvaluateIndexerOnObject() : void  100.00% : 4 of 4
100.00% : 1 of 1
100.00% : 1 of 1
1
EvaluateMissingProperty() : void  100.00% : 4 of 4
100.00% : 1 of 1
100.00% : 1 of 1
1
EvaluateOutOfBoundsIndxer() : void  100.00% : 4 of 4
100.00% : 1 of 1
100.00% : 1 of 1
1
EvaluatePropertyOnArray() : void  100.00% : 4 of 4
100.00% : 1 of 1
100.00% : 1 of 1
1
EvaluateSingleProperty() : void  100.00% : 6 of 6
100.00% : 1 of 1
100.00% : 1 of 1
1
EvaluateSinglePropertyReturningArray() : void  100.00% : 8 of 8
100.00% : 1 of 1
100.00% : 1 of 1
1
Example() : void  100.00% : 18 of 18
100.00% : 4 of 4
100.00% : 1 of 1
4
IndexerOnly() : void  100.00% : 4 of 4
100.00% : 1 of 1
100.00% : 1 of 1
1
MultiplePropertiesAndIndexers() : void  100.00% : 9 of 9
100.00% : 1 of 1
100.00% : 1 of 1
1
SingleProperty() : void  100.00% : 4 of 4
100.00% : 1 of 1
100.00% : 1 of 1
1
SinglePropertyAndIndexer() : void  100.00% : 5 of 5
100.00% : 1 of 1
100.00% : 1 of 1
1
TwoProperties() : void  100.00% : 5 of 5
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