< Summary

Information
Class: FAU.Logica.DTOs.AguinaldoBajaItemDto
Assembly: FAU.Logica
File(s): /home/runner/work/Sistema.Liquidacion.BE/Sistema.Liquidacion.BE/FAU.Logica/DTOs/AguinaldoBajaItemDto.cs
Line coverage
100%
Covered lines: 11
Uncovered lines: 0
Coverable lines: 11
Total lines: 20
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_CodigoConcepto()100%11100%
get_NombreConcepto()100%11100%
get_Importe()100%11100%
get_Tipo()100%11100%
FromEntity(...)100%11100%

File(s)

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

#LineLine coverage
 1namespace FAU.Logica.DTOs;
 2
 3public class AguinaldoBajaItemDto
 4{
 65    public string CodigoConcepto { get; set; } = string.Empty;
 66    public string NombreConcepto { get; set; } = string.Empty;
 37    public decimal Importe { get; set; }
 68    public string Tipo { get; set; } = string.Empty;
 9
 10    public static AguinaldoBajaItemDto FromEntity(FAU.Entidades.AguinaldoBajaItem entity)
 11    {
 312        return new AguinaldoBajaItemDto
 313        {
 314            CodigoConcepto = entity.CodigoConcepto,
 315            NombreConcepto = entity.NombreConcepto,
 316            Importe = entity.Importe,
 317            Tipo = entity.Tipo
 318        };
 19    }
 20}