< Summary

Information
Class: FAU.Logica.DTOs.PersonalListDto
Assembly: FAU.Logica
File(s): /home/runner/work/Sistema.Liquidacion.BE/Sistema.Liquidacion.BE/FAU.Logica/DTOs/PersonalListDto.cs
Line coverage
84%
Covered lines: 11
Uncovered lines: 2
Coverable lines: 13
Total lines: 27
Line coverage: 84.6%
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_Id()100%11100%
get_Ci()100%11100%
get_PrimerNombre()100%11100%
get_SegundoNombre()100%11100%
get_PrimerApellido()100%11100%
get_SegundoApellido()100%11100%
get_NombreCompleto()100%210%
get_ApellidoCompleto()100%210%
get_Cargo()100%11100%
get_Grado()100%11100%
get_Ley()100%11100%
get_Estado()100%11100%
get_FechaIngreso()100%11100%

File(s)

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

#LineLine coverage
 1namespace FAU.Logica.DTOs;
 2
 3/// <summary>
 4/// DTO simplificado para listado de personal
 5/// </summary>
 6public class PersonalListDto
 7{
 108    public long Id { get; set; }
 209    public string Ci { get; set; } = string.Empty;
 10
 11    // Nombres completos
 2012    public string PrimerNombre { get; set; } = string.Empty;
 1013    public string? SegundoNombre { get; set; }
 2014    public string PrimerApellido { get; set; } = string.Empty;
 1015    public string? SegundoApellido { get; set; }
 16
 17    // Campos derivados para facilitar visualización
 018    public string NombreCompleto => $"{PrimerNombre} {SegundoNombre}".Trim();
 019    public string ApellidoCompleto => $"{PrimerApellido} {SegundoApellido}".Trim();
 20
 2021    public string Cargo { get; set; } = string.Empty;
 2022    public string Grado { get; set; } = string.Empty;
 2023    public string Ley { get; set; } = string.Empty;
 2024    public string Estado { get; set; } = string.Empty;
 1025    public DateTime FechaIngreso { get; set; }
 26}
 27