< Summary

Information
Class: Syki.Front.Components.Passwords.SetupPasswordValidation
Assembly: Front
File(s): /home/runner/work/syki/syki/Front/Components/Passwords/SetupPasswordValidation.cs
Tag: 22_11348620282
Line coverage
100%
Covered lines: 6
Uncovered lines: 0
Coverable lines: 6
Total lines: 15
Line coverage: 100%
Branch coverage
87%
Covered branches: 7
Total branches: 8
Branch coverage: 87.5%
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
get_HasNumbers()100%11100%
get_HasLower()100%11100%
get_HasUpper()100%11100%
get_HasLength()100%11100%
get_HasNonAlphanumeric()100%11100%
IsValid()87.5%88100%

File(s)

/home/runner/work/syki/syki/Front/Components/Passwords/SetupPasswordValidation.cs

#LineLine coverage
 1namespace Syki.Front.Components.Passwords;
 2
 3public class SetupPasswordValidation
 4{
 225    public bool HasNumbers { get; set; }
 186    public bool HasLower { get; set; }
 177    public bool HasUpper { get; set; }
 158    public bool HasLength { get; set; }
 149    public bool HasNonAlphanumeric { get; set; }
 10
 11    public bool IsValid()
 12    {
 813        return HasNumbers && HasLower && HasUpper && HasLength && HasNonAlphanumeric;
 14    }
 15}