< Summary

Information
Class: ArturRios.Util.Random.RandomStringOptions
Assembly: ArturRios.Util
File(s): D:\Repositories\dotnet-util\src\Random\RandomStringOptions.cs
Line coverage
100%
Covered lines: 5
Uncovered lines: 0
Coverable lines: 5
Total lines: 28
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage
100%
Covered methods: 5
Fully covered methods: 5
Total methods: 5
Method coverage: 100%
Full method coverage: 100%

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
get_Length()100%11100%
get_IncludeLowercase()100%11100%
get_IncludeUppercase()100%11100%
get_IncludeDigits()100%11100%
get_IncludeSpecialCharacters()100%11100%

File(s)

D:\Repositories\dotnet-util\src\Random\RandomStringOptions.cs

#LineLine coverage
 1namespace ArturRios.Util.Random;
 2
 3/// <summary>
 4/// Options controlling random string generation produced by <see cref="CustomRandom.Text"/>.
 5/// </summary>
 6public class RandomStringOptions
 7{
 8    /// <summary>
 9    /// Desired length of the generated string. Default is 10.
 10    /// </summary>
 7911    public int Length { get; set; } = 10;
 12    /// <summary>
 13    /// Whether to include lowercase letters. Default is <c>true</c>.
 14    /// </summary>
 715    public bool IncludeLowercase { get; set; } = true;
 16    /// <summary>
 17    /// Whether to include uppercase letters. Default is <c>true</c>.
 18    /// </summary>
 719    public bool IncludeUppercase { get; set; } = true;
 20    /// <summary>
 21    /// Whether to include digits. Default is <c>true</c>.
 22    /// </summary>
 723    public bool IncludeDigits { get; set; } = true;
 24    /// <summary>
 25    /// Whether to include special characters. Default is <c>true</c>.
 26    /// </summary>
 727    public bool IncludeSpecialCharacters { get; set; } = true;
 28}