]> source.dussan.org Git - sonarqube.git/blob
512a743c133fd9f8e9967235c9cab4134df19f62
[sonarqube.git] /
1 <%
2   file_tangle_index=measure('file_tangle_index')
3   if file_tangle_index
4     file_cycles=measure('file_cycles')
5     file_feedback_edges=measure('file_feedback_edges')
6 %>
7 <table width="100%">
8   <tbody>
9     <tr>
10       <td valign="top" width="50%">
11         <div class="dashbox">
12           <p class="title">File tangle index</p>
13           <p>
14             <span class="big"><%= format_measure(file_tangle_index, :suffix => '', :default => '-', :url => url_for_drilldown('file_tangle_index')) -%></span> <%= dashboard_configuration.selected_period? ? format_variation(file_tangle_index) : trend_icon(file_tangle_index, :big => true) -%>
15           </p>
16           <% if file_cycles %>
17           <p>
18             > <%= format_measure(file_cycles, :suffix => ' cycles', :url => url_for_drilldown('file_cycles')) %> <%= dashboard_configuration.selected_period? ? format_variation(file_cycles) : trend_icon(file_cycles) -%>
19           </p>
20           <% end %>
21         </div>
22       </td>
23       <td valign="top" width="50%">
24         <% if file_feedback_edges %>
25         <div class="dashbox">
26           <p class="title">Suspect file dependencies</p>
27           <p>
28             <span class="big"><%= format_measure(file_feedback_edges, :url => url_for_drilldown('file_feedback_edges')) -%></span> <%= dashboard_configuration.selected_period? ? format_variation(file_feedback_edges) : trend_icon(file_feedback_edges, :big => true) -%>
29           </p>
30         </div>
31         <% end %>
32       </td>
33     </tr>
34   </tbody>
35 </table>
36 <%
37   end
38 %>