< Summary

Information
Class: MoreStructures.BurrowsWheelerTransform.Matching.Match
Assembly: MoreStructures
File(s): /home/runner/work/MoreStructures/MoreStructures/MoreStructures/BurrowsWheelerTransform/Matching/Match.cs
Line coverage
100%
Covered lines: 1
Uncovered lines: 0
Coverable lines: 1
Total lines: 19
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Cyclomatic complexity Line coverage
get_Success()100%1100%

File(s)

/home/runner/work/MoreStructures/MoreStructures/MoreStructures/BurrowsWheelerTransform/Matching/Match.cs

#LineLine coverage
 1namespace MoreStructures.BurrowsWheelerTransform.Matching;
 2
 3/// <summary>
 4/// The result of a pattern matching done by a <see cref="IMatcher.Match(IEnumerable{char})"/>.
 5/// </summary>
 6/// <param name="Success">Whether the pattern matching was successful or not.</param>
 7/// <param name="MatchedChars">
 8/// The number of chars matched from the pattern. If <see cref="Success"/> is <see langword="false"/>, the value will
 9/// be strictly smaller than the length of the pattern. Otherwise, it will be equal to the length of the pattern.
 10/// </param>
 11/// <param name="StartIndex">
 12/// The 0-based index, in the Sorted Burrows-Wheeler Transform, of the first char matching.
 13/// Negative if no matching has happened.
 14/// </param>
 15/// <param name="EndIndex">
 16/// The 0-based index, in the Sorted Burrows-Wheeler Transform, of the last char matching.
 17/// Negative if no matching has happened.
 18/// </param>
 60719public record Match(bool Success, int MatchedChars, int StartIndex, int EndIndex);

Methods/Properties

get_Success()