Json.NET
Code Coverage Statistics for Class

Newtonsoft.Json.Tests.Linq.JArrayTests

Symbol Coverage: 95.10% (194 of 204)

Branch Coverage: 69.70% (23 of 33)

Method Coverage: 100.00% (30 of 30)

Cyclomatic Complexity Avg: 1.13 Max:3

Methods: 30


Methods

Method Symbol Coverage Branch Coverage Method Coverage Cyclomatic Complexity
GenericCollectionCopyToArrayIndexEqualGreaterToArrayLengthShouldThrow() : void  66.67% : 2 of 3
0.00% : 0 of 1
100.00% : 1 of 1
1
GenericCollectionCopyToNegativeArrayIndexShouldThrow() : void  66.67% : 2 of 3
0.00% : 0 of 1
100.00% : 1 of 1
1
GenericCollectionCopyToNullArrayShouldThrow() : void  66.67% : 2 of 3
0.00% : 0 of 1
100.00% : 1 of 1
1
InsertNegativeIndexShouldThrow() : void  66.67% : 2 of 3
0.00% : 0 of 1
100.00% : 1 of 1
1
InsertOutOfRangeIndexShouldThrow() : void  66.67% : 2 of 3
0.00% : 0 of 1
100.00% : 1 of 1
1
Parse_ShouldThrowOnUnexpectedToken() : void  66.67% : 2 of 3
0.00% : 0 of 1
100.00% : 1 of 1
1
RemoveAtNegativeIndexShouldError() : void  66.67% : 2 of 3
0.00% : 0 of 1
100.00% : 1 of 1
1
RemoveAtOutOfRangeIndexShouldError() : void  66.67% : 2 of 3
0.00% : 0 of 1
100.00% : 1 of 1
1
SetValueWithInvalidIndex() : void  66.67% : 2 of 3
0.00% : 0 of 1
100.00% : 1 of 1
1
GenericCollectionCopyToInsufficientArrayCapacity() : void  83.33% : 5 of 6
0.00% : 0 of 1
100.00% : 1 of 1
1
<ArrayOrder>b__6(Newtonsoft.Json.Tests.Linq.JArrayTests+ListItemFields r) : System.Object [static]  100.00% : 1 of 1
N/A : 0 of 0
100.00% : 1 of 1
1
<ArrayOrder>b__7(Newtonsoft.Json.Tests.Linq.JArrayTests+ListItemFields r) : Newtonsoft.Json.Linq.JObject [static]  100.00% : 1 of 1
N/A : 0 of 0
100.00% : 1 of 1
1
AddArrayToSelf() : void  100.00% : 7 of 7
100.00% : 1 of 1
100.00% : 1 of 1
1
AddFirstAddedTokenShouldBeFirst() : void  100.00% : 16 of 16
100.00% : 1 of 1
100.00% : 1 of 1
1
ArrayOrder() : void  100.00% : 6 of 6
100.00% : 3 of 3
100.00% : 1 of 1
3
Clear() : void  100.00% : 5 of 5
100.00% : 1 of 1
100.00% : 1 of 1
1
Contains() : void  100.00% : 7 of 7
100.00% : 1 of 1
100.00% : 1 of 1
1
GenericCollectionCopyTo() : void  100.00% : 13 of 13
100.00% : 1 of 1
100.00% : 1 of 1
1
IndexOf() : void  100.00% : 18 of 18
100.00% : 1 of 1
100.00% : 1 of 1
1
Insert() : void  100.00% : 14 of 14
100.00% : 1 of 1
100.00% : 1 of 1
1
InsertNull() : void  100.00% : 4 of 4
100.00% : 1 of 1
100.00% : 1 of 1
1
InsertShouldInsertAtZeroIndex() : void  100.00% : 9 of 9
100.00% : 1 of 1
100.00% : 1 of 1
1
Item() : void  100.00% : 14 of 14
100.00% : 1 of 1
100.00% : 1 of 1
1
Iterate() : void  100.00% : 8 of 8
100.00% : 4 of 4
100.00% : 1 of 1
3
ITypedListGetItemProperties() : void  100.00% : 9 of 9
100.00% : 1 of 1
100.00% : 1 of 1
1
Remove() : void  100.00% : 10 of 10
100.00% : 1 of 1
100.00% : 1 of 1
1
RemoveAt() : void  100.00% : 15 of 15
100.00% : 1 of 1
100.00% : 1 of 1
1
ReplaceAll() : void  100.00% : 9 of 9
100.00% : 1 of 1
100.00% : 1 of 1
1
SetValue() : 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