Json.NET
Code Coverage Statistics for Class

Newtonsoft.Json.Tests.Converters.XmlNodeConverterTest

Symbol Coverage: 96.10% (222 of 231)

Branch Coverage: 82.86% (29 of 35)

Method Coverage: 100.00% (27 of 27)

Cyclomatic Complexity Avg: 1.19 Max:3

Methods: 27


Methods

Method Symbol Coverage Branch Coverage Method Coverage Cyclomatic Complexity
NoRootObject() : void  50.00% : 1 of 2
0.00% : 0 of 1
100.00% : 1 of 1
1
RootObjectMultipleProperties() : void  50.00% : 1 of 2
0.00% : 0 of 1
100.00% : 1 of 1
1
SerializeXmlNode(System.Xml.XmlNode node) : System.String  61.54% : 8 of 13
50.00% : 2 of 4
100.00% : 1 of 1
3
MultipleRootPropertiesXDocument() : void  66.67% : 2 of 3
0.00% : 0 of 1
100.00% : 1 of 1
1
MultipleRootPropertiesXmlDocument() : void  66.67% : 2 of 3
0.00% : 0 of 1
100.00% : 1 of 1
1
DeserializeExample() : void  100.00% : 4 of 4
100.00% : 1 of 1
100.00% : 1 of 1
1
DeserializeXmlNode(System.String json) : System.Xml.XmlNode  100.00% : 2 of 2
100.00% : 1 of 1
100.00% : 1 of 1
1
DeserializeXmlNode(System.String json,System.String deserializeRootElementName) : System.Xml.XmlNode  100.00% : 16 of 16
100.00% : 5 of 5
100.00% : 1 of 1
3
DocumentDeserialize() : void  100.00% : 9 of 9
100.00% : 1 of 1
100.00% : 1 of 1
1
DocumentFragmentSerialize() : void  100.00% : 10 of 10
100.00% : 1 of 1
100.00% : 1 of 1
1
DocumentSerializeIndented() : void  100.00% : 10 of 10
100.00% : 1 of 1
100.00% : 1 of 1
1
EmptyNode() : void  100.00% : 8 of 8
100.00% : 1 of 1
100.00% : 1 of 1
1
Encoding() : void  100.00% : 5 of 5
100.00% : 1 of 1
100.00% : 1 of 1
1
ForceJsonArray() : void  100.00% : 19 of 19
100.00% : 1 of 1
100.00% : 1 of 1
1
GetIndentedInnerXml(System.Xml.XmlNode node) : System.String  100.00% : 7 of 7
100.00% : 2 of 2
100.00% : 1 of 1
2
JavaScriptConstructor() : void  100.00% : 8 of 8
100.00% : 1 of 1
100.00% : 1 of 1
1
MultipleNestedArraysToXml() : void  100.00% : 6 of 6
100.00% : 1 of 1
100.00% : 1 of 1
1
MultipleRootPropertiesAddRootElement() : void  100.00% : 6 of 6
100.00% : 1 of 1
100.00% : 1 of 1
1
NamespaceSerializeDeserialize() : void  100.00% : 13 of 13
100.00% : 1 of 1
100.00% : 1 of 1
1
NestedArrays() : void  100.00% : 6 of 6
100.00% : 1 of 1
100.00% : 1 of 1
1
OtherElementDataTypes() : void  100.00% : 5 of 5
100.00% : 1 of 1
100.00% : 1 of 1
1
SerializeComment() : void  100.00% : 9 of 9
100.00% : 1 of 1
100.00% : 1 of 1
1
SerializeDeserializeSpecialProperties() : void  100.00% : 13 of 13
100.00% : 1 of 1
100.00% : 1 of 1
1
SerializeExample() : void  100.00% : 9 of 9
100.00% : 1 of 1
100.00% : 1 of 1
1
SerializeNodeTypes() : void  100.00% : 36 of 36
100.00% : 1 of 1
100.00% : 1 of 1
1
SingleTextNode() : void  100.00% : 7 of 7
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