131 lines
3.8 KiB
HTML
Executable File
131 lines
3.8 KiB
HTML
Executable File
<!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> (54)</li>
|
|
<li><a href="ResourceDispatcher.php.html#6">ResourceDispatcher</a> (32)</li>
|
|
|
|
</ul>
|
|
</div>
|
|
<div class="span6">
|
|
<h2>Least Tested Methods</h2>
|
|
<ul>
|
|
<li><a href="ResourceDispatcher.php.html#216">ResourceDispatcher::view</a> (0%)</li>
|
|
<li><a href="ResourceDispatcher.php.html#30">ResourceDispatcher::__construct</a> (60%)</li>
|
|
<li><a href="Database.php.html#47">DataBase::getInstance</a> (85%)</li>
|
|
<li><a href="Database.php.html#27">DataBase::__construct</a> (88%)</li>
|
|
<li><a href="Database.php.html#185">DataBase::check</a> (95%)</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 Sun Feb 14 13:13:13 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,0,0,0,0,0,1,0,1,2]
|
|
}],
|
|
});
|
|
|
|
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: [[95.454545454545,54,"<a href=\"Database.php.html#6\">DataBase<\/a>"],[100,16,"<a href=\"ManagerError.php.html#7\">ManagerError<\/a>"],[75.925925925926,24,"<a href=\"ResourceDispatcher.php.html#6\">ResourceDispatcher<\/a>"],[100,11,"<a href=\"sessionManager.php.html#6\">sessionManager<\/a>"]],
|
|
marker: {
|
|
symbol: 'diamond'
|
|
}
|
|
}],
|
|
});
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|