Json.NET
Code Coverage Statistics for Class

Newtonsoft.Json.Tests.Serialization.ConstructorHandlingTests

Symbol Coverage: 88.24% (15 of 17)

Branch Coverage: 60.00% (3 of 5)

Method Coverage: 100.00% (5 of 5)

Cyclomatic Complexity Avg: 1.00 Max:1

Methods: 5


Methods

Method Symbol Coverage Branch Coverage Method Coverage Cyclomatic Complexity
FailWithPrivateConstructorAndDefault() : void  66.67% : 2 of 3
0.00% : 0 of 1
100.00% : 1 of 1
1
FailWithPrivateConstructorPlusParametizedAndDefault() : void  66.67% : 2 of 3
0.00% : 0 of 1
100.00% : 1 of 1
1
SuccessWithPrivateConstructorAndAllowNonPublic() : void  100.00% : 5 of 5
100.00% : 1 of 1
100.00% : 1 of 1
1
SuccessWithPrivateConstructorPlusParametizedAndAllowNonPublic() : void  100.00% : 6 of 6
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