SMMP/phpunit/coverage/index.dashboard.html

130 lines
3.5 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Dashboard for /var/www/stefproject/manager</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/bootstrap-responsive.min.css" rel="stylesheet">
<link href="css/style.css" rel="stylesheet">
<!--[if lt IE 9]>
<script src="js/html5shiv.js"></script>
<![endif]-->
</head>
<body>
<header>
<div class="container">
<div class="row">
<div class="span12">
<ul class="breadcrumb">
<li><a href="index.html">/var/www/stefproject/manager</a></li>
<li class="active">(Dashboard)</li>
</ul>
</div>
</div>
</div>
</header>
<div class="container">
<div class="row">
<div class="span6">
<h2>Class Coverage Distribution</h2>
<div id="classCoverageDistribution"></div>
</div>
<div class="span6">
<h2>Class Complexity</h2>
<div id="classComplexity"></div>
</div>
</div>
<div class="row">
<div class="span6">
<h2>Top Project Risks</h2>
<ul>
<li><a href="Database.php.html#6">DataBase</a> (1066)</li>
</ul>
</div>
<div class="span6">
<h2>Least Tested Methods</h2>
<ul>
<li><a href="Database.php.html#75">DataBase::delNumeric</a> (0%)</li>
<li><a href="Database.php.html#21">DataBase::__construct</a> (0%)</li>
<li><a href="Database.php.html#51">DataBase::getPDO</a> (0%)</li>
<li><a href="Database.php.html#33">DataBase::getInstance</a> (0%)</li>
<li><a href="Database.php.html#131">DataBase::check</a> (55%)</li>
</ul>
</div>
</div>
<footer>
<p>
<small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 1.2.13</a> using <a href="http://www.php.net/" target="_top">PHP 5.5.9-1ubuntu4.14</a> and <a href="http://phpunit.de/">PHPUnit 3.7.28</a> at Fri Feb 12 16:18:15 CET 2016.</small>
</p>
</footer>
</div>
<script src="js/jquery.min.js" type="text/javascript"></script>
<script src="js/bootstrap.min.js" type="text/javascript"></script>
<!-- <script src="js/highcharts.js" type="text/javascript"></script> -->
<script type="text/javascript">
$(document).ready(function() {
var classCoverageDistribution = new Highcharts.Chart({
chart: {
renderTo: 'classCoverageDistribution',
type: 'column'
},
title: {text: ''},
legend: {enabled: false},
credits: {enabled: false},
tooltip: {enabled: false},
xAxis: {
labels: {style: {fontSize: '8px'}},
categories: [
'0%','0-10%','10-20%','20-30%','30-40%','40-50%','50-60%','60-70%','70-80%','80-90%','90-100%','100%'
],
min: 0
},
yAxis: {
title: '',
labels: {style: {fontSize: '8px'}},
min: 0
},
series: [{
data: [0,0,0,1,0,0,0,0,0,0,0,0]
}],
});
var classComplexity = new Highcharts.Chart({
chart: {
renderTo: 'classComplexity',
type: 'scatter'
},
title: {text: ''},
legend: {enabled: false},
credits: {enabled: false},
xAxis: {
title: {text: 'Code Coverage (in percent)'},
labels: {enabled: true},
min: 0
},
yAxis: {
title: {text: 'Cyclomatic Complexity'},
labels: {enabled: true},
min: 0
},
tooltip: {
formatter: function() {
return this.point.config[2];
}
},
series: [{
data: [[21.56862745098,46,"<a href=\"Database.php.html#6\">DataBase<\/a>"]],
marker: {
symbol: 'diamond'
}
}],
});
});
</script>
</body>
</html>