< Summary

Information
Class: KT.Modules.Security.Presentation.Dto.LoginRequestDto
Assembly: KT.Modules.Security
File(s): G:\NetProjects\KeepTrack\src\Modules\KT.Modules.Security\Presentation\Dto\LoginRequestDto.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 2
Coverable lines: 2
Total lines: 12
Line coverage: 0%
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 Crap Score Cyclomatic complexity Line coverage
get_User()100%210%
get_Password()100%210%

File(s)

G:\NetProjects\KeepTrack\src\Modules\KT.Modules.Security\Presentation\Dto\LoginRequestDto.cs

#LineLine coverage
 1using System.ComponentModel.DataAnnotations;
 2
 3namespace KT.Modules.Security.Presentation.Dto
 4{
 5    public class LoginRequestDto
 6    {
 7        [Required, MinLength(3), MaxLength(50)]
 08        public string User { get; set; } = string.Empty;
 9        [Required, MinLength(8), MaxLength(50)]
 010        public string Password { get; set; } = string.Empty;
 11    }
 12}

Methods/Properties

get_User()
get_Password()