simple-oai-pmh/code-coverage-report/index.dashboard.html

132 lines
4.2 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Dashboard for /home/neis/public_html/oai_pmh</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">/home/neis/public_html/oai_pmh</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="oai2server.php.html#9">OAI2Server</a> (522)</li>
<li><a href="oai2xml.php.html#3">OAI2XMLResponse</a> (13)</li>
</ul>
</div>
<div class="span6">
<h2>Least Tested Methods</h2>
<ul>
<li><a href="oai2server.php.html#328">OAI2Server::readResumptionToken</a> (0%)</li>
<li><a href="oai2server.php.html#353">OAI2Server::checkDateFormat</a> (0%)</li>
<li><a href="oai2xml.php.html#93">OAI2XMLResponse::createResumptionToken</a> (0%)</li>
<li><a href="oai2server.php.html#310">OAI2Server::createResumptionToken</a> (0%)</li>
<li><a href="oai2server.php.html#194">OAI2Server::ListRecords</a> (49%)</li>
<li><a href="oai2server.php.html#65">OAI2Server::Identify</a> (55%)</li>
<li><a href="oai2server.php.html#146">OAI2Server::GetRecord</a> (63%)</li>
<li><a href="oai2server.php.html#108">OAI2Server::ListSets</a> (67%)</li>
<li><a href="oai2xml.php.html#67">OAI2XMLResponse::createHeader</a> (69%)</li>
<li><a href="oai2server.php.html#78">OAI2Server::ListMetadataFormats</a> (69%)</li>
</ul>
</div>
</div>
<footer>
<p>
<small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 1.2.10</a> using <a href="http://www.php.net/" target="_top">PHP 5.4.6-1ubuntu1.2</a> and <a href="http://phpunit.de/">PHPUnit 3.7.20</a> at Tue May 14 22:17:08 BRT 2013.</small>
</p>
</footer>
</div>
<script src="js/bootstrap.min.js" type="text/javascript"></script>
<script src="js/jquery.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%'
]
},
yAxis: {
title: '',
labels: {style: {fontSize: '8px'}},
},
series: [{
data: [0,0,0,0,0,0,1,0,1,0,0,1]
}],
});
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},
},
yAxis: {
title: {text: 'Cyclomatic Complexity'},
labels: {enabled: true},
},
tooltip: {
formatter: function() {
return this.point.config[2];
}
},
series: [{
data: [[100,2,"<a href=\"oai2exception.php.html#3\">OAI2Exception<\/a>"],[58.189655172414,78,"<a href=\"oai2server.php.html#9\">OAI2Server<\/a>"],[73.170731707317,11,"<a href=\"oai2xml.php.html#3\">OAI2XMLResponse<\/a>"]],
marker: {
symbol: 'diamond'
}
}],
});
});
</script>
</body>
</html>