Json.NET
Code Coverage Statistics for Class

Newtonsoft.Json.Linq.ComponentModel.JPropertyDescriptor

Symbol Coverage: 88.89% (24 of 27)

Branch Coverage: 84.62% (11 of 13)

Method Coverage: 90.91% (10 of 11)

Cyclomatic Complexity Avg: 1.09 Max:2

Methods: 11


Methods

Method Symbol Coverage Branch Coverage Method Coverage Cyclomatic Complexity
get_NameHashCode() : System.Int32  0.00% : 0 of 3
0.00% : 0 of 1
0.00% : 0 of 1
1
CanResetValue(System.Object component) : System.Boolean  100.00% : 2 of 2
100.00% : 1 of 1
100.00% : 1 of 1
1
CastInstance(System.Object instance) : Newtonsoft.Json.Linq.JObject [static]  100.00% : 2 of 2
100.00% : 1 of 1
100.00% : 1 of 1
1
get_ComponentType() : System.Type  100.00% : 2 of 2
100.00% : 1 of 1
100.00% : 1 of 1
1
get_IsReadOnly() : System.Boolean  100.00% : 2 of 2
100.00% : 1 of 1
100.00% : 1 of 1
1
get_PropertyType() : System.Type  100.00% : 2 of 2
100.00% : 1 of 1
100.00% : 1 of 1
1
GetValue(System.Object component) : System.Object  100.00% : 3 of 3
100.00% : 1 of 1
100.00% : 1 of 1
1
.ctor(System.String name,System.Type propertyType) : void  100.00% : 5 of 5
100.00% : 1 of 1
100.00% : 1 of 1
1
ResetValue(System.Object component) : void  100.00% : 1 of 1
100.00% : 1 of 1
100.00% : 1 of 1
1
SetValue(System.Object component,System.Object value) : void  100.00% : 3 of 3
66.67% : 2 of 3
100.00% : 1 of 1
2
ShouldSerializeValue(System.Object component) : System.Boolean  100.00% : 2 of 2
100.00% : 1 of 1
100.00% : 1 of 1
1