< Summary

Line coverage
1%
Covered lines: 9
Uncovered lines: 519
Coverable lines: 528
Total lines: 2090
Line coverage: 1.7%
Branch coverage
0%
Covered branches: 0
Total branches: 126
Branch coverage: 0%
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Cyclomatic complexity NPath complexity Sequence coverage
File 1: .ctor(...)100%110%
File 1: GetEnumerator()100%110%
File 1: System.Collections.IEnumerable.GetEnumerator()100%110%
File 1: System.Collections.Generic.IEnumerable<System.Text.Json.JsonElement>.GetEnumerator()100%110%
File 1: Dispose()100%110%
File 1: Reset()100%110%
File 1: MoveNext()0%440%
File 2: .ctor(...)100%110%
File 2: GetArrayLength()100%110%
File 2: GetPropertyCount()100%110%
File 2: GetProperty(...)0%220%
File 2: GetProperty(...)0%220%
File 2: GetProperty(...)0%220%
File 2: TryGetProperty(...)100%110%
File 2: TryGetProperty(...)100%110%
File 2: TryGetProperty(...)100%110%
File 2: GetBoolean()0%440%
File 2: ThrowJsonElementWrongTypeException(System.Text.Json.JsonTokenType)100%110%
File 2: GetString()100%110%
File 2: TryGetBytesFromBase64(...)100%110%
File 2: GetBytesFromBase64()0%220%
File 2: TryGetSByte(...)100%110%
File 2: GetSByte()0%220%
File 2: TryGetByte(...)100%110%
File 2: GetByte()0%220%
File 2: TryGetInt16(...)100%110%
File 2: GetInt16()0%220%
File 2: TryGetUInt16(...)100%110%
File 2: GetUInt16()0%220%
File 2: TryGetInt32(...)100%110%
File 2: GetInt32()0%220%
File 2: TryGetUInt32(...)100%110%
File 2: GetUInt32()0%220%
File 2: TryGetInt64(...)100%110%
File 2: GetInt64()0%220%
File 2: TryGetUInt64(...)100%110%
File 2: GetUInt64()0%220%
File 2: TryGetDouble(...)100%110%
File 2: GetDouble()0%220%
File 2: TryGetSingle(...)100%110%
File 2: GetSingle()0%220%
File 2: TryGetDecimal(...)100%110%
File 2: GetDecimal()0%220%
File 2: TryGetDateTime(...)100%110%
File 2: GetDateTime()0%220%
File 2: TryGetDateTimeOffset(...)100%110%
File 2: GetDateTimeOffset()0%220%
File 2: TryGetGuid(...)100%110%
File 2: GetGuid()0%220%
File 2: GetPropertyName()100%110%
File 2: GetPropertyNameRaw()100%110%
File 2: GetRawText()100%110%
File 2: GetRawValue()100%110%
File 2: GetPropertyRawText()100%110%
File 2: DeepEquals(...)0%29290%
File 2: UnorderedObjectDeepEquals(System.Text.Json.JsonElement/ObjectEnumerator,System.Text.Json.JsonElement/ObjectEnumerator,System.Int32)0%10100%
File 2: NameEquals(System.Text.Json.JsonProperty,System.Text.Json.JsonProperty)0%440%
File 2: ValueEquals(...)0%220%
File 2: ValueEquals(...)0%220%
File 2: ValueEquals(...)0%220%
File 2: TextEqualsHelper(...)100%110%
File 2: TextEqualsHelper(...)100%110%
File 2: ValueIsEscapedHelper(...)100%110%
File 2: WriteTo(...)100%110%
File 2: WritePropertyNameTo(...)100%110%
File 2: EnumerateArray()0%220%
File 2: EnumerateObject()0%220%
File 2: ToString()0%13130%
File 2: Clone()0%220%
File 2: CheckValidInstance()0%220%
File 3: .ctor(...)100%110%
File 3: GetEnumerator()100%110%
File 3: System.Collections.IEnumerable.GetEnumerator()100%110%
File 3: System.Collections.Generic.IEnumerable<System.Text.Json.JsonProperty>.GetEnumerator()100%110%
File 3: Dispose()100%110%
File 3: Reset()100%110%
File 3: MoveNext()0%440%
File 4: ParseValue(...)100%1133.33%
File 4: ParseValue(...)100%1163.63%
File 4: ParseValue(...)100%110%
File 4: Parse(...)100%110%
File 4: Parse(...)100%110%
File 4: Parse(...)100%110%
File 4: TryParseValue(...)0%220%

File(s)

https://raw.githubusercontent.com/dotnet/runtime/87bcbd26c0325d512bb7d091f493e73201aee1d6/src/libraries/System.Text.Json/src/System/Text/Json/Document/JsonElement.ArrayEnumerator.cs

Error during reading file 'https://raw.githubusercontent.com/dotnet/runtime/87bcbd26c0325d512bb7d091f493e73201aee1d6/src/libraries/System.Text.Json/src/System/Text/Json/Document/JsonElement.ArrayEnumerator.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/Document/JsonElement.cs

Error during reading file 'https://raw.githubusercontent.com/dotnet/runtime/87bcbd26c0325d512bb7d091f493e73201aee1d6/src/libraries/System.Text.Json/src/System/Text/Json/Document/JsonElement.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/Document/JsonElement.ObjectEnumerator.cs

Error during reading file 'https://raw.githubusercontent.com/dotnet/runtime/87bcbd26c0325d512bb7d091f493e73201aee1d6/src/libraries/System.Text.Json/src/System/Text/Json/Document/JsonElement.ObjectEnumerator.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/Document/JsonElement.Parse.cs

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

Methods/Properties

.ctor(System.Text.Json.JsonElement,System.Int32)
Current()
GetEnumerator()
System.Collections.IEnumerable.GetEnumerator()
System.Collections.Generic.IEnumerable<System.Text.Json.JsonElement>.GetEnumerator()
Dispose()
Reset()
em.Collections.IEnumerator.get_Current()
MoveNext()
.ctor(System.Text.Json.JsonDocument,System.Int32)
TokenType()
ValueKind()
Item(System.Int32)
GetArrayLength()
GetPropertyCount()
GetProperty(System.String)
GetProperty(System.ReadOnlySpan`1<System.Char>)
GetProperty(System.ReadOnlySpan`1<System.Byte>)
TryGetProperty(System.String,System.Text.Json.JsonElement&)
TryGetProperty(System.ReadOnlySpan`1<System.Char>,System.Text.Json.JsonElement&)
TryGetProperty(System.ReadOnlySpan`1<System.Byte>,System.Text.Json.JsonElement&)
GetBoolean()
ThrowJsonElementWrongTypeException(System.Text.Json.JsonTokenType)
GetString()
TryGetBytesFromBase64(System.Byte[]&)
GetBytesFromBase64()
TryGetSByte(System.SByte&)
GetSByte()
TryGetByte(System.Byte&)
GetByte()
TryGetInt16(System.Int16&)
GetInt16()
TryGetUInt16(System.UInt16&)
GetUInt16()
TryGetInt32(System.Int32&)
GetInt32()
TryGetUInt32(System.UInt32&)
GetUInt32()
TryGetInt64(System.Int64&)
GetInt64()
TryGetUInt64(System.UInt64&)
GetUInt64()
TryGetDouble(System.Double&)
GetDouble()
TryGetSingle(System.Single&)
GetSingle()
TryGetDecimal(System.Decimal&)
GetDecimal()
TryGetDateTime(System.DateTime&)
GetDateTime()
TryGetDateTimeOffset(System.DateTimeOffset&)
GetDateTimeOffset()
TryGetGuid(System.Guid&)
GetGuid()
GetPropertyName()
GetPropertyNameRaw()
GetRawText()
GetRawValue()
GetPropertyRawText()
ValueIsEscaped()
ValueSpan()
DeepEquals(System.Text.Json.JsonElement,System.Text.Json.JsonElement)
UnorderedObjectDeepEquals(System.Text.Json.JsonElement/ObjectEnumerator,System.Text.Json.JsonElement/ObjectEnumerator,System.Int32)
NameEquals(System.Text.Json.JsonProperty,System.Text.Json.JsonProperty)
ValueEquals(System.String)
ValueEquals(System.ReadOnlySpan`1<System.Byte>)
ValueEquals(System.ReadOnlySpan`1<System.Char>)
TextEqualsHelper(System.ReadOnlySpan`1<System.Byte>,System.Boolean,System.Boolean)
TextEqualsHelper(System.ReadOnlySpan`1<System.Char>,System.Boolean)
ValueIsEscapedHelper(System.Boolean)
WriteTo(System.Text.Json.Utf8JsonWriter)
WritePropertyNameTo(System.Text.Json.Utf8JsonWriter)
EnumerateArray()
EnumerateObject()
ToString()
Clone()
CheckValidInstance()
MetadataDbIndex()
DebuggerDisplay()
.ctor(System.Text.Json.JsonElement,System.Int32)
Current()
GetEnumerator()
System.Collections.IEnumerable.GetEnumerator()
System.Collections.Generic.IEnumerable<System.Text.Json.JsonProperty>.GetEnumerator()
Dispose()
Reset()
em.Collections.IEnumerator.get_Current()
MoveNext()
ParseValue(System.Text.Json.Utf8JsonReader&)
ParseValue(System.Text.Json.Utf8JsonReader&,System.Boolean)
ParseValue(System.IO.Stream,System.Text.Json.JsonDocumentOptions)
Parse(System.ReadOnlySpan`1<System.Byte>,System.Text.Json.JsonDocumentOptions)
Parse(System.ReadOnlySpan`1<System.Char>,System.Text.Json.JsonDocumentOptions)
Parse(System.String,System.Text.Json.JsonDocumentOptions)
TryParseValue(System.Text.Json.Utf8JsonReader&,System.Nullable`1<System.Text.Json.JsonElement>&)