Json.NET
Code Coverage Statistics for Class

Newtonsoft.Json.Schema.JsonSchemaBuilder

Symbol Coverage: 90.81% (168 of 185)

Branch Coverage: 75.53% (71 of 94)

Method Coverage: 100.00% (18 of 18)

Cyclomatic Complexity Avg: 4.83 Max:29

Methods: 18


Methods

Method Symbol Coverage Branch Coverage Method Coverage Cyclomatic Complexity
MapType(System.String type) : Newtonsoft.Json.Schema.JsonSchemaType [static]  75.00% : 3 of 4
66.67% : 2 of 3
100.00% : 1 of 1
2
ProcessOptions() : void  79.17% : 19 of 24
65.00% : 13 of 20
100.00% : 1 of 1
12
ProcessType() : System.Nullable<Newtonsoft.Json.Schema.JsonSchemaType>  80.00% : 8 of 10
75.00% : 9 of 12
100.00% : 1 of 1
7
ProcessIdentity() : void  81.82% : 9 of 11
66.67% : 6 of 9
100.00% : 1 of 1
6
ProcessProperties() : void  81.82% : 9 of 11
66.67% : 6 of 9
100.00% : 1 of 1
5
ProcessEnum() : void  85.71% : 6 of 7
71.43% : 5 of 7
100.00% : 1 of 1
4
ProcessItems() : void  88.89% : 8 of 9
66.67% : 4 of 6
100.00% : 1 of 1
4
BuildSchema() : Newtonsoft.Json.Schema.JsonSchema  95.65% : 22 of 23
81.82% : 9 of 11
100.00% : 1 of 1
7
ProcessSchemaProperty(System.String propertyName) : void  96.43% : 54 of 56
100.00% : 5 of 5
100.00% : 1 of 1
29
get_CurrentSchema() : Newtonsoft.Json.Schema.JsonSchema  100.00% : 2 of 2
100.00% : 1 of 1
100.00% : 1 of 1
1
.ctor(Newtonsoft.Json.Schema.JsonSchemaResolver resolver) : void  100.00% : 4 of 4
100.00% : 1 of 1
100.00% : 1 of 1
1
MapType(Newtonsoft.Json.Schema.JsonSchemaType type) : System.String [static]  100.00% : 2 of 2
100.00% : 1 of 1
100.00% : 1 of 1
1
Parse(Newtonsoft.Json.JsonReader reader) : Newtonsoft.Json.Schema.JsonSchema  100.00% : 5 of 5
100.00% : 3 of 3
100.00% : 1 of 1
2
Pop() : Newtonsoft.Json.Schema.JsonSchema  100.00% : 5 of 5
100.00% : 1 of 1
100.00% : 1 of 1
1
ProcessAdditionalProperties() : void  100.00% : 4 of 4
100.00% : 2 of 2
100.00% : 1 of 1
2
ProcessDefault() : void  100.00% : 2 of 2
100.00% : 1 of 1
100.00% : 1 of 1
1
ProcessExtends() : void  100.00% : 2 of 2
100.00% : 1 of 1
100.00% : 1 of 1
1
Push(Newtonsoft.Json.Schema.JsonSchema value) : void  100.00% : 4 of 4
100.00% : 1 of 1
100.00% : 1 of 1
1