< Summary

Information
Class: FAU.Logica.DTOs.CreateAcreedorRequest
Assembly: FAU.Logica
File(s): /home/runner/work/Sistema.Liquidacion.BE/Sistema.Liquidacion.BE/FAU.Logica/DTOs/CreateAcreedorRequest.cs
Line coverage
83%
Covered lines: 5
Uncovered lines: 1
Coverable lines: 6
Total lines: 26
Line coverage: 83.3%
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_Codigo()100%11100%
get_Nombre()100%11100%
get_CategoriaDeficit()100%11100%
get_OrdenLegalDeficit()100%11100%
get_FormatoArchivo()100%11100%
get_Contacto()100%210%

File(s)

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

#LineLine coverage
 1using System.ComponentModel.DataAnnotations;
 2
 3namespace FAU.Logica.DTOs;
 4
 5public class CreateAcreedorRequest
 6{
 7    [Required]
 8    [MaxLength(20)]
 49    public string Codigo { get; set; } = string.Empty;
 10
 11    [Required]
 12    [MaxLength(150)]
 413    public string Nombre { get; set; } = string.Empty;
 14
 15    [Required]
 416    public string CategoriaDeficit { get; set; } = string.Empty;
 17
 18    [Required]
 219    public short OrdenLegalDeficit { get; set; }
 20
 21    [MaxLength(10)]
 222    public string? FormatoArchivo { get; set; } = "txt";
 23
 24    [MaxLength(200)]
 025    public string? Contacto { get; set; }
 26}