]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-5209 Add generated_lines & generated_ncloc
authorStas Vilchik <vilchiks@gmail.com>
Wed, 11 Jun 2014 05:44:27 +0000 (11:44 +0600)
committerStas Vilchik <vilchiks@gmail.com>
Wed, 11 Jun 2014 05:44:27 +0000 (11:44 +0600)
sonar-server/src/main/coffee/component-viewer/main.coffee
sonar-server/src/main/hbs/component-viewer/header/basic-header.hbs

index 8d940e5b5197df732d48b14015907884f4871d21..f3792415464cf72048121b8c8c8857b930aa0d0c 100644 (file)
@@ -46,7 +46,7 @@ define [
   API_TESTS = "#{baseUrl}/api/tests/show"
 
   SOURCE_METRIC_LIST = 'accessors,classes,functions,statements,' +
-    'ncloc,lines,' +
+    'ncloc,lines,generated_ncloc,generated_lines,' +
     'complexity,function_complexity,' +
     'comment_lines,comment_lines_density,public_api,public_undocumented_api,public_documented_api_density'
 
index aafa59c1a6012c69741904d5558083da6d2e6ed4..0e9a93367b27bc5a6d62ef2b619ace4b4bdb433b 100644 (file)
@@ -6,6 +6,8 @@
     <ul class="component-viewer-header-expanded-bar-section-list">
       {{{componentViewerHeaderItem lines 'lines'}}}
       {{{componentViewerHeaderItem ncloc 'ncloc'}}}
+      {{{componentViewerHeaderItem generated_lines 'generated_lines'}}}
+      {{{componentViewerHeaderItem generated_ncloc 'generated_ncloc'}}}
     </ul>
   </div>