Json.NET
Code Coverage Statistics for Class

Newtonsoft.Json.Tests.Schema.JsonSchemaGeneratorTests

Symbol Coverage: 99.27% (136 of 137)

Branch Coverage: 95.24% (20 of 21)

Method Coverage: 100.00% (21 of 21)

Cyclomatic Complexity Avg: 1.00 Max:1

Methods: 21


Methods

Method Symbol Coverage Branch Coverage Method Coverage Cyclomatic Complexity
CircularReferenceError() : void  66.67% : 2 of 3
0.00% : 0 of 1
100.00% : 1 of 1
1
CircularCollectionReferences() : void  100.00% : 6 of 6
100.00% : 1 of 1
100.00% : 1 of 1
1
CircularReferenceWithExplicitId() : void  100.00% : 7 of 7
100.00% : 1 of 1
100.00% : 1 of 1
1
CircularReferenceWithMixedRequires() : void  100.00% : 6 of 6
100.00% : 1 of 1
100.00% : 1 of 1
1
CircularReferenceWithTypeNameId() : void  100.00% : 8 of 8
100.00% : 1 of 1
100.00% : 1 of 1
1
Generate_DefaultValueAttributeTestClass() : void  100.00% : 5 of 5
100.00% : 1 of 1
100.00% : 1 of 1
1
Generate_GenericDictionary() : void  100.00% : 9 of 9
100.00% : 1 of 1
100.00% : 1 of 1
1
Generate_NumberFormatInfo() : void  100.00% : 5 of 5
100.00% : 1 of 1
100.00% : 1 of 1
1
Generate_Person() : void  100.00% : 5 of 5
100.00% : 1 of 1
100.00% : 1 of 1
1
Generate_RequiredMembersClass() : void  100.00% : 7 of 7
100.00% : 1 of 1
100.00% : 1 of 1
1
Generate_Store() : void  100.00% : 7 of 7
100.00% : 1 of 1
100.00% : 1 of 1
1
Generate_UserNullable() : void  100.00% : 5 of 5
100.00% : 1 of 1
100.00% : 1 of 1
1
GenerateSchemaCamelCase() : void  100.00% : 7 of 7
100.00% : 1 of 1
100.00% : 1 of 1
1
GenerateSchemaForDBNull() : void  100.00% : 5 of 5
100.00% : 1 of 1
100.00% : 1 of 1
1
GenerateSchemaForDirectoryInfo() : void  100.00% : 16 of 16
100.00% : 1 of 1
100.00% : 1 of 1
1
GenerateSchemaForISerializable() : void  100.00% : 7 of 7
100.00% : 1 of 1
100.00% : 1 of 1
1
GenerateSchemaForType() : void  100.00% : 8 of 8
100.00% : 1 of 1
100.00% : 1 of 1
1
GenerateSchemaWithNegativeEnum() : void  100.00% : 5 of 5
100.00% : 1 of 1
100.00% : 1 of 1
1
JsonPropertyWithHandlingValues() : void  100.00% : 6 of 6
100.00% : 1 of 1
100.00% : 1 of 1
1
MissingSchemaIdHandlingTest() : void  100.00% : 10 of 10
100.00% : 1 of 1
100.00% : 1 of 1
1
.ctor() : void  N/A : 0 of 0
100.00% : 1 of 1
100.00% : 1 of 1
1