< Summary

Information
Class: Shared.Contracts.DiffEdit
Assembly: Shared
File(s): /home/runner/work/InvAit/InvAit/Shared/Contracts/DiffEdit.cs
Tag: 71_26091983037
Line coverage
100%
Covered lines: 3
Uncovered lines: 0
Coverable lines: 3
Total lines: 21
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_ApproximateLine()100%11100%
get_OldStr()100%11100%
get_NewStr()100%11100%

File(s)

/home/runner/work/InvAit/InvAit/Shared/Contracts/DiffEdit.cs

#LineLine coverage
 1using System.ComponentModel;
 2
 3namespace Shared.Contracts;
 4
 5/// <summary>
 6/// TODO Будет использоваться в системном туллинге
 7/// </summary>
 8public class DiffEdit
 9{
 10    /// <summary>
 11    /// Начальная линия (с tolerance)
 12    /// </summary>
 13    [Description("Approximate start line or null")]
 314    public int? ApproximateLine { get; set; } = null;
 15
 16    [Description("Unique fragment of code")]
 517    public string OldStr { get; set; } = string.Empty;
 18
 19    [Description("New fragment of code")]
 520    public string NewStr { get; set; } = string.Empty;
 21}