This removes api authentification with token in favor of signature method. Refactorize code and clean up. It add more unit test plus code coverage in test/converage. - Added config.api.timestampTimeout - Added Helper::signRequest This calculates the request signature - Added more unit tests and extend code coverage. - Added rate limiter for web routes - Added RemoveSpaces Sanitizer on api requests - Added stress test suite - Changed AuthServiceProvider api-token to api-hmac - Changed CustomerSeeder to have at least of customer activated (for unit tests) - Changed used transation for saveing multiple models - Changed, in ServiceController generateApiToken to generateServicePassword - Changed, timestamp has to be send in request with a DateTime format, it also has to a UTC value - Composer added brianium/paratest - Composer update - Fixed case where removing single optin could be the wrong one (not for the good service) - Fixed customer delete - Fixed customer would not be resolved by brand. - Fixed Really check that request is json checking body content, preventing sending malformed requests - Remove ApiError::needAuth - Removed api_token - Removed ApiController::authenticate - Removed config.api.tokenTimeout - Removed Header check or usage because of HAProxy doing weird stuff - Removed lock files from gitignore - Removed memcached dependency - Removed unused questions resources api routes - Removed workspace file Migrations - Added unique index on services.bearer_token - Changed customer_id on customer_answer is nullable - Changed services.bearer_pwd length to 312 (the size of the token) - Dropped services.api_token and service.api_token_date
328 lines
53 KiB
HTML
328 lines
53 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Dashboard for /home/jeremy/projets/crm/app</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">/home/jeremy/projets/crm/app</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="Models/BrandStat.php.html#8">App\Models\BrandStat</a></td><td class="text-right">50%</td></tr>
|
|
<tr><td><a href="Models/Brand.php.html#13">App\Models\Brand</a></td><td class="text-right">71%</td></tr>
|
|
<tr><td><a href="Http/Requests/Api/V2/GetQuestionStatsRequest.php.html#10">App\Http\Requests\Api\V2\GetQuestionStatsRequest</a></td><td class="text-right">77%</td></tr>
|
|
<tr><td><a href="Models/SingleOptin.php.html#12">App\Models\SingleOptin</a></td><td class="text-right">79%</td></tr>
|
|
<tr><td><a href="Exceptions/Api/V2/ApiErrorException.php.html#22">App\Exceptions\Api\V2\ApiErrorException</a></td><td class="text-right">80%</td></tr>
|
|
<tr><td><a href="Lib/Helper.php.html#15">App\Lib\Helper</a></td><td class="text-right">80%</td></tr>
|
|
<tr><td><a href="Models/Service.php.html#20">App\Models\Service</a></td><td class="text-right">80%</td></tr>
|
|
<tr><td><a href="Http/Requests/Api/V2/StoreCustomerAnswers.php.html#8">App\Http\Requests\Api\V2\StoreCustomerAnswers</a></td><td class="text-right">89%</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="Lib/Helper.php.html#15">App\Lib\Helper</a></td><td class="text-right">28</td></tr>
|
|
<tr><td><a href="Models/Service.php.html#20">App\Models\Service</a></td><td class="text-right">15</td></tr>
|
|
<tr><td><a href="Exceptions/Api/V2/ApiErrorException.php.html#22">App\Exceptions\Api\V2\ApiErrorException</a></td><td class="text-right">5</td></tr>
|
|
<tr><td><a href="Http/Requests/Api/V2/GetQuestionStatsRequest.php.html#10">App\Http\Requests\Api\V2\GetQuestionStatsRequest</a></td><td class="text-right">4</td></tr>
|
|
<tr><td><a href="Models/SingleOptin.php.html#12">App\Models\SingleOptin</a></td><td class="text-right">4</td></tr>
|
|
<tr><td><a href="Models/BrandStat.php.html#8">App\Models\BrandStat</a></td><td class="text-right">4</td></tr>
|
|
<tr><td><a href="Http/Requests/Api/V2/StoreCustomerAnswers.php.html#8">App\Http\Requests\Api\V2\StoreCustomerAnswers</a></td><td class="text-right">3</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="Exceptions/Api/V2/ApiErrorException.php.html#77"><abbr title="App\Exceptions\Api\V2\ApiErrorException::getApiError">getApiError</abbr></a></td><td class="text-right">0%</td></tr>
|
|
<tr><td><a href="Models/Brand.php.html#152"><abbr title="App\Models\Brand::singleOptins">singleOptins</abbr></a></td><td class="text-right">0%</td></tr>
|
|
<tr><td><a href="Models/Service.php.html#170"><abbr title="App\Models\Service::generateBearerPassword">generateBearerPassword</abbr></a></td><td class="text-right">0%</td></tr>
|
|
<tr><td><a href="Models/Service.php.html#156"><abbr title="App\Models\Service::generateBearerToken">generateBearerToken</abbr></a></td><td class="text-right">0%</td></tr>
|
|
<tr><td><a href="Models/Service.php.html#144"><abbr title="App\Models\Service::servicesStats">servicesStats</abbr></a></td><td class="text-right">0%</td></tr>
|
|
<tr><td><a href="Models/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="Models/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="Models/Brand.php.html#174"><abbr title="App\Models\Brand::getTotalOptinsAttribute">getTotalOptinsAttribute</abbr></a></td><td class="text-right">0%</td></tr>
|
|
<tr><td><a href="Exceptions/Api/V2/ApiErrorException.php.html#98"><abbr title="App\Exceptions\Api\V2\ApiErrorException::report">report</abbr></a></td><td class="text-right">0%</td></tr>
|
|
<tr><td><a href="Models/Brand.php.html#164"><abbr title="App\Models\Brand::getAccountsAttribute">getAccountsAttribute</abbr></a></td><td class="text-right">0%</td></tr>
|
|
<tr><td><a href="Models/Brand.php.html#142"><abbr title="App\Models\Brand::servicesStats">servicesStats</abbr></a></td><td class="text-right">0%</td></tr>
|
|
<tr><td><a href="Models/Brand.php.html#132"><abbr title="App\Models\Brand::customerInfos">customerInfos</abbr></a></td><td class="text-right">0%</td></tr>
|
|
<tr><td><a href="Lib/Helper.php.html#69"><abbr title="App\Lib\Helper::getBearerTokenFromRequest">getBearerTokenFromRequest</abbr></a></td><td class="text-right">0%</td></tr>
|
|
<tr><td><a href="Models/BrandStat.php.html#42"><abbr title="App\Models\BrandStat::booted">booted</abbr></a></td><td class="text-right">60%</td></tr>
|
|
<tr><td><a href="Models/Service.php.html#107"><abbr title="App\Models\Service::booted">booted</abbr></a></td><td class="text-right">64%</td></tr>
|
|
<tr><td><a href="Models/Brand.php.html#89"><abbr title="App\Models\Brand::booted">booted</abbr></a></td><td class="text-right">70%</td></tr>
|
|
<tr><td><a href="Http/Requests/Api/V2/GetQuestionStatsRequest.php.html#19"><abbr title="App\Http\Requests\Api\V2\GetQuestionStatsRequest::rules">rules</abbr></a></td><td class="text-right">77%</td></tr>
|
|
<tr><td><a href="Models/SingleOptin.php.html#37"><abbr title="App\Models\SingleOptin::__construct">__construct</abbr></a></td><td class="text-right">78%</td></tr>
|
|
<tr><td><a href="Models/Customer.php.html#156"><abbr title="App\Models\Customer::loadBrandData">loadBrandData</abbr></a></td><td class="text-right">83%</td></tr>
|
|
<tr><td><a href="Lib/Helper.php.html#130"><abbr title="App\Lib\Helper::signRequest">signRequest</abbr></a></td><td class="text-right">87%</td></tr>
|
|
<tr><td><a href="Exceptions/Handler.php.html#76"><abbr title="App\Exceptions\Handler::handleApiV2Exception">handleApiV2Exception</abbr></a></td><td class="text-right">87%</td></tr>
|
|
<tr><td><a href="Http/Requests/Api/V2/StoreCustomerAnswers.php.html#15"><abbr title="App\Http\Requests\Api\V2\StoreCustomerAnswers::rules">rules</abbr></a></td><td class="text-right">89%</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="Lib/Helper.php.html#69"><abbr title="App\Lib\Helper::getBearerTokenFromRequest">getBearerTokenFromRequest</abbr></a></td><td class="text-right">20</td></tr>
|
|
<tr><td><a href="Exceptions/Handler.php.html#76"><abbr title="App\Exceptions\Handler::handleApiV2Exception">handleApiV2Exception</abbr></a></td><td class="text-right">9</td></tr>
|
|
<tr><td><a href="Lib/Helper.php.html#130"><abbr title="App\Lib\Helper::signRequest">signRequest</abbr></a></td><td class="text-right">7</td></tr>
|
|
<tr><td><a href="Models/Customer.php.html#156"><abbr title="App\Models\Customer::loadBrandData">loadBrandData</abbr></a></td><td class="text-right">5</td></tr>
|
|
<tr><td><a href="Http/Requests/Api/V2/GetQuestionStatsRequest.php.html#19"><abbr title="App\Http\Requests\Api\V2\GetQuestionStatsRequest::rules">rules</abbr></a></td><td class="text-right">4</td></tr>
|
|
<tr><td><a href="Models/SingleOptin.php.html#37"><abbr title="App\Models\SingleOptin::__construct">__construct</abbr></a></td><td class="text-right">3</td></tr>
|
|
<tr><td><a href="Http/Requests/Api/V2/StoreCustomerAnswers.php.html#15"><abbr title="App\Http\Requests\Api\V2\StoreCustomerAnswers::rules">rules</abbr></a></td><td class="text-right">3</td></tr>
|
|
<tr><td><a href="Models/BrandStat.php.html#42"><abbr title="App\Models\BrandStat::booted">booted</abbr></a></td><td class="text-right">2</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.10</a> using <a href="https://secure.php.net/" target="_top">PHP 7.3.31-2+ubuntu20.04.1+deb.sury.org+1</a> and <a href="https://phpunit.de/">PHPUnit 9.5.11</a> at Thu Jan 6 12:10:34 CET 2022.</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([0,0,0,0,0,0,1,0,3,4,3,97], "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([13,0,0,0,0,0,0,2,3,4,2,217], "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([[100,3,"<a href=\"Console\/Commands\/DeleteUnconfirmedCustomers.php.html#13\">App\\Console\\Commands\\DeleteUnconfirmedCustomers<\/a>"],[100,16,"<a href=\"Console\/Commands\/GenerateCrmClient.php.html#19\">App\\Console\\Commands\\GenerateCrmClient<\/a>"],[100,5,"<a href=\"Console\/Commands\/LdcWebStatusChecker.php.html#16\">App\\Console\\Commands\\LdcWebStatusChecker<\/a>"],[100,6,"<a href=\"Console\/Commands\/MigrateCrmUsers.php.html#14\">App\\Console\\Commands\\MigrateCrmUsers<\/a>"],[100,1,"<a href=\"Console\/Commands\/StartStatJobs.php.html#11\">App\\Console\\Commands\\StartStatJobs<\/a>"],[100,1,"<a href=\"Console\/Commands\/UserCreate.php.html#12\">App\\Console\\Commands\\UserCreate<\/a>"],[100,2,"<a href=\"Console\/Kernel.php.html#12\">App\\Console\\Kernel<\/a>"],[100,2,"<a href=\"Enums\/ApiError.php.html#65\">App\\Enums\\ApiError<\/a>"],[100,0,"<a href=\"Enums\/ApiStatus.php.html#14\">App\\Enums\\ApiStatus<\/a>"],[100,1,"<a href=\"Enums\/ArcadiaMailType.php.html#14\">App\\Enums\\ArcadiaMailType<\/a>"],[100,1,"<a href=\"Enums\/ArcadiaOrderType.php.html#14\">App\\Enums\\ArcadiaOrderType<\/a>"],[100,2,"<a href=\"Enums\/Country.php.html#263\">App\\Enums\\Country<\/a>"],[100,2,"<a href=\"Enums\/CustomerExportType.php.html#14\">App\\Enums\\CustomerExportType<\/a>"],[100,1,"<a href=\"Enums\/QuestionType.php.html#15\">App\\Enums\\QuestionType<\/a>"],[100,0,"<a href=\"Exceptions\/AbortRowImportException.php.html#12\">App\\Exceptions\\AbortRowImportException<\/a>"],[80,5,"<a href=\"Exceptions\/Api\/V2\/ApiErrorException.php.html#22\">App\\Exceptions\\Api\\V2\\ApiErrorException<\/a>"],[100,1,"<a href=\"Exceptions\/Api\/V2\/CrmException.php.html#17\">App\\Exceptions\\Api\\V2\\CrmException<\/a>"],[90,14,"<a href=\"Exceptions\/Handler.php.html#21\">App\\Exceptions\\Handler<\/a>"],[100,4,"<a href=\"Http\/Controllers\/AnswerController.php.html#14\">App\\Http\\Controllers\\AnswerController<\/a>"],[100,57,"<a href=\"Http\/Controllers\/Api\/V1\/ArcadiaController.php.html#19\">App\\Http\\Controllers\\Api\\V1\\ArcadiaController<\/a>"],[100,69,"<a href=\"Http\/Controllers\/Api\/V1\/CustomerController.php.html#22\">App\\Http\\Controllers\\Api\\V1\\CustomerController<\/a>"],[100,1,"<a href=\"Http\/Controllers\/Api\/V2\/AnswerController.php.html#12\">App\\Http\\Controllers\\Api\\V2\\AnswerController<\/a>"],[100,1,"<a href=\"Http\/Controllers\/Api\/V2\/ApiController.php.html#8\">App\\Http\\Controllers\\Api\\V2\\ApiController<\/a>"],[100,8,"<a href=\"Http\/Controllers\/Api\/V2\/ArcadiaController.php.html#29\">App\\Http\\Controllers\\Api\\V2\\ArcadiaController<\/a>"],[100,26,"<a href=\"Http\/Controllers\/Api\/V2\/CustomerController.php.html#22\">App\\Http\\Controllers\\Api\\V2\\CustomerController<\/a>"],[100,4,"<a href=\"Http\/Controllers\/Api\/V2\/OptinController.php.html#14\">App\\Http\\Controllers\\Api\\V2\\OptinController<\/a>"],[100,3,"<a href=\"Http\/Controllers\/Api\/V2\/QuestionController.php.html#14\">App\\Http\\Controllers\\Api\\V2\\QuestionController<\/a>"],[100,5,"<a href=\"Http\/Controllers\/Api\/V2\/StatsController.php.html#18\">App\\Http\\Controllers\\Api\\V2\\StatsController<\/a>"],[100,2,"<a href=\"Http\/Controllers\/BrandController.php.html#13\">App\\Http\\Controllers\\BrandController<\/a>"],[100,0,"<a href=\"Http\/Controllers\/Controller.php.html#13\">App\\Http\\Controllers\\Controller<\/a>"],[100,32,"<a href=\"Http\/Controllers\/CustomerController.php.html#26\">App\\Http\\Controllers\\CustomerController<\/a>"],[100,5,"<a href=\"Http\/Controllers\/LoginController.php.html#11\">App\\Http\\Controllers\\LoginController<\/a>"],[100,12,"<a href=\"Http\/Controllers\/QuestionController.php.html#21\">App\\Http\\Controllers\\QuestionController<\/a>"],[100,4,"<a href=\"Http\/Controllers\/ServiceController.php.html#16\">App\\Http\\Controllers\\ServiceController<\/a>"],[100,4,"<a href=\"Http\/Controllers\/SingleOptinController.php.html#13\">App\\Http\\Controllers\\SingleOptinController<\/a>"],[100,12,"<a href=\"Http\/Controllers\/StatsController.php.html#19\">App\\Http\\Controllers\\StatsController<\/a>"],[100,0,"<a href=\"Http\/Kernel.php.html#7\">App\\Http\\Kernel<\/a>"],[100,5,"<a href=\"Http\/Middleware\/ApiCheckTimeStamps.php.html#16\">App\\Http\\Middleware\\ApiCheckTimeStamps<\/a>"],[100,10,"<a href=\"Http\/Middleware\/ApiResponse.php.html#14\">App\\Http\\Middleware\\ApiResponse<\/a>"],[100,4,"<a href=\"Http\/Middleware\/Authenticate.php.html#13\">App\\Http\\Middleware\\Authenticate<\/a>"],[100,3,"<a href=\"Http\/Middleware\/CheckBrand.php.html#14\">App\\Http\\Middleware\\CheckBrand<\/a>"],[100,0,"<a href=\"Http\/Middleware\/EncryptCookies.php.html#7\">App\\Http\\Middleware\\EncryptCookies<\/a>"],[100,5,"<a href=\"Http\/Middleware\/JsonOnly.php.html#8\">App\\Http\\Middleware\\JsonOnly<\/a>"],[100,0,"<a href=\"Http\/Middleware\/PreventRequestsDuringMaintenance.php.html#7\">App\\Http\\Middleware\\PreventRequestsDuringMaintenance<\/a>"],[100,4,"<a href=\"Http\/Middleware\/RedirectIfAuthenticated.php.html#13\">App\\Http\\Middleware\\RedirectIfAuthenticated<\/a>"],[100,0,"<a href=\"Http\/Middleware\/TrimStrings.php.html#7\">App\\Http\\Middleware\\TrimStrings<\/a>"],[100,1,"<a href=\"Http\/Middleware\/TrustHosts.php.html#10\">App\\Http\\Middleware\\TrustHosts<\/a>"],[100,0,"<a href=\"Http\/Middleware\/TrustProxies.php.html#8\">App\\Http\\Middleware\\TrustProxies<\/a>"],[100,0,"<a href=\"Http\/Middleware\/VerifyCsrfToken.php.html#7\">App\\Http\\Middleware\\VerifyCsrfToken<\/a>"],[100,1,"<a href=\"Http\/Middleware\/XssSanitizer.php.html#7\">App\\Http\\Middleware\\XssSanitizer<\/a>"],[100,2,"<a href=\"Http\/Requests\/Api\/V2\/AuthenticateRequest.php.html#5\">App\\Http\\Requests\\Api\\V2\\AuthenticateRequest<\/a>"],[100,1,"<a href=\"Http\/Requests\/Api\/V2\/BaseApiRequest.php.html#14\">App\\Http\\Requests\\Api\\V2\\BaseApiRequest<\/a>"],[100,4,"<a href=\"Http\/Requests\/Api\/V2\/GetBrandStatsRequest.php.html#9\">App\\Http\\Requests\\Api\\V2\\GetBrandStatsRequest<\/a>"],[77.77777777777779,4,"<a href=\"Http\/Requests\/Api\/V2\/GetQuestionStatsRequest.php.html#10\">App\\Http\\Requests\\Api\\V2\\GetQuestionStatsRequest<\/a>"],[100,3,"<a href=\"Http\/Requests\/Api\/V2\/SendArchadiaDefaultMailRequest.php.html#11\">App\\Http\\Requests\\Api\\V2\\SendArchadiaDefaultMailRequest<\/a>"],[100,3,"<a href=\"Http\/Requests\/Api\/V2\/SendArchadiaGameMailRequest.php.html#8\">App\\Http\\Requests\\Api\\V2\\SendArchadiaGameMailRequest<\/a>"],[100,1,"<a href=\"Http\/Requests\/Api\/V2\/SingleOptinRequest.php.html#5\">App\\Http\\Requests\\Api\\V2\\SingleOptinRequest<\/a>"],[89.47368421052632,3,"<a href=\"Http\/Requests\/Api\/V2\/StoreCustomerAnswers.php.html#8\">App\\Http\\Requests\\Api\\V2\\StoreCustomerAnswers<\/a>"],[100,2,"<a href=\"Http\/Requests\/Api\/V2\/StoreCustomerRequest.php.html#9\">App\\Http\\Requests\\Api\\V2\\StoreCustomerRequest<\/a>"],[100,2,"<a href=\"Http\/Requests\/Api\/V2\/UpdateCustomerRequest.php.html#9\">App\\Http\\Requests\\Api\\V2\\UpdateCustomerRequest<\/a>"],[100,3,"<a href=\"Http\/Requests\/CustomerExport.php.html#11\">App\\Http\\Requests\\CustomerExport<\/a>"],[100,2,"<a href=\"Http\/Requests\/GenerateServiceToken.php.html#10\">App\\Http\\Requests\\GenerateServiceToken<\/a>"],[100,3,"<a href=\"Http\/Requests\/ManageBrandRequest.php.html#12\">App\\Http\\Requests\\ManageBrandRequest<\/a>"],[100,3,"<a href=\"Http\/Requests\/ManageServiceRequest.php.html#12\">App\\Http\\Requests\\ManageServiceRequest<\/a>"],[100,2,"<a href=\"Http\/Requests\/QuestionExport.php.html#10\">App\\Http\\Requests\\QuestionExport<\/a>"],[100,6,"<a href=\"Http\/Requests\/StatsByBrandRequest.php.html#13\">App\\Http\\Requests\\StatsByBrandRequest<\/a>"],[100,6,"<a href=\"Http\/Requests\/StatsByQuestionRequest.php.html#13\">App\\Http\\Requests\\StatsByQuestionRequest<\/a>"],[100,1,"<a href=\"Http\/Resources\/Api\/V2\/AnswersResource.php.html#8\">App\\Http\\Resources\\Api\\V2\\AnswersResource<\/a>"],[100,2,"<a href=\"Http\/Resources\/Api\/V2\/ApiResponse.php.html#9\">App\\Http\\Resources\\Api\\V2\\ApiResponse<\/a>"],[100,1,"<a href=\"Http\/Resources\/Api\/V2\/BrandStatsResource.php.html#8\">App\\Http\\Resources\\Api\\V2\\BrandStatsResource<\/a>"],[100,3,"<a href=\"Http\/Resources\/Api\/V2\/CustomerResource.php.html#9\">App\\Http\\Resources\\Api\\V2\\CustomerResource<\/a>"],[100,2,"<a href=\"Http\/Resources\/Api\/V2\/QuestionStatsResource.php.html#9\">App\\Http\\Resources\\Api\\V2\\QuestionStatsResource<\/a>"],[100,3,"<a href=\"Http\/Resources\/Api\/V2\/QuestionsResource.php.html#10\">App\\Http\\Resources\\Api\\V2\\QuestionsResource<\/a>"],[100,2,"<a href=\"Http\/Resources\/CustomerResource.php.html#10\">App\\Http\\Resources\\CustomerResource<\/a>"],[100,0,"<a href=\"Http\/Resources\/StatusResource.php.html#10\">App\\Http\\Resources\\StatusResource<\/a>"],[100,1,"<a href=\"Http\/Sanitizers\/RemoveSpaces.php.html#7\">App\\Http\\Sanitizers\\RemoveSpaces<\/a>"],[100,5,"<a href=\"Jobs\/SetServiceStats.php.html#17\">App\\Jobs\\SetServiceStats<\/a>"],[100,2,"<a href=\"Jobs\/StartStatJobs.php.html#14\">App\\Jobs\\StartStatJobs<\/a>"],[100,3,"<a href=\"Jobs\/StatJob.php.html#21\">App\\Jobs\\StatJob<\/a>"],[100,3,"<a href=\"Jobs\/UpdateCustomerLastConnection.php.html#17\">App\\Jobs\\UpdateCustomerLastConnection<\/a>"],[80,24,"<a href=\"Lib\/Helper.php.html#15\">App\\Lib\\Helper<\/a>"],[100,19,"<a href=\"Lib\/MigrateOldData.php.html#22\">App\\Lib\\MigrateOldData<\/a>"],[100,2,"<a href=\"Mail\/CourrierArcadiaError.php.html#13\">App\\Mail\\CourrierArcadiaError<\/a>"],[100,2,"<a href=\"Mail\/ServiceCredentialRenewed.php.html#12\">App\\Mail\\ServiceCredentialRenewed<\/a>"],[100,3,"<a href=\"Models\/Answer.php.html#12\">App\\Models\\Answer<\/a>"],[71.42857142857143,10,"<a href=\"Models\/Brand.php.html#13\">App\\Models\\Brand<\/a>"],[50,3,"<a href=\"Models\/BrandStat.php.html#8\">App\\Models\\BrandStat<\/a>"],[93.22033898305084,24,"<a href=\"Models\/Customer.php.html#11\">App\\Models\\Customer<\/a>"],[100,3,"<a href=\"Models\/CustomerAnswer.php.html#7\">App\\Models\\CustomerAnswer<\/a>"],[94.73684210526315,5,"<a href=\"Models\/CustomerInfo.php.html#11\">App\\Models\\CustomerInfo<\/a>"],[100,6,"<a href=\"Models\/CustomerLogin.php.html#9\">App\\Models\\CustomerLogin<\/a>"],[100,2,"<a href=\"Models\/CustomerOptInHistory.php.html#8\">App\\Models\\CustomerOptInHistory<\/a>"],[100,3,"<a href=\"Models\/Question.php.html#14\">App\\Models\\Question<\/a>"],[80,14,"<a href=\"Models\/Service.php.html#20\">App\\Models\\Service<\/a>"],[100,2,"<a href=\"Models\/ServiceStat.php.html#8\">App\\Models\\ServiceStat<\/a>"],[79.3103448275862,4,"<a href=\"Models\/SingleOptin.php.html#12\">App\\Models\\SingleOptin<\/a>"],[100,0,"<a href=\"Models\/User.php.html#9\">App\\Models\\User<\/a>"],[100,1,"<a href=\"Policies\/AnswerPolicy.php.html#11\">App\\Policies\\AnswerPolicy<\/a>"],[100,1,"<a href=\"Policies\/BrandPolicy.php.html#11\">App\\Policies\\BrandPolicy<\/a>"],[100,2,"<a href=\"Policies\/CustomerPolicy.php.html#14\">App\\Policies\\CustomerPolicy<\/a>"],[100,2,"<a href=\"Policies\/QuestionPolicy.php.html#13\">App\\Policies\\QuestionPolicy<\/a>"],[100,2,"<a href=\"Policies\/Rules\/UserStaticRules.php.html#12\">App\\Policies\\Rules\\UserStaticRules<\/a>"],[100,1,"<a href=\"Policies\/ServicePolicy.php.html#11\">App\\Policies\\ServicePolicy<\/a>"],[100,1,"<a href=\"Policies\/SingleOptinPolicy.php.html#11\">App\\Policies\\SingleOptinPolicy<\/a>"],[100,4,"<a href=\"Providers\/AppServiceProvider.php.html#20\">App\\Providers\\AppServiceProvider<\/a>"],[100,5,"<a href=\"Providers\/AuthServiceProvider.php.html#12\">App\\Providers\\AuthServiceProvider<\/a>"],[100,0,"<a href=\"Providers\/EventServiceProvider.php.html#12\">App\\Providers\\EventServiceProvider<\/a>"],[100,7,"<a href=\"Providers\/RouteServiceProvider.php.html#19\">App\\Providers\\RouteServiceProvider<\/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([[100,3,"<a href=\"Console\/Commands\/DeleteUnconfirmedCustomers.php.html#35\">App\\Console\\Commands\\DeleteUnconfirmedCustomers::handle<\/a>"],[100,1,"<a href=\"Console\/Commands\/GenerateCrmClient.php.html#43\">App\\Console\\Commands\\GenerateCrmClient::handle<\/a>"],[100,2,"<a href=\"Console\/Commands\/GenerateCrmClient.php.html#57\">App\\Console\\Commands\\GenerateCrmClient::copyApiConfigInfo<\/a>"],[100,4,"<a href=\"Console\/Commands\/GenerateCrmClient.php.html#75\">App\\Console\\Commands\\GenerateCrmClient::copyRoutesList<\/a>"],[100,1,"<a href=\"Console\/Commands\/GenerateCrmClient.php.html#103\">App\\Console\\Commands\\GenerateCrmClient::copyExceptions<\/a>"],[100,2,"<a href=\"Console\/Commands\/GenerateCrmClient.php.html#123\">App\\Console\\Commands\\GenerateCrmClient::copyEnums<\/a>"],[100,3,"<a href=\"Console\/Commands\/GenerateCrmClient.php.html#149\">App\\Console\\Commands\\GenerateCrmClient::copyToFolder<\/a>"],[100,3,"<a href=\"Console\/Commands\/GenerateCrmClient.php.html#174\">App\\Console\\Commands\\GenerateCrmClient::replaceInPhpFile<\/a>"],[100,5,"<a href=\"Console\/Commands\/LdcWebStatusChecker.php.html#37\">App\\Console\\Commands\\LdcWebStatusChecker::handle<\/a>"],[100,6,"<a href=\"Console\/Commands\/MigrateCrmUsers.php.html#36\">App\\Console\\Commands\\MigrateCrmUsers::handle<\/a>"],[100,1,"<a href=\"Console\/Commands\/StartStatJobs.php.html#32\">App\\Console\\Commands\\StartStatJobs::handle<\/a>"],[100,1,"<a href=\"Console\/Commands\/UserCreate.php.html#33\">App\\Console\\Commands\\UserCreate::handle<\/a>"],[100,1,"<a href=\"Console\/Kernel.php.html#27\">App\\Console\\Kernel::schedule<\/a>"],[100,1,"<a href=\"Console\/Kernel.php.html#37\">App\\Console\\Kernel::commands<\/a>"],[100,1,"<a href=\"Enums\/ApiError.php.html#72\">App\\Enums\\ApiError::values<\/a>"],[100,1,"<a href=\"Enums\/ApiError.php.html#96\">App\\Enums\\ApiError::labels<\/a>"],[100,1,"<a href=\"Enums\/ArcadiaMailType.php.html#21\">App\\Enums\\ArcadiaMailType::values<\/a>"],[100,1,"<a href=\"Enums\/ArcadiaOrderType.php.html#21\">App\\Enums\\ArcadiaOrderType::values<\/a>"],[100,1,"<a href=\"Enums\/Country.php.html#270\">App\\Enums\\Country::values<\/a>"],[100,1,"<a href=\"Enums\/Country.php.html#530\">App\\Enums\\Country::labels<\/a>"],[100,1,"<a href=\"Enums\/CustomerExportType.php.html#21\">App\\Enums\\CustomerExportType::values<\/a>"],[100,1,"<a href=\"Enums\/CustomerExportType.php.html#35\">App\\Enums\\CustomerExportType::labels<\/a>"],[100,1,"<a href=\"Enums\/QuestionType.php.html#22\">App\\Enums\\QuestionType::values<\/a>"],[100,2,"<a href=\"Exceptions\/Api\/V2\/ApiErrorException.php.html#60\">App\\Exceptions\\Api\\V2\\ApiErrorException::__construct<\/a>"],[0,1,"<a href=\"Exceptions\/Api\/V2\/ApiErrorException.php.html#77\">App\\Exceptions\\Api\\V2\\ApiErrorException::getApiError<\/a>"],[100,1,"<a href=\"Exceptions\/Api\/V2\/ApiErrorException.php.html#87\">App\\Exceptions\\Api\\V2\\ApiErrorException::getStatusCode<\/a>"],[0,1,"<a href=\"Exceptions\/Api\/V2\/ApiErrorException.php.html#98\">App\\Exceptions\\Api\\V2\\ApiErrorException::report<\/a>"],[100,1,"<a href=\"Exceptions\/Api\/V2\/CrmException.php.html#25\">App\\Exceptions\\Api\\V2\\CrmException::report<\/a>"],[100,1,"<a href=\"Exceptions\/Handler.php.html#48\">App\\Exceptions\\Handler::register<\/a>"],[100,3,"<a href=\"Exceptions\/Handler.php.html#59\">App\\Exceptions\\Handler::render<\/a>"],[87.87878787878788,9,"<a href=\"Exceptions\/Handler.php.html#76\">App\\Exceptions\\Handler::handleApiV2Exception<\/a>"],[100,1,"<a href=\"Exceptions\/Handler.php.html#159\">App\\Exceptions\\Handler::getReponse<\/a>"],[100,2,"<a href=\"Http\/Controllers\/AnswerController.php.html#36\">App\\Http\\Controllers\\AnswerController::indexQuery<\/a>"],[100,2,"<a href=\"Http\/Controllers\/AnswerController.php.html#53\">App\\Http\\Controllers\\AnswerController::index<\/a>"],[100,10,"<a href=\"Http\/Controllers\/Api\/V1\/ArcadiaController.php.html#25\">App\\Http\\Controllers\\Api\\V1\\ArcadiaController::outgoingMail<\/a>"],[100,4,"<a href=\"Http\/Controllers\/Api\/V1\/ArcadiaController.php.html#92\">App\\Http\\Controllers\\Api\\V1\\ArcadiaController::checkShippingRequiredFields<\/a>"],[100,21,"<a href=\"Http\/Controllers\/Api\/V1\/ArcadiaController.php.html#122\">App\\Http\\Controllers\\Api\\V1\\ArcadiaController::checkRequiredFields<\/a>"],[100,22,"<a href=\"Http\/Controllers\/Api\/V1\/ArcadiaController.php.html#222\">App\\Http\\Controllers\\Api\\V1\\ArcadiaController::makeXml<\/a>"],[100,12,"<a href=\"Http\/Controllers\/Api\/V1\/CustomerController.php.html#30\">App\\Http\\Controllers\\Api\\V1\\CustomerController::store<\/a>"],[100,6,"<a href=\"Http\/Controllers\/Api\/V1\/CustomerController.php.html#133\">App\\Http\\Controllers\\Api\\V1\\CustomerController::show<\/a>"],[100,22,"<a href=\"Http\/Controllers\/Api\/V1\/CustomerController.php.html#168\">App\\Http\\Controllers\\Api\\V1\\CustomerController::update<\/a>"],[100,6,"<a href=\"Http\/Controllers\/Api\/V1\/CustomerController.php.html#282\">App\\Http\\Controllers\\Api\\V1\\CustomerController::authenticate<\/a>"],[100,5,"<a href=\"Http\/Controllers\/Api\/V1\/CustomerController.php.html#354\">App\\Http\\Controllers\\Api\\V1\\CustomerController::changePassword<\/a>"],[100,4,"<a href=\"Http\/Controllers\/Api\/V1\/CustomerController.php.html#398\">App\\Http\\Controllers\\Api\\V1\\CustomerController::activateAccount<\/a>"],[100,4,"<a href=\"Http\/Controllers\/Api\/V1\/CustomerController.php.html#431\">App\\Http\\Controllers\\Api\\V1\\CustomerController::delete<\/a>"],[100,4,"<a href=\"Http\/Controllers\/Api\/V1\/CustomerController.php.html#463\">App\\Http\\Controllers\\Api\\V1\\CustomerController::toggleOptin<\/a>"],[100,2,"<a href=\"Http\/Controllers\/Api\/V1\/CustomerController.php.html#500\">App\\Http\\Controllers\\Api\\V1\\CustomerController::removeOptin<\/a>"],[100,4,"<a href=\"Http\/Controllers\/Api\/V1\/CustomerController.php.html#534\">App\\Http\\Controllers\\Api\\V1\\CustomerController::addSingleOptin<\/a>"],[100,1,"<a href=\"Http\/Controllers\/Api\/V2\/AnswerController.php.html#22\">App\\Http\\Controllers\\Api\\V2\\AnswerController::storeCustomerAnswers<\/a>"],[100,1,"<a href=\"Http\/Controllers\/Api\/V2\/ApiController.php.html#15\">App\\Http\\Controllers\\Api\\V2\\ApiController::ping<\/a>"],[100,1,"<a href=\"Http\/Controllers\/Api\/V2\/ArcadiaController.php.html#37\">App\\Http\\Controllers\\Api\\V2\\ArcadiaController::outgoingMailDefault<\/a>"],[100,1,"<a href=\"Http\/Controllers\/Api\/V2\/ArcadiaController.php.html#48\">App\\Http\\Controllers\\Api\\V2\\ArcadiaController::outgoingMailGame<\/a>"],[100,4,"<a href=\"Http\/Controllers\/Api\/V2\/ArcadiaController.php.html#62\">App\\Http\\Controllers\\Api\\V2\\ArcadiaController::handleArcadiaMail<\/a>"],[100,2,"<a href=\"Http\/Controllers\/Api\/V2\/ArcadiaController.php.html#124\">App\\Http\\Controllers\\Api\\V2\\ArcadiaController::makeXml<\/a>"],[100,7,"<a href=\"Http\/Controllers\/Api\/V2\/CustomerController.php.html#33\">App\\Http\\Controllers\\Api\\V2\\CustomerController::store<\/a>"],[100,1,"<a href=\"Http\/Controllers\/Api\/V2\/CustomerController.php.html#89\">App\\Http\\Controllers\\Api\\V2\\CustomerController::show<\/a>"],[100,5,"<a href=\"Http\/Controllers\/Api\/V2\/CustomerController.php.html#106\">App\\Http\\Controllers\\Api\\V2\\CustomerController::update<\/a>"],[100,6,"<a href=\"Http\/Controllers\/Api\/V2\/CustomerController.php.html#147\">App\\Http\\Controllers\\Api\\V2\\CustomerController::destroy<\/a>"],[100,4,"<a href=\"Http\/Controllers\/Api\/V2\/CustomerController.php.html#199\">App\\Http\\Controllers\\Api\\V2\\CustomerController::authenticate<\/a>"],[100,3,"<a href=\"Http\/Controllers\/Api\/V2\/CustomerController.php.html#232\">App\\Http\\Controllers\\Api\\V2\\CustomerController::activateAccount<\/a>"],[100,4,"<a href=\"Http\/Controllers\/Api\/V2\/OptinController.php.html#25\">App\\Http\\Controllers\\Api\\V2\\OptinController::optin<\/a>"],[100,1,"<a href=\"Http\/Controllers\/Api\/V2\/QuestionController.php.html#22\">App\\Http\\Controllers\\Api\\V2\\QuestionController::index<\/a>"],[100,1,"<a href=\"Http\/Controllers\/Api\/V2\/QuestionController.php.html#34\">App\\Http\\Controllers\\Api\\V2\\QuestionController::indexWithResponse<\/a>"],[100,1,"<a href=\"Http\/Controllers\/Api\/V2\/QuestionController.php.html#50\">App\\Http\\Controllers\\Api\\V2\\QuestionController::unAnsweredBy<\/a>"],[100,1,"<a href=\"Http\/Controllers\/Api\/V2\/StatsController.php.html#27\">App\\Http\\Controllers\\Api\\V2\\StatsController::brandStats<\/a>"],[100,1,"<a href=\"Http\/Controllers\/Api\/V2\/StatsController.php.html#42\">App\\Http\\Controllers\\Api\\V2\\StatsController::questionStats<\/a>"],[100,3,"<a href=\"Http\/Controllers\/Api\/V2\/StatsController.php.html#65\">App\\Http\\Controllers\\Api\\V2\\StatsController::answersByDays<\/a>"],[100,2,"<a href=\"Http\/Controllers\/BrandController.php.html#35\">App\\Http\\Controllers\\BrandController::index<\/a>"],[100,1,"<a href=\"Http\/Controllers\/CustomerController.php.html#31\">App\\Http\\Controllers\\CustomerController::__construct<\/a>"],[100,13,"<a href=\"Http\/Controllers\/CustomerController.php.html#45\">App\\Http\\Controllers\\CustomerController::index<\/a>"],[100,1,"<a href=\"Http\/Controllers\/CustomerController.php.html#135\">App\\Http\\Controllers\\CustomerController::show<\/a>"],[100,8,"<a href=\"Http\/Controllers\/CustomerController.php.html#155\">App\\Http\\Controllers\\CustomerController::delete<\/a>"],[100,1,"<a href=\"Http\/Controllers\/CustomerController.php.html#205\">App\\Http\\Controllers\\CustomerController::export<\/a>"],[100,8,"<a href=\"Http\/Controllers\/CustomerController.php.html#220\">App\\Http\\Controllers\\CustomerController::exportSubmit<\/a>"],[100,1,"<a href=\"Http\/Controllers\/LoginController.php.html#18\">App\\Http\\Controllers\\LoginController::index<\/a>"],[100,3,"<a href=\"Http\/Controllers\/LoginController.php.html#29\">App\\Http\\Controllers\\LoginController::authenticate<\/a>"],[100,1,"<a href=\"Http\/Controllers\/LoginController.php.html#49\">App\\Http\\Controllers\\LoginController::logout<\/a>"],[100,2,"<a href=\"Http\/Controllers\/QuestionController.php.html#43\">App\\Http\\Controllers\\QuestionController::indexQuery<\/a>"],[100,2,"<a href=\"Http\/Controllers\/QuestionController.php.html#57\">App\\Http\\Controllers\\QuestionController::index<\/a>"],[100,1,"<a href=\"Http\/Controllers\/QuestionController.php.html#72\">App\\Http\\Controllers\\QuestionController::export<\/a>"],[100,7,"<a href=\"Http\/Controllers\/QuestionController.php.html#84\">App\\Http\\Controllers\\QuestionController::exportSubmit<\/a>"],[100,2,"<a href=\"Http\/Controllers\/ServiceController.php.html#38\">App\\Http\\Controllers\\ServiceController::index<\/a>"],[100,2,"<a href=\"Http\/Controllers\/ServiceController.php.html#56\">App\\Http\\Controllers\\ServiceController::generateServicePassword<\/a>"],[100,2,"<a href=\"Http\/Controllers\/SingleOptinController.php.html#35\">App\\Http\\Controllers\\SingleOptinController::indexQuery<\/a>"],[100,2,"<a href=\"Http\/Controllers\/SingleOptinController.php.html#49\">App\\Http\\Controllers\\SingleOptinController::index<\/a>"],[100,2,"<a href=\"Http\/Controllers\/StatsController.php.html#27\">App\\Http\\Controllers\\StatsController::viewStatsByBrand<\/a>"],[100,3,"<a href=\"Http\/Controllers\/StatsController.php.html#44\">App\\Http\\Controllers\\StatsController::exportByBrandCsv<\/a>"],[100,2,"<a href=\"Http\/Controllers\/StatsController.php.html#88\">App\\Http\\Controllers\\StatsController::viewByQuestion<\/a>"],[100,2,"<a href=\"Http\/Controllers\/StatsController.php.html#111\">App\\Http\\Controllers\\StatsController::exportByQuestionCsv<\/a>"],[100,3,"<a href=\"Http\/Controllers\/StatsController.php.html#154\">App\\Http\\Controllers\\StatsController::answersByDays<\/a>"],[100,5,"<a href=\"Http\/Middleware\/ApiCheckTimeStamps.php.html#26\">App\\Http\\Middleware\\ApiCheckTimeStamps::handle<\/a>"],[100,10,"<a href=\"Http\/Middleware\/ApiResponse.php.html#24\">App\\Http\\Middleware\\ApiResponse::handle<\/a>"],[100,2,"<a href=\"Http\/Middleware\/Authenticate.php.html#25\">App\\Http\\Middleware\\Authenticate::handle<\/a>"],[100,2,"<a href=\"Http\/Middleware\/Authenticate.php.html#52\">App\\Http\\Middleware\\Authenticate::redirectTo<\/a>"],[100,3,"<a href=\"Http\/Middleware\/CheckBrand.php.html#23\">App\\Http\\Middleware\\CheckBrand::handle<\/a>"],[100,5,"<a href=\"Http\/Middleware\/JsonOnly.php.html#17\">App\\Http\\Middleware\\JsonOnly::handle<\/a>"],[100,4,"<a href=\"Http\/Middleware\/RedirectIfAuthenticated.php.html#23\">App\\Http\\Middleware\\RedirectIfAuthenticated::handle<\/a>"],[100,1,"<a href=\"Http\/Middleware\/TrustHosts.php.html#17\">App\\Http\\Middleware\\TrustHosts::hosts<\/a>"],[100,1,"<a href=\"Http\/Middleware\/XssSanitizer.php.html#16\">App\\Http\\Middleware\\XssSanitizer::handle<\/a>"],[100,1,"<a href=\"Http\/Requests\/Api\/V2\/AuthenticateRequest.php.html#12\">App\\Http\\Requests\\Api\\V2\\AuthenticateRequest::authorize<\/a>"],[100,1,"<a href=\"Http\/Requests\/Api\/V2\/AuthenticateRequest.php.html#22\">App\\Http\\Requests\\Api\\V2\\AuthenticateRequest::rules<\/a>"],[100,1,"<a href=\"Http\/Requests\/Api\/V2\/BaseApiRequest.php.html#39\">App\\Http\\Requests\\Api\\V2\\BaseApiRequest::authorize<\/a>"],[100,0,"<a href=\"Http\/Requests\/Api\/V2\/BaseApiRequest.php.html#49\">App\\Http\\Requests\\Api\\V2\\BaseApiRequest::rules<\/a>"],[100,4,"<a href=\"Http\/Requests\/Api\/V2\/GetBrandStatsRequest.php.html#18\">App\\Http\\Requests\\Api\\V2\\GetBrandStatsRequest::rules<\/a>"],[77.77777777777779,4,"<a href=\"Http\/Requests\/Api\/V2\/GetQuestionStatsRequest.php.html#19\">App\\Http\\Requests\\Api\\V2\\GetQuestionStatsRequest::rules<\/a>"],[100,1,"<a href=\"Http\/Requests\/Api\/V2\/SendArchadiaDefaultMailRequest.php.html#41\">App\\Http\\Requests\\Api\\V2\\SendArchadiaDefaultMailRequest::rules<\/a>"],[100,1,"<a href=\"Http\/Requests\/Api\/V2\/SendArchadiaDefaultMailRequest.php.html#71\">App\\Http\\Requests\\Api\\V2\\SendArchadiaDefaultMailRequest::attributes<\/a>"],[100,1,"<a href=\"Http\/Requests\/Api\/V2\/SendArchadiaDefaultMailRequest.php.html#98\">App\\Http\\Requests\\Api\\V2\\SendArchadiaDefaultMailRequest::messages<\/a>"],[100,1,"<a href=\"Http\/Requests\/Api\/V2\/SendArchadiaGameMailRequest.php.html#39\">App\\Http\\Requests\\Api\\V2\\SendArchadiaGameMailRequest::rules<\/a>"],[100,1,"<a href=\"Http\/Requests\/Api\/V2\/SendArchadiaGameMailRequest.php.html#65\">App\\Http\\Requests\\Api\\V2\\SendArchadiaGameMailRequest::attributes<\/a>"],[100,1,"<a href=\"Http\/Requests\/Api\/V2\/SendArchadiaGameMailRequest.php.html#91\">App\\Http\\Requests\\Api\\V2\\SendArchadiaGameMailRequest::messages<\/a>"],[100,1,"<a href=\"Http\/Requests\/Api\/V2\/SingleOptinRequest.php.html#12\">App\\Http\\Requests\\Api\\V2\\SingleOptinRequest::rules<\/a>"],[89.47368421052632,3,"<a href=\"Http\/Requests\/Api\/V2\/StoreCustomerAnswers.php.html#15\">App\\Http\\Requests\\Api\\V2\\StoreCustomerAnswers::rules<\/a>"],[100,1,"<a href=\"Http\/Requests\/Api\/V2\/StoreCustomerRequest.php.html#16\">App\\Http\\Requests\\Api\\V2\\StoreCustomerRequest::rules<\/a>"],[100,1,"<a href=\"Http\/Requests\/Api\/V2\/StoreCustomerRequest.php.html#72\">App\\Http\\Requests\\Api\\V2\\StoreCustomerRequest::messages<\/a>"],[100,1,"<a href=\"Http\/Requests\/Api\/V2\/UpdateCustomerRequest.php.html#16\">App\\Http\\Requests\\Api\\V2\\UpdateCustomerRequest::rules<\/a>"],[100,1,"<a href=\"Http\/Requests\/Api\/V2\/UpdateCustomerRequest.php.html#81\">App\\Http\\Requests\\Api\\V2\\UpdateCustomerRequest::messages<\/a>"],[100,1,"<a href=\"Http\/Requests\/CustomerExport.php.html#18\">App\\Http\\Requests\\CustomerExport::authorize<\/a>"],[100,2,"<a href=\"Http\/Requests\/CustomerExport.php.html#28\">App\\Http\\Requests\\CustomerExport::rules<\/a>"],[100,1,"<a href=\"Http\/Requests\/GenerateServiceToken.php.html#17\">App\\Http\\Requests\\GenerateServiceToken::authorize<\/a>"],[100,1,"<a href=\"Http\/Requests\/GenerateServiceToken.php.html#27\">App\\Http\\Requests\\GenerateServiceToken::rules<\/a>"],[100,1,"<a href=\"Http\/Requests\/ManageBrandRequest.php.html#33\">App\\Http\\Requests\\ManageBrandRequest::authorize<\/a>"],[100,2,"<a href=\"Http\/Requests\/ManageBrandRequest.php.html#43\">App\\Http\\Requests\\ManageBrandRequest::rules<\/a>"],[100,1,"<a href=\"Http\/Requests\/ManageServiceRequest.php.html#33\">App\\Http\\Requests\\ManageServiceRequest::authorize<\/a>"],[100,2,"<a href=\"Http\/Requests\/ManageServiceRequest.php.html#43\">App\\Http\\Requests\\ManageServiceRequest::rules<\/a>"],[100,1,"<a href=\"Http\/Requests\/QuestionExport.php.html#17\">App\\Http\\Requests\\QuestionExport::authorize<\/a>"],[100,1,"<a href=\"Http\/Requests\/QuestionExport.php.html#27\">App\\Http\\Requests\\QuestionExport::rules<\/a>"],[100,1,"<a href=\"Http\/Requests\/StatsByBrandRequest.php.html#20\">App\\Http\\Requests\\StatsByBrandRequest::authorize<\/a>"],[100,5,"<a href=\"Http\/Requests\/StatsByBrandRequest.php.html#32\">App\\Http\\Requests\\StatsByBrandRequest::rules<\/a>"],[100,1,"<a href=\"Http\/Requests\/StatsByQuestionRequest.php.html#20\">App\\Http\\Requests\\StatsByQuestionRequest::authorize<\/a>"],[100,5,"<a href=\"Http\/Requests\/StatsByQuestionRequest.php.html#32\">App\\Http\\Requests\\StatsByQuestionRequest::rules<\/a>"],[100,1,"<a href=\"Http\/Resources\/Api\/V2\/AnswersResource.php.html#17\">App\\Http\\Resources\\Api\\V2\\AnswersResource::toArray<\/a>"],[100,1,"<a href=\"Http\/Resources\/Api\/V2\/ApiResponse.php.html#21\">App\\Http\\Resources\\Api\\V2\\ApiResponse::__construct<\/a>"],[100,1,"<a href=\"Http\/Resources\/Api\/V2\/ApiResponse.php.html#34\">App\\Http\\Resources\\Api\\V2\\ApiResponse::toArray<\/a>"],[100,1,"<a href=\"Http\/Resources\/Api\/V2\/BrandStatsResource.php.html#17\">App\\Http\\Resources\\Api\\V2\\BrandStatsResource::toArray<\/a>"],[100,1,"<a href=\"Http\/Resources\/Api\/V2\/CustomerResource.php.html#44\">App\\Http\\Resources\\Api\\V2\\CustomerResource::__construct<\/a>"],[100,1,"<a href=\"Http\/Resources\/Api\/V2\/CustomerResource.php.html#72\">App\\Http\\Resources\\Api\\V2\\CustomerResource::toArray<\/a>"],[100,1,"<a href=\"Http\/Resources\/Api\/V2\/CustomerResource.php.html#96\">App\\Http\\Resources\\Api\\V2\\CustomerResource::getSkeleton<\/a>"],[100,1,"<a href=\"Http\/Resources\/Api\/V2\/QuestionStatsResource.php.html#21\">App\\Http\\Resources\\Api\\V2\\QuestionStatsResource::__construct<\/a>"],[100,1,"<a href=\"Http\/Resources\/Api\/V2\/QuestionStatsResource.php.html#34\">App\\Http\\Resources\\Api\\V2\\QuestionStatsResource::toArray<\/a>"],[100,1,"<a href=\"Http\/Resources\/Api\/V2\/QuestionsResource.php.html#22\">App\\Http\\Resources\\Api\\V2\\QuestionsResource::__construct<\/a>"],[100,2,"<a href=\"Http\/Resources\/Api\/V2\/QuestionsResource.php.html#35\">App\\Http\\Resources\\Api\\V2\\QuestionsResource::toArray<\/a>"],[100,1,"<a href=\"Http\/Resources\/CustomerResource.php.html#19\">App\\Http\\Resources\\CustomerResource::__construct<\/a>"],[100,1,"<a href=\"Http\/Resources\/CustomerResource.php.html#32\">App\\Http\\Resources\\CustomerResource::toArray<\/a>"],[100,1,"<a href=\"Http\/Sanitizers\/RemoveSpaces.php.html#13\">App\\Http\\Sanitizers\\RemoveSpaces::sanitize<\/a>"],[100,1,"<a href=\"Jobs\/SetServiceStats.php.html#35\">App\\Jobs\\SetServiceStats::__construct<\/a>"],[100,2,"<a href=\"Jobs\/SetServiceStats.php.html#45\">App\\Jobs\\SetServiceStats::handle<\/a>"],[100,1,"<a href=\"Jobs\/SetServiceStats.php.html#65\">App\\Jobs\\SetServiceStats::retryUntil<\/a>"],[100,1,"<a href=\"Jobs\/SetServiceStats.php.html#75\">App\\Jobs\\SetServiceStats::middleware<\/a>"],[100,2,"<a href=\"Jobs\/StartStatJobs.php.html#25\">App\\Jobs\\StartStatJobs::handle<\/a>"],[100,1,"<a href=\"Jobs\/StatJob.php.html#47\">App\\Jobs\\StatJob::__construct<\/a>"],[100,1,"<a href=\"Jobs\/StatJob.php.html#57\">App\\Jobs\\StatJob::handle<\/a>"],[100,1,"<a href=\"Jobs\/StatJob.php.html#81\">App\\Jobs\\StatJob::middleware<\/a>"],[100,1,"<a href=\"Jobs\/UpdateCustomerLastConnection.php.html#41\">App\\Jobs\\UpdateCustomerLastConnection::__construct<\/a>"],[100,2,"<a href=\"Jobs\/UpdateCustomerLastConnection.php.html#56\">App\\Jobs\\UpdateCustomerLastConnection::handle<\/a>"],[100,2,"<a href=\"Lib\/Helper.php.html#30\">App\\Lib\\Helper::isRequestForApiV2<\/a>"],[100,3,"<a href=\"Lib\/Helper.php.html#44\">App\\Lib\\Helper::isRequestForApiV1<\/a>"],[100,2,"<a href=\"Lib\/Helper.php.html#58\">App\\Lib\\Helper::getRouteName<\/a>"],[0,4,"<a href=\"Lib\/Helper.php.html#69\">App\\Lib\\Helper::getBearerTokenFromRequest<\/a>"],[100,3,"<a href=\"Lib\/Helper.php.html#90\">App\\Lib\\Helper::getRoutePrefix<\/a>"],[100,1,"<a href=\"Lib\/Helper.php.html#102\">App\\Lib\\Helper::getRoute<\/a>"],[100,2,"<a href=\"Lib\/Helper.php.html#112\">App\\Lib\\Helper::getPackageInfo<\/a>"],[87.5,7,"<a href=\"Lib\/Helper.php.html#130\">App\\Lib\\Helper::signRequest<\/a>"],[100,1,"<a href=\"Lib\/MigrateOldData.php.html#34\">App\\Lib\\MigrateOldData::runMigration<\/a>"],[100,15,"<a href=\"Lib\/MigrateOldData.php.html#48\">App\\Lib\\MigrateOldData::instruct<\/a>"],[100,1,"<a href=\"Lib\/MigrateOldData.php.html#226\">App\\Lib\\MigrateOldData::initFile<\/a>"],[100,2,"<a href=\"Lib\/MigrateOldData.php.html#237\">App\\Lib\\MigrateOldData::write<\/a>"],[100,1,"<a href=\"Mail\/CourrierArcadiaError.php.html#35\">App\\Mail\\CourrierArcadiaError::__construct<\/a>"],[100,1,"<a href=\"Mail\/CourrierArcadiaError.php.html#47\">App\\Mail\\CourrierArcadiaError::build<\/a>"],[100,1,"<a href=\"Mail\/ServiceCredentialRenewed.php.html#35\">App\\Mail\\ServiceCredentialRenewed::__construct<\/a>"],[100,1,"<a href=\"Mail\/ServiceCredentialRenewed.php.html#46\">App\\Mail\\ServiceCredentialRenewed::build<\/a>"],[100,1,"<a href=\"Models\/Answer.php.html#37\">App\\Models\\Answer::__construct<\/a>"],[100,1,"<a href=\"Models\/Answer.php.html#65\">App\\Models\\Answer::question<\/a>"],[100,1,"<a href=\"Models\/Answer.php.html#75\">App\\Models\\Answer::customers<\/a>"],[100,1,"<a href=\"Models\/Brand.php.html#46\">App\\Models\\Brand::__construct<\/a>"],[100,1,"<a href=\"Models\/Brand.php.html#77\">App\\Models\\Brand::getCacheBaseTags<\/a>"],[70,1,"<a href=\"Models\/Brand.php.html#89\">App\\Models\\Brand::booted<\/a>"],[100,1,"<a href=\"Models\/Brand.php.html#112\">App\\Models\\Brand::services<\/a>"],[100,1,"<a href=\"Models\/Brand.php.html#122\">App\\Models\\Brand::questions<\/a>"],[0,1,"<a href=\"Models\/Brand.php.html#132\">App\\Models\\Brand::customerInfos<\/a>"],[0,1,"<a href=\"Models\/Brand.php.html#142\">App\\Models\\Brand::servicesStats<\/a>"],[0,1,"<a href=\"Models\/Brand.php.html#152\">App\\Models\\Brand::singleOptins<\/a>"],[0,1,"<a href=\"Models\/Brand.php.html#164\">App\\Models\\Brand::getAccountsAttribute<\/a>"],[0,1,"<a href=\"Models\/Brand.php.html#174\">App\\Models\\Brand::getTotalOptinsAttribute<\/a>"],[60,2,"<a href=\"Models\/BrandStat.php.html#42\">App\\Models\\BrandStat::booted<\/a>"],[0,1,"<a href=\"Models\/BrandStat.php.html#58\">App\\Models\\BrandStat::brand<\/a>"],[100,1,"<a href=\"Models\/Customer.php.html#35\">App\\Models\\Customer::infos<\/a>"],[100,1,"<a href=\"Models\/Customer.php.html#45\">App\\Models\\Customer::logins<\/a>"],[100,1,"<a href=\"Models\/Customer.php.html#55\">App\\Models\\Customer::optInHistory<\/a>"],[100,1,"<a href=\"Models\/Customer.php.html#65\">App\\Models\\Customer::brands<\/a>"],[100,1,"<a href=\"Models\/Customer.php.html#75\">App\\Models\\Customer::answers<\/a>"],[92.85714285714286,6,"<a href=\"Models\/Customer.php.html#91\">App\\Models\\Customer::info<\/a>"],[92.85714285714286,6,"<a href=\"Models\/Customer.php.html#124\">App\\Models\\Customer::login<\/a>"],[83.33333333333334,5,"<a href=\"Models\/Customer.php.html#156\">App\\Models\\Customer::loadBrandData<\/a>"],[100,1,"<a href=\"Models\/Customer.php.html#183\">App\\Models\\Customer::setOptIn<\/a>"],[100,1,"<a href=\"Models\/Customer.php.html#202\">App\\Models\\Customer::getAnswers<\/a>"],[100,1,"<a href=\"Models\/CustomerAnswer.php.html#15\">App\\Models\\CustomerAnswer::getUpdatedAtColumn<\/a>"],[100,1,"<a href=\"Models\/CustomerAnswer.php.html#27\">App\\Models\\CustomerAnswer::customer<\/a>"],[100,1,"<a href=\"Models\/CustomerAnswer.php.html#37\">App\\Models\\CustomerAnswer::answer<\/a>"],[100,1,"<a href=\"Models\/CustomerInfo.php.html#57\">App\\Models\\CustomerInfo::booted<\/a>"],[100,1,"<a href=\"Models\/CustomerInfo.php.html#78\">App\\Models\\CustomerInfo::customer<\/a>"],[0,1,"<a href=\"Models\/CustomerInfo.php.html#88\">App\\Models\\CustomerInfo::login<\/a>"],[100,1,"<a href=\"Models\/CustomerInfo.php.html#98\">App\\Models\\CustomerInfo::brand<\/a>"],[100,1,"<a href=\"Models\/CustomerInfo.php.html#112\">App\\Models\\CustomerInfo::getFromEmail<\/a>"],[100,3,"<a href=\"Models\/CustomerLogin.php.html#45\">App\\Models\\CustomerLogin::booted<\/a>"],[100,1,"<a href=\"Models\/CustomerLogin.php.html#66\">App\\Models\\CustomerLogin::customer<\/a>"],[100,1,"<a href=\"Models\/CustomerLogin.php.html#76\">App\\Models\\CustomerLogin::brand<\/a>"],[100,1,"<a href=\"Models\/CustomerLogin.php.html#88\">App\\Models\\CustomerLogin::passwordMatch<\/a>"],[100,1,"<a href=\"Models\/CustomerOptInHistory.php.html#26\">App\\Models\\CustomerOptInHistory::customer<\/a>"],[100,1,"<a href=\"Models\/CustomerOptInHistory.php.html#36\">App\\Models\\CustomerOptInHistory::brand<\/a>"],[100,1,"<a href=\"Models\/Question.php.html#50\">App\\Models\\Question::__construct<\/a>"],[100,1,"<a href=\"Models\/Question.php.html#108\">App\\Models\\Question::brand<\/a>"],[100,1,"<a href=\"Models\/Question.php.html#118\">App\\Models\\Question::answers<\/a>"],[100,1,"<a href=\"Models\/Service.php.html#53\">App\\Models\\Service::__construct<\/a>"],[100,1,"<a href=\"Models\/Service.php.html#95\">App\\Models\\Service::getCacheBaseTags<\/a>"],[64.28571428571429,1,"<a href=\"Models\/Service.php.html#107\">App\\Models\\Service::booted<\/a>"],[100,1,"<a href=\"Models\/Service.php.html#134\">App\\Models\\Service::brand<\/a>"],[0,1,"<a href=\"Models\/Service.php.html#144\">App\\Models\\Service::servicesStats<\/a>"],[0,1,"<a href=\"Models\/Service.php.html#156\">App\\Models\\Service::generateBearerToken<\/a>"],[0,1,"<a href=\"Models\/Service.php.html#170\">App\\Models\\Service::generateBearerPassword<\/a>"],[100,1,"<a href=\"Models\/Service.php.html#182\">App\\Models\\Service::incrementStat<\/a>"],[100,5,"<a href=\"Models\/Service.php.html#197\">App\\Models\\Service::getFromBearerToken<\/a>"],[100,1,"<a href=\"Models\/Service.php.html#254\">App\\Models\\Service::authenticateApi<\/a>"],[100,1,"<a href=\"Models\/ServiceStat.php.html#35\">App\\Models\\ServiceStat::brand<\/a>"],[100,1,"<a href=\"Models\/ServiceStat.php.html#45\">App\\Models\\ServiceStat::service<\/a>"],[78.57142857142857,3,"<a href=\"Models\/SingleOptin.php.html#37\">App\\Models\\SingleOptin::__construct<\/a>"],[100,1,"<a href=\"Models\/SingleOptin.php.html#96\">App\\Models\\SingleOptin::brand<\/a>"],[100,1,"<a href=\"Policies\/AnswerPolicy.php.html#18\">App\\Policies\\AnswerPolicy::setPolicies<\/a>"],[100,1,"<a href=\"Policies\/BrandPolicy.php.html#18\">App\\Policies\\BrandPolicy::setPolicies<\/a>"],[100,1,"<a href=\"Policies\/CustomerPolicy.php.html#23\">App\\Policies\\CustomerPolicy::setPolicies<\/a>"],[100,1,"<a href=\"Policies\/CustomerPolicy.php.html#46\">App\\Policies\\CustomerPolicy::customerBelongsToService<\/a>"],[100,1,"<a href=\"Policies\/QuestionPolicy.php.html#20\">App\\Policies\\QuestionPolicy::setPolicies<\/a>"],[100,1,"<a href=\"Policies\/QuestionPolicy.php.html#43\">App\\Policies\\QuestionPolicy::questionBelongsToService<\/a>"],[100,1,"<a href=\"Policies\/Rules\/UserStaticRules.php.html#19\">App\\Policies\\Rules\\UserStaticRules::everyOne<\/a>"],[100,1,"<a href=\"Policies\/Rules\/UserStaticRules.php.html#28\">App\\Policies\\Rules\\UserStaticRules::noOne<\/a>"],[100,1,"<a href=\"Policies\/ServicePolicy.php.html#18\">App\\Policies\\ServicePolicy::setPolicies<\/a>"],[100,1,"<a href=\"Policies\/SingleOptinPolicy.php.html#18\">App\\Policies\\SingleOptinPolicy::setPolicies<\/a>"],[100,4,"<a href=\"Providers\/AppServiceProvider.php.html#27\">App\\Providers\\AppServiceProvider::boot<\/a>"],[100,5,"<a href=\"Providers\/AuthServiceProvider.php.html#26\">App\\Providers\\AuthServiceProvider::boot<\/a>"],[100,5,"<a href=\"Providers\/RouteServiceProvider.php.html#35\">App\\Providers\\RouteServiceProvider::boot<\/a>"],[100,2,"<a href=\"Providers\/RouteServiceProvider.php.html#93\">App\\Providers\\RouteServiceProvider::configureRateLimiting<\/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>
|