< Summary - Estud

Information
Class: Estud.Back.Audit.AuditChange
Assembly: Back
File(s): /home/runner/work/syki/syki/Back/Audit/AuditChange.cs
Tag: 114_29044117136
Line coverage
100%
Covered lines: 8
Uncovered lines: 0
Coverable lines: 8
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_Column()100%11100%
get_Old()100%11100%
get_New()100%11100%
.ctor(...)100%11100%

File(s)

/home/runner/work/syki/syki/Back/Audit/AuditChange.cs

#LineLine coverage
 1using Audit.EntityFramework;
 2
 3namespace Estud.Back.Audit;
 4
 5/// <summary>
 6/// Representa uma mudança de valor em uma coluna qualquer.
 7/// </summary>
 8public class AuditChange
 9{
 1948810    public string Column { get; set; }
 3492211    public object Old { get; set; }
 3492212    public object New { get; set; }
 13
 1543414    public AuditChange(EventEntryChange change)
 15    {
 1543416        Column = change.ColumnName;
 1543417        Old = change.OriginalValue;
 1543418        New = change.NewValue;
 1543419    }
 20}