Commit 696acea8678448888473f9cf76fbe5695cdec863
Exists in
staging
and in
4 other branches
Merge branches 'rails3_AI3033-serpro_integration' and 'rails3_stable' into rails3_stable
Showing
1 changed file
with
0 additions
and
3 deletions
Show diff stats
plugins/serpro_integration/lib/serpro_integration_plugin/smile_block.rb
... | ... | @@ -33,9 +33,6 @@ class SerproIntegrationPlugin::SmileBlock < Block |
33 | 33 | #FIXME make this test |
34 | 34 | def smile_factor |
35 | 35 | collect_sonar_information |
36 | - factor = (self.sonar_info[METRIC_COVERAGE] * self.sonar_info[METRIC_SUCCESS_DENSITY]).to_f/1000 | |
37 | - factor | |
38 | - collect_sonar_information | |
39 | 36 | factor = 0 |
40 | 37 | if self.sonar_info[METRIC_COVERAGE] && self.sonar_info[METRIC_SUCCESS_DENSITY] |
41 | 38 | factor = (self.sonar_info[METRIC_COVERAGE] * self.sonar_info[METRIC_SUCCESS_DENSITY]).to_f/1000 | ... | ... |