< Summary

Information
Class: MoreStructures.Strings.Matching.Match<T>
Assembly: MoreStructures
File(s): /home/runner/work/MoreStructures/MoreStructures/MoreStructures/Strings/Matching/Match.cs
Line coverage
100%
Covered lines: 1
Uncovered lines: 0
Coverable lines: 1
Total lines: 13
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/Strings/Matching/Match.cs

#LineLine coverage
 1namespace MoreStructures.Strings.Matching;
 2
 3/// <summary>
 4/// The result of matching a <see cref="string"/> text against a <see cref="string"/> pattern.
 5/// </summary>
 6/// <param name="Success">Whether the text has been completely matched or not.</param>
 7/// <param name="Begin">The index in text of the best match.</param>
 8/// <param name="MatchedChars">The number of chars matched from the text.</param>
 9/// <param name="Path">The path of nodes visited by the matching algorithm.</param>
 10/// <typeparam name="TPath">
 11/// The type of path. Depends on the algorithm and the data structure used for pattern matching.
 12/// </typeparam>
 57613public sealed record Match<TPath>(bool Success, int Begin, int MatchedChars, TPath Path);

Methods/Properties

get_Success()