< Summary

Information
Class: FAU.Entidades.Accion
Assembly: FAU.Entidades
File(s): /home/runner/work/Sistema.Liquidacion.BE/Sistema.Liquidacion.BE/FAU.Entidades/Accion.cs
Line coverage
75%
Covered lines: 3
Uncovered lines: 1
Coverable lines: 4
Total lines: 25
Line coverage: 75%
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_Nombre()100%11100%
get_Descripcion()100%210%
get_BitacorasAuditoria()100%11100%

File(s)

/home/runner/work/Sistema.Liquidacion.BE/Sistema.Liquidacion.BE/FAU.Entidades/Accion.cs

#LineLine coverage
 1using System.ComponentModel.DataAnnotations;
 2using System.ComponentModel.DataAnnotations.Schema;
 3
 4namespace FAU.Entidades;
 5
 6[Table("acciones")]
 7public class Accion
 8{
 9    [Key]
 10    [Column("id")]
 511    public long Id { get; set; }
 12
 13    [Required]
 14    [MaxLength(60)]
 15    [Column("nombre")]
 816    public string Nombre { get; set; } = string.Empty;
 17
 18    [MaxLength(200)]
 19    [Column("descripcion")]
 020    public string? Descripcion { get; set; }
 21
 22    // Navegación
 423    public virtual ICollection<BitacoraAuditoria> BitacorasAuditoria { get; set; } = new List<BitacoraAuditoria>();
 24}
 25