Json.NET
Code Coverage Statistics for Class

Newtonsoft.Json.Utilities.EnumUtils

Symbol Coverage: 53.33% (48 of 90)

Branch Coverage: 51.79% (29 of 56)

Method Coverage: 46.67% (7 of 15)

Cyclomatic Complexity Avg: 2.67 Max:9

Methods: 15


Methods

Method Symbol Coverage Branch Coverage Method Coverage Cyclomatic Complexity
<GetFlagsValues>b__3<T>(Newtonsoft.Json.Utilities.EnumValue<System.UInt64> v) : System.Boolean [static]  0.00% : 0 of 1
N/A : 0 of 0
0.00% : 0 of 1
1
GetMaximumValue<TEnumType>(System.Type enumType) : TEnumType [static]  0.00% : 0 of 20
0.00% : 0 of 15
0.00% : 0 of 1
9
GetNames<T>() : System.Collections.Generic.IList<System.String> [static]  0.00% : 0 of 2
0.00% : 0 of 1
0.00% : 0 of 1
1
GetNamesAndValues<TEnum,TUnderlyingType>() : Newtonsoft.Json.Utilities.EnumValues<TUnderlyingType> [static]  0.00% : 0 of 2
0.00% : 0 of 1
0.00% : 0 of 1
1
GetValues<T>() : System.Collections.Generic.IList<T> [static]  0.00% : 0 of 2
0.00% : 0 of 1
0.00% : 0 of 1
1
Parse<T>(System.String enumMemberName) : T [static]  0.00% : 0 of 2
0.00% : 0 of 1
0.00% : 0 of 1
1
Parse<T>(System.String enumMemberName,System.Boolean ignoreCase) : T [static]  0.00% : 0 of 3
0.00% : 0 of 1
0.00% : 0 of 1
1
TryParse<T>(System.String enumMemberName,System.Boolean ignoreCase,byref T value) : System.Boolean [static]  0.00% : 0 of 3
0.00% : 0 of 1
0.00% : 0 of 1
1
GetNamesAndValues<TUnderlyingType>(System.Type enumType) : Newtonsoft.Json.Utilities.EnumValues<TUnderlyingType> [static]  78.57% : 11 of 14
66.67% : 4 of 6
100.00% : 1 of 1
3
GetFlagsValues<T>(T value) : System.Collections.Generic.IList<T> [static]  87.50% : 14 of 16
85.71% : 12 of 14
100.00% : 1 of 1
8
GetNames(System.Type enumType) : System.Collections.Generic.IList<System.String> [static]  90.00% : 9 of 10
85.71% : 6 of 7
100.00% : 1 of 1
5
GetValues(System.Type enumType) : System.Collections.Generic.IList<System.Object> [static]  90.91% : 10 of 11
85.71% : 6 of 7
100.00% : 1 of 1
5
<GetNames>b__6(System.Reflection.FieldInfo field) : System.Boolean [static]  100.00% : 1 of 1
N/A : 0 of 0
100.00% : 1 of 1
1
<GetValues>b__4(System.Reflection.FieldInfo field) : System.Boolean [static]  100.00% : 1 of 1
N/A : 0 of 0
100.00% : 1 of 1
1
GetNamesAndValues<T>() : Newtonsoft.Json.Utilities.EnumValues<System.UInt64> [static]  100.00% : 2 of 2
100.00% : 1 of 1
100.00% : 1 of 1
1