summaryrefslogtreecommitdiffstats
path: root/sonar-server/src/main/hbs/component-viewer/source.hbs
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-server/src/main/hbs/component-viewer/source.hbs')
-rw-r--r--sonar-server/src/main/hbs/component-viewer/source.hbs6
1 files changed, 4 insertions, 2 deletions
diff --git a/sonar-server/src/main/hbs/component-viewer/source.hbs b/sonar-server/src/main/hbs/component-viewer/source.hbs
index 52a6a6a9675..8260193e0e5 100644
--- a/sonar-server/src/main/hbs/component-viewer/source.hbs
+++ b/sonar-server/src/main/hbs/component-viewer/source.hbs
@@ -39,14 +39,16 @@
{{#if ../../settings.coverage}}
<td class="stat coverage-tests {{#if coverage}}coverage-{{#if coverage.covered}}green{{else}}red{{/if}}{{/if}}">
{{#if coverage}}
- <span>{{coverage.testCases}}</span>
+ <span title="{{tp 'coverage_viewer.line_covered_by_x_tests' coverage.testCases}}">{{coverage.testCases}}</span>
{{/if}}
</td>
<td class="stat coverage-branches {{#if coverage}}{{#if coverage.branchCoverageStatus}}coverage-{{coverage.branchCoverageStatus}}{{/if}}{{/if}}">
{{#if coverage}}
{{#if coverage.branches}}
- <span>{{coverage.coveredBranches}}/{{coverage.branches}}</span>
+ <span title="{{tp 'coverage_viewer.x_covered_branches' coverage.coveredBranches}}">
+ {{coverage.coveredBranches}}/{{coverage.branches}}
+ </span>
{{/if}}
{{/if}}
</td>