Json.NET
Code Coverage Statistics for Class

Newtonsoft.Json.Tests.JsonValidatingReaderTests

Symbol Coverage: 99.83% (578 of 579)

Branch Coverage: 96.77% (30 of 31)

Method Coverage: 100.00% (31 of 31)

Cyclomatic Complexity Avg: 1.00 Max:1

Methods: 31


Methods

Method Symbol Coverage Branch Coverage Method Coverage Cyclomatic Complexity
ThrowExceptionWhenNoValidationEventHandler() : void  80.00% : 4 of 5
0.00% : 0 of 1
100.00% : 1 of 1
1
ArrayCountGreaterThanMaximumItems() : void  100.00% : 21 of 21
100.00% : 1 of 1
100.00% : 1 of 1
1
ArrayCountLessThanMinimumItems() : void  100.00% : 15 of 15
100.00% : 1 of 1
100.00% : 1 of 1
1
BooleanNotInEnum() : void  100.00% : 18 of 18
100.00% : 1 of 1
100.00% : 1 of 1
1
CheckInnerReader() : void  100.00% : 5 of 5
100.00% : 1 of 1
100.00% : 1 of 1
1
DisableAdditionalProperties() : void  100.00% : 33 of 33
100.00% : 1 of 1
100.00% : 1 of 1
1
ExtendedComplex() : void  100.00% : 62 of 62
100.00% : 1 of 1
100.00% : 1 of 1
1
ExtendsDisallowAdditionProperties() : void  100.00% : 41 of 41
100.00% : 1 of 1
100.00% : 1 of 1
1
ExtendsMissingNonoptionalProperties() : void  100.00% : 12 of 12
100.00% : 1 of 1
100.00% : 1 of 1
1
ExtendsStringGreaterThanMaximumLength() : void  100.00% : 13 of 13
100.00% : 1 of 1
100.00% : 1 of 1
1
FloatExceedsMaxDecimalPlaces() : void  100.00% : 20 of 20
100.00% : 1 of 1
100.00% : 1 of 1
1
FloatGreaterThanMaximumValue() : void  100.00% : 11 of 11
100.00% : 1 of 1
100.00% : 1 of 1
1
FloatIsNotInEnum() : void  100.00% : 20 of 20
100.00% : 1 of 1
100.00% : 1 of 1
1
FloatLessThanMinimumValue() : void  100.00% : 11 of 11
100.00% : 1 of 1
100.00% : 1 of 1
1
GetExtendedSchema() : Newtonsoft.Json.Schema.JsonSchema  100.00% : 7 of 7
100.00% : 1 of 1
100.00% : 1 of 1
1
IntegerGreaterThanMaximumValue() : void  100.00% : 11 of 11
100.00% : 1 of 1
100.00% : 1 of 1
1
IntegerIsNotInEnum() : void  100.00% : 20 of 20
100.00% : 1 of 1
100.00% : 1 of 1
1
IntegerLessThanMinimumValue() : void  100.00% : 11 of 11
100.00% : 1 of 1
100.00% : 1 of 1
1
InvalidDataType() : void  100.00% : 11 of 11
100.00% : 1 of 1
100.00% : 1 of 1
1
MissingNonoptionalProperties() : void  100.00% : 20 of 20
100.00% : 1 of 1
100.00% : 1 of 1
1
MissingOptionalProperties() : void  100.00% : 19 of 19
100.00% : 1 of 1
100.00% : 1 of 1
1
NullNotInEnum() : void  100.00% : 15 of 15
100.00% : 1 of 1
100.00% : 1 of 1
1
sdfsdf() : void  100.00% : 21 of 21
100.00% : 1 of 1
100.00% : 1 of 1
1
StringDisallowed() : void  100.00% : 18 of 18
100.00% : 1 of 1
100.00% : 1 of 1
1
StringDoesNotMatchPattern() : void  100.00% : 11 of 11
100.00% : 1 of 1
100.00% : 1 of 1
1
StringGreaterThanMaximumLength() : void  100.00% : 11 of 11
100.00% : 1 of 1
100.00% : 1 of 1
1
StringIsNotInEnum() : void  100.00% : 20 of 20
100.00% : 1 of 1
100.00% : 1 of 1
1
StringLessThanMinimumLength() : void  100.00% : 11 of 11
100.00% : 1 of 1
100.00% : 1 of 1
1
ValidateTypes() : void  100.00% : 39 of 39
100.00% : 1 of 1
100.00% : 1 of 1
1
ValidateUnrestrictedArray() : void  100.00% : 47 of 47
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