Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions PHP/CodeCoverage/Report/HTML/Renderer/Template/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -106,3 +106,9 @@ svg text {
color: #666;
fill: #666;
}

.scrollbox {
height:245px;
overflow-x:hidden;
overflow-y:scroll;
}
88 changes: 48 additions & 40 deletions PHP/CodeCoverage/Report/HTML/Renderer/Template/dashboard.html.dist
Original file line number Diff line number Diff line change
Expand Up @@ -47,31 +47,35 @@
<div class="row">
<div class="col-md-6" style="height: 300px; overflow: auto;">
<h3>Insufficient Coverage</h3>
<table class="table">
<thead>
<tr>
<th><div align="left">Class</div></th>
<th><div align="right">Coverage</div></th>
</tr>
</thead>
<tbody>
<div class="scrollbox">
<table class="table">
<thead>
<tr>
<th><div align="left">Class</div></th>
<th><div align="right">Coverage</div></th>
</tr>
</thead>
<tbody>
{insufficient_coverage_classes}
</tbody>
</table>
</tbody>
</table>
</div>
</div>
<div class="col-md-6" style="height: 300px; overflow: auto;">
<h3>Project Risks</h3>
<table class="table">
<thead>
<tr>
<th><div align="left">Class</div></th>
<th><div align="right"><abbr title="Change Risk Anti-Patterns (CRAP) Index">CRAP</abbr></div></th>
</tr>
</thead>
<tbody>
<div class="scrollbox">
<table class="table">
<thead>
<tr>
<th><div align="left">Class</div></th>
<th><div align="right"><abbr title="Change Risk Anti-Patterns (CRAP) Index">CRAP</abbr></div></th>
</tr>
</thead>
<tbody>
{project_risks_classes}
</tbody>
</table>
</tbody>
</table>
</div>
</div>
</div>
<div class="row">
Expand All @@ -96,31 +100,35 @@
<div class="row">
<div class="col-md-6" style="height: 300px; overflow: auto;">
<h3>Insufficient Coverage</h3>
<table class="table">
<thead>
<tr>
<th><div align="left">Method</div></th>
<th><div align="right">Coverage</div></th>
</tr>
</thead>
<tbody>
<div class="scrollbox">
<table class="table">
<thead>
<tr>
<th><div align="left">Method</div></th>
<th><div align="right">Coverage</div></th>
</tr>
</thead>
<tbody>
{insufficient_coverage_methods}
</tbody>
</table>
</tbody>
</table>
</div>
</div>
<div class="col-md-6" style="height: 300px; overflow: auto;">
<h3>Project Risks</h3>
<table class="table">
<thead>
<tr>
<th><div align="left">Method</div></th>
<th><div align="right"><abbr title="Change Risk Anti-Patterns (CRAP) Index">CRAP</abbr></div></th>
</tr>
</thead>
<tbody>
<div class="scrollbox">
<table class="table">
<thead>
<tr>
<th><div align="left">Method</div></th>
<th><div align="right"><abbr title="Change Risk Anti-Patterns (CRAP) Index">CRAP</abbr></div></th>
</tr>
</thead>
<tbody>
{project_risks_methods}
</tbody>
</table>
</tbody>
</table>
</div>
</div>
</div>
<footer>
Expand Down