< Summary

Information
Class: KT.Modules.Security.Presentation.Dto.RegisterRequestDto
Assembly: KT.Modules.Security
File(s): G:\NetProjects\KeepTrack\src\Modules\KT.Modules.Security\Presentation\Dto\RegisterRequestDto.cs
Line coverage
100%
Covered lines: 4
Uncovered lines: 0
Coverable lines: 4
Total lines: 16
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 Crap Score Cyclomatic complexity Line coverage
get_Username()100%11100%
get_RealName()100%11100%
get_Email()100%11100%
get_Password()100%11100%

File(s)

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

#LineLine coverage
 1using System.ComponentModel.DataAnnotations;
 2
 3namespace KT.Modules.Security.Presentation.Dto
 4{
 5    public class RegisterRequestDto
 6    {
 7        [Required, MinLength(3), MaxLength(50)]
 108        public string Username { get; set; } = string.Empty;
 9        [Required, MinLength(3), MaxLength(50)]
 510        public string RealName { get; set; } = string.Empty;
 11        [Required, EmailAddress, MaxLength(100)]
 1012        public string Email { get; set; } = string.Empty;
 13        [Required, MinLength(8), MaxLength(50)]
 814        public string Password { get; set; } = string.Empty;
 15    }
 16}