2023-09-06 17:24:53 +02:00
<!DOCTYPE html>
< html lang = "en" >
< head >
< meta charset = "UTF-8" >
< title > Dashboard for /home/jeremy/projets/crm/client< / title >
< meta name = "viewport" content = "width=device-width, initial-scale=1.0" >
< 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" >
< 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< / a > < / li >
< li class = "breadcrumb-item" > < a href = "index.html" > client< / 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 = "src/Exceptions/CrmException.php.html#15" > LDC\LDCCRM\Exceptions\CrmException< / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "src/Exceptions/ValidationException.php.html#14" > LDC\LDCCRM\Exceptions\ValidationException< / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "src/Exceptions/WpCrmInvalidJsonUserInfo.php.html#14" > LDC\LDCCRM\Exceptions\WpCrmInvalidJsonUserInfo< / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "src/WordPress/WPCrm.php.html#46" > LDC\LDCCRM\WordPress\WPCrm< / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "src/WordPress/WPCrmAnswer.php.html#27" > LDC\LDCCRM\WordPress\WPCrmAnswer< / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "src/WordPress/WPCrmQuestion.php.html#28" > LDC\LDCCRM\WordPress\WPCrmQuestion< / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "src/WordPress/WPCrmUser.php.html#53" > LDC\LDCCRM\WordPress\WPCrmUser< / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "src/Traits/BaseEnum.php.html#7" > LDC\LDCCRM\Traits\BaseEnum< / a > < / td > < td class = "text-right" > 54%< / td > < / tr >
< tr > < td > < a href = "src/Transport/Response.php.html#27" > LDC\LDCCRM\Transport\Response< / a > < / td > < td class = "text-right" > 68%< / td > < / tr >
< tr > < td > < a href = "src/Models/ClientModel.php.html#23" > LDC\LDCCRM\Models\ClientModel< / a > < / td > < td class = "text-right" > 78%< / td > < / tr >
< tr > < td > < a href = "src/Models/ArcadiaMailGame.php.html#37" > LDC\LDCCRM\Models\ArcadiaMailGame< / a > < / td > < td class = "text-right" > 80%< / td > < / tr >
< tr > < td > < a href = "src/Transport/ApiInterface.php.html#19" > LDC\LDCCRM\Transport\ApiInterface< / a > < / td > < td class = "text-right" > 84%< / td > < / tr >
< tr > < td > < a href = "src/Models/Question.php.html#25" > LDC\LDCCRM\Models\Question< / a > < / td > < td class = "text-right" > 84%< / td > < / tr >
< tr > < td > < a href = "src/Utils.php.html#24" > LDC\LDCCRM\Utils< / a > < / td > < td class = "text-right" > 86%< / 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 = "src/WordPress/WPCrm.php.html#46" > LDC\LDCCRM\WordPress\WPCrm< / a > < / td > < td class = "text-right" > 6320< / td > < / tr >
< tr > < td > < a href = "src/WordPress/WPCrmUser.php.html#53" > LDC\LDCCRM\WordPress\WPCrmUser< / a > < / td > < td class = "text-right" > 380< / td > < / tr >
< tr > < td > < a href = "src/Traits/BaseEnum.php.html#7" > LDC\LDCCRM\Traits\BaseEnum< / a > < / td > < td class = "text-right" > 158< / td > < / tr >
< tr > < td > < a href = "src/Utils.php.html#24" > LDC\LDCCRM\Utils< / a > < / td > < td class = "text-right" > 90< / td > < / tr >
< tr > < td > < a href = "src/Models/ClientModel.php.html#23" > LDC\LDCCRM\Models\ClientModel< / a > < / td > < td class = "text-right" > 73< / td > < / tr >
< tr > < td > < a href = "src/WordPress/WPCrmQuestion.php.html#28" > LDC\LDCCRM\WordPress\WPCrmQuestion< / a > < / td > < td class = "text-right" > 30< / td > < / tr >
< tr > < td > < a href = "src/Models/Question.php.html#25" > LDC\LDCCRM\Models\Question< / a > < / td > < td class = "text-right" > 27< / td > < / tr >
< tr > < td > < a href = "src/Transport/Response.php.html#27" > LDC\LDCCRM\Transport\Response< / a > < / td > < td class = "text-right" > 25< / td > < / tr >
< tr > < td > < a href = "src/Transport/ApiInterface.php.html#19" > LDC\LDCCRM\Transport\ApiInterface< / a > < / td > < td class = "text-right" > 21< / td > < / tr >
< tr > < td > < a href = "src/Models/ArcadiaMailGame.php.html#37" > LDC\LDCCRM\Models\ArcadiaMailGame< / a > < / td > < td class = "text-right" > 15< / 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 = "src/CrmApiV4.php.html#123" > < abbr title = "LDC\LDCCRM\CrmApiV4::unsetStatusWithHashcode" > unsetStatusWithHashcode< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "src/Exceptions/ApiErrorException.php.html#85" > < abbr title = "LDC\LDCCRM\Exceptions\ApiErrorException::getStatusCode" > getStatusCode< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "src/Exceptions/CrmException.php.html#23" > < abbr title = "LDC\LDCCRM\Exceptions\CrmException::report" > report< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "src/Exceptions/ValidationException.php.html#22" > < abbr title = "LDC\LDCCRM\Exceptions\ValidationException::report" > report< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "src/Exceptions/WpCrmInvalidJsonUserInfo.php.html#21" > < abbr title = "LDC\LDCCRM\Exceptions\WpCrmInvalidJsonUserInfo::__construct" > __construct< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "src/Models/Customer.php.html#433" > < abbr title = "LDC\LDCCRM\Models\Customer::findWithEmail" > findWithEmail< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "src/Models/Question.php.html#135" > < abbr title = "LDC\LDCCRM\Models\Question::__set" > __set< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "src/Models/Question.php.html#174" > < abbr title = "LDC\LDCCRM\Models\Question::validateAllValues" > validateAllValues< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "src/Utils.php.html#654" > < abbr title = "LDC\LDCCRM\Utils::log" > log< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "src/WordPress/WPCrm.php.html#82" > < abbr title = "LDC\LDCCRM\WordPress\WPCrm::getUser" > getUser< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "src/WordPress/WPCrm.php.html#94" > < abbr title = "LDC\LDCCRM\WordPress\WPCrm::forceLogin" > forceLogin< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "src/WordPress/WPCrm.php.html#114" > < abbr title = "LDC\LDCCRM\WordPress\WPCrm::getUserFromApi" > getUserFromApi< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "src/WordPress/WPCrm.php.html#148" > < abbr title = "LDC\LDCCRM\WordPress\WPCrm::login" > login< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "src/WordPress/WPCrm.php.html#167" > < abbr title = "LDC\LDCCRM\WordPress\WPCrm::logout" > logout< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "src/WordPress/WPCrm.php.html#181" > < abbr title = "LDC\LDCCRM\WordPress\WPCrm::check" > check< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "src/WordPress/WPCrm.php.html#198" > < abbr title = "LDC\LDCCRM\WordPress\WPCrm::saveUser" > saveUser< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "src/WordPress/WPCrm.php.html#229" > < abbr title = "LDC\LDCCRM\WordPress\WPCrm::deleteUser" > deleteUser< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "src/WordPress/WPCrm.php.html#261" > < abbr title = "LDC\LDCCRM\WordPress\WPCrm::toggleUserOptin" > toggleUserOptin< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "src/WordPress/WPCrm.php.html#296" > < abbr title = "LDC\LDCCRM\WordPress\WPCrm::setSingleOptin" > setSingleOptin< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "src/WordPress/WPCrm.php.html#314" > < abbr title = "LDC\LDCCRM\WordPress\WPCrm::activateUser" > activateUser< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "src/WordPress/WPCrm.php.html#334" > < abbr title = "LDC\LDCCRM\WordPress\WPCrm::getNewUser" > getNewUser< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "src/WordPress/WPCrm.php.html#346" > < abbr title = "LDC\LDCCRM\WordPress\WPCrm::unsetActiveUser" > unsetActiveUser< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "src/WordPress/WPCrm.php.html#365" > < abbr title = "LDC\LDCCRM\WordPress\WPCrm::loginUserWithApi" > loginUserWithApi< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "src/WordPress/WPCrm.php.html#379" > < abbr title = "LDC\LDCCRM\WordPress\WPCrm::getCustomer" > getCustomer< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "src/WordPress/WPCrm.php.html#401" > < abbr title = "LDC\LDCCRM\WordPress\WPCrm::setUser" > setUser< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "src/WordPress/WPCrm.php.html#416" > < abbr title = "LDC\LDCCRM\WordPress\WPCrm::initLdcApi" > initLdcApi< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "src/WordPress/WPCrm.php.html#439" > < abbr title = "LDC\LDCCRM\WordPress\WPCrm::makeApiV4Call" > makeApiV4Call< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "src/WordPress/WPCrm.php.html#463" > < abbr title = "LDC\LDCCRM\WordPress\WPCrm::bootSessionIfNeeded" > bootSessionIfNeeded< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "src/WordPress/WPCrm.php.html#503" > < abbr title = "LDC\LDCCRM\WordPress\WPCrm::getUserFromTable" > getUserFromTable< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "src/WordPress/WPCrm.php.html#523" > < abbr title = "LDC\LDCCRM\WordPress\WPCrm::getUserFromTableByEmail" > getUserFromTableByEmail< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "src/WordPress/WPCrm.php.html#543" > < abbr title = "LDC\LDCCRM\WordPress\WPCrm::getUserFromTableByUuid" > getUserFromTableByUuid< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "src/WordPress/WPCrm.php.html#561" > < abbr title = "LDC\LDCCRM\WordPress\WPCrm::saveOrUpdateUserToTable" > saveOrUpdateUserToTable< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "src/WordPress/WPCrm.php.html#588" > < abbr title = "LDC\LDCCRM\WordPress\WPCrm::deleteUserFromTable" > deleteUserFromTable< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "src/WordPress/WPCrm.php.html#607" > < abbr title = "LDC\LDCCRM\WordPress\WPCrm::query" > query< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "src/WordPress/WPCrm.php.html#619" > < abbr title = "LDC\LDCCRM\WordPress\WPCrm::getWpDb" > getWpDb< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "src/WordPress/WPCrmAnswer.php.html#44" > < abbr title = "LDC\LDCCRM\WordPress\WPCrmAnswer::setQuestionAnswers" > setQuestionAnswers< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "src/WordPress/WPCrmQuestion.php.html#38" > < abbr title = "LDC\LDCCRM\WordPress\WPCrmQuestion::getAll" > getAll< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "src/WordPress/WPCrmQuestion.php.html#55" > < abbr title = "LDC\LDCCRM\WordPress\WPCrmQuestion::allWithCustomerAnswers" > allWithCustomerAnswers< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "src/WordPress/WPCrmQuestion.php.html#78" > < abbr title = "LDC\LDCCRM\WordPress\WPCrmQuestion::unansweredBy" > unansweredBy< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "src/WordPress/WPCrmUser.php.html#89" > < abbr title = "LDC\LDCCRM\WordPress\WPCrmUser::__construct" > __construct< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "src/WordPress/WPCrmUser.php.html#102" > < abbr title = "LDC\LDCCRM\WordPress\WPCrmUser::__get" > __get< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "src/WordPress/WPCrmUser.php.html#125" > < abbr title = "LDC\LDCCRM\WordPress\WPCrmUser::__set" > __set< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "src/WordPress/WPCrmUser.php.html#152" > < abbr title = "LDC\LDCCRM\WordPress\WPCrmUser::setInfo" > setInfo< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "src/WordPress/WPCrmUser.php.html#168" > < abbr title = "LDC\LDCCRM\WordPress\WPCrmUser::parseFromJson" > parseFromJson< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "src/WordPress/WPCrmUser.php.html#190" > < abbr title = "LDC\LDCCRM\WordPress\WPCrmUser::jsonSerialize" > jsonSerialize< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "src/WordPress/WPCrmUser.php.html#208" > < abbr title = "LDC\LDCCRM\WordPress\WPCrmUser::save" > save< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "src/WordPress/WPCrmUser.php.html#222" > < abbr title = "LDC\LDCCRM\WordPress\WPCrmUser::delete" > delete< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "src/WordPress/WPCrmUser.php.html#236" > < abbr title = "LDC\LDCCRM\WordPress\WPCrmUser::toggleOptin" > toggleOptin< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "src/WordPress/WPCrmUser.php.html#251" > < abbr title = "LDC\LDCCRM\WordPress\WPCrmUser::activate" > activate< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "src/Traits/BaseEnum.php.html#83" > < abbr title = "LDC\LDCCRM\Traits\BaseEnum::all" > all< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "src/Traits/BaseEnum.php.html#93" > < abbr title = "LDC\LDCCRM\Traits\BaseEnum::toArray" > toArray< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "src/Traits/BaseEnum.php.html#159" > < abbr title = "LDC\LDCCRM\Traits\BaseEnum::jsonSerialize" > jsonSerialize< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "src/Traits/BaseEnum.php.html#240" > < abbr title = "LDC\LDCCRM\Traits\BaseEnum::getCustomDefinitions" > getCustomDefinitions< / abbr > < / a > < / td > < td class = "text-right" > 0%< / td > < / tr >
< tr > < td > < a href = "src/Models/ArcadiaMailGame.php.html#293" > < abbr title = "LDC\LDCCRM\Models\ArcadiaMailGame::fill" > fill< / abbr > < / a > < / td > < td class = "text-right" > 25%< / td > < / tr >
< tr > < td > < a href = "src/Transport/ApiInterface.php.html#158" > < abbr title = "LDC\LDCCRM\Transport\ApiInterface::setCredentials" > setCredentials< / abbr > < / a > < / td > < td class = "text-right" > 28%< / td > < / tr >
< tr > < td > < a href = "src/Models/ClientModel.php.html#175" > < abbr title = "LDC\LDCCRM\Models\ClientModel::fillRaw" > fillRaw< / abbr > < / a > < / td > < td class = "text-right" > 30%< / td > < / tr >
< tr > < td > < a href = "src/Transport/Response.php.html#188" > < abbr title = "LDC\LDCCRM\Transport\Response::checkVersion" > checkVersion< / abbr > < / a > < / td > < td class = "text-right" > 31%< / td > < / tr >
< tr > < td > < a href = "src/Models/ClientModel.php.html#141" > < abbr title = "LDC\LDCCRM\Models\ClientModel::fill" > fill< / abbr > < / a > < / td > < td class = "text-right" > 47%< / td > < / tr >
< tr > < td > < a href = "src/Models/ArcadiaMailGame.php.html#276" > < abbr title = "LDC\LDCCRM\Models\ArcadiaMailGame::__set" > __set< / abbr > < / a > < / td > < td class = "text-right" > 50%< / td > < / tr >
< tr > < td > < a href = "src/Traits/BaseEnum.php.html#224" > < abbr title = "LDC\LDCCRM\Traits\BaseEnum::getLabelsConstant" > getLabelsConstant< / abbr > < / a > < / td > < td class = "text-right" > 60%< / td > < / tr >
< tr > < td > < a href = "src/Transport/ApiInterface.php.html#62" > < abbr title = "LDC\LDCCRM\Transport\ApiInterface::__construct" > __construct< / abbr > < / a > < / td > < td class = "text-right" > 61%< / td > < / tr >
< tr > < td > < a href = "src/Transport/Request.php.html#111" > < abbr title = "LDC\LDCCRM\Transport\Request::__get" > __get< / abbr > < / a > < / td > < td class = "text-right" > 66%< / td > < / tr >
< tr > < td > < a href = "src/Utils.php.html#700" > < abbr title = "LDC\LDCCRM\Utils::setRawProperty" > setRawProperty< / abbr > < / a > < / td > < td class = "text-right" > 66%< / td > < / tr >
< tr > < td > < a href = "src/Utils.php.html#725" > < abbr title = "LDC\LDCCRM\Utils::getRawProperty" > getRawProperty< / abbr > < / a > < / td > < td class = "text-right" > 66%< / td > < / tr >
< tr > < td > < a href = "src/Models/Customer.php.html#375" > < abbr title = "LDC\LDCCRM\Models\Customer::validateAllValues" > validateAllValues< / abbr > < / a > < / td > < td class = "text-right" > 71%< / td > < / tr >
< tr > < td > < a href = "src/Models/ArcadiaMailDefault.php.html#324" > < abbr title = "LDC\LDCCRM\Models\ArcadiaMailDefault::fill" > fill< / abbr > < / a > < / td > < td class = "text-right" > 75%< / td > < / tr >
< tr > < td > < a href = "src/Models/Customer.php.html#352" > < abbr title = "LDC\LDCCRM\Models\Customer::fill" > fill< / abbr > < / a > < / td > < td class = "text-right" > 75%< / td > < / tr >
< tr > < td > < a href = "src/Models/Question.php.html#151" > < abbr title = "LDC\LDCCRM\Models\Question::fill" > fill< / abbr > < / a > < / td > < td class = "text-right" > 75%< / td > < / tr >
< tr > < td > < a href = "src/Traits/BaseEnum.php.html#137" > < abbr title = "LDC\LDCCRM\Traits\BaseEnum::equals" > equals< / abbr > < / a > < / td > < td class = "text-right" > 75%< / td > < / tr >
< tr > < td > < a href = "src/Traits/BaseEnum.php.html#173" > < abbr title = "LDC\LDCCRM\Traits\BaseEnum::getCache" > getCache< / abbr > < / a > < / td > < td class = "text-right" > 75%< / td > < / tr >
< tr > < td > < a href = "src/Traits/BaseEnum.php.html#189" > < abbr title = "LDC\LDCCRM\Traits\BaseEnum::setCache" > setCache< / abbr > < / a > < / td > < td class = "text-right" > 75%< / td > < / tr >
< tr > < td > < a href = "src/Models/ArcadiaMailDefault.php.html#347" > < abbr title = "LDC\LDCCRM\Models\ArcadiaMailDefault::validateAllValues" > validateAllValues< / abbr > < / a > < / td > < td class = "text-right" > 80%< / td > < / tr >
< tr > < td > < a href = "src/Models/ClientModel.php.html#295" > < abbr title = "LDC\LDCCRM\Models\ClientModel::getPropType" > getPropType< / abbr > < / a > < / td > < td class = "text-right" > 83%< / td > < / tr >
< tr > < td > < a href = "src/Models/ClientModel.php.html#322" > < abbr title = "LDC\LDCCRM\Models\ClientModel::assertValidPrimaryKey" > assertValidPrimaryKey< / abbr > < / a > < / td > < td class = "text-right" > 83%< / td > < / tr >
< tr > < td > < a href = "src/Models/ClientModel.php.html#340" > < abbr title = "LDC\LDCCRM\Models\ClientModel::assertValidHascode" > assertValidHascode< / abbr > < / a > < / td > < td class = "text-right" > 83%< / td > < / tr >
< tr > < td > < a href = "src/Transport/ApiInterface.php.html#97" > < abbr title = "LDC\LDCCRM\Transport\ApiInterface::call" > call< / abbr > < / a > < / td > < td class = "text-right" > 83%< / td > < / tr >
< tr > < td > < a href = "src/Transport/Response.php.html#92" > < abbr title = "LDC\LDCCRM\Transport\Response::__construct" > __construct< / abbr > < / a > < / td > < td class = "text-right" > 84%< / td > < / tr >
< tr > < td > < a href = "src/Models/ClientModel.php.html#225" > < abbr title = "LDC\LDCCRM\Models\ClientModel::validateValue" > validateValue< / abbr > < / a > < / td > < td class = "text-right" > 87%< / td > < / tr >
< tr > < td > < a href = "src/Transport/Response.php.html#145" > < abbr title = "LDC\LDCCRM\Transport\Response::__get" > __get< / abbr > < / a > < / td > < td class = "text-right" > 87%< / td > < / tr >
< tr > < td > < a href = "src/Utils.php.html#566" > < abbr title = "LDC\LDCCRM\Utils::getResquest" > getResquest< / 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 = "src/WordPress/WPCrm.php.html#463" > < abbr title = "LDC\LDCCRM\WordPress\WPCrm::bootSessionIfNeeded" > bootSessionIfNeeded< / abbr > < / a > < / td > < td class = "text-right" > 156< / td > < / tr >
< tr > < td > < a href = "src/Utils.php.html#654" > < abbr title = "LDC\LDCCRM\Utils::log" > log< / abbr > < / a > < / td > < td class = "text-right" > 110< / td > < / tr >
< tr > < td > < a href = "src/WordPress/WPCrm.php.html#229" > < abbr title = "LDC\LDCCRM\WordPress\WPCrm::deleteUser" > deleteUser< / abbr > < / a > < / td > < td class = "text-right" > 72< / td > < / tr >
< tr > < td > < a href = "src/WordPress/WPCrm.php.html#261" > < abbr title = "LDC\LDCCRM\WordPress\WPCrm::toggleUserOptin" > toggleUserOptin< / abbr > < / a > < / td > < td class = "text-right" > 72< / td > < / tr >
< tr > < td > < a href = "src/WordPress/WPCrm.php.html#198" > < abbr title = "LDC\LDCCRM\WordPress\WPCrm::saveUser" > saveUser< / abbr > < / a > < / td > < td class = "text-right" > 56< / td > < / tr >
< tr > < td > < a href = "src/WordPress/WPCrm.php.html#114" > < abbr title = "LDC\LDCCRM\WordPress\WPCrm::getUserFromApi" > getUserFromApi< / abbr > < / a > < / td > < td class = "text-right" > 30< / td > < / tr >
< tr > < td > < a href = "src/WordPress/WPCrm.php.html#314" > < abbr title = "LDC\LDCCRM\WordPress\WPCrm::activateUser" > activateUser< / abbr > < / a > < / td > < td class = "text-right" > 30< / td > < / tr >
< tr > < td > < a href = "src/WordPress/WPCrm.php.html#439" > < abbr title = "LDC\LDCCRM\WordPress\WPCrm::makeApiV4Call" > makeApiV4Call< / abbr > < / a > < / td > < td class = "text-right" > 30< / td > < / tr >
< tr > < td > < a href = "src/WordPress/WPCrmUser.php.html#125" > < abbr title = "LDC\LDCCRM\WordPress\WPCrmUser::__set" > __set< / abbr > < / a > < / td > < td class = "text-right" > 30< / td > < / tr >
< tr > < td > < a href = "src/Traits/BaseEnum.php.html#240" > < abbr title = "LDC\LDCCRM\Traits\BaseEnum::getCustomDefinitions" > getCustomDefinitions< / abbr > < / a > < / td > < td class = "text-right" > 30< / td > < / tr >
< tr > < td > < a href = "src/Models/ClientModel.php.html#141" > < abbr title = "LDC\LDCCRM\Models\ClientModel::fill" > fill< / abbr > < / a > < / td > < td class = "text-right" > 24< / td > < / tr >
< tr > < td > < a href = "src/Models/ArcadiaMailGame.php.html#293" > < abbr title = "LDC\LDCCRM\Models\ArcadiaMailGame::fill" > fill< / abbr > < / a > < / td > < td class = "text-right" > 21< / td > < / tr >
< tr > < td > < a href = "src/Models/Question.php.html#135" > < abbr title = "LDC\LDCCRM\Models\Question::__set" > __set< / abbr > < / a > < / td > < td class = "text-right" > 20< / td > < / tr >
< tr > < td > < a href = "src/WordPress/WPCrmUser.php.html#102" > < abbr title = "LDC\LDCCRM\WordPress\WPCrmUser::__get" > __get< / abbr > < / a > < / td > < td class = "text-right" > 20< / td > < / tr >
< tr > < td > < a href = "src/Traits/BaseEnum.php.html#93" > < abbr title = "LDC\LDCCRM\Traits\BaseEnum::toArray" > toArray< / abbr > < / a > < / td > < td class = "text-right" > 20< / td > < / tr >
< tr > < td > < a href = "src/Models/Question.php.html#174" > < abbr title = "LDC\LDCCRM\Models\Question::validateAllValues" > validateAllValues< / abbr > < / a > < / td > < td class = "text-right" > 12< / td > < / tr >
< tr > < td > < a href = "src/WordPress/WPCrm.php.html#148" > < abbr title = "LDC\LDCCRM\WordPress\WPCrm::login" > login< / abbr > < / a > < / td > < td class = "text-right" > 12< / td > < / tr >
< tr > < td > < a href = "src/WordPress/WPCrm.php.html#379" > < abbr title = "LDC\LDCCRM\WordPress\WPCrm::getCustomer" > getCustomer< / abbr > < / a > < / td > < td class = "text-right" > 12< / td > < / tr >
< tr > < td > < a href = "src/WordPress/WPCrm.php.html#416" > < abbr title = "LDC\LDCCRM\WordPress\WPCrm::initLdcApi" > initLdcApi< / abbr > < / a > < / td > < td class = "text-right" > 12< / td > < / tr >
< tr > < td > < a href = "src/WordPress/WPCrm.php.html#561" > < abbr title = "LDC\LDCCRM\WordPress\WPCrm::saveOrUpdateUserToTable" > saveOrUpdateUserToTable< / abbr > < / a > < / td > < td class = "text-right" > 12< / td > < / tr >
< tr > < td > < a href = "src/WordPress/WPCrmUser.php.html#168" > < abbr title = "LDC\LDCCRM\WordPress\WPCrmUser::parseFromJson" > parseFromJson< / abbr > < / a > < / td > < td class = "text-right" > 12< / td > < / tr >
< tr > < td > < a href = "src/Models/ClientModel.php.html#175" > < abbr title = "LDC\LDCCRM\Models\ClientModel::fillRaw" > fillRaw< / abbr > < / a > < / td > < td class = "text-right" > 9< / td > < / tr >
< tr > < td > < a href = "src/Utils.php.html#566" > < abbr title = "LDC\LDCCRM\Utils::getResquest" > getResquest< / abbr > < / a > < / td > < td class = "text-right" > 9< / td > < / tr >
< tr > < td > < a href = "src/Transport/Response.php.html#92" > < abbr title = "LDC\LDCCRM\Transport\Response::__construct" > __construct< / abbr > < / a > < / td > < td class = "text-right" > 8< / td > < / tr >
< tr > < td > < a href = "src/Models/ArcadiaMailDefault.php.html#324" > < abbr title = "LDC\LDCCRM\Models\ArcadiaMailDefault::fill" > fill< / abbr > < / a > < / td > < td class = "text-right" > 6< / td > < / tr >
< tr > < td > < a href = "src/Models/Customer.php.html#352" > < abbr title = "LDC\LDCCRM\Models\Customer::fill" > fill< / abbr > < / a > < / td > < td class = "text-right" > 6< / td > < / tr >
< tr > < td > < a href = "src/Models/Question.php.html#151" > < abbr title = "LDC\LDCCRM\Models\Question::fill" > fill< / abbr > < / a > < / td > < td class = "text-right" > 6< / td > < / tr >
< tr > < td > < a href = "src/Transport/ApiInterface.php.html#62" > < abbr title = "LDC\LDCCRM\Transport\ApiInterface::__construct" > __construct< / abbr > < / a > < / td > < td class = "text-right" > 6< / td > < / tr >
< tr > < td > < a href = "src/Models/ArcadiaMailGame.php.html#276" > < abbr title = "LDC\LDCCRM\Models\ArcadiaMailGame::__set" > __set< / abbr > < / a > < / td > < td class = "text-right" > 6< / td > < / tr >
< tr > < td > < a href = "src/WordPress/WPCrm.php.html#94" > < abbr title = "LDC\LDCCRM\WordPress\WPCrm::forceLogin" > forceLogin< / abbr > < / a > < / td > < td class = "text-right" > 6< / td > < / tr >
< tr > < td > < a href = "src/WordPress/WPCrm.php.html#401" > < abbr title = "LDC\LDCCRM\WordPress\WPCrm::setUser" > setUser< / abbr > < / a > < / td > < td class = "text-right" > 6< / td > < / tr >
< tr > < td > < a href = "src/WordPress/WPCrmQuestion.php.html#55" > < abbr title = "LDC\LDCCRM\WordPress\WPCrmQuestion::allWithCustomerAnswers" > allWithCustomerAnswers< / abbr > < / a > < / td > < td class = "text-right" > 6< / td > < / tr >
< tr > < td > < a href = "src/WordPress/WPCrmQuestion.php.html#78" > < abbr title = "LDC\LDCCRM\WordPress\WPCrmQuestion::unansweredBy" > unansweredBy< / abbr > < / a > < / td > < td class = "text-right" > 6< / td > < / tr >
< tr > < td > < a href = "src/Transport/Response.php.html#188" > < abbr title = "LDC\LDCCRM\Transport\Response::checkVersion" > checkVersion< / abbr > < / a > < / td > < td class = "text-right" > 5< / td > < / tr >
< tr > < td > < a href = "src/Traits/BaseEnum.php.html#137" > < abbr title = "LDC\LDCCRM\Traits\BaseEnum::equals" > equals< / abbr > < / a > < / td > < td class = "text-right" > 5< / td > < / tr >
< tr > < td > < a href = "src/Utils.php.html#700" > < abbr title = "LDC\LDCCRM\Utils::setRawProperty" > setRawProperty< / abbr > < / a > < / td > < td class = "text-right" > 4< / td > < / tr >
< tr > < td > < a href = "src/Models/ClientModel.php.html#295" > < abbr title = "LDC\LDCCRM\Models\ClientModel::getPropType" > getPropType< / abbr > < / a > < / td > < td class = "text-right" > 4< / td > < / tr >
< tr > < td > < a href = "src/Transport/Response.php.html#145" > < abbr title = "LDC\LDCCRM\Transport\Response::__get" > __get< / abbr > < / a > < / td > < td class = "text-right" > 4< / td > < / tr >
< tr > < td > < a href = "src/Transport/ApiInterface.php.html#158" > < abbr title = "LDC\LDCCRM\Transport\ApiInterface::setCredentials" > setCredentials< / abbr > < / a > < / td > < td class = "text-right" > 3< / td > < / tr >
< tr > < td > < a href = "src/Models/Customer.php.html#375" > < abbr title = "LDC\LDCCRM\Models\Customer::validateAllValues" > validateAllValues< / abbr > < / a > < / td > < td class = "text-right" > 3< / td > < / tr >
< tr > < td > < a href = "src/Models/ArcadiaMailDefault.php.html#347" > < abbr title = "LDC\LDCCRM\Models\ArcadiaMailDefault::validateAllValues" > validateAllValues< / abbr > < / a > < / td > < td class = "text-right" > 3< / td > < / tr >
< tr > < td > < a href = "src/Transport/ApiInterface.php.html#97" > < abbr title = "LDC\LDCCRM\Transport\ApiInterface::call" > call< / abbr > < / a > < / td > < td class = "text-right" > 3< / td > < / tr >
< tr > < td > < a href = "src/Traits/BaseEnum.php.html#224" > < abbr title = "LDC\LDCCRM\Traits\BaseEnum::getLabelsConstant" > getLabelsConstant< / abbr > < / a > < / td > < td class = "text-right" > 2< / td > < / tr >
< tr > < td > < a href = "src/Transport/Request.php.html#111" > < abbr title = "LDC\LDCCRM\Transport\Request::__get" > __get< / abbr > < / a > < / td > < td class = "text-right" > 2< / td > < / tr >
< tr > < td > < a href = "src/Utils.php.html#725" > < abbr title = "LDC\LDCCRM\Utils::getRawProperty" > getRawProperty< / abbr > < / a > < / td > < td class = "text-right" > 2< / td > < / tr >
< tr > < td > < a href = "src/Traits/BaseEnum.php.html#173" > < abbr title = "LDC\LDCCRM\Traits\BaseEnum::getCache" > getCache< / abbr > < / a > < / td > < td class = "text-right" > 2< / td > < / tr >
< tr > < td > < a href = "src/Traits/BaseEnum.php.html#189" > < abbr title = "LDC\LDCCRM\Traits\BaseEnum::setCache" > setCache< / abbr > < / a > < / td > < td class = "text-right" > 2< / td > < / tr >
< tr > < td > < a href = "src/Models/ClientModel.php.html#322" > < abbr title = "LDC\LDCCRM\Models\ClientModel::assertValidPrimaryKey" > assertValidPrimaryKey< / abbr > < / a > < / td > < td class = "text-right" > 2< / td > < / tr >
< tr > < td > < a href = "src/Models/ClientModel.php.html#340" > < abbr title = "LDC\LDCCRM\Models\ClientModel::assertValidHascode" > assertValidHascode< / abbr > < / a > < / td > < td class = "text-right" > 2< / td > < / tr >
< tr > < td > < a href = "src/Models/ClientModel.php.html#225" > < abbr title = "LDC\LDCCRM\Models\ClientModel::validateValue" > validateValue< / abbr > < / a > < / td > < td class = "text-right" > 2< / td > < / tr >
< / 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 >
2023-09-06 17:24:53 +02:00
< / p >
< / footer >
< / div >
< 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 >
< 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,0,0,0,0,1,1,1,4,6,5], "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([53,0,0,2,2,1,1,5,7,9,12,84], "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([[92.85714285714286,8,"< a href = \"src\/CrmApiV4.php.html#15\" > LDC\\LDCCRM\\CrmApiV4< \/a>"],[100,1,"< a href = \"src\/Exceptions\/AccessError.php.html#11\" > LDC\\LDCCRM\\Exceptions\\AccessError< \/a>"],[90,5,"< a href = \"src\/Exceptions\/ApiErrorException.php.html#20\" > LDC\\LDCCRM\\Exceptions\\ApiErrorException< \/a>"],[0,1,"< a href = \"src\/Exceptions\/CrmException.php.html#15\" > LDC\\LDCCRM\\Exceptions\\CrmException< \/a>"],[100,0,"< a href = \"src\/Exceptions\/SkipValidationException.php.html#11\" > LDC\\LDCCRM\\Exceptions\\SkipValidationException< \/a>"],[0,1,"< a href = \"src\/Exceptions\/ValidationException.php.html#14\" > LDC\\LDCCRM\\Exceptions\\ValidationException< \/a>"],[0,1,"< a href = \"src\/Exceptions\/WpCrmInvalidJsonUserInfo.php.html#14\" > LDC\\LDCCRM\\Exceptions\\WpCrmInvalidJsonUserInfo< \/a>"],[96.15384615384616,5,"< a href = \"src\/Models\/Answer.php.html#25\" > LDC\\LDCCRM\\Models\\Answer< \/a>"],[93.33333333333333,21,"< a href = \"src\/Models\/ArcadiaMailDefault.php.html#35\" > LDC\\LDCCRM\\Models\\ArcadiaMailDefault< \/a>"],[80.48780487804879,14,"< a href = \"src\/Models\/ArcadiaMailGame.php.html#37\" > LDC\\LDCCRM\\Models\\ArcadiaMailGame< \/a>"],[78.21782178217822,49,"< a href = \"src\/Models\/ClientModel.php.html#23\" > LDC\\LDCCRM\\Models\\ClientModel< \/a>"],[94.0677966101695,36,"< a href = \"src\/Models\/Customer.php.html#47\" > LDC\\LDCCRM\\Models\\Customer< \/a>"],[84.33734939759037,25,"< a href = \"src\/Models\/Question.php.html#25\" > LDC\\LDCCRM\\Models\\Question< \/a>"],[100,2,"< a href = \"src\/Models\/SingleOptin.php.html#16\" > LDC\\LDCCRM\\Models\\SingleOptin< \/a>"],[100,2,"< a href = \"src\/Models\/Stats.php.html#18\" > LDC\\LDCCRM\\Models\\Stats< \/a>"],[84.26966292134831,20,"< a href = \"src\/Transport\/ApiInterface.php.html#19\" > LDC\\LDCCRM\\Transport\\ApiInterface< \/a>"],[93.47826086956522,12,"< a href = \"src\/Transport\/Request.php.html#26\" > LDC\\LDCCRM\\Transport\\Request< \/a>"],[68.62745098039215,17,"< a href = \"src\/Transport\/Response.php.html#27\" > LDC\\LDCCRM\\Transport\\Response< \/a>"],[86.875,77,"< a href = \"src\/Utils.php.html#24\" > LDC\\LDCCRM\\Utils< \/a>"],[0,79,"< a href = \"src\/WordPress\/WPCrm.php.html#46\" > LDC\\LDCCRM\\WordPress\\WPCrm< \/a>"],[0,1,"< a href = \"src\/WordPress\/WPCrmAnswer.php.html#27\" > LDC\\LDCCRM\\WordPress\\WPCrmAnswer< \/a>"],[0,5,"< a href = \"src\/WordPress\/WPCrmQuestion.php.html#28\" > LDC\\LDCCRM\\WordPress\\WPCrmQuestion< \/a>"],[0,19,"< a href = \"src\/WordPress\/WPCrmUser.php.html#53\" > LDC\\LDCCRM\\WordPress\\WPCrmUser< \/a>"],[100,7,"< a href = \"src\/Enums\/Country.php.html#7\" > LDC\\LDCCRM\\Enums\\Country< \/a>"],[54.43037974683544,36,"< a href = \"src\/Traits\/BaseEnum.php.html#7\" > LDC\\LDCCRM\\Traits\\BaseEnum< \/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,2,"< a href = \"src\/CrmApiV4.php.html#31\" > LDC\\LDCCRM\\CrmApiV4::__construct< \/a>"],[100,1,"< a href = \"src\/CrmApiV4.php.html#51\" > LDC\\LDCCRM\\CrmApiV4::ping< \/a>"],[100,1,"< a href = \"src\/CrmApiV4.php.html#72\" > LDC\\LDCCRM\\CrmApiV4::getCustomerOrNew< \/a>"],[100,1,"< a href = \"src\/CrmApiV4.php.html#90\" > LDC\\LDCCRM\\CrmApiV4::getCustomer< \/a>"],[100,1,"< a href = \"src\/CrmApiV4.php.html#107\" > LDC\\LDCCRM\\CrmApiV4::setStatus< \/a>"],[0,1,"< a href = \"src\/CrmApiV4.php.html#123\" > LDC\\LDCCRM\\CrmApiV4::unsetStatusWithHashcode< \/a>"],[100,1,"< a href = \"src\/CrmApiV4.php.html#140\" > LDC\\LDCCRM\\CrmApiV4::login< \/a>"],[100,1,"< a href = \"src\/Exceptions\/AccessError.php.html#19\" > LDC\\LDCCRM\\Exceptions\\AccessError::__construct< \/a>"],[100,2,"< a href = \"src\/Exceptions\/ApiErrorException.php.html#58\" > LDC\\LDCCRM\\Exceptions\\ApiErrorException::__construct< \/a>"],[100,1,"< a href = \"src\/Exceptions\/ApiErrorException.php.html#75\" > LDC\\LDCCRM\\Exceptions\\ApiErrorException::getApiError< \/a>"],[0,1,"< a href = \"src\/Exceptions\/ApiErrorException.php.html#85\" > LDC\\LDCCRM\\Exceptions\\ApiErrorException::getStatusCode< \/a>"],[100,1,"< a href = \"src\/Exceptions\/ApiErrorException.php.html#96\" > LDC\\LDCCRM\\Exceptions\\ApiErrorException::report< \/a>"],[0,1,"< a href = \"src\/Exceptions\/CrmException.php.html#23\" > LDC\\LDCCRM\\Exceptions\\CrmException::report< \/a>"],[0,1,"< a href = \"src\/Exceptions\/ValidationException.php.html#22\" > LDC\\LDCCRM\\Exceptions\\ValidationException::report< \/a>"],[0,1,"< a href = \"src\/Exceptions\/WpCrmInvalidJsonUserInfo.php.html#21\" > LDC\\LDCCRM\\Exceptions\\WpCrmInvalidJsonUserInfo::__construct< \/a>"],[100,1,"< a href = \"src\/Models\/Answer.php.html#74\" > LDC\\LDCCRM\\Models\\Answer::__construct< \/a>"],[94.73684210526315,3,"< a href = \"src\/Models\/Answer.php.html#97\" > LDC\\LDCCRM\\Models\\Answer::setQuestionAnswers< \/a>"],[100,1,"< a href = \"src\/Models\/Answer.php.html#128\" > LDC\\LDCCRM\\Models\\Answer::jsonSerialize< \/a>"],[100,1,"< a href = \"src\/Models\/ArcadiaMailDefault.php.html#271\" > LDC\\LDCCRM\\Models\\ArcadiaMailDefault::__construct< \/a>"],[100,4,"< a href = \"src\/Models\/ArcadiaMailDefault.php.html#284\" > LDC\\LDCCRM\\Models\\ArcadiaMailDefault::__get< \/a>"],[100,4,"< a href = \"src\/Models\/ArcadiaMailDefault.php.html#307\" > LDC\\LDCCRM\\Models\\ArcadiaMailDefault::__set< \/a>"],[75,6,"< a href = \"src\/Models\/ArcadiaMailDefault.php.html#324\" > LDC\\LDCCRM\\Models\\ArcadiaMailDefault::fill< \/a>"],[80,3,"< a href = \"src\/Models\/ArcadiaMailDefault.php.html#347\" > LDC\\LDCCRM\\Models\\ArcadiaMailDefault::validateAllValues< \/a>"],[100,2,"< a href = \"src\/Models\/ArcadiaMailDefault.php.html#376\" > LDC\\LDCCRM\\Models\\ArcadiaMailDefault::send< \/a>"],[100,1,"< a href = \"src\/Models\/ArcadiaMailDefault.php.html#394\" > LDC\\LDCCRM\\Models\\ArcadiaMailDefault::jsonSerialize< \/a>"],[100,1,"< a href = \"src\/Models\/ArcadiaMailGame.php.html#260\" > LDC\\LDCCRM\\Models\\ArcadiaMailGame::__construct< \/a>"],[50,4,"< a href = \"src\/Models\/ArcadiaMailGame.php.html#276\" > LDC\\LDCCRM\\Models\\ArcadiaMailGame::__set< \/a>"],[25,6,"< a href = \"src\/Models\/ArcadiaMailGame.php.html#293\" > LDC\\LDCCRM\\Models\\ArcadiaMailGame::fill< \/a>"],[100,2,"< a href = \"src\/Models\/ArcadiaMailGame.php.html#319\" > LDC\\LDCCRM\\Models\\ArcadiaMailGame::send< \/a>"],[100,1,"< a href = \"src\/Models\/ArcadiaMailGame.php.html#337\" > LDC\\LDCCRM\\Models\\ArcadiaMailGame::jsonSerialize< \/a>"],[100,1,"< a href = \"src\/Models\/ClientModel.php.html#71\" > LDC\\LDCCRM\\Models\\ClientModel::__construct< \/a>"],[100,2,"< a href = \"src\/Models\/ClientModel.php.html#83\" > LDC\\LDCCRM\\Models\\ClientModel::__get< \/a>"],[100,5,"< a href = \"src\/Models\/ClientModel.php.html#104\" > LDC\\LDCCRM\\Models\\ClientModel::__set< \/a>"],[100,1,"< a href = \"src\/Models\/ClientModel.php.html#129\" > LDC\\LDCCRM\\Models\\ClientModel::setUpApiInterface< \/a>"],[47.05882352941176,10,"< a href = \"src\/Models\/ClientModel.php.html#141\" > LDC\\LDCCRM\\Models\\ClientModel::fill< \/a>"],[30,4,"< a href = \"src\/Models\/ClientModel.php.html#175\" > LDC\\LDCCRM\\Models\\ClientModel::fillRaw< \/a>"],[100,4,"< a hre
.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 >