]> source.dussan.org Git - sonarqube.git/blob
72d2002690f97c059ae38f0af2c300bfc61121f1
[sonarqube.git] /
1 {{#any measures.coverage measures.it_coverage}}
2   <div class="measures">
3     <div class="measures-chart">
4       <span class="js-pie-chart"
5             data-value="{{default measures.overall_coverage_raw measures.coverage_raw measures.it_coverage_raw}}"
6             data-max="100"
7             data-color="#85bb43"
8             data-base-color="#d4333f"
9             data-size="47"></span>
10     </div>
11     <div class="measure measure-big" data-metric="coverage">
12       <span class="measure-value">{{default measures.overall_coverage measures.coverage measures.it_coverage}}</span>
13       <span class="measure-name">{{t 'metric.coverage.name'}}</span>
14     </div>
15   </div>
16
17   {{#any measures.covered_lines measures.lines_to_cover measures.covered_conditions measures.conditions_to_cover}}
18     <div class="measures">
19       <div class="measures-list">
20         <div class="measure measure-one-line">
21           <span class="measure-name">Covered by Unit Tests</span>
22         </div>
23         <div class="measure measure-one-line" data-metric="lines_to_cover">
24           <span class="measure-name">Lines</span>
25           <span class="measure-value">{{measures.covered_lines}}/{{measures.lines_to_cover}}</span>
26         </div>
27         {{#if measures.conditions_to_cover}}
28           <div class="measure measure-one-line" data-metric="conditions_to_cover">
29             <span class="measure-name">Conditions</span>
30             <span class="measure-value">{{default measures.covered_conditions 0}}/{{measures.conditions_to_cover}}</span>
31           </div>
32         {{/if}}
33       </div>
34     </div>
35   {{/any}}
36
37   {{#any measures.it_covered_lines measures.it_lines_to_cover measures.it_covered_conditions measures.it_conditions_to_cover}}
38     <div class="measures">
39       <div class="measures-list">
40         <div class="measure measure-one-line">
41           <span class="measure-name">Covered by Integration Tests</span>
42         </div>
43         <div class="measure measure-one-line" data-metric="it_lines_to_cover">
44           <span class="measure-name">Lines</span>
45           <span class="measure-value">{{measures.it_uncovered_lines}}/{{measures.it_lines_to_cover}}</span>
46         </div>
47         {{#if measures.it_conditions_to_cover}}
48           <div class="measure measure-one-line" data-metric="it_conditions_to_cover">
49             <span class="measure-name">Conditions</span>
50             <span class="measure-value">{{default measures.it_uncovered_conditions 0}}/{{measures.it_conditions_to_cover}}</span>
51           </div>
52         {{/if}}
53       </div>
54     </div>
55   {{/any}}
56 {{/any}}