File tree Expand file tree Collapse file tree 1 file changed +20
-4
lines changed
src/CodeCoverage/Report/HTML/Renderer/Template Expand file tree Collapse file tree 1 file changed +20
-4
lines changed Original file line number Diff line number Diff line change 3131 <td colspan="9"><div align="center"><strong>Code Coverage</strong></div></td>
3232 </tr>
3333 <tr>
34- <td> </td>
35- <td colspan="3"><div align="center"><strong>Lines</strong></div></td>
36- <td colspan="3"><div align="center"><strong>Functions and Methods</strong></div></td>
37- <td colspan="3"><div align="center"><strong>Classes and Traits</strong></div></td>
34+ <td><strong class="sort" data-sort="name">Name</strong> </td>
35+ <td colspan="3"><div align="center"><strong class="sort pointer" data-sort="lines_executed_percent" >Lines</strong></div></td>
36+ <td colspan="3"><div align="center"><strong class="sort pointer" data-sort="methods_tested_percent" >Functions and Methods</strong></div></td>
37+ <td colspan="3"><div align="center"><strong class="sort pointer" data-sort="classes_tested_percent" >Classes and Traits</strong></div></td>
3838 </tr>
3939 </thead>
4040 <tbody>
5757 <script src="{{path_to_root}}js/jquery.min.js" type="text/javascript"></script>
5858 <script src="{{path_to_root}}js/bootstrap.min.js" type="text/javascript"></script>
5959 <script src="{{path_to_root}}js/holder.min.js" type="text/javascript"></script>
60+ <script src="{{path_to_root}}js/list.min.js" type="text/javascript"></script>
61+ <script type="text/javascript">
62+ var options = {
63+ valueNames: [
64+ 'name',
65+ 'lines_executed_percent',
66+ 'methods_tested_percent',
67+ 'classes_tested_percent'
68+ ]
69+ };
70+
71+ // Remove sort on first line (the summary)
72+ $('#container_table tbody tr:first td').removeClass(options.valueNames.join(' '));
73+
74+ new List('container_table', options);
75+ </script>
6076 </body>
6177</html>
You can’t perform that action at this time.
0 commit comments