Json.NET
Code Coverage Statistics for Class

Newtonsoft.Json.Schema.JsonSchemaWriter

Symbol Coverage: 99.14% (115 of 116)

Branch Coverage: 100.00% (54 of 54)

Method Coverage: 100.00% (7 of 7)

Cyclomatic Complexity Avg: 5.29 Max:18

Methods: 7


Methods

Method Symbol Coverage Branch Coverage Method Coverage Cyclomatic Complexity
WriteType(System.String propertyName,Newtonsoft.Json.JsonWriter writer,Newtonsoft.Json.Schema.JsonSchemaType type) : void  93.75% : 15 of 16
100.00% : 9 of 9
100.00% : 1 of 1
7
<WriteType>b__1(Newtonsoft.Json.Schema.JsonSchemaType v) : System.Boolean [static]  100.00% : 1 of 1
N/A : 0 of 0
100.00% : 1 of 1
1
.ctor(Newtonsoft.Json.JsonWriter writer,Newtonsoft.Json.Schema.JsonSchemaResolver resolver) : void  100.00% : 5 of 5
100.00% : 1 of 1
100.00% : 1 of 1
1
ReferenceOrWriteSchema(Newtonsoft.Json.Schema.JsonSchema schema) : void  100.00% : 7 of 7
100.00% : 4 of 4
100.00% : 1 of 1
3
WriteItems(Newtonsoft.Json.Schema.JsonSchema schema) : void  100.00% : 13 of 13
100.00% : 6 of 6
100.00% : 1 of 1
5
WritePropertyIfNotNull(Newtonsoft.Json.JsonWriter writer,System.String propertyName,System.Object value) : void  100.00% : 4 of 4
100.00% : 2 of 2
100.00% : 1 of 1
2
WriteSchema(Newtonsoft.Json.Schema.JsonSchema schema) : void  100.00% : 70 of 70
100.00% : 32 of 32
100.00% : 1 of 1
18