-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathCoverageSummary.cs
More file actions
52 lines (43 loc) · 1.48 KB
/
CoverageSummary.cs
File metadata and controls
52 lines (43 loc) · 1.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
namespace NetContextClient.Models;
/// <summary>
/// Represents a summary of code coverage across multiple files.
/// </summary>
public class CoverageSummary
{
/// <summary>
/// Gets or sets the overall coverage percentage across all files.
/// </summary>
public float TotalCoveragePercentage { get; set; }
/// <summary>
/// Gets or sets the total number of files analyzed.
/// </summary>
public int TotalFiles { get; set; }
/// <summary>
/// Gets or sets the number of files with coverage below a warning threshold.
/// </summary>
public int FilesWithLowCoverage { get; set; }
/// <summary>
/// Gets or sets the total number of uncovered lines across all files.
/// </summary>
public int TotalUncoveredLines { get; set; }
/// <summary>
/// Gets or sets a list of files with the lowest coverage percentages.
/// </summary>
public List<CoverageReport> LowestCoverageFiles { get; set; } = [];
/// <summary>
/// Number of production files analyzed
/// </summary>
public int ProductionFiles { get; set; }
/// <summary>
/// Number of test files analyzed
/// </summary>
public int TestFiles { get; set; }
/// <summary>
/// Average coverage percentage for production files
/// </summary>
public float ProductionCoveragePercentage { get; set; }
/// <summary>
/// Average coverage percentage for test files
/// </summary>
public float TestCoveragePercentage { get; set; }
}