< Summary

Information
Class: Syki.Back.Audit.AuditChange
Assembly: Back
File(s): /home/runner/work/syki/syki/Back/Audit/AuditChange.cs
Tag: 22_11348620282
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 Syki.Back.Audit;
 4
 5/// <summary>
 6/// Representa uma mudança de valor em uma coluna qualquer.
 7/// </summary>
 8public class AuditChange
 9{
 428410    public string Column { get; set; }
 783411    public object Old { get; set; }
 783412    public object New { get; set; }
 13
 355114    public AuditChange(EventEntryChange change)
 15    {
 355116        Column = change.ColumnName;
 355117        Old = change.OriginalValue;
 355118        New = change.NewValue;
 355119    }
 20}