351 lines
22 KiB
HTML
351 lines
22 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Dashboard for /app/srcs/app/Models</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<link href="../_css/bootstrap.min.css" rel="stylesheet" type="text/css">
|
|
<link href="../_css/nv.d3.min.css" rel="stylesheet" type="text/css">
|
|
<link href="../_css/style.css" rel="stylesheet" type="text/css">
|
|
<link href="../_css/custom.css" rel="stylesheet" type="text/css">
|
|
</head>
|
|
<body>
|
|
<header>
|
|
<div class="container-fluid">
|
|
<div class="row">
|
|
<div class="col-md-12">
|
|
<nav aria-label="breadcrumb">
|
|
<ol class="breadcrumb">
|
|
<li class="breadcrumb-item"><a href="../index.html">/app/srcs/app</a></li>
|
|
<li class="breadcrumb-item"><a href="index.html">Models</a></li>
|
|
<li class="breadcrumb-item active">(Dashboard)</li>
|
|
|
|
</ol>
|
|
</nav>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</header>
|
|
<div class="container-fluid">
|
|
<div class="row">
|
|
<div class="col-md-12">
|
|
<h2>Classes</h2>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-6">
|
|
<h3>Coverage Distribution</h3>
|
|
<div id="classCoverageDistribution" style="height: 300px;">
|
|
<svg></svg>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<h3>Complexity</h3>
|
|
<div id="classComplexity" style="height: 300px;">
|
|
<svg></svg>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-6">
|
|
<h3>Insufficient Coverage</h3>
|
|
<div class="scrollbox">
|
|
<table class="table">
|
|
<thead>
|
|
<tr>
|
|
<th>Class</th>
|
|
<th class="text-right">Coverage</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td><a href="Answer.php.html#8">App\Models\Answer</a></td><td class="text-right">0%</td></tr>
|
|
<tr><td><a href="BrandStat.php.html#8">App\Models\BrandStat</a></td><td class="text-right">0%</td></tr>
|
|
<tr><td><a href="CustomerAnswer.php.html#7">App\Models\CustomerAnswer</a></td><td class="text-right">0%</td></tr>
|
|
<tr><td><a href="CustomerOptInHistory.php.html#8">App\Models\CustomerOptInHistory</a></td><td class="text-right">0%</td></tr>
|
|
<tr><td><a href="Question.php.html#10">App\Models\Question</a></td><td class="text-right">0%</td></tr>
|
|
<tr><td><a href="ServiceStat.php.html#8">App\Models\ServiceStat</a></td><td class="text-right">0%</td></tr>
|
|
<tr><td><a href="SingleOptin.php.html#8">App\Models\SingleOptin</a></td><td class="text-right">0%</td></tr>
|
|
<tr><td><a href="Customer.php.html#11">App\Models\Customer</a></td><td class="text-right">16%</td></tr>
|
|
<tr><td><a href="Service.php.html#17">App\Models\Service</a></td><td class="text-right">17%</td></tr>
|
|
<tr><td><a href="CustomerInfo.php.html#11">App\Models\CustomerInfo</a></td><td class="text-right">26%</td></tr>
|
|
<tr><td><a href="CustomerLogin.php.html#9">App\Models\CustomerLogin</a></td><td class="text-right">33%</td></tr>
|
|
<tr><td><a href="Brand.php.html#9">App\Models\Brand</a></td><td class="text-right">43%</td></tr>
|
|
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<h3>Project Risks</h3>
|
|
<div class="scrollbox">
|
|
<table class="table">
|
|
<thead>
|
|
<tr>
|
|
<th>Class</th>
|
|
<th class="text-right"><abbr title="Change Risk Anti-Patterns (CRAP) Index">CRAP</abbr></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td><a href="Customer.php.html#11">App\Models\Customer</a></td><td class="text-right">353</td></tr>
|
|
<tr><td><a href="Service.php.html#17">App\Models\Service</a></td><td class="text-right">161</td></tr>
|
|
<tr><td><a href="CustomerLogin.php.html#9">App\Models\CustomerLogin</a></td><td class="text-right">16</td></tr>
|
|
<tr><td><a href="BrandStat.php.html#8">App\Models\BrandStat</a></td><td class="text-right">12</td></tr>
|
|
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-12">
|
|
<h2>Methods</h2>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-6">
|
|
<h3>Coverage Distribution</h3>
|
|
<div id="methodCoverageDistribution" style="height: 300px;">
|
|
<svg></svg>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<h3>Complexity</h3>
|
|
<div id="methodComplexity" style="height: 300px;">
|
|
<svg></svg>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-6">
|
|
<h3>Insufficient Coverage</h3>
|
|
<div class="scrollbox">
|
|
<table class="table">
|
|
<thead>
|
|
<tr>
|
|
<th>Method</th>
|
|
<th class="text-right">Coverage</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td><a href="Answer.php.html#28"><abbr title="App\Models\Answer::question">question</abbr></a></td><td class="text-right">0%</td></tr>
|
|
<tr><td><a href="Question.php.html#52"><abbr title="App\Models\Question::answers">answers</abbr></a></td><td class="text-right">0%</td></tr>
|
|
<tr><td><a href="CustomerInfo.php.html#88"><abbr title="App\Models\CustomerInfo::login">login</abbr></a></td><td class="text-right">0%</td></tr>
|
|
<tr><td><a href="CustomerInfo.php.html#112"><abbr title="App\Models\CustomerInfo::getFromEmail">getFromEmail</abbr></a></td><td class="text-right">0%</td></tr>
|
|
<tr><td><a href="CustomerLogin.php.html#66"><abbr title="App\Models\CustomerLogin::customer">customer</abbr></a></td><td class="text-right">0%</td></tr>
|
|
<tr><td><a href="CustomerLogin.php.html#88"><abbr title="App\Models\CustomerLogin::passwordMatch">passwordMatch</abbr></a></td><td class="text-right">0%</td></tr>
|
|
<tr><td><a href="CustomerOptInHistory.php.html#26"><abbr title="App\Models\CustomerOptInHistory::customer">customer</abbr></a></td><td class="text-right">0%</td></tr>
|
|
<tr><td><a href="CustomerOptInHistory.php.html#36"><abbr title="App\Models\CustomerOptInHistory::brand">brand</abbr></a></td><td class="text-right">0%</td></tr>
|
|
<tr><td><a href="Question.php.html#42"><abbr title="App\Models\Question::brand">brand</abbr></a></td><td class="text-right">0%</td></tr>
|
|
<tr><td><a href="Service.php.html#96"><abbr title="App\Models\Service::brand">brand</abbr></a></td><td class="text-right">0%</td></tr>
|
|
<tr><td><a href="CustomerAnswer.php.html#27"><abbr title="App\Models\CustomerAnswer::customer">customer</abbr></a></td><td class="text-right">0%</td></tr>
|
|
<tr><td><a href="Service.php.html#106"><abbr title="App\Models\Service::servicesStats">servicesStats</abbr></a></td><td class="text-right">0%</td></tr>
|
|
<tr><td><a href="Service.php.html#118"><abbr title="App\Models\Service::generateBearerToken">generateBearerToken</abbr></a></td><td class="text-right">0%</td></tr>
|
|
<tr><td><a href="Service.php.html#132"><abbr title="App\Models\Service::generateBearerPassword">generateBearerPassword</abbr></a></td><td class="text-right">0%</td></tr>
|
|
<tr><td><a href="Service.php.html#144"><abbr title="App\Models\Service::incrementStat">incrementStat</abbr></a></td><td class="text-right">0%</td></tr>
|
|
<tr><td><a href="Service.php.html#159"><abbr title="App\Models\Service::getFromBearerToken">getFromBearerToken</abbr></a></td><td class="text-right">0%</td></tr>
|
|
<tr><td><a href="Service.php.html#216"><abbr title="App\Models\Service::authenticateApi">authenticateApi</abbr></a></td><td class="text-right">0%</td></tr>
|
|
<tr><td><a href="ServiceStat.php.html#35"><abbr title="App\Models\ServiceStat::brand">brand</abbr></a></td><td class="text-right">0%</td></tr>
|
|
<tr><td><a href="ServiceStat.php.html#45"><abbr title="App\Models\ServiceStat::service">service</abbr></a></td><td class="text-right">0%</td></tr>
|
|
<tr><td><a href="Answer.php.html#38"><abbr title="App\Models\Answer::customers">customers</abbr></a></td><td class="text-right">0%</td></tr>
|
|
<tr><td><a href="CustomerAnswer.php.html#37"><abbr title="App\Models\CustomerAnswer::answer">answer</abbr></a></td><td class="text-right">0%</td></tr>
|
|
<tr><td><a href="CustomerAnswer.php.html#15"><abbr title="App\Models\CustomerAnswer::getUpdatedAtColumn">getUpdatedAtColumn</abbr></a></td><td class="text-right">0%</td></tr>
|
|
<tr><td><a href="Customer.php.html#202"><abbr title="App\Models\Customer::getAnswers">getAnswers</abbr></a></td><td class="text-right">0%</td></tr>
|
|
<tr><td><a href="Brand.php.html#95"><abbr title="App\Models\Brand::questions">questions</abbr></a></td><td class="text-right">0%</td></tr>
|
|
<tr><td><a href="Brand.php.html#105"><abbr title="App\Models\Brand::customerInfos">customerInfos</abbr></a></td><td class="text-right">0%</td></tr>
|
|
<tr><td><a href="Brand.php.html#115"><abbr title="App\Models\Brand::servicesStats">servicesStats</abbr></a></td><td class="text-right">0%</td></tr>
|
|
<tr><td><a href="Brand.php.html#125"><abbr title="App\Models\Brand::singleOptins">singleOptins</abbr></a></td><td class="text-right">0%</td></tr>
|
|
<tr><td><a href="Brand.php.html#137"><abbr title="App\Models\Brand::getAccountsAttribute">getAccountsAttribute</abbr></a></td><td class="text-right">0%</td></tr>
|
|
<tr><td><a href="Brand.php.html#147"><abbr title="App\Models\Brand::getTotalOptinsAttribute">getTotalOptinsAttribute</abbr></a></td><td class="text-right">0%</td></tr>
|
|
<tr><td><a href="BrandStat.php.html#42"><abbr title="App\Models\BrandStat::booted">booted</abbr></a></td><td class="text-right">0%</td></tr>
|
|
<tr><td><a href="BrandStat.php.html#58"><abbr title="App\Models\BrandStat::brand">brand</abbr></a></td><td class="text-right">0%</td></tr>
|
|
<tr><td><a href="Customer.php.html#35"><abbr title="App\Models\Customer::infos">infos</abbr></a></td><td class="text-right">0%</td></tr>
|
|
<tr><td><a href="Customer.php.html#55"><abbr title="App\Models\Customer::optInHistory">optInHistory</abbr></a></td><td class="text-right">0%</td></tr>
|
|
<tr><td><a href="Customer.php.html#65"><abbr title="App\Models\Customer::brands">brands</abbr></a></td><td class="text-right">0%</td></tr>
|
|
<tr><td><a href="Customer.php.html#75"><abbr title="App\Models\Customer::answers">answers</abbr></a></td><td class="text-right">0%</td></tr>
|
|
<tr><td><a href="Customer.php.html#124"><abbr title="App\Models\Customer::login">login</abbr></a></td><td class="text-right">0%</td></tr>
|
|
<tr><td><a href="Customer.php.html#156"><abbr title="App\Models\Customer::loadBrandData">loadBrandData</abbr></a></td><td class="text-right">0%</td></tr>
|
|
<tr><td><a href="Customer.php.html#183"><abbr title="App\Models\Customer::setOptIn">setOptIn</abbr></a></td><td class="text-right">0%</td></tr>
|
|
<tr><td><a href="SingleOptin.php.html#28"><abbr title="App\Models\SingleOptin::brand">brand</abbr></a></td><td class="text-right">0%</td></tr>
|
|
<tr><td><a href="CustomerInfo.php.html#57"><abbr title="App\Models\CustomerInfo::booted">booted</abbr></a></td><td class="text-right">25%</td></tr>
|
|
<tr><td><a href="CustomerLogin.php.html#45"><abbr title="App\Models\CustomerLogin::booted">booted</abbr></a></td><td class="text-right">33%</td></tr>
|
|
<tr><td><a href="Service.php.html#69"><abbr title="App\Models\Service::booted">booted</abbr></a></td><td class="text-right">44%</td></tr>
|
|
<tr><td><a href="Brand.php.html#62"><abbr title="App\Models\Brand::booted">booted</abbr></a></td><td class="text-right">50%</td></tr>
|
|
<tr><td><a href="Customer.php.html#91"><abbr title="App\Models\Customer::info">info</abbr></a></td><td class="text-right">61%</td></tr>
|
|
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<h3>Project Risks</h3>
|
|
<div class="scrollbox">
|
|
<table class="table">
|
|
<thead>
|
|
<tr>
|
|
<th>Method</th>
|
|
<th class="text-right"><abbr title="Change Risk Anti-Patterns (CRAP) Index">CRAP</abbr></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td><a href="Customer.php.html#124"><abbr title="App\Models\Customer::login">login</abbr></a></td><td class="text-right">42</td></tr>
|
|
<tr><td><a href="Customer.php.html#156"><abbr title="App\Models\Customer::loadBrandData">loadBrandData</abbr></a></td><td class="text-right">30</td></tr>
|
|
<tr><td><a href="Service.php.html#159"><abbr title="App\Models\Service::getFromBearerToken">getFromBearerToken</abbr></a></td><td class="text-right">30</td></tr>
|
|
<tr><td><a href="Service.php.html#216"><abbr title="App\Models\Service::authenticateApi">authenticateApi</abbr></a></td><td class="text-right">12</td></tr>
|
|
<tr><td><a href="Customer.php.html#91"><abbr title="App\Models\Customer::info">info</abbr></a></td><td class="text-right">8</td></tr>
|
|
<tr><td><a href="BrandStat.php.html#42"><abbr title="App\Models\BrandStat::booted">booted</abbr></a></td><td class="text-right">6</td></tr>
|
|
<tr><td><a href="CustomerLogin.php.html#45"><abbr title="App\Models\CustomerLogin::booted">booted</abbr></a></td><td class="text-right">5</td></tr>
|
|
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<footer>
|
|
<hr/>
|
|
<p>
|
|
<small>Generated by <a href="https://github.com/sebastianbergmann/php-code-coverage" target="_top">php-code-coverage 9.2.16</a> using <a href="https://secure.php.net/" target="_top">PHP 7.3.33</a> and <a href="https://phpunit.de/">PHPUnit 9.5.23</a> at Tue Jun 20 11:23:01 CEST 2023.</small>
|
|
</p>
|
|
</footer>
|
|
</div>
|
|
<script src="../_js/jquery.min.js" type="text/javascript"></script>
|
|
<script src="../_js/d3.min.js" type="text/javascript"></script>
|
|
<script src="../_js/nv.d3.min.js" type="text/javascript"></script>
|
|
<script type="text/javascript">
|
|
$(document).ready(function() {
|
|
nv.addGraph(function() {
|
|
var chart = nv.models.multiBarChart();
|
|
chart.tooltips(false)
|
|
.showControls(false)
|
|
.showLegend(false)
|
|
.reduceXTicks(false)
|
|
.staggerLabels(true)
|
|
.yAxis.tickFormat(d3.format('d'));
|
|
|
|
d3.select('#classCoverageDistribution svg')
|
|
.datum(getCoverageDistributionData([7,0,2,1,1,1,0,0,0,0,0,1], "Class Coverage"))
|
|
.transition().duration(500).call(chart);
|
|
|
|
nv.utils.windowResize(chart.update);
|
|
|
|
return chart;
|
|
});
|
|
|
|
nv.addGraph(function() {
|
|
var chart = nv.models.multiBarChart();
|
|
chart.tooltips(false)
|
|
.showControls(false)
|
|
.showLegend(false)
|
|
.reduceXTicks(false)
|
|
.staggerLabels(true)
|
|
.yAxis.tickFormat(d3.format('d'));
|
|
|
|
d3.select('#methodCoverageDistribution svg')
|
|
.datum(getCoverageDistributionData([39,0,0,1,1,1,1,1,0,0,0,9], "Method Coverage"))
|
|
.transition().duration(500).call(chart);
|
|
|
|
nv.utils.windowResize(chart.update);
|
|
|
|
return chart;
|
|
});
|
|
|
|
function getCoverageDistributionData(data, label) {
|
|
var labels = [
|
|
'0%',
|
|
'0-10%',
|
|
'10-20%',
|
|
'20-30%',
|
|
'30-40%',
|
|
'40-50%',
|
|
'50-60%',
|
|
'60-70%',
|
|
'70-80%',
|
|
'80-90%',
|
|
'90-100%',
|
|
'100%'
|
|
];
|
|
var values = [];
|
|
$.each(labels, function(key) {
|
|
values.push({x: labels[key], y: data[key]});
|
|
});
|
|
|
|
return [
|
|
{
|
|
key: label,
|
|
values: values,
|
|
color: "#4572A7"
|
|
}
|
|
];
|
|
}
|
|
nv.addGraph(function() {
|
|
var chart = nv.models.scatterChart()
|
|
.showDistX(true)
|
|
.showDistY(true)
|
|
.showLegend(false)
|
|
.forceX([0, 100]);
|
|
chart.tooltipContent(function(graph) {
|
|
return '<p>' + graph.point.class + '</p>';
|
|
});
|
|
|
|
chart.xAxis.axisLabel('Code Coverage (in percent)');
|
|
chart.yAxis.axisLabel('Cyclomatic Complexity');
|
|
|
|
d3.select('#classComplexity svg')
|
|
.datum(getComplexityData([[0,2,"<a href=\"Answer.php.html#8\">App\\Models\\Answer<\/a>"],[43.75,10,"<a href=\"Brand.php.html#9\">App\\Models\\Brand<\/a>"],[0,3,"<a href=\"BrandStat.php.html#8\">App\\Models\\BrandStat<\/a>"],[16.981132075471699,24,"<a href=\"Customer.php.html#11\">App\\Models\\Customer<\/a>"],[0,3,"<a href=\"CustomerAnswer.php.html#7\">App\\Models\\CustomerAnswer<\/a>"],[26.666666666666668,5,"<a href=\"CustomerInfo.php.html#11\">App\\Models\\CustomerInfo<\/a>"],[33.333333333333329,6,"<a href=\"CustomerLogin.php.html#9\">App\\Models\\CustomerLogin<\/a>"],[0,2,"<a href=\"CustomerOptInHistory.php.html#8\">App\\Models\\CustomerOptInHistory<\/a>"],[0,2,"<a href=\"Question.php.html#10\">App\\Models\\Question<\/a>"],[17.073170731707318,16,"<a href=\"Service.php.html#17\">App\\Models\\Service<\/a>"],[0,2,"<a href=\"ServiceStat.php.html#8\">App\\Models\\ServiceStat<\/a>"],[0,1,"<a href=\"SingleOptin.php.html#8\">App\\Models\\SingleOptin<\/a>"],[100,0,"<a href=\"User.php.html#9\">App\\Models\\User<\/a>"]], 'Class Complexity'))
|
|
.transition()
|
|
.duration(500)
|
|
.call(chart);
|
|
|
|
nv.utils.windowResize(chart.update);
|
|
|
|
return chart;
|
|
});
|
|
|
|
nv.addGraph(function() {
|
|
var chart = nv.models.scatterChart()
|
|
.showDistX(true)
|
|
.showDistY(true)
|
|
.showLegend(false)
|
|
.forceX([0, 100]);
|
|
chart.tooltipContent(function(graph) {
|
|
return '<p>' + graph.point.class + '</p>';
|
|
});
|
|
|
|
chart.xAxis.axisLabel('Code Coverage (in percent)');
|
|
chart.yAxis.axisLabel('Method Complexity');
|
|
|
|
d3.select('#methodComplexity svg')
|
|
.datum(getComplexityData([[0,1,"<a href=\"Answer.php.html#28\">App\\Models\\Answer::question<\/a>"],[0,1,"<a href=\"Answer.php.html#38\">App\\Models\\Answer::customers<\/a>"],[100,1,"<a href=\"Brand.php.html#35\">App\\Models\\Brand::__construct<\/a>"],[100,1,"<a href=\"Brand.php.html#50\">App\\Models\\Brand::getCacheBaseTags<\/a>"],[50,1,"<a href=\"Brand.php.html#62\">App\\Models\\Brand::booted<\/a>"],[100,1,"<a href=\"Brand.php.html#85\">App\\Models\\Brand::services<\/a>"],[0,1,"<a href=\"Brand.php.html#95\">App\\Models\\Brand::questions<\/a>"],[0,1,"<a href=\"Brand.php.html#105\">App\\Models\\Brand::customerInfos<\/a>"],[0,1,"<a href=\"Brand.php.html#115\">App\\Models\\Brand::servicesStats<\/a>"],[0,1,"<a href=\"Brand.php.html#125\">App\\Models\\Brand::singleOptins<\/a>"],[0,1,"<a href=\"Brand.php.html#137\">App\\Models\\Brand::getAccountsAttribute<\/a>"],[0,1,"<a href=\"Brand.php.html#147\">App\\Models\\Brand::getTotalOptinsAttribute<\/a>"],[0,2,"<a href=\"BrandStat.php.html#42\">App\\Models\\BrandStat::booted<\/a>"],[0,1,"<a href=\"BrandStat.php.html#58\">App\\Models\\BrandStat::brand<\/a>"],[0,1,"<a href=\"Customer.php.html#35\">App\\Models\\Customer::infos<\/a>"],[100,1,"<a href=\"Customer.php.html#45\">App\\Models\\Customer::logins<\/a>"],[0,1,"<a href=\"Customer.php.html#55\">App\\Models\\Customer::optInHistory<\/a>"],[0,1,"<a href=\"Customer.php.html#65\">App\\Models\\Customer::brands<\/a>"],[0,1,"<a href=\"Customer.php.html#75\">App\\Models\\Customer::answers<\/a>"],[61.53846153846154,6,"<a href=\"Customer.php.html#91\">App\\Models\\Customer::info<\/a>"],[0,6,"<a href=\"Customer.php.html#124\">App\\Models\\Customer::login<\/a>"],[0,5,"<a href=\"Customer.php.html#156\">App\\Models\\Customer::loadBrandData<\/a>"],[0,1,"<a href=\"Customer.php.html#183\">App\\Models\\Customer::setOptIn<\/a>"],[0,1,"<a href=\"Customer.php.html#202\">App\\Models\\Customer::getAnswers<\/a>"],[0,1,"<a href=\"CustomerAnswer.php.html#15\">App\\Models\\CustomerAnswer::getUpdatedAtColumn<\/a>"],[0,1,"<a href=\"CustomerAnswer.php.html#27\">App\\Models\\CustomerAnswer::customer<\/a>"],[0,1,"<a href=\"CustomerAnswer.php.html#37\">App\\Models\\CustomerAnswer::answer<\/a>"],[25,1,"<a href=\"CustomerInfo.php.html#57\">App\\Models\\CustomerInfo::booted<\/a>"],[100,1,"<a href=\"CustomerInfo.php.html#78\">App\\Models\\CustomerInfo::customer<\/a>"],[0,1,"<a href=\"CustomerInfo.php.html#88\">App\\Models\\CustomerInfo::login<\/a>"],[100,1,"<a href=\"CustomerInfo.php.html#98\">App\\Models\\CustomerInfo::brand<\/a>"],[0,1,"<a href=\"CustomerInfo.php.html#112\">App\\Models\\CustomerInfo::getFromEmail<\/a>"],[33.333333333333329,3,"<a href=\"CustomerLogin.php.html#45\">App\\Models\\CustomerLogin::booted<\/a>"],[0,1,"<a href=\"CustomerLogin.php.html#66\">App\\Models\\CustomerLogin::customer<\/a>"],[100,1,"<a href=\"CustomerLogin.php.html#76\">App\\Models\\CustomerLogin::brand<\/a>"],[0,1,"<a href=\"CustomerLogin.php.html#88\">App\\Models\\CustomerLogin::passwordMatch<\/a>"],[0,1,"<a href=\"CustomerOptInHistory.php.html#26\">App\\Models\\CustomerOptInHistory::customer<\/a>"],[0,1,"<a href=\"CustomerOptInHistory.php.html#36\">App\\Models\\CustomerOptInHistory::brand<\/a>"],[0,1,"<a href=\"Question.php.html#42\">App\\Models\\Question::brand<\/a>"],[0,1,"<a href=\"Question.php.html#52\">App\\Models\\Question::answers<\/a>"],[100,1,"<a href=\"Service.php.html#43\">App\\Models\\Service::__construct<\/a>"],[100,1,"<a href=\"Service.php.html#57\">App\\Models\\Service::getCacheBaseTags<\/a>"],[44.444444444444443,1,"<a href=\"Service.php.html#69\">App\\Models\\Service::booted<\/a>"],[0,1,"<a href=\"Service.php.html#96\">App\\Models\\Service::brand<\/a>"],[0,1,"<a href=\"Service.php.html#106\">App\\Models\\Service::servicesStats<\/a>"],[0,1,"<a href=\"Service.php.html#118\">App\\Models\\Service::generateBearerToken<\/a>"],[0,1,"<a href=\"Service.php.html#132\">App\\Models\\Service::generateBearerPassword<\/a>"],[0,1,"<a href=\"Service.php.html#144\">App\\Models\\Service::incrementStat<\/a>"],[0,5,"<a href=\"Service.php.html#159\">App\\Models\\Service::getFromBearerToken<\/a>"],[0,3,"<a href=\"Service.php.html#216\">App\\Models\\Service::authenticateApi<\/a>"],[0,1,"<a href=\"ServiceStat.php.html#35\">App\\Models\\ServiceStat::brand<\/a>"],[0,1,"<a href=\"ServiceStat.php.html#45\">App\\Models\\ServiceStat::service<\/a>"],[0,1,"<a href=\"SingleOptin.php.html#28\">App\\Models\\SingleOptin::brand<\/a>"]], 'Method Complexity'))
|
|
.transition()
|
|
.duration(500)
|
|
.call(chart);
|
|
|
|
nv.utils.windowResize(chart.update);
|
|
|
|
return chart;
|
|
});
|
|
|
|
function getComplexityData(data, label) {
|
|
var values = [];
|
|
$.each(data, function(key) {
|
|
var value = Math.round(data[key][0]*100) / 100;
|
|
values.push({
|
|
x: value,
|
|
y: data[key][1],
|
|
class: data[key][2],
|
|
size: 0.05,
|
|
shape: 'diamond'
|
|
});
|
|
});
|
|
|
|
return [
|
|
{
|
|
key: label,
|
|
values: values,
|
|
color: "#4572A7"
|
|
}
|
|
];
|
|
}
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|