< Summary

Line coverage
24%
Covered lines: 972
Uncovered lines: 3025
Coverable lines: 3997
Total lines: 6595
Line coverage: 24.3%
Branch coverage
23%
Covered branches: 410
Total branches: 1759
Branch coverage: 23.3%
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Cyclomatic complexity NPath complexity Sequence coverage
File 1: .ctor(...)50%22100%
File 1: .ctor(...)100%110%
File 1: Read()90%1010100%
File 1: Skip()0%220%
File 1: SkipHelper()0%880%
File 1: TrySkip()0%440%
File 1: TrySkipPartial(...)0%16160%
File 1: ValueTextEquals(...)0%220%
File 1: ValueTextEquals(...)100%110%
File 1: TextEqualsHelper(...)0%440%
File 1: ValueTextEquals(...)0%10100%
File 1: CompareToSequence(...)0%880%
File 1: UnescapeAndCompare(...)0%660%
File 1: UnescapeSequenceAndCompare(...)0%14140%
File 1: IsTokenTypeString(...)0%220%
File 1: MatchNotPossible(...)0%880%
File 1: MatchNotPossibleSequence(...)0%660%
File 1: StartObject()100%22100%
File 1: EndObject()62.5%8857.14%
File 1: StartArray()100%22100%
File 1: EndArray()62.5%8857.14%
File 1: UpdateBitStackOnEndToken()100%11100%
File 1: ReadSingleSegment()95.83%242490.14%
File 1: HasMoreData()81.25%161677.77%
File 1: HasMoreData(...)75%4488.88%
File 1: ReadFirstToken(...)92.85%141494.73%
File 1: SkipWhiteSpace()33.33%181853.84%
File 1: ConsumeValue(...)72.91%484889.06%
File 1: ConsumeLiteral(...)100%66100%
File 1: CheckLiteral(...)75%121284%
File 1: ThrowInvalidLiteral(...)100%44100%
File 1: ConsumeNumber()83.33%121290.47%
File 1: ConsumePropertyName()70%101076%
File 1: ConsumeString()83.33%6696%
File 1: ConsumeStringAndValidate(...)92.3%262695.08%
File 1: ValidateHexDigits(...)100%66100%
File 1: TryGetNumber(...)83.33%424285%
File 1: ConsumeNegativeSign(...)87.5%8895%
File 1: ConsumeZero(...)92.85%141492%
File 1: ConsumeIntegerDigits(...)90%101090.47%
File 1: ConsumeDecimalDigits(...)83.33%6693.75%
File 1: ConsumeSign(...)85.71%141492.59%
File 1: ConsumeNextTokenOrRollback(...)75%4465%
File 1: ConsumeNextToken(...)65.38%525279.26%
File 1: ConsumeNextTokenFromLastNonCommentToken()0%86860%
File 1: SkipAllComments(...)90%101092%
File 1: SkipAllComments(...)70%101068%
File 1: ConsumeNextTokenUntilAfterAllCommentsAreSkipped(...)81.03%585880.86%
File 1: SkipComment()87.5%8894.44%
File 1: SkipSingleLineComment(...)83.33%121289.18%
File 1: FindLineSeparator(...)100%44100%
File 1: ThrowOnDangerousLineSeparator(...)100%88100%
File 1: SkipMultiLineComment(...)90%101096.55%
File 1: ConsumeComment()0%880%
File 1: ConsumeSingleLineComment(...)0%440%
File 1: ConsumeMultiLineComment(...)0%440%
File 1: GetUnescapedSpan()0%440%
File 2: .ctor(...)0%10100%
File 2: .ctor(...)100%110%
File 2: ReadMultiSegment()0%24240%
File 2: ValidateStateAtEndOfData()0%12120%
File 2: HasMoreDataMultiSegment()0%14140%
File 2: HasMoreDataMultiSegment(...)0%880%
File 2: GetNextSpan()0%10100%
File 2: ReadFirstTokenMultiSegment(...)0%14140%
File 2: SkipWhiteSpaceMultiSegment()0%440%
File 2: ConsumeValueMultiSegment(...)0%60600%
File 2: ConsumeLiteralMultiSegment(...)0%880%
File 2: CheckLiteralMultiSegment(...)0%18180%
File 2: AmountToWrite(System.ReadOnlySpan`1<System.Byte>,System.Int64,System.ReadOnlySpan`1<System.Byte>,System.Int32)100%110%
File 2: FindMismatch(...)0%220%
File 2: GetInvalidLiteralMultiSegment(...)0%440%
File 2: ConsumeNumberMultiSegment()0%12120%
File 2: ConsumePropertyNameMultiSegment()0%10100%
File 2: ConsumeStringMultiSegment()0%660%
File 2: ConsumeStringNextSegment()0%38380%
File 2: ConsumeStringAndValidateMultiSegment(...)0%40400%
File 2: RollBackState(...)0%220%
File 2: TryGetNumberMultiSegment(...)0%44440%
File 2: ConsumeNegativeSignMultiSegment(...)0%12120%
File 2: ConsumeZeroMultiSegment(...)0%22220%
File 2: ConsumeIntegerDigitsMultiSegment(...)0%22220%
File 2: ConsumeDecimalDigitsMultiSegment(...)0%10100%
File 2: ConsumeSignMultiSegment(...)0%22220%
File 2: ConsumeNextTokenOrRollbackMultiSegment(...)0%440%
File 2: ConsumeNextTokenMultiSegment(...)0%56560%
File 2: ConsumeNextTokenFromLastNonCommentTokenMultiSegment()0%90900%
File 2: SkipAllCommentsMultiSegment(...)0%10100%
File 2: SkipAllCommentsMultiSegment(...)0%10100%
File 2: ConsumeNextTokenUntilAfterAllCommentsAreSkippedMultiSegment(...)0%62620%
File 2: SkipOrConsumeCommentMultiSegmentWithRollback()0%10100%
File 2: SkipCommentMultiSegment(...)0%26260%
File 2: SkipSingleLineCommentMultiSegment(...)0%24240%
File 2: FindLineSeparatorMultiSegment(...)0%16160%
File 2: ThrowOnDangerousLineSeparatorMultiSegment(...)0%16160%
File 2: SkipMultiLineCommentMultiSegment(...)0%22220%
File 2: CaptureState()100%110%
File 2: .ctor(...)100%110%
File 2: GetStartPosition(...)100%110%
File 3: GetString()0%10100%
File 3: CopyString(...)0%440%
File 3: CopyValue(...)0%12120%
File 3: CopyString(...)0%440%
File 3: CopyValue(...)0%16160%
File 3: TryCopyEscapedString(...)0%880%
File 3: GetComment()0%440%
File 3: GetBoolean()0%880%
File 3: GetBytesFromBase64()0%220%
File 3: GetByte()0%220%
File 3: GetByteWithQuotes()0%220%
File 3: GetSByte()0%220%
File 3: GetSByteWithQuotes()0%220%
File 3: GetInt16()0%220%
File 3: GetInt16WithQuotes()0%220%
File 3: GetInt32()0%220%
File 3: GetInt32WithQuotes()0%220%
File 3: GetInt64()0%220%
File 3: GetInt64WithQuotes()0%220%
File 3: GetUInt16()0%220%
File 3: GetUInt16WithQuotes()0%220%
File 3: GetUInt32()0%220%
File 3: GetUInt32WithQuotes()0%220%
File 3: GetUInt64()0%220%
File 3: GetUInt64WithQuotes()0%220%
File 3: GetSingle()0%220%
File 3: GetSingleWithQuotes()0%880%
File 3: GetSingleFloatingPointConstant()0%220%
File 3: GetDouble()0%220%
File 3: GetDoubleWithQuotes()0%880%
File 3: GetDoubleFloatingPointConstant()0%220%
File 3: GetDecimal()0%220%
File 3: GetDecimalWithQuotes()0%220%
File 3: GetDateTime()0%220%
File 3: GetDateTimeNoValidation()0%220%
File 3: GetDateTimeOffset()0%220%
File 3: GetDateTimeOffsetNoValidation()0%220%
File 3: GetGuid()0%220%
File 3: GetGuidNoValidation()0%220%
File 3: TryGetBytesFromBase64(...)0%660%
File 3: TryGetByte(...)0%440%
File 3: TryGetByteCore(...)0%440%
File 3: TryGetSByte(...)0%440%
File 3: TryGetSByteCore(...)0%440%
File 3: TryGetInt16(...)0%440%
File 3: TryGetInt16Core(...)0%440%
File 3: TryGetInt32(...)0%440%
File 3: TryGetInt32Core(...)0%440%
File 3: TryGetInt64(...)0%440%
File 3: TryGetInt64Core(...)0%440%
File 3: TryGetUInt16(...)0%440%
File 3: TryGetUInt16Core(...)0%440%
File 3: TryGetUInt32(...)0%440%
File 3: TryGetUInt32Core(...)0%440%
File 3: TryGetUInt64(...)0%440%
File 3: TryGetUInt64Core(...)0%440%
File 3: TryGetSingle(...)0%880%
File 3: TryGetDouble(...)0%880%
File 3: TryGetDecimal(...)0%440%
File 3: TryGetDecimalCore(...)0%440%
File 3: TryGetDateTime(...)0%220%
File 3: TryGetDateTimeCore(...)0%440%
File 3: TryGetDateTimeOffset(...)0%220%
File 3: TryGetDateTimeOffsetCore(...)0%440%
File 3: TryGetGuid(...)0%220%
File 3: TryGetGuidCore(...)0%440%

File(s)

https://raw.githubusercontent.com/dotnet/runtime/87bcbd26c0325d512bb7d091f493e73201aee1d6/src/libraries/System.Text.Json/src/System/Text/Json/Reader/Utf8JsonReader.cs

Error during reading file 'https://raw.githubusercontent.com/dotnet/runtime/87bcbd26c0325d512bb7d091f493e73201aee1d6/src/libraries/System.Text.Json/src/System/Text/Json/Reader/Utf8JsonReader.cs': Response status code does not indicate success: 404 (Not Found).

https://raw.githubusercontent.com/dotnet/runtime/87bcbd26c0325d512bb7d091f493e73201aee1d6/src/libraries/System.Text.Json/src/System/Text/Json/Reader/Utf8JsonReader.MultiSegment.cs

Error during reading file 'https://raw.githubusercontent.com/dotnet/runtime/87bcbd26c0325d512bb7d091f493e73201aee1d6/src/libraries/System.Text.Json/src/System/Text/Json/Reader/Utf8JsonReader.MultiSegment.cs': Response status code does not indicate success: 404 (Not Found).

https://raw.githubusercontent.com/dotnet/runtime/87bcbd26c0325d512bb7d091f493e73201aee1d6/src/libraries/System.Text.Json/src/System/Text/Json/Reader/Utf8JsonReader.TryGet.cs

Error during reading file 'https://raw.githubusercontent.com/dotnet/runtime/87bcbd26c0325d512bb7d091f493e73201aee1d6/src/libraries/System.Text.Json/src/System/Text/Json/Reader/Utf8JsonReader.TryGet.cs': Response status code does not indicate success: 404 (Not Found).

Methods/Properties

IsLastSpan()
OriginalSequence()
OriginalSpan()
ValueLength()
AllowMultipleValues()
ValueSpan()
BytesConsumed()
TokenStartIndex()
CurrentDepth()
IsInArray()
TokenType()
HasValueSequence()
ValueIsEscaped()
IsFinalBlock()
ValueSequence()
Position()
CurrentState()
.ctor(System.ReadOnlySpan`1<System.Byte>,System.Boolean,System.Text.Json.JsonReaderState)
.ctor(System.ReadOnlySpan`1<System.Byte>,System.Text.Json.JsonReaderOptions)
Read()
Skip()
SkipHelper()
TrySkip()
TrySkipPartial(System.Int32)
ValueTextEquals(System.ReadOnlySpan`1<System.Byte>)
ValueTextEquals(System.String)
TextEqualsHelper(System.ReadOnlySpan`1<System.Byte>)
ValueTextEquals(System.ReadOnlySpan`1<System.Char>)
CompareToSequence(System.ReadOnlySpan`1<System.Byte>)
UnescapeAndCompare(System.ReadOnlySpan`1<System.Byte>)
UnescapeSequenceAndCompare(System.ReadOnlySpan`1<System.Byte>)
IsTokenTypeString(System.Text.Json.JsonTokenType)
MatchNotPossible(System.Int32)
MatchNotPossibleSequence(System.Int32)
StartObject()
EndObject()
StartArray()
EndArray()
UpdateBitStackOnEndToken()
ReadSingleSegment()
HasMoreData()
HasMoreData(System.Text.Json.ExceptionResource)
ReadFirstToken(System.Byte)
SkipWhiteSpace()
ConsumeValue(System.Byte)
ConsumeLiteral(System.ReadOnlySpan`1<System.Byte>,System.Text.Json.JsonTokenType)
CheckLiteral(System.ReadOnlySpan`1<System.Byte>,System.ReadOnlySpan`1<System.Byte>)
ThrowInvalidLiteral(System.ReadOnlySpan`1<System.Byte>)
ConsumeNumber()
ConsumePropertyName()
ConsumeString()
ConsumeStringAndValidate(System.ReadOnlySpan`1<System.Byte>,System.Int32)
ValidateHexDigits(System.ReadOnlySpan`1<System.Byte>,System.Int32)
TryGetNumber(System.ReadOnlySpan`1<System.Byte>,System.Int32&)
ConsumeNegativeSign(System.ReadOnlySpan`1<System.Byte>&,System.Int32&)
ConsumeZero(System.ReadOnlySpan`1<System.Byte>&,System.Int32&)
ConsumeIntegerDigits(System.ReadOnlySpan`1<System.Byte>&,System.Int32&)
ConsumeDecimalDigits(System.ReadOnlySpan`1<System.Byte>&,System.Int32&)
ConsumeSign(System.ReadOnlySpan`1<System.Byte>&,System.Int32&)
ConsumeNextTokenOrRollback(System.Byte)
ConsumeNextToken(System.Byte)
ConsumeNextTokenFromLastNonCommentToken()
SkipAllComments(System.Byte&)
SkipAllComments(System.Byte&,System.Text.Json.ExceptionResource)
ConsumeNextTokenUntilAfterAllCommentsAreSkipped(System.Byte)
SkipComment()
SkipSingleLineComment(System.ReadOnlySpan`1<System.Byte>,System.Int32&)
FindLineSeparator(System.ReadOnlySpan`1<System.Byte>)
ThrowOnDangerousLineSeparator(System.ReadOnlySpan`1<System.Byte>)
SkipMultiLineComment(System.ReadOnlySpan`1<System.Byte>,System.Int32&)
ConsumeComment()
ConsumeSingleLineComment(System.ReadOnlySpan`1<System.Byte>,System.Int32)
ConsumeMultiLineComment(System.ReadOnlySpan`1<System.Byte>,System.Int32)
DebuggerDisplay()
DebugTokenType()
GetUnescapedSpan()
.ctor(System.Buffers.ReadOnlySequence`1<System.Byte>,System.Boolean,System.Text.Json.JsonReaderState)
.ctor(System.Buffers.ReadOnlySequence`1<System.Byte>,System.Text.Json.JsonReaderOptions)
ReadMultiSegment()
ValidateStateAtEndOfData()
HasMoreDataMultiSegment()
HasMoreDataMultiSegment(System.Text.Json.ExceptionResource)
GetNextSpan()
ReadFirstTokenMultiSegment(System.Byte)
SkipWhiteSpaceMultiSegment()
ConsumeValueMultiSegment(System.Byte)
ConsumeLiteralMultiSegment(System.ReadOnlySpan`1<System.Byte>,System.Text.Json.JsonTokenType)
CheckLiteralMultiSegment(System.ReadOnlySpan`1<System.Byte>,System.ReadOnlySpan`1<System.Byte>,System.Int32&)
AmountToWrite(System.ReadOnlySpan`1<System.Byte>,System.Int64,System.ReadOnlySpan`1<System.Byte>,System.Int32)
FindMismatch(System.ReadOnlySpan`1<System.Byte>,System.ReadOnlySpan`1<System.Byte>)
GetInvalidLiteralMultiSegment(System.ReadOnlySpan`1<System.Byte>)
ConsumeNumberMultiSegment()
ConsumePropertyNameMultiSegment()
ConsumeStringMultiSegment()
ConsumeStringNextSegment()
ConsumeStringAndValidateMultiSegment(System.ReadOnlySpan`1<System.Byte>,System.Int32)
RollBackState(System.Text.Json.Utf8JsonReader/PartialStateForRollback&,System.Boolean)
TryGetNumberMultiSegment(System.ReadOnlySpan`1<System.Byte>,System.Int32&)
ConsumeNegativeSignMultiSegment(System.ReadOnlySpan`1<System.Byte>&,System.Int32&,System.Text.Json.Utf8JsonReader/PartialStateForRollback&)
ConsumeZeroMultiSegment(System.ReadOnlySpan`1<System.Byte>&,System.Int32&,System.Text.Json.Utf8JsonReader/PartialStateForRollback&)
ConsumeIntegerDigitsMultiSegment(System.ReadOnlySpan`1<System.Byte>&,System.Int32&)
ConsumeDecimalDigitsMultiSegment(System.ReadOnlySpan`1<System.Byte>&,System.Int32&,System.Text.Json.Utf8JsonReader/PartialStateForRollback&)
ConsumeSignMultiSegment(System.ReadOnlySpan`1<System.Byte>&,System.Int32&,System.Text.Json.Utf8JsonReader/PartialStateForRollback&)
ConsumeNextTokenOrRollbackMultiSegment(System.Byte)
ConsumeNextTokenMultiSegment(System.Byte)
ConsumeNextTokenFromLastNonCommentTokenMultiSegment()
SkipAllCommentsMultiSegment(System.Byte&)
SkipAllCommentsMultiSegment(System.Byte&,System.Text.Json.ExceptionResource)
ConsumeNextTokenUntilAfterAllCommentsAreSkippedMultiSegment(System.Byte)
SkipOrConsumeCommentMultiSegmentWithRollback()
SkipCommentMultiSegment(System.Int32&)
SkipSingleLineCommentMultiSegment(System.ReadOnlySpan`1<System.Byte>,System.Int32&)
FindLineSeparatorMultiSegment(System.ReadOnlySpan`1<System.Byte>,System.Int32&)
ThrowOnDangerousLineSeparatorMultiSegment(System.ReadOnlySpan`1<System.Byte>,System.Int32&)
SkipMultiLineCommentMultiSegment(System.ReadOnlySpan`1<System.Byte>)
CaptureState()
.ctor(System.Int64,System.Int64,System.Int32,System.SequencePosition)
GetStartPosition(System.Int32)
GetString()
CopyString(System.Span`1<System.Byte>)
CopyValue(System.Span`1<System.Byte>)
CopyString(System.Span`1<System.Char>)
CopyValue(System.Span`1<System.Char>)
TryCopyEscapedString(System.Span`1<System.Byte>,System.Int32&)
GetComment()
GetBoolean()
GetBytesFromBase64()
GetByte()
GetByteWithQuotes()
GetSByte()
GetSByteWithQuotes()
GetInt16()
GetInt16WithQuotes()
GetInt32()
GetInt32WithQuotes()
GetInt64()
GetInt64WithQuotes()
GetUInt16()
GetUInt16WithQuotes()
GetUInt32()
GetUInt32WithQuotes()
GetUInt64()
GetUInt64WithQuotes()
GetSingle()
GetSingleWithQuotes()
GetSingleFloatingPointConstant()
GetDouble()
GetDoubleWithQuotes()
GetDoubleFloatingPointConstant()
GetDecimal()
GetDecimalWithQuotes()
GetDateTime()
GetDateTimeNoValidation()
GetDateTimeOffset()
GetDateTimeOffsetNoValidation()
GetGuid()
GetGuidNoValidation()
TryGetBytesFromBase64(System.Byte[]&)
TryGetByte(System.Byte&)
TryGetByteCore(System.Byte&,System.ReadOnlySpan`1<System.Byte>)
TryGetSByte(System.SByte&)
TryGetSByteCore(System.SByte&,System.ReadOnlySpan`1<System.Byte>)
TryGetInt16(System.Int16&)
TryGetInt16Core(System.Int16&,System.ReadOnlySpan`1<System.Byte>)
TryGetInt32(System.Int32&)
TryGetInt32Core(System.Int32&,System.ReadOnlySpan`1<System.Byte>)
TryGetInt64(System.Int64&)
TryGetInt64Core(System.Int64&,System.ReadOnlySpan`1<System.Byte>)
TryGetUInt16(System.UInt16&)
TryGetUInt16Core(System.UInt16&,System.ReadOnlySpan`1<System.Byte>)
TryGetUInt32(System.UInt32&)
TryGetUInt32Core(System.UInt32&,System.ReadOnlySpan`1<System.Byte>)
TryGetUInt64(System.UInt64&)
TryGetUInt64Core(System.UInt64&,System.ReadOnlySpan`1<System.Byte>)
TryGetSingle(System.Single&)
TryGetDouble(System.Double&)
TryGetDecimal(System.Decimal&)
TryGetDecimalCore(System.Decimal&,System.ReadOnlySpan`1<System.Byte>)
TryGetDateTime(System.DateTime&)
TryGetDateTimeCore(System.DateTime&)
TryGetDateTimeOffset(System.DateTimeOffset&)
TryGetDateTimeOffsetCore(System.DateTimeOffset&)
TryGetGuid(System.Guid&)
TryGetGuidCore(System.Guid&)