• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

samsmithnz / RepoGovernance / 5701615620

pending completion
5701615620

push

github

web-flow
Adding count to .NET frameworks (#501)

* Added count to code

* Added counter to dotnet languages

123 of 236 branches covered (52.12%)

Branch coverage included in aggregate %.

3 of 3 new or added lines in 2 files covered. (100.0%)

456 of 647 relevant lines covered (70.48%)

7.31 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

52.5
/src/RepoGovernance.Core/Models/DORASummaryItem.cs
1
namespace RepoGovernance.Core.Models
2
{
3
    //This class will mirror the result from DevOpsMetrics
4
    public class DORASummaryItem
5
    {
6
        public DORASummaryItem()
18✔
7
        {
18✔
8
        }
18✔
9

10
        public DORASummaryItem(string owner, string project, string repo)
×
11
        {
×
12
            Owner = owner;
×
13
            Project = project;
×
14
            Repo = repo;
×
15
            //Set the properties to defaults (none)
16
            DeploymentFrequency = 0;
×
17
            DeploymentFrequencyBadgeURL = "https://img.shields.io/badge/Deployment%20frequency-None-lightgrey";
×
18
            DeploymentFrequencyBadgeWithMetricURL = "https://img.shields.io/badge/Deployment%20frequency%20-None-lightgrey";
×
19
            LeadTimeForChanges = 0;
×
20
            LeadTimeForChangesBadgeURL = "https://img.shields.io/badge/Lead%20time%20for%20changes-None-lightgrey";
×
21
            LeadTimeForChangesBadgeWithMetricURL = "https://img.shields.io/badge/Lead%20time%20for%20changes%20-None-lightgrey";
×
22
            MeanTimeToRestore = 0;
×
23
            MeanTimeToRestoreBadgeURL = "https://img.shields.io/badge/Time%20to%20restore%20service-None-lightgrey";
×
24
            MeanTimeToRestoreBadgeWithMetricURL = "https://img.shields.io/badge/Time%20to%20restore%20service%20-None-lightgrey";
×
25
            ChangeFailureRate = 0;
×
26
            ChangeFailureRateBadgeURL = "https://img.shields.io/badge/Change%20failure%20rate-None-lightgrey";
×
27
            ChangeFailureRateBadgeWithMetricURL = "https://img.shields.io/badge/Change%20failure%20rate%20-None-lightgrey";
×
28
            LastUpdatedMessage = "No data available";
×
29
        }
×
30

31
        public string Owner
32
        {
33
            get; set;
19✔
34
        }
35
        public string Project
36
        {
37
            get; set;
19✔
38
        }
39
        public string Repo
40
        {
41
            get; set;
19✔
42
        }
43
        public int NumberOfDays
44
        {
45
            get; set;
19✔
46
        }
47
        public float DeploymentFrequency
48
        {
49
            get; set;
19✔
50
        }
51
        public string DeploymentFrequencyBadgeURL
52
        {
53
            get; set;
19✔
54
        }
55
        public string DeploymentFrequencyBadgeWithMetricURL
56
        {
57
            get; set;
19✔
58
        }
59
        public float LeadTimeForChanges
60
        {
61
            get; set;
19✔
62
        }
63
        public string LeadTimeForChangesBadgeURL
64
        {
65
            get; set;
19✔
66
        }
67
        public string LeadTimeForChangesBadgeWithMetricURL
68
        {
69
            get; set;
19✔
70
        }
71
        public float MeanTimeToRestore
72
        {
73
            get; set;
19✔
74
        }
75
        public string MeanTimeToRestoreBadgeURL
76
        {
77
            get; set;
19✔
78
        }
79
        public string MeanTimeToRestoreBadgeWithMetricURL
80
        {
81
            get; set;
19✔
82
        }
83
        public float ChangeFailureRate
84
        {
85
            get; set;
19✔
86
        }
87
        public string ChangeFailureRateBadgeURL
88
        {
89
            get; set;
19✔
90
        }
91
        public string ChangeFailureRateBadgeWithMetricURL
92
        {
93
            get; set;
19✔
94
        }
95
        public string LastUpdatedMessage
96
        {
97
            get; set;
19✔
98
        }
99
        public DateTime LastUpdated
100
        {
101
            get; set;
19✔
102
        }
103
    }
104
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc