< Summary

Line coverage
33%
Covered lines: 100
Uncovered lines: 195
Coverable lines: 295
Total lines: 1064
Line coverage: 33.8%
Branch coverage
16%
Covered branches: 39
Total branches: 230
Branch coverage: 16.9%
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Cyclomatic complexity NPath complexity Sequence coverage
File 1: .cctor()100%11100%
File 1: .ctor()100%11100%
File 1: .ctor(...)100%11100%
File 1: .ctor(...)50%22100%
File 1: SetDefaultFallbacks()100%22100%
File 1: GetByteCount(...)0%12120%
File 1: GetByteCount(...)50%4475%
File 1: GetByteCount(...)0%440%
File 1: GetByteCount(...)100%110%
File 1: GetByteCountCommon(...)33.33%6662.5%
File 1: GetByteCountFast(...)50%2285.71%
File 1: GetBytes(...)40%202046.66%
File 1: GetBytes(...)0%22220%
File 1: GetBytes(...)0%10100%
File 1: GetBytes(...)100%11100%
File 1: TryGetBytes(...)0%220%
File 1: GetBytesCommon(...)50%6687.5%
File 1: GetBytesFast(...)100%11100%
File 1: GetCharCount(...)0%12120%
File 1: GetCharCount(...)50%4460%
File 1: GetCharCount(...)100%110%
File 1: GetChars(...)0%22220%
File 1: GetChars(...)30%101033.33%
File 1: GetChars(...)100%11100%
File 1: TryGetChars(...)0%220%
File 1: GetCharsCommon(...)50%6687.5%
File 1: GetCharsFast(...)100%11100%
File 1: GetCharsWithFallback(...)58.33%1212100%
File 1: GetString(...)0%14140%
File 1: GetCharCountCommon(...)33.33%6662.5%
File 1: GetCharCountFast(...)100%11100%
File 1: GetDecoder()100%11100%
File 1: GetEncoder()100%11100%
File 1: TryGetByteCount(...)100%110%
File 1: EncodeRune(...)0%220%
File 1: DecodeFirstRune(...)100%11100%
File 1: GetMaxByteCount(...)0%440%
File 1: GetMaxCharCount(...)0%440%
File 1: GetPreamble()0%220%
File 1: Equals(...)0%660%
File 1: GetHashCode()100%110%
File 2: .ctor(...)100%11100%
File 2: Clone()100%110%
File 2: GetBytes(...)0%440%
File 2: GetBytesForSmallInput(...)0%440%
File 2: GetMaxByteCount(...)50%2266.66%
File 2: ThrowArgumentException(System.Int32)0%220%
File 2: GetMaxCharCount(...)50%2266.66%
File 2: ThrowArgumentException(System.Int32)0%220%
File 2: GetString(...)0%440%
File 2: GetStringForSmallInput(...)0%660%
File 2: TryGetBytes(...)100%110%
File 2: ReadUtf8(...)100%110%

File(s)

https://raw.githubusercontent.com/dotnet/runtime/87bcbd26c0325d512bb7d091f493e73201aee1d6/src/libraries/System.Private.CoreLib/src/System/Text/UTF8Encoding.cs

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

https://raw.githubusercontent.com/dotnet/runtime/87bcbd26c0325d512bb7d091f493e73201aee1d6/src/libraries/System.Private.CoreLib/src/System/Text/UTF8Encoding.Sealed.cs

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

Methods/Properties

.cctor()
PreambleSpan()
.ctor()
.ctor(System.Boolean)
.ctor(System.Boolean,System.Boolean)
SetDefaultFallbacks()
GetByteCount(System.Char[],System.Int32,System.Int32)
GetByteCount(System.String)
GetByteCount(System.Char*,System.Int32)
GetByteCount(System.ReadOnlySpan`1<System.Char>)
GetByteCountCommon(System.Char*,System.Int32)
GetByteCountFast(System.Char*,System.Int32,System.Text.EncoderFallback,System.Int32&)
GetBytes(System.String,System.Int32,System.Int32,System.Byte[],System.Int32)
GetBytes(System.Char[],System.Int32,System.Int32,System.Byte[],System.Int32)
GetBytes(System.Char*,System.Int32,System.Byte*,System.Int32)
GetBytes(System.ReadOnlySpan`1<System.Char>,System.Span`1<System.Byte>)
TryGetBytes(System.ReadOnlySpan`1<System.Char>,System.Span`1<System.Byte>,System.Int32&)
GetBytesCommon(System.Char*,System.Int32,System.Byte*,System.Int32,System.Boolean)
GetBytesFast(System.Char*,System.Int32,System.Byte*,System.Int32,System.Int32&)
GetCharCount(System.Byte[],System.Int32,System.Int32)
GetCharCount(System.Byte*,System.Int32)
GetCharCount(System.ReadOnlySpan`1<System.Byte>)
GetChars(System.Byte[],System.Int32,System.Int32,System.Char[],System.Int32)
GetChars(System.Byte*,System.Int32,System.Char*,System.Int32)
GetChars(System.ReadOnlySpan`1<System.Byte>,System.Span`1<System.Char>)
TryGetChars(System.ReadOnlySpan`1<System.Byte>,System.Span`1<System.Char>,System.Int32&)
GetCharsCommon(System.Byte*,System.Int32,System.Char*,System.Int32,System.Boolean)
GetCharsFast(System.Byte*,System.Int32,System.Char*,System.Int32,System.Int32&)
GetCharsWithFallback(System.ReadOnlySpan`1<System.Byte>,System.Int32,System.Span`1<System.Char>,System.Int32,System.Text.DecoderNLS,System.Boolean)
GetString(System.Byte[],System.Int32,System.Int32)
GetCharCountCommon(System.Byte*,System.Int32)
GetCharCountFast(System.Byte*,System.Int32,System.Text.DecoderFallback,System.Int32&)
GetDecoder()
GetEncoder()
TryGetByteCount(System.Text.Rune,System.Int32&)
EncodeRune(System.Text.Rune,System.Span`1<System.Byte>,System.Int32&)
DecodeFirstRune(System.ReadOnlySpan`1<System.Byte>,System.Text.Rune&,System.Int32&)
GetMaxByteCount(System.Int32)
GetMaxCharCount(System.Int32)
GetPreamble()
Preamble()
Equals(System.Object)
GetHashCode()
.ctor(System.Boolean)
Preamble()
Clone()
GetBytes(System.String)
GetBytesForSmallInput(System.String)
GetMaxByteCount(System.Int32)
ThrowArgumentException(System.Int32)
GetMaxCharCount(System.Int32)
ThrowArgumentException(System.Int32)
GetString(System.Byte[])
GetStringForSmallInput(System.Byte[])
TryGetBytes(System.ReadOnlySpan`1<System.Char>,System.Span`1<System.Byte>,System.Int32&)
ReadUtf8(System.Char&,System.Int32,System.Byte&,System.Int32)