Json.NET
Code Coverage Statistics for Class

Newtonsoft.Json.Tests.JsonTextReaderTest

Symbol Coverage: 97.51% (353 of 362)

Branch Coverage: 76.92% (30 of 39)

Method Coverage: 100.00% (27 of 27)

Cyclomatic Complexity Avg: 1.37 Max:4

Methods: 27


Methods

Method Symbol Coverage Branch Coverage Method Coverage Cyclomatic Complexity
NullTextReader() : void  50.00% : 1 of 2
0.00% : 0 of 1
100.00% : 1 of 1
1
ReadBytesWithBadCharacter() : void  66.67% : 2 of 3
0.00% : 0 of 1
100.00% : 1 of 1
1
UnexpectedEndOfControlCharacter() : void  66.67% : 2 of 3
0.00% : 0 of 1
100.00% : 1 of 1
1
UnexpectedEndOfHex() : void  66.67% : 2 of 3
0.00% : 0 of 1
100.00% : 1 of 1
1
UnexpectedEndOfString() : void  66.67% : 2 of 3
0.00% : 0 of 1
100.00% : 1 of 1
1
ReadBytesNoStartWithUnexpectedEnd() : void  75.00% : 3 of 4
0.00% : 0 of 1
100.00% : 1 of 1
1
UnexpectedEndWhenParsingUnquotedProperty() : void  75.00% : 3 of 4
0.00% : 0 of 1
100.00% : 1 of 1
1
ReadBytesWithUnexpectedEnd() : void  80.00% : 4 of 5
0.00% : 0 of 1
100.00% : 1 of 1
1
MissingColon() : void  90.00% : 9 of 10
0.00% : 0 of 1
100.00% : 1 of 1
1
Depth() : void  100.00% : 36 of 36
100.00% : 2 of 2
100.00% : 1 of 1
2
EscapedUnicodeText() : void  100.00% : 11 of 11
100.00% : 1 of 1
100.00% : 1 of 1
1
FloatingPointNonFiniteNumbers() : void  100.00% : 17 of 17
100.00% : 2 of 2
100.00% : 1 of 1
2
LongStringTest() : void  100.00% : 14 of 14
100.00% : 1 of 1
100.00% : 1 of 1
1
ParsingQuotedPropertyWithControlCharacters() : void  100.00% : 9 of 9
100.00% : 1 of 1
100.00% : 1 of 1
1
ReadBytesFollowingNumberInArray() : void  100.00% : 14 of 14
100.00% : 1 of 1
100.00% : 1 of 1
1
ReadBytesFollowingNumberInObject() : void  100.00% : 16 of 16
100.00% : 1 of 1
100.00% : 1 of 1
1
ReadFloatingPointNumber() : void  100.00% : 52 of 52
100.00% : 2 of 2
100.00% : 1 of 1
2
ReadingEscapedStrings() : void  100.00% : 19 of 19
100.00% : 2 of 2
100.00% : 1 of 1
2
ReadingIndented() : void  100.00% : 51 of 51
100.00% : 2 of 2
100.00% : 1 of 1
2
ReadNewlineLastCharacter() : void  100.00% : 3 of 3
100.00% : 1 of 1
100.00% : 1 of 1
1
ReadNullTerminatorStrings() : void  100.00% : 4 of 4
100.00% : 1 of 1
100.00% : 1 of 1
1
ReadOctalNumber() : void  100.00% : 17 of 17
100.00% : 1 of 1
100.00% : 1 of 1
1
ReadSingleBytes() : void  100.00% : 7 of 7
100.00% : 1 of 1
100.00% : 1 of 1
1
ReadUnicode() : void  100.00% : 14 of 14
100.00% : 1 of 1
100.00% : 1 of 1
1
WriteReadWrite() : void  100.00% : 36 of 36
100.00% : 5 of 5
100.00% : 1 of 1
4
YahooFinance() : void  100.00% : 5 of 5
100.00% : 4 of 4
100.00% : 1 of 1
3
.ctor() : void  N/A : 0 of 0
100.00% : 1 of 1
100.00% : 1 of 1
1