diff options
author | Julien Lancelot <julien.lancelot@gmail.com> | 2013-10-30 12:00:52 +0100 |
---|---|---|
committer | Julien Lancelot <julien.lancelot@gmail.com> | 2013-10-30 12:00:52 +0100 |
commit | da181d1eba430c166b45db8247d2200e48a9b50b (patch) | |
tree | 5dcf5da683e4c30ec2add4174768a1f5f1766ddd /plugins | |
parent | 924c669bb24f49acc14f77f4b6f2f3bbde6029d2 (diff) | |
download | sonarqube-da181d1eba430c166b45db8247d2200e48a9b50b.tar.gz sonarqube-da181d1eba430c166b45db8247d2200e48a9b50b.zip |
Add some comment
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/technical_debt_pyramid.html.erb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/technical_debt_pyramid.html.erb b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/technical_debt_pyramid.html.erb index 5ac2b699438..49907134d96 100644 --- a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/technical_debt_pyramid.html.erb +++ b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/technical_debt_pyramid.html.erb @@ -1,6 +1,7 @@ <% technical_debt_model = 'SQALE' technical_debt = measure('sqale_index') + # Load root characteristics only characteristics = Characteristic.find(:all, :joins => :quality_model, :conditions => ['quality_models.name=? AND characteristics.depth=1 AND characteristics.rule_id IS NULL and characteristics.enabled=?', technical_debt_model, true], :order => 'characteristic_order DESC') |