< Summary

Information
Class: FAU.Logica.DTOs.CreateDependienteRequest
Assembly: FAU.Logica
File(s): /home/runner/work/Sistema.Liquidacion.BE/Sistema.Liquidacion.BE/FAU.Logica/DTOs/CreateDependienteRequest.cs
Line coverage
100%
Covered lines: 8
Uncovered lines: 0
Coverable lines: 8
Total lines: 29
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_CedulaTitular()100%11100%
get_Tipo()100%11100%
get_Nombre()100%11100%
get_Cedula()100%11100%
get_FechaNacimiento()100%11100%
get_Discapacitado()100%11100%
get_PorcentajeDeduccion()100%11100%
get_VigenteHasta()100%11100%

File(s)

/home/runner/work/Sistema.Liquidacion.BE/Sistema.Liquidacion.BE/FAU.Logica/DTOs/CreateDependienteRequest.cs

#LineLine coverage
 1using System.ComponentModel.DataAnnotations;
 2
 3namespace FAU.Logica.DTOs;
 4
 5public class CreateDependienteRequest
 6{
 7    [Required]
 8    [MaxLength(12)]
 309    public string CedulaTitular { get; set; } = string.Empty;
 10
 11    [Required]
 12    [MaxLength(30)]
 6013    public string Tipo { get; set; } = string.Empty;
 14
 15    [Required]
 16    [MaxLength(100)]
 2717    public string Nombre { get; set; } = string.Empty;
 18
 19    [MaxLength(20)]
 1420    public string? Cedula { get; set; }
 21
 2622    public DateTime? FechaNacimiento { get; set; }
 23
 324    public bool Discapacitado { get; set; } = false;
 25
 1626    public short? PorcentajeDeduccion { get; set; }
 27
 1128    public DateTime? VigenteHasta { get; set; }
 29}