diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2016-03-21 10:45:01 +0100 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2016-03-21 14:18:29 +0100 |
commit | e4812e68e4e79a81911f1ac652e4ccb2f28ddac6 (patch) | |
tree | 43e014c921808dbac117fd3067dafe6022ae938d /server/sonar-web/src/main/js/components/source-viewer/measures-overlay.js | |
parent | 8b618fcbddab0602203e5b79111c67ee263d6992 (diff) | |
download | sonarqube-e4812e68e4e79a81911f1ac652e4ccb2f28ddac6.tar.gz sonarqube-e4812e68e4e79a81911f1ac652e4ccb2f28ddac6.zip |
fix display of covered lines in source viewer's details
Diffstat (limited to 'server/sonar-web/src/main/js/components/source-viewer/measures-overlay.js')
-rw-r--r-- | server/sonar-web/src/main/js/components/source-viewer/measures-overlay.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/components/source-viewer/measures-overlay.js b/server/sonar-web/src/main/js/components/source-viewer/measures-overlay.js index 1a933892f76..953a3e90f80 100644 --- a/server/sonar-web/src/main/js/components/source-viewer/measures-overlay.js +++ b/server/sonar-web/src/main/js/components/source-viewer/measures-overlay.js @@ -123,7 +123,7 @@ export default ModalView.extend({ calcAdditionalMeasures (measures) { if (measures.lines_to_cover && measures.uncovered_lines) { - measures.covered_lines = measures.lines_to_cover - measures.uncovered_lines; + measures.covered_lines = measures.lines_to_cover_raw - measures.uncovered_lines_raw; } if (measures.conditions_to_cover && measures.uncovered_conditions) { measures.covered_conditions = measures.conditions_to_cover - measures.uncovered_conditions; |