Json.NET
Code Coverage Statistics for Class

Newtonsoft.Json.Serialization.JsonPropertyCollection

Symbol Coverage: 96.30% (26 of 27)

Branch Coverage: 93.75% (15 of 16)

Method Coverage: 100.00% (5 of 5)

Cyclomatic Complexity Avg: 2.40 Max:4

Methods: 5


Methods

Method Symbol Coverage Branch Coverage Method Coverage Cyclomatic Complexity
AddProperty(Newtonsoft.Json.Serialization.JsonProperty property) : void  88.89% : 8 of 9
83.33% : 5 of 6
100.00% : 1 of 1
4
GetClosestMatchProperty(System.String propertyName) : Newtonsoft.Json.Serialization.JsonProperty  100.00% : 5 of 5
100.00% : 3 of 3
100.00% : 1 of 1
2
GetKeyForItem(Newtonsoft.Json.Serialization.JsonProperty item) : System.String  100.00% : 2 of 2
100.00% : 1 of 1
100.00% : 1 of 1
1
GetProperty(System.String propertyName,System.StringComparison comparisonType) : Newtonsoft.Json.Serialization.JsonProperty  100.00% : 7 of 7
100.00% : 5 of 5
100.00% : 1 of 1
4
.ctor(Newtonsoft.Json.Serialization.JsonObjectContract contract) : void  100.00% : 4 of 4
100.00% : 1 of 1
100.00% : 1 of 1
1