Json.NET
Code Coverage Statistics for Class

Newtonsoft.Json.Tests.Bson.BsonReaderTests

Symbol Coverage: 100.00% (607 of 607)

Branch Coverage: 100.00% (46 of 46)

Method Coverage: 100.00% (38 of 38)

Cyclomatic Complexity Avg: 1.11 Max:3

Methods: 38


Methods

Method Symbol Coverage Branch Coverage Method Coverage Cyclomatic Complexity
DateTimeKindHandling() : void  100.00% : 18 of 18
100.00% : 1 of 1
100.00% : 1 of 1
1
OidAndBytesAreEqual() : void  100.00% : 8 of 8
100.00% : 1 of 1
100.00% : 1 of 1
1
ReadArrayBsonFromSite() : void  100.00% : 27 of 27
100.00% : 1 of 1
100.00% : 1 of 1
1
ReadBytes() : void  100.00% : 26 of 26
100.00% : 1 of 1
100.00% : 1 of 1
1
ReadCode() : void  100.00% : 17 of 17
100.00% : 1 of 1
100.00% : 1 of 1
1
ReadCodeWScope() : void  100.00% : 36 of 36
100.00% : 1 of 1
100.00% : 1 of 1
1
ReadEmptyStrings() : void  100.00% : 14 of 14
100.00% : 1 of 1
100.00% : 1 of 1
1
ReadEndOfStream() : void  100.00% : 3 of 3
100.00% : 1 of 1
100.00% : 1 of 1
1
ReadLargeStrings() : void  100.00% : 22 of 22
100.00% : 5 of 5
100.00% : 1 of 1
3
ReadLong() : void  100.00% : 17 of 17
100.00% : 1 of 1
100.00% : 1 of 1
1
ReadNestedArray() : void  100.00% : 37 of 37
100.00% : 5 of 5
100.00% : 1 of 1
3
ReadNestedArrayIntoLinq() : void  100.00% : 12 of 12
100.00% : 1 of 1
100.00% : 1 of 1
1
ReadObjectBsonFromSite() : void  100.00% : 33 of 33
100.00% : 1 of 1
100.00% : 1 of 1
1
ReadOid() : void  100.00% : 23 of 23
100.00% : 1 of 1
100.00% : 1 of 1
1
ReadReference() : void  100.00% : 30 of 30
100.00% : 1 of 1
100.00% : 1 of 1
1
ReadRegex() : void  100.00% : 17 of 17
100.00% : 1 of 1
100.00% : 1 of 1
1
ReadRegexWithOptions() : void  100.00% : 22 of 22
100.00% : 1 of 1
100.00% : 1 of 1
1
ReadSingleObject() : void  100.00% : 17 of 17
100.00% : 1 of 1
100.00% : 1 of 1
1
ReadUndefined() : void  100.00% : 17 of 17
100.00% : 1 of 1
100.00% : 1 of 1
1
TestReadLenStringValueShortTripleByte() : void  100.00% : 5 of 5
100.00% : 1 of 1
100.00% : 1 of 1
1
TestReadLenStringValueTripleByteCharBufferBoundry0() : void  100.00% : 8 of 8
100.00% : 1 of 1
100.00% : 1 of 1
1
TestReadLenStringValueTripleByteCharBufferBoundry1() : void  100.00% : 9 of 9
100.00% : 1 of 1
100.00% : 1 of 1
1
TestReadLenStringValueTripleByteCharBufferBoundry2() : void  100.00% : 8 of 8
100.00% : 1 of 1
100.00% : 1 of 1
1
TestReadLenStringValueTripleByteCharOne() : void  100.00% : 5 of 5
100.00% : 1 of 1
100.00% : 1 of 1
1
TestReadStringPropertyName() : void  100.00% : 3 of 3
100.00% : 1 of 1
100.00% : 1 of 1
1
TestReadStringPropertyNameLong() : void  100.00% : 5 of 5
100.00% : 1 of 1
100.00% : 1 of 1
1
TestReadStringPropertyNameShortTripleByte() : void  100.00% : 5 of 5
100.00% : 1 of 1
100.00% : 1 of 1
1
TestReadStringPropertyNameTripleByteCharBufferBoundry0() : void  100.00% : 9 of 9
100.00% : 1 of 1
100.00% : 1 of 1
1
TestReadStringPropertyNameTripleByteCharBufferBoundry1() : void  100.00% : 8 of 8
100.00% : 1 of 1
100.00% : 1 of 1
1
TestReadStringPropertyNameTripleByteCharBufferBoundry2() : void  100.00% : 8 of 8
100.00% : 1 of 1
100.00% : 1 of 1
1
TestReadStringPropertyNameTripleByteCharOne() : void  100.00% : 5 of 5
100.00% : 1 of 1
100.00% : 1 of 1
1
TestReadStringValue() : void  100.00% : 3 of 3
100.00% : 1 of 1
100.00% : 1 of 1
1
TestReadStringValueLong() : void  100.00% : 5 of 5
100.00% : 1 of 1
100.00% : 1 of 1
1
WriteAndReadEmptyListsAndDictionaries() : void  100.00% : 33 of 33
100.00% : 1 of 1
100.00% : 1 of 1
1
WriteAndReadStringPropertyName(System.String val) : System.String  100.00% : 12 of 12
100.00% : 1 of 1
100.00% : 1 of 1
1
WriteAndReadStringValue(System.String val) : System.String  100.00% : 13 of 13
100.00% : 1 of 1
100.00% : 1 of 1
1
WriteValues() : void  100.00% : 67 of 67
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