2021-12-19 15:57:24 +01:00
<!DOCTYPE html>
< html lang = "en" >
< head >
< meta charset = "UTF-8" >
2023-09-06 17:24:53 +02:00
< title > Dashboard for /home/jeremy/projets/crm/app/Policies< / title >
2021-12-19 15:57:24 +01:00
< meta name = "viewport" content = "width=device-width, initial-scale=1.0" >
2023-09-06 17:24:53 +02:00
< link href = "../../_css/bootstrap.min.css?v=10.1.7" rel = "stylesheet" type = "text/css" >
< link href = "../../_css/nv.d3.min.css?v=10.1.7" rel = "stylesheet" type = "text/css" >
< link href = "../../_css/style.css?v=10.1.7" rel = "stylesheet" type = "text/css" >
2021-12-19 15:57:24 +01:00
< 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" >
2023-09-06 17:24:53 +02:00
< li class = "breadcrumb-item" > < a href = "../../index.html" > /home/jeremy/projets/crm< / a > < / li >
2021-12-19 15:57:24 +01:00
< li class = "breadcrumb-item" > < a href = "../index.html" > app< / a > < / li >
< li class = "breadcrumb-item" > < a href = "index.html" > Policies< / 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 >
2023-09-06 17:24:53 +02:00
< tr > < td > < a href = "AnswerPolicy.php.html#7" > App\Policies\AnswerPolicy< / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "BrandPolicy.php.html#7" > App\Policies\BrandPolicy< / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "ServicePolicy.php.html#7" > App\Policies\ServicePolicy< / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "SingleOptinPolicy.php.html#7" > App\Policies\SingleOptinPolicy< / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
2023-10-06 15:00:42 +02:00
< tr > < td > < a href = "UserPolicy.php.html#9" > App\Policies\UserPolicy< / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
2023-09-06 17:24:53 +02:00
< tr > < td > < a href = "CustomerPolicy.php.html#10" > App\Policies\CustomerPolicy< / a > < / td > < td class = "text-right" > 16%< / td > < / tr >
< tr > < td > < a href = "QuestionPolicy.php.html#9" > App\Policies\QuestionPolicy< / a > < / td > < td class = "text-right" > 16%< / td > < / tr >
2021-12-19 15:57:24 +01:00
< / 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 >
2023-10-06 15:00:42 +02:00
< tr > < td > < a href = "UserPolicy.php.html#9" > App\Policies\UserPolicy< / a > < / td > < td class = "text-right" > 506< / td > < / tr >
2021-12-19 15:57:24 +01:00
< / 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 >
2023-09-06 17:24:53 +02:00
< tr > < td > < a href = "AnswerPolicy.php.html#14" > < abbr title = "App\Policies\AnswerPolicy::view" > view< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "AnswerPolicy.php.html#24" > < abbr title = "App\Policies\AnswerPolicy::viewAny" > viewAny< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "AnswerPolicy.php.html#34" > < abbr title = "App\Policies\AnswerPolicy::create" > create< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "AnswerPolicy.php.html#44" > < abbr title = "App\Policies\AnswerPolicy::update" > update< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "AnswerPolicy.php.html#54" > < abbr title = "App\Policies\AnswerPolicy::delete" > delete< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "BrandPolicy.php.html#14" > < abbr title = "App\Policies\BrandPolicy::view" > view< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "BrandPolicy.php.html#24" > < abbr title = "App\Policies\BrandPolicy::viewAny" > viewAny< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "BrandPolicy.php.html#34" > < abbr title = "App\Policies\BrandPolicy::create" > create< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "BrandPolicy.php.html#44" > < abbr title = "App\Policies\BrandPolicy::update" > update< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "BrandPolicy.php.html#54" > < abbr title = "App\Policies\BrandPolicy::delete" > delete< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "CustomerPolicy.php.html#19" > < abbr title = "App\Policies\CustomerPolicy::view" > view< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "CustomerPolicy.php.html#29" > < abbr title = "App\Policies\CustomerPolicy::viewAny" > viewAny< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "CustomerPolicy.php.html#39" > < abbr title = "App\Policies\CustomerPolicy::create" > create< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "CustomerPolicy.php.html#49" > < abbr title = "App\Policies\CustomerPolicy::update" > update< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "CustomerPolicy.php.html#59" > < abbr title = "App\Policies\CustomerPolicy::delete" > delete< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "QuestionPolicy.php.html#16" > < abbr title = "App\Policies\QuestionPolicy::view" > view< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "QuestionPolicy.php.html#26" > < abbr title = "App\Policies\QuestionPolicy::viewAny" > viewAny< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "QuestionPolicy.php.html#36" > < abbr title = "App\Policies\QuestionPolicy::create" > create< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "QuestionPolicy.php.html#46" > < abbr title = "App\Policies\QuestionPolicy::update" > update< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "QuestionPolicy.php.html#56" > < abbr title = "App\Policies\QuestionPolicy::delete" > delete< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "ServicePolicy.php.html#14" > < abbr title = "App\Policies\ServicePolicy::view" > view< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "ServicePolicy.php.html#24" > < abbr title = "App\Policies\ServicePolicy::viewAny" > viewAny< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "ServicePolicy.php.html#34" > < abbr title = "App\Policies\ServicePolicy::create" > create< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "ServicePolicy.php.html#44" > < abbr title = "App\Policies\ServicePolicy::update" > update< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "ServicePolicy.php.html#54" > < abbr title = "App\Policies\ServicePolicy::delete" > delete< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "SingleOptinPolicy.php.html#14" > < abbr title = "App\Policies\SingleOptinPolicy::view" > view< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "SingleOptinPolicy.php.html#24" > < abbr title = "App\Policies\SingleOptinPolicy::viewAny" > viewAny< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "SingleOptinPolicy.php.html#34" > < abbr title = "App\Policies\SingleOptinPolicy::create" > create< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "SingleOptinPolicy.php.html#44" > < abbr title = "App\Policies\SingleOptinPolicy::update" > update< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "SingleOptinPolicy.php.html#54" > < abbr title = "App\Policies\SingleOptinPolicy::delete" > delete< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
2023-10-06 15:00:42 +02:00
< tr > < td > < a href = "UserPolicy.php.html#17" > < abbr title = "App\Policies\UserPolicy::viewAny" > viewAny< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "UserPolicy.php.html#29" > < abbr title = "App\Policies\UserPolicy::view" > view< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "UserPolicy.php.html#41" > < abbr title = "App\Policies\UserPolicy::create" > create< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "UserPolicy.php.html#53" > < abbr title = "App\Policies\UserPolicy::update" > update< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "UserPolicy.php.html#67" > < abbr title = "App\Policies\UserPolicy::delete" > delete< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "UserPolicy.php.html#81" > < abbr title = "App\Policies\UserPolicy::restore" > restore< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "UserPolicy.php.html#95" > < abbr title = "App\Policies\UserPolicy::forceDelete" > forceDelete< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "UserPolicy.php.html#109" > < abbr title = "App\Policies\UserPolicy::duplicate" > duplicate< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "UserPolicy.php.html#123" > < abbr title = "App\Policies\UserPolicy::changePublished" > changePublished< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
2021-12-19 15:57:24 +01:00
< / 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 >
2023-10-06 15:00:42 +02:00
< tr > < td > < a href = "UserPolicy.php.html#53" > < abbr title = "App\Policies\UserPolicy::update" > update< / abbr > < / a > < / td > < td class = "text-right" > 12< / td > < / tr >
< tr > < td > < a href = "UserPolicy.php.html#67" > < abbr title = "App\Policies\UserPolicy::delete" > delete< / abbr > < / a > < / td > < td class = "text-right" > 12< / td > < / tr >
< tr > < td > < a href = "UserPolicy.php.html#81" > < abbr title = "App\Policies\UserPolicy::restore" > restore< / abbr > < / a > < / td > < td class = "text-right" > 12< / td > < / tr >
< tr > < td > < a href = "UserPolicy.php.html#95" > < abbr title = "App\Policies\UserPolicy::forceDelete" > forceDelete< / abbr > < / a > < / td > < td class = "text-right" > 12< / td > < / tr >
< tr > < td > < a href = "UserPolicy.php.html#109" > < abbr title = "App\Policies\UserPolicy::duplicate" > duplicate< / abbr > < / a > < / td > < td class = "text-right" > 12< / td > < / tr >
< tr > < td > < a href = "UserPolicy.php.html#123" > < abbr title = "App\Policies\UserPolicy::changePublished" > changePublished< / abbr > < / a > < / td > < td class = "text-right" > 12< / td > < / tr >
< tr > < td > < a href = "UserPolicy.php.html#29" > < abbr title = "App\Policies\UserPolicy::view" > view< / abbr > < / a > < / td > < td class = "text-right" > 6< / td > < / tr >
2021-12-19 15:57:24 +01:00
< / tbody >
< / table >
< / div >
< / div >
< / div >
< footer >
< hr / >
< p >
2023-10-06 15:00:42 +02:00
< small > Generated by < a href = "https://github.com/sebastianbergmann/php-code-coverage" target = "_top" > php-code-coverage 10.1.7< / a > using < a href = "https://www.php.net/" target = "_top" > PHP 8.2.10< / a > and < a href = "https://phpunit.de/" > PHPUnit 10.4.0< / a > at Fri Oct 6 15:56:10 CEST 2023.< / small >
2021-12-19 15:57:24 +01:00
< / p >
< / footer >
< / div >
2023-09-06 17:24:53 +02:00
< script src = "../../_js/jquery.min.js?v=10.1.7" type = "text/javascript" > < / script >
< script src = "../../_js/d3.min.js?v=10.1.7" type = "text/javascript" > < / script >
< script src = "../../_js/nv.d3.min.js?v=10.1.7" type = "text/javascript" > < / script >
2021-12-19 15:57:24 +01:00
< 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')
2023-10-06 15:00:42 +02:00
.datum(getCoverageDistributionData([5,0,2,0,0,0,0,0,0,0,0,1], "Class Coverage"))
2021-12-19 15:57:24 +01:00
.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')
2023-10-06 15:00:42 +02:00
.datum(getCoverageDistributionData([39,0,0,0,0,0,0,0,0,0,0,5], "Method Coverage"))
2021-12-19 15:57:24 +01:00
.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')
2023-10-06 15:00:42 +02:00
.datum(getComplexityData([[0,5,"< a href = \"AnswerPolicy.php.html#7\" > App\\Policies\\AnswerPolicy< \/a>"],[0,5,"< a href = \"BrandPolicy.php.html#7\" > App\\Policies\\BrandPolicy< \/a>"],[16.666666666666664,6,"< a href = \"CustomerPolicy.php.html#10\" > App\\Policies\\CustomerPolicy< \/a>"],[16.666666666666664,6,"< a href = \"QuestionPolicy.php.html#9\" > App\\Policies\\QuestionPolicy< \/a>"],[100,3,"< a href = \"Rules\/UserStaticRules.php.html#13\" > App\\Policies\\Rules\\UserStaticRules< \/a>"],[0,5,"< a href = \"ServicePolicy.php.html#7\" > App\\Policies\\ServicePolicy< \/a>"],[0,5,"< a href = \"SingleOptinPolicy.php.html#7\" > App\\Policies\\SingleOptinPolicy< \/a>"],[0,22,"< a href = \"UserPolicy.php.html#9\" > App\\Policies\\UserPolicy< \/a>"]], 'Class Complexity'))
2021-12-19 15:57:24 +01:00
.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')
2023-10-06 15:00:42 +02:00
.datum(getComplexityData([[0,1,"< a href = \"AnswerPolicy.php.html#14\" > App\\Policies\\AnswerPolicy::view< \/a>"],[0,1,"< a href = \"AnswerPolicy.php.html#24\" > App\\Policies\\AnswerPolicy::viewAny< \/a>"],[0,1,"< a href = \"AnswerPolicy.php.html#34\" > App\\Policies\\AnswerPolicy::create< \/a>"],[0,1,"< a href = \"AnswerPolicy.php.html#44\" > App\\Policies\\AnswerPolicy::update< \/a>"],[0,1,"< a href = \"AnswerPolicy.php.html#54\" > App\\Policies\\AnswerPolicy::delete< \/a>"],[0,1,"< a href = \"BrandPolicy.php.html#14\" > App\\Policies\\BrandPolicy::view< \/a>"],[0,1,"< a href = \"BrandPolicy.php.html#24\" > App\\Policies\\BrandPolicy::viewAny< \/a>"],[0,1,"< a href = \"BrandPolicy.php.html#34\" > App\\Policies\\BrandPolicy::create< \/a>"],[0,1,"< a href = \"BrandPolicy.php.html#44\" > App\\Policies\\BrandPolicy::update< \/a>"],[0,1,"< a href = \"BrandPolicy.php.html#54\" > App\\Policies\\BrandPolicy::delete< \/a>"],[0,1,"< a href = \"CustomerPolicy.php.html#19\" > App\\Policies\\CustomerPolicy::view< \/a>"],[0,1,"< a href = \"CustomerPolicy.php.html#29\" > App\\Policies\\CustomerPolicy::viewAny< \/a>"],[0,1,"< a href = \"CustomerPolicy.php.html#39\" > App\\Policies\\CustomerPolicy::create< \/a>"],[0,1,"< a href = \"CustomerPolicy.php.html#49\" > App\\Policies\\CustomerPolicy::update< \/a>"],[0,1,"< a href = \"CustomerPolicy.php.html#59\" > App\\Policies\\CustomerPolicy::delete< \/a>"],[100,1,"< a href = \"CustomerPolicy.php.html#71\" > App\\Policies\\CustomerPolicy::customerBelongsToService< \/a>"],[0,1,"< a href = \"QuestionPolicy.php.html#16\" > App\\Policies\\QuestionPolicy::view< \/a>"],[0,1,"< a href = \"QuestionPolicy.php.html#26\" > App\\Policies\\QuestionPolicy::viewAny< \/a>"],[0,1,"< a href = \"QuestionPolicy.php.html#36\" > App\\Policies\\QuestionPolicy::create< \/a>"],[0,1,"< a href = \"QuestionPolicy.php.html#46\" > App\\Policies\\QuestionPolicy::update< \/a>"],[0,1,"< a href = \"QuestionPolicy.php.html#56\" > App\\Policies\\QuestionPolicy::delete< \/a>"],[100,1,"< a href = \"QuestionPolicy.php.html#68\" > App\\Policies\\QuestionPolicy::questionBelongsToService< \/a>"],[100,1,"< a href = \"Rules\/UserStaticRules.php.html#20\" > App\\Policies\\Rules\\UserStaticRules::everyOne< \/a>"],[100,1,"< a href = \"Rules\/UserStaticRules.php.html#30\" > App\\Policies\\Rules\\UserStaticRules::noOne< \/a>"],[100,1,"< a href = \"Rules\/UserStaticRules.php.html#42\" > App\\Policies\\Rules\\UserStaticRules::atLeastRole< \/a>"],[0,1,"< a href = \"ServicePolicy.php.html#14\" > App\\Policies\\ServicePolicy::view< \/a>"],[0,1,"< a href = \"ServicePolicy.php.html#24\" > App\\Policies\\ServicePolicy::viewAny< \/a>"],[0,1,"< a href = \"ServicePolicy.php.html#34\" > App\\Policies\\ServicePolicy::create< \/a>"],[0,1,"< a href = \"ServicePolicy.php.html#44\" > App\\Policies\\ServicePolicy::update< \/a>"],[0,1,"< a href = \"ServicePolicy.php.html#54\" > App\\Policies\\ServicePolicy::delete< \/a>"],[0,1,"< a href = \"SingleOptinPolicy.php.html#14\" > App\\Policies\\SingleOptinPolicy::view< \/a>"],[0,1,"< a href = \"SingleOptinPolicy.php.html#24\" > App\\Policies\\SingleOptinPolicy::viewAny< \/a>"],[0,1,"< a href = \"SingleOptinPolicy.php.html#34\" > App\\Policies\\SingleOptinPolicy::create< \/a>"],[0,1,"< a href = \"SingleOptinPolicy.php.html#44\" > App\\Policies\\SingleOptinPolicy::update< \/a>"],[0,1,"< a href = \"SingleOptinPolicy.php.html#54\" > App\\Policies\\SingleOptinPolicy::delete< \/a>"],[0,1,"< a href = \"UserPolicy.php.html#17\" > App\\Policies\\UserPolicy::viewAny< \/a>"],[0,2,"< a href = \"UserPolicy.php.html#29\" > App\\Policies\\UserPolicy::view< \/a>"],[0,1,"< a href = \"UserPolicy.php.html#41\" > App\\Policies\\UserPolicy::create< \/a>"],[0,3,"< a href = \"UserPolicy.php.html#53\" > App\\Policies\\UserPolicy::update< \/a>"],[0,3,"< a href = \"UserPolicy.php.html#67\" > App\\Policies\\UserPolicy::delete< \/a>"],[0,3,"< a href = \"UserPolicy.php.html#81\" > App\\Policies\\UserPolicy::restore< \/a>"],[0,3,"< a href = \"UserPolicy.php.html#95\" > App\\Policies\\UserPolicy::forceDelete< \/a>"],[0,3,"< a href = \"UserPolicy.php.html#109\" > App\\Policies\\UserPolicy::duplicate< \/a>"],[0,3,"< a href = \"UserPolicy.php.html#123\" > App\\Policies\\UserPolicy::changePublished< \/a>"]], 'Method Complexity'))
2021-12-19 15:57:24 +01:00
.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 >