Json.NET
Code Coverage Statistics for Class

Newtonsoft.Json.Utilities.ValidationUtils

Symbol Coverage: 27.78% (15 of 54)

Branch Coverage: 22.22% (8 of 36)

Method Coverage: 37.50% (6 of 16)

Cyclomatic Complexity Avg: 2.06 Max:3

Methods: 16


Methods

Method Symbol Coverage Branch Coverage Method Coverage Cyclomatic Complexity
ArgumentIsPositive(System.Int32 value,System.String parameterName,System.String message) : void [static]  0.00% : 0 of 3
0.00% : 0 of 2
0.00% : 0 of 1
2
ArgumentIsPositive<T>(T value,System.String parameterName) : void [static]  0.00% : 0 of 3
0.00% : 0 of 2
0.00% : 0 of 1
2
ArgumentNotNegative(System.Int32 value,System.String parameterName) : void [static]  0.00% : 0 of 3
0.00% : 0 of 2
0.00% : 0 of 1
2
ArgumentNotNegative(System.Int32 value,System.String parameterName,System.String message) : void [static]  0.00% : 0 of 3
0.00% : 0 of 2
0.00% : 0 of 1
2
ArgumentNotNullOrEmpty(System.Collections.ICollection collection,System.String parameterName) : void [static]  0.00% : 0 of 2
0.00% : 0 of 1
0.00% : 0 of 1
1
ArgumentNotNullOrEmpty(System.Collections.ICollection collection,System.String parameterName,System.String message) : void [static]  0.00% : 0 of 5
0.00% : 0 of 4
0.00% : 0 of 1
3
ArgumentNotNullOrEmptyOrWhitespace(System.String value,System.String parameterName) : void [static]  0.00% : 0 of 4
0.00% : 0 of 2
0.00% : 0 of 1
2
ArgumentNotZero(System.Int32 value,System.String parameterName) : void [static]  0.00% : 0 of 3
0.00% : 0 of 2
0.00% : 0 of 1
2
ArgumentNotZero(System.Int32 value,System.String parameterName,System.String message) : void [static]  0.00% : 0 of 3
0.00% : 0 of 2
0.00% : 0 of 1
2
ObjectNotDisposed(System.Boolean disposed,System.Type objectType) : void [static]  0.00% : 0 of 3
0.00% : 0 of 2
0.00% : 0 of 1
2
ArgumentNotNullOrEmpty(System.String value,System.String parameterName) : void [static]  60.00% : 3 of 5
50.00% : 2 of 4
100.00% : 1 of 1
3
ArgumentNotNullOrEmpty<T>(System.Collections.Generic.ICollection<T> collection,System.String parameterName,System.String message) : void [static]  60.00% : 3 of 5
50.00% : 2 of 4
100.00% : 1 of 1
3
ArgumentConditionTrue(System.Boolean condition,System.String parameterName,System.String message) : void [static]  66.67% : 2 of 3
50.00% : 1 of 2
100.00% : 1 of 1
2
ArgumentNotNull(System.Object value,System.String parameterName) : void [static]  66.67% : 2 of 3
50.00% : 1 of 2
100.00% : 1 of 1
2
ArgumentTypeIsEnum(System.Type enumType,System.String parameterName) : void [static]  75.00% : 3 of 4
50.00% : 1 of 2
100.00% : 1 of 1
2
ArgumentNotNullOrEmpty<T>(System.Collections.Generic.ICollection<T> collection,System.String parameterName) : void [static]  100.00% : 2 of 2
100.00% : 1 of 1
100.00% : 1 of 1
1