< Summary

Line coverage
86%
Covered lines: 602
Uncovered lines: 90
Coverable lines: 692
Total lines: 3281
Line coverage: 86.9%
Branch coverage
82%
Covered branches: 369
Total branches: 450
Branch coverage: 82%
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Cyclomatic complexity NPath complexity Sequence coverage
File 1: GetIndexOfFirstInvalidUtf8Sequence(...)0%220%
File 1: AllBytesInUInt32AreAscii(...)100%110%
File 1: AllBytesInUInt64AreAscii(...)100%110%
File 1: ConvertAllAsciiBytesInUInt32ToLowercase(...)100%110%
File 1: ConvertAllAsciiBytesInUInt32ToUppercase(...)100%110%
File 1: ConvertAllAsciiBytesInUInt64ToUppercase(...)100%110%
File 1: ConvertAllAsciiBytesInUInt64ToLowercase(...)100%110%
File 1: UInt64OrdinalIgnoreCaseAscii(...)100%110%
File 1: AllBytesInVector128AreAscii(...)100%110%
File 2: ExtractCharFromFirstThreeByteSequence(...)100%11100%
File 2: ExtractCharFromFirstTwoByteSequence(...)50%22100%
File 2: ExtractCharsFromFourByteSequence(...)100%11100%
File 2: ExtractFourUtf8BytesFromSurrogatePair(...)100%11100%
File 2: ExtractTwoCharsPackedFromTwoAdjacentTwoByteSequences(...)100%11100%
File 2: ExtractTwoUtf8TwoByteSequencesFromTwoPackedUtf16Chars(...)50%22100%
File 2: ExtractUtf8TwoByteSequenceFromFirstUtf16Char(...)100%11100%
File 2: IsLowByteUtf8ContinuationByte(...)100%11100%
File 2: IsUtf8ContinuationByte(...)100%11100%
File 2: ToLittleEndian(...)100%11100%
File 2: UInt32BeginsWithOverlongUtf8TwoByteSequence(...)100%44100%
File 2: UInt32BeginsWithValidUtf8TwoByteSequenceLittleEndian(...)100%44100%
File 2: UInt32EndsWithValidUtf8TwoByteSequenceLittleEndian(...)100%44100%
File 2: WriteTwoUtf16CharsAsTwoUtf8ThreeByteSequences(...)50%44100%
File 2: WriteFirstUtf16CharAsUtf8ThreeByteSequence(...)50%22100%
File 3: TranscodeToUtf16(...)86.36%15415495.35%
File 3: TranscodeToUtf8(...)68.65%13413483.65%
File 4: GetPointerToFirstInvalidByte(...)92.02%13813895.48%

File(s)

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

Error during reading file 'https://raw.githubusercontent.com/dotnet/runtime/87bcbd26c0325d512bb7d091f493e73201aee1d6/src/libraries/System.Private.CoreLib/src/System/Text/Unicode/Utf8Utility.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/Unicode/Utf8Utility.Helpers.cs

Error during reading file 'https://raw.githubusercontent.com/dotnet/runtime/87bcbd26c0325d512bb7d091f493e73201aee1d6/src/libraries/System.Private.CoreLib/src/System/Text/Unicode/Utf8Utility.Helpers.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/Unicode/Utf8Utility.Transcoding.cs

Error during reading file 'https://raw.githubusercontent.com/dotnet/runtime/87bcbd26c0325d512bb7d091f493e73201aee1d6/src/libraries/System.Private.CoreLib/src/System/Text/Unicode/Utf8Utility.Transcoding.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/Unicode/Utf8Utility.Validation.cs

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

Methods/Properties

GetIndexOfFirstInvalidUtf8Sequence(System.ReadOnlySpan`1<System.Byte>,System.Boolean&)
AllBytesInUInt32AreAscii(System.UInt32)
AllBytesInUInt64AreAscii(System.UInt64)
ConvertAllAsciiBytesInUInt32ToLowercase(System.UInt32)
ConvertAllAsciiBytesInUInt32ToUppercase(System.UInt32)
ConvertAllAsciiBytesInUInt64ToUppercase(System.UInt64)
ConvertAllAsciiBytesInUInt64ToLowercase(System.UInt64)
UInt64OrdinalIgnoreCaseAscii(System.UInt64,System.UInt64)
AllBytesInVector128AreAscii(System.Runtime.Intrinsics.Vector128`1<System.Byte>)
ExtractCharFromFirstThreeByteSequence(System.UInt32)
ExtractCharFromFirstTwoByteSequence(System.UInt32)
ExtractCharsFromFourByteSequence(System.UInt32)
ExtractFourUtf8BytesFromSurrogatePair(System.UInt32)
ExtractTwoCharsPackedFromTwoAdjacentTwoByteSequences(System.UInt32)
ExtractTwoUtf8TwoByteSequencesFromTwoPackedUtf16Chars(System.UInt32)
ExtractUtf8TwoByteSequenceFromFirstUtf16Char(System.UInt32)
IsLowByteUtf8ContinuationByte(System.UInt32)
IsUtf8ContinuationByte(System.Byte&)
ToLittleEndian(System.UInt32)
UInt32BeginsWithOverlongUtf8TwoByteSequence(System.UInt32)
UInt32BeginsWithValidUtf8TwoByteSequenceLittleEndian(System.UInt32)
UInt32EndsWithValidUtf8TwoByteSequenceLittleEndian(System.UInt32)
WriteTwoUtf16CharsAsTwoUtf8ThreeByteSequences(System.Byte&,System.UInt32)
WriteFirstUtf16CharAsUtf8ThreeByteSequence(System.Byte&,System.UInt32)
TranscodeToUtf16(System.Byte*,System.Int32,System.Char*,System.Int32,System.Byte*&,System.Char*&)
TranscodeToUtf8(System.Char*,System.Int32,System.Byte*,System.Int32,System.Char*&,System.Byte*&)
GetPointerToFirstInvalidByte(System.Byte*,System.Int32,System.Int32&,System.Int32&)