Json.NET
Code Coverage Statistics for Class

Newtonsoft.Json.Utilities.MiscellaneousUtils

Symbol Coverage: 89.83% (53 of 59)

Branch Coverage: 93.10% (27 of 29)

Method Coverage: 90.00% (9 of 10)

Cyclomatic Complexity Avg: 2.20 Max:4

Methods: 10


Methods

Method Symbol Coverage Branch Coverage Method Coverage Cyclomatic Complexity
CreateArgumentOutOfRangeException(System.String paramName,System.Object actualValue,System.String message) : System.ArgumentOutOfRangeException [static]  0.00% : 0 of 3
0.00% : 0 of 1
0.00% : 0 of 1
1
ToString(System.Object value) : System.String [static]  75.00% : 3 of 4
100.00% : 4 of 4
100.00% : 1 of 1
3
BytesToHex(System.Byte[] bytes,System.Boolean removeDashes) : System.String [static]  80.00% : 4 of 5
66.67% : 2 of 3
100.00% : 1 of 1
2
ByteArrayCompare(System.Byte[] a1,System.Byte[] a2) : System.Boolean [static]  88.89% : 8 of 9
100.00% : 5 of 5
100.00% : 1 of 1
4
BytesToHex(System.Byte[] bytes) : System.String [static]  100.00% : 2 of 2
100.00% : 1 of 1
100.00% : 1 of 1
1
GetLocalName(System.String qualifiedName) : System.String [static]  100.00% : 3 of 3
100.00% : 1 of 1
100.00% : 1 of 1
1
GetPrefix(System.String qualifiedName) : System.String [static]  100.00% : 3 of 3
100.00% : 1 of 1
100.00% : 1 of 1
1
GetQualifiedNameParts(System.String qualifiedName,byref System.String prefix,byref System.String localName) : void [static]  100.00% : 7 of 7
100.00% : 5 of 5
100.00% : 1 of 1
4
HexToBytes(System.String hex) : System.Byte[] [static]  100.00% : 16 of 16
100.00% : 7 of 7
100.00% : 1 of 1
4
TryAction<T>(Newtonsoft.Json.Utilities.Creator<T> creator,byref T output) : System.Boolean [static]  100.00% : 7 of 7
100.00% : 1 of 1
100.00% : 1 of 1
1