summaryrefslogtreecommitdiffstats
path: root/sonar-server/src/main/hbs/component-viewer/header/basic-header.hbs
blob: 0e9a93367b27bc5a6d62ef2b619ace4b4bdb433b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
{{#with component.measures}}
  <div class="component-viewer-header-expanded-bar-section">
    <div class="component-viewer-header-expanded-bar-section-title">
      {{t 'component_viewer.measure_section.size'}}
    </div>
    <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>

  <div class="component-viewer-header-expanded-bar-section">
    <div class="component-viewer-header-expanded-bar-section-title">
      {{t 'component_viewer.measure_section.complexity'}}
    </div>
    <ul class="component-viewer-header-expanded-bar-section-list">
      {{{componentViewerHeaderItem complexity 'complexity'}}}
      {{{componentViewerHeaderItem function_complexity 'function_complexity'}}}
    </ul>
  </div>

  <div class="component-viewer-header-expanded-bar-section">
    <div class="component-viewer-header-expanded-bar-section-title">
      {{t 'component_viewer.measure_section.structure'}}
    </div>
    <ul class="component-viewer-header-expanded-bar-section-list">
      {{{componentViewerHeaderItem classes 'classes'}}}
      {{{componentViewerHeaderItem functions 'functions'}}}
      {{{componentViewerHeaderItem accessors 'accessors'}}}
      {{{componentViewerHeaderItem statements 'statements'}}}
    </ul>
  </div>

  <div class="component-viewer-header-expanded-bar-section">
    <div class="component-viewer-header-expanded-bar-section-title">
      {{t 'component_viewer.measure_section.documentation'}}
    </div>
    <ul class="component-viewer-header-expanded-bar-section-list">
      {{{componentViewerHeaderItem comment_lines 'comment_lines'}}}
      {{{componentViewerHeaderItem comment_lines_density 'comment_lines_density'}}}
      {{{componentViewerHeaderItem public_api 'public_api'}}}
      {{{componentViewerHeaderItem public_undocumented_api 'public_undocumented_api'}}}
      {{{componentViewerHeaderItem public_documented_api_density 'public_documented_api_density'}}}
    </ul>
  </div>
{{/with}}