Json.NET
Code Coverage Statistics for Class

Newtonsoft.Json.Utilities.MathUtils

Symbol Coverage: 59.62% (31 of 52)

Branch Coverage: 54.29% (19 of 35)

Method Coverage: 66.67% (6 of 9)

Cyclomatic Complexity Avg: 3.22 Max:7

Methods: 9


Methods

Method Symbol Coverage Branch Coverage Method Coverage Cyclomatic Complexity
HexToInt(System.Char h) : System.Int32 [static]  0.00% : 0 of 8
0.00% : 0 of 10
0.00% : 0 of 1
7
Min(System.Nullable<System.Double> val1,System.Nullable<System.Double> val2) : System.Nullable<System.Double> [static]  0.00% : 0 of 6
0.00% : 0 of 3
0.00% : 0 of 1
3
Max(System.Nullable<System.Double> val1,System.Nullable<System.Double> val2) : System.Nullable<System.Double> [static]  50.00% : 3 of 6
66.67% : 2 of 3
100.00% : 1 of 1
3
IntLength(System.Int32 i) : System.Int32 [static]  83.33% : 5 of 6
75.00% : 3 of 4
100.00% : 1 of 1
3
Max(System.Nullable<System.Int32> val1,System.Nullable<System.Int32> val2) : System.Nullable<System.Int32> [static]  83.33% : 5 of 6
100.00% : 3 of 3
100.00% : 1 of 1
3
Min(System.Nullable<System.Int32> val1,System.Nullable<System.Int32> val2) : System.Nullable<System.Int32> [static]  83.33% : 5 of 6
100.00% : 3 of 3
100.00% : 1 of 1
3
GetDecimalPlaces(System.Double value) : System.Int32 [static]  90.00% : 9 of 10
100.00% : 6 of 6
100.00% : 1 of 1
4
IntToHex(System.Int32 n) : System.Char [static]  100.00% : 4 of 4
100.00% : 2 of 2
100.00% : 1 of 1
2
.ctor() : void  N/A : 0 of 0
0.00% : 0 of 1
0.00% : 0 of 1
1