Json.NET
Code Coverage Statistics for Class

Newtonsoft.Json.Utilities.DynamicReflectionDelegateFactory

Symbol Coverage: 96.70% (88 of 91)

Branch Coverage: 89.74% (35 of 39)

Method Coverage: 100.00% (9 of 9)

Cyclomatic Complexity Avg: 2.78 Max:9

Methods: 9


Methods

Method Symbol Coverage Branch Coverage Method Coverage Cyclomatic Complexity
CreateGet<T>(System.Reflection.PropertyInfo propertyInfo) : System.Func<T,System.Object>  91.67% : 11 of 12
80.00% : 4 of 5
100.00% : 1 of 1
3
CreateDefaultConstructor<T>(System.Type type) : System.Func<T>  92.86% : 13 of 14
80.00% : 4 of 5
100.00% : 1 of 1
3
CreateMethodCall<T>(System.Reflection.MethodBase method) : Newtonsoft.Json.Utilities.MethodCall<T,System.Object>  96.77% : 30 of 31
87.50% : 14 of 16
100.00% : 1 of 1
9
CreateDynamicMethod(System.String name,System.Type returnType,System.Type[] parameterTypes,System.Type owner) : System.Reflection.Emit.DynamicMethod [static]  100.00% : 3 of 3
100.00% : 3 of 3
100.00% : 1 of 1
2
CreateGet<T>(System.Reflection.FieldInfo fieldInfo) : System.Func<T,System.Object>  100.00% : 9 of 9
100.00% : 3 of 3
100.00% : 1 of 1
2
CreateSet<T>(System.Reflection.FieldInfo fieldInfo) : System.Action<T,System.Object>  100.00% : 10 of 10
100.00% : 3 of 3
100.00% : 1 of 1
2
CreateSet<T>(System.Reflection.PropertyInfo propertyInfo) : System.Action<T,System.Object>  100.00% : 11 of 11
100.00% : 3 of 3
100.00% : 1 of 1
2
.cctor() : void [static]  100.00% : 1 of 1
N/A : 0 of 0
100.00% : 1 of 1
1
.ctor() : void  N/A : 0 of 0
100.00% : 1 of 1
100.00% : 1 of 1
1